/* =========================================================================
   Nhà Thuốc Hoàng Hải — hệ thống giao diện
   ====================================================================== */

:root {
	--ink:        #10262C;
	--ink-2:      #4B6670;
	--ink-3:      #7C949B;
	--line:       #DFEBE8;
	--line-soft:  #EDF5F2;

	--brand:      #0E7C6B;
	--brand-d:    #0A5C50;
	--brand-l:    #E8F6F2;
	--brand-ll:   #F3FAF8;

	--gold:       #B9822A;
	--gold-l:     #FBF2E2;

	--zalo:       #0068FF;

	--bg:         #FFFFFF;
	--bg-soft:    #F5FAF8;

	--r-sm: 10px;
	--r:    16px;
	--r-lg: 22px;

	--sh-1: 0 1px 2px rgba(16,38,44,.05), 0 6px 18px rgba(16,38,44,.05);
	--sh-2: 0 2px 4px rgba(16,38,44,.05), 0 16px 40px rgba(16,38,44,.09);

	--wrap: 1180px;
	--gut:  clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	overflow-x: clip;
	font-family: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-d); text-decoration: none; }
a:hover { color: var(--brand); }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.22; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(30px, 5vw, 46px); }
h2 { font-size: clamp(25px, 3.6vw, 36px); }
h3 { font-size: clamp(19px, 2vw, 22px); }
p  { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

::selection { background: var(--brand-l); }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

.skip-link {
	position: fixed; left: 0; top: 0; z-index: 999;
	transform: translateY(-130%);
	background: var(--brand); color: #fff; padding: 12px 20px; border-radius: 0 0 10px 0;
}
.skip-link:focus { transform: none; color: #fff; }

/* ---------- khối dựng chung ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(48px, 7vw, 88px); }
.section--soft { background: var(--bg-soft); }
.section--brand { background: linear-gradient(160deg, var(--brand-ll), var(--brand-l)); }

.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	color: var(--brand); margin: 0 0 12px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }

.section-head { max-width: 720px; margin: 0 0 clamp(28px, 4vw, 44px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head p { color: var(--ink-2); font-size: clamp(16px, 1.6vw, 18px); margin: 0; }

.lede { font-size: clamp(17px, 1.8vw, 19px); color: var(--ink-2); }

/* ---------- nút ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
	font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2;
	cursor: pointer; text-align: center; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }

.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(14,124,107,.28); }
.btn--primary:hover { background: var(--brand-d); color: #fff; box-shadow: 0 12px 28px rgba(14,124,107,.34); }

.btn--zalo { background: var(--zalo); color: #fff; box-shadow: 0 8px 22px rgba(0,104,255,.26); }
.btn--zalo:hover { background: #0055d4; color: #fff; }

.btn--ghost { background: #fff; color: var(--brand-d); border-color: var(--line); box-shadow: var(--sh-1); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-d); }

.btn--light { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.5); }
.btn--light:hover { background: #fff; color: var(--brand-d); }

.btn--sm { padding: 10px 18px; font-size: 14.5px; }
.btn--block { width: 100%; }

/* =========================================================================
   Đầu trang
   ====================================================================== */
.topbar {
	background: var(--brand-d); color: #DCEFEA;
	font-size: 14px; line-height: 1.4;
}
.topbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 9px; }
.topbar span { display: inline-flex; align-items: center; gap: 7px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: #A9E5D8; }
.topbar svg { flex: none; opacity: .8; }

.site-header {
	position: sticky; top: 0; z-index: 60;
	background: #fff;
	border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand__mark {
	flex: none; width: 44px; height: 44px; border-radius: 13px;
	background: linear-gradient(150deg, var(--brand), var(--brand-d));
	display: grid; place-items: center; color: #fff;
	box-shadow: 0 6px 16px rgba(14,124,107,.3);
}
.brand__name { font-weight: 800; font-size: 19px; letter-spacing: -.02em; line-height: 1.15; white-space: nowrap; }
.brand__sub { display: block; font-size: 12.5px; font-weight: 500; color: var(--ink-3); letter-spacing: .01em; white-space: nowrap; }

.nav { display: flex; align-items: center; flex-wrap: nowrap; gap: 2px; }
.nav > a {
	padding: 9px 12px; border-radius: 999px; font-size: 15.5px; font-weight: 600; color: var(--ink-2);
	white-space: nowrap;
	transition: background .15s ease, color .15s ease;
}
.nav > a:hover { background: var(--brand-l); color: var(--brand-d); }
.nav > a[aria-current="page"] { background: var(--brand-l); color: var(--brand-d); }

.header-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.header-cta .btn { white-space: nowrap; }

.nav-toggle {
	display: none; width: 46px; height: 46px; border-radius: 13px;
	border: 1px solid var(--line); background: #fff; color: var(--ink);
	align-items: center; justify-content: center; cursor: pointer;
}

/* Trên máy tính, lớp bọc trong suốt để .nav vẫn là con trực tiếp của thanh đầu trang. */
.nav-shell { display: contents; }
.nav__cta { display: none; }

@media (max-width: 1199px) {
	.nav-toggle { display: inline-flex; }
	.header-cta .btn--desktop { display: none; }
	.nav-shell {
		display: block; position: fixed; inset: 0; z-index: 70;
		overflow: hidden;            /* cắt phần ngăn kéo nằm ngoài màn hình */
		pointer-events: none; visibility: hidden;
		transition: visibility 0s .3s;
	}
	body.nav-open .nav-shell { pointer-events: auto; visibility: visible; transition: visibility 0s 0s; }
	.nav {
		position: absolute; inset: 0 0 0 auto; width: min(340px, 86vw);
		flex-direction: column; align-items: stretch; gap: 2px;
		background: #fff; padding: 92px 20px 28px; overflow-y: auto;
		box-shadow: -18px 0 50px rgba(16,38,44,.16);
		transform: translateX(102%); transition: transform .28s ease;
	}
	.nav > a { padding: 14px 16px; border-radius: 12px; font-size: 17px; }
	.nav__cta { display: grid; gap: 10px; margin-top: auto; padding-top: 26px; }
	body.nav-open .nav { transform: translateX(0); }
	body.nav-open { overflow: hidden; }
	.nav-scrim {
		position: fixed; inset: 0; background: rgba(16,38,44,.45);
		opacity: 0; pointer-events: none; transition: opacity .28s ease; z-index: 55;
	}
	body.nav-open .nav-scrim { opacity: 1; pointer-events: auto; }
	.nav__close {
		position: absolute; top: 22px; right: 20px; width: 44px; height: 44px;
		border-radius: 12px; border: 1px solid var(--line); background: #fff;
		display: grid; place-items: center; cursor: pointer; color: var(--ink);
	}
}
@media (min-width: 1200px) { .nav__close, .nav-scrim { display: none; } }

/* Máy rất hẹp (iPhone SE trở xuống): thu gọn phần thương hiệu cho vừa thanh đầu trang. */
@media (max-width: 400px) {
	.site-header__inner { gap: 12px; }
	.brand { gap: 10px; }
	.brand__mark { width: 40px; height: 40px; border-radius: 12px; }
	.brand__name { font-size: 16.5px; }
	.brand__sub { font-size: 11.5px; }
}
@media (max-width: 360px) {
	.brand__name { font-size: 15.5px; }
	.brand__sub { display: none; }
}

/* =========================================================================
   Hero trang chủ
   ====================================================================== */
.hero {
	position: relative; overflow: hidden;
	background: linear-gradient(165deg, #FFFFFF 0%, var(--brand-ll) 42%, var(--brand-l) 100%);
}
.hero::before {
	content: ''; position: absolute; inset: auto auto -180px -140px;
	width: 460px; height: 460px; border-radius: 50%;
	background: radial-gradient(circle, rgba(14,124,107,.13), transparent 68%);
}
.hero__inner {
	position: relative; z-index: 1;
	display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 64px);
	align-items: center; padding-block: clamp(40px, 6vw, 76px);
}
.hero__badge {
	display: inline-flex; align-items: center; gap: 9px;
	background: #fff; border: 1px solid var(--line); border-radius: 999px;
	padding: 7px 16px 7px 8px; font-size: 14px; font-weight: 600; color: var(--brand-d);
	box-shadow: var(--sh-1); margin-bottom: 20px;
}
.hero__badge b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-l); }
.hero h1 { margin-bottom: 18px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero__lede { font-size: clamp(17px, 1.9vw, 19.5px); color: var(--ink-2); max-width: 54ch; margin-bottom: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 480px; }
.hero__stats div { background: rgba(255,255,255,.75); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.hero__stats b { display: block; font-size: clamp(21px, 2.6vw, 26px); font-weight: 800; color: var(--brand-d); line-height: 1.1; }
.hero__stats span { font-size: 13.5px; color: var(--ink-2); }

.hero__figure { position: relative; }
.hero__photo {
	position: relative; z-index: 1;
	filter: drop-shadow(0 26px 44px rgba(16,38,44,.22));
	margin-inline: auto; max-width: 460px;
}
.hero__disc {
	position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%);
	width: min(96%, 430px); aspect-ratio: 1; border-radius: 50%;
	background: radial-gradient(circle at 50% 45%, rgba(255,255,255,.95), rgba(232,246,242,.55) 62%, transparent 72%);
}
.hero__chip {
	position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
	background: #fff; border-radius: 14px; padding: 11px 16px;
	box-shadow: var(--sh-2); font-size: 14px; font-weight: 600; color: var(--ink);
}
.hero__chip small { display: block; font-size: 12.5px; font-weight: 500; color: var(--ink-3); }
.hero__chip i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--brand-l); color: var(--brand-d); font-style: normal; }
.hero__chip--a { left: -6px; top: 16%; }
.hero__chip--b { right: -6px; bottom: 20%; }

@media (max-width: 899px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__figure { order: -1; max-width: 380px; margin-inline: auto; }
	.hero__chip--a { left: -10px; top: 20%; }
	.hero__chip--b { right: -10px; bottom: 12%; }
	.hero__stats { max-width: none; }
}
@media (max-width: 640px) {
	.hero__chip--a { left: 4px; }
	.hero__chip--b { right: 4px; max-width: 74%; }
}
@media (max-width: 460px) {
	.hero__chip { padding: 9px 12px; font-size: 13px; }
	.hero__chip i { width: 28px; height: 28px; }
	.hero__stats { grid-template-columns: 1fr 1fr; }
	.hero__stats div:last-child { grid-column: 1 / -1; }
}

/* ---------- dải tin cậy ---------- */
.trustbar { background: var(--brand-d); color: #fff; }
.trustbar ul {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 28px;
	list-style: none; margin: 0; padding: 18px 0;
}
.trustbar li { display: flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 500; color: #E3F3EF; }
.trustbar svg { flex: none; color: #7FD9C4; }
@media (max-width: 899px) { .trustbar ul { grid-template-columns: repeat(2, 1fr); gap: 14px 20px; } }
@media (max-width: 420px) { .trustbar ul { grid-template-columns: 1fr; } }

/* =========================================================================
   Thẻ / lưới dùng chung
   ====================================================================== */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px)  { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
	display: flex; flex-direction: column; height: 100%;
	background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
	padding: clamp(22px, 2.4vw, 28px); box-shadow: var(--sh-1);
}
.card__icon {
	display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px;
	background: var(--brand-l); color: var(--brand-d); margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.card__num {
	display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
	background: var(--gold-l); color: var(--gold); font-weight: 800; font-size: 19px; margin-bottom: 16px;
}

/* ---------- thẻ sản phẩm ---------- */
.product-card {
	display: flex; flex-direction: column; height: 100%;
	background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
	overflow: hidden; box-shadow: var(--sh-1);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: #C9E2DB; }

.product-card__media { position: relative; display: block; background: var(--brand-ll); }
.product-card__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.product-card__tag {
	align-self: flex-start;
	background: var(--brand-l); color: var(--brand-d);
	font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
	margin-bottom: 10px;
}
.product-card__off {
	position: absolute; top: 12px; right: 12px;
	background: var(--gold); color: #fff;
	font-size: 12.5px; font-weight: 800; padding: 5px 11px; border-radius: 999px;
}

.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.product-card__body h3 { font-size: 18px; line-height: 1.35; margin-bottom: 8px; }
.product-card__body h3 a { color: var(--ink); }
.product-card__body h3 a:hover { color: var(--brand-d); }
.product-card__desc { font-size: 14.8px; color: var(--ink-2); margin: 0 0 14px; }
.product-card__meta { font-size: 13.5px; color: var(--ink-3); margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.product-card__price { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 6px; }
.product-card__price b { font-size: 21px; font-weight: 800; color: var(--brand-d); }
.product-card__price s { font-size: 15px; color: var(--ink-3); }
.product-card__actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 14px; }
.product-card__actions .btn { white-space: nowrap; padding-inline: 14px; min-width: 0; }
.product-card__actions .btn:first-child { overflow: hidden; text-overflow: ellipsis; }

/* =========================================================================
   Nhóm sức khoẻ
   ====================================================================== */
.cat-card {
	display: flex; flex-direction: column; height: 100%;
	background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
	padding: 26px 24px; box-shadow: var(--sh-1);
	transition: transform .18s ease, box-shadow .18s ease;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.cat-card h3 { margin-bottom: 6px; font-size: 19px; color: var(--ink); }
.cat-card p { color: var(--ink-2); font-size: 15px; margin: 0 0 16px; }
.cat-card__link { margin-top: auto; font-weight: 700; font-size: 15px; color: var(--brand-d); display: inline-flex; align-items: center; gap: 7px; }
.cat-card:hover .cat-card__link { gap: 11px; }
.cat-card__link svg { transition: transform .18s ease; }

/* =========================================================================
   Giới thiệu dược sĩ
   ====================================================================== */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.about__figure { position: relative; }
.about__figure img { border-radius: var(--r-lg); box-shadow: var(--sh-2); width: 100%; }
.about__stamp {
	position: absolute; right: -14px; bottom: 26px;
	background: #fff; border-radius: var(--r); padding: 14px 18px; box-shadow: var(--sh-2);
	font-size: 14px; font-weight: 700; color: var(--brand-d); line-height: 1.3;
}
.about__stamp small { display: block; font-weight: 500; color: var(--ink-3); font-size: 12.5px; }
.about ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.about li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink-2); }
.about li svg { flex: none; margin-top: 4px; color: var(--brand); }
@media (max-width: 899px) {
	.about { grid-template-columns: 1fr; }
	.about__figure { max-width: 420px; }
	.about__stamp { right: 12px; }
}

/* ---------- lời chứng thực ---------- */
.quote {
	display: flex; flex-direction: column; height: 100%;
	background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
	padding: 26px 24px; box-shadow: var(--sh-1);
}
.quote__stars { color: var(--gold); letter-spacing: 3px; font-size: 15px; margin-bottom: 12px; }
.quote p { font-size: 15.8px; color: var(--ink-2); margin: 0 0 18px; }
.quote footer { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.quote__ava {
	width: 44px; height: 44px; border-radius: 50%; flex: none;
	background: linear-gradient(150deg, var(--brand-l), #CFE9E1);
	display: grid; place-items: center; font-weight: 800; color: var(--brand-d);
}
.quote strong { display: block; font-size: 15px; }
.quote small { color: var(--ink-3); font-size: 13.5px; }

/* ---------- câu hỏi thường gặp ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq details {
	background: #fff; border: 1px solid var(--line); border-radius: var(--r);
	box-shadow: var(--sh-1); overflow: hidden;
}
.faq summary {
	cursor: pointer; list-style: none; padding: 18px 22px;
	font-weight: 700; font-size: 17px; color: var(--ink);
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: '+'; flex: none; width: 28px; height: 28px; border-radius: 50%;
	background: var(--brand-l); color: var(--brand-d);
	display: grid; place-items: center; font-size: 19px; font-weight: 700; line-height: 1;
}
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding: 0 22px 20px; color: var(--ink-2); font-size: 16px; }

/* ---------- dải kêu gọi ---------- */
.cta-band {
	background: linear-gradient(150deg, var(--brand), var(--brand-d));
	color: #fff; border-radius: clamp(20px, 3vw, 30px);
	padding: clamp(30px, 5vw, 52px); text-align: center;
	position: relative; overflow: hidden;
}
.cta-band::after {
	content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
	border-radius: 50%; background: rgba(255,255,255,.08);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: #D5EEE8; max-width: 620px; margin: 0 auto 26px; }
.cta-band .btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* =========================================================================
   Trang danh sách + chi tiết sản phẩm
   ====================================================================== */
.page-hero {
	background: linear-gradient(165deg, var(--brand-ll), var(--brand-l));
	padding-block: clamp(32px, 5vw, 56px);
	border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: 10px; }
.page-hero p { color: var(--ink-2); max-width: 60ch; margin: 0; }

.crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--ink-2); }
.crumbs span { color: var(--ink-3); }

.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: clamp(24px, 3vw, 34px); }
.filters a {
	padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line);
	background: #fff; font-size: 15px; font-weight: 600; color: var(--ink-2);
}
.filters a:hover { border-color: var(--brand); color: var(--brand-d); }
.filters a.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- chi tiết ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 899px) { .pdp { grid-template-columns: 1fr; } }

.pdp__gallery { position: sticky; top: 96px; }
@media (max-width: 899px) { .pdp__gallery { position: static; } }
.pdp__main {
	background: var(--brand-ll); border: 1px solid var(--line); border-radius: var(--r-lg);
	overflow: hidden; box-shadow: var(--sh-1);
}
.pdp__main img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.pdp__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pdp__thumbs button {
	width: 82px; height: 82px; padding: 0; border-radius: 13px; overflow: hidden;
	border: 2px solid var(--line); background: var(--brand-ll); cursor: pointer;
}
.pdp__thumbs button.is-active { border-color: var(--brand); }
.pdp__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pdp__brandrow { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pill {
	display: inline-flex; align-items: center; gap: 6px;
	background: var(--brand-l); color: var(--brand-d);
	font-size: 13.5px; font-weight: 700; padding: 6px 14px; border-radius: 999px;
}
.pill--gold { background: var(--gold-l); color: var(--gold); }
.pill--plain { background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; }

.pdp h1 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 12px; }
.pdp__excerpt { color: var(--ink-2); font-size: 17px; margin-bottom: 22px; }

.pdp__buy {
	background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-lg);
	padding: 22px; margin-bottom: 26px;
}
.pdp__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-bottom: 6px; }
.pdp__price b { font-size: clamp(30px, 4vw, 38px); font-weight: 800; color: var(--brand-d); letter-spacing: -.02em; }
.pdp__price s { font-size: 19px; color: var(--ink-3); }
.pdp__price em {
	font-style: normal; background: var(--gold); color: #fff;
	font-size: 13px; font-weight: 800; padding: 4px 10px; border-radius: 999px;
}
.pdp__unit { font-size: 14.5px; color: var(--ink-3); margin: 0 0 18px; }
.pdp__buyrow { display: flex; flex-wrap: wrap; gap: 10px; }
.pdp__buyrow .btn { flex: 1 1 190px; white-space: nowrap; padding-inline: 20px; }
.pdp__note { font-size: 13.5px; color: var(--ink-3); margin: 14px 0 0; }

.spec { width: 100%; border-collapse: collapse; margin-bottom: 26px; font-size: 15.5px; }
.spec th, .spec td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.spec th { width: 40%; color: var(--ink-3); font-weight: 600; }
.spec td { color: var(--ink); font-weight: 600; }

.info-block { margin-bottom: 30px; }
.info-block > h2:first-child { margin-top: 0; }
.info-block h2 { font-size: clamp(20px, 2.2vw, 24px); margin-bottom: 14px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-2); font-size: 16px; }
.check-list li svg { flex: none; margin-top: 4px; color: var(--brand); }
.num-list { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.num-list li { counter-increment: s; display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: 16px; }
.num-list li::before {
	content: counter(s); flex: none; width: 26px; height: 26px; border-radius: 50%;
	background: var(--brand-l); color: var(--brand-d); font-size: 13.5px; font-weight: 800;
	display: grid; place-items: center; margin-top: 2px;
}

.notice {
	background: var(--gold-l); border: 1px solid #EFDCB6; border-radius: var(--r);
	padding: 18px 20px; font-size: 15px; color: #6B4E15;
}
.notice strong { display: block; margin-bottom: 4px; color: #5A410F; }

.disclaimer { font-size: 14px; color: var(--ink-3); font-style: italic; margin-top: 8px; }

/* =========================================================================
   Trang nội dung thường
   ====================================================================== */
.prose { max-width: 780px; }
.prose .about--page { max-width: none; margin-bottom: 34px; align-items: start; }
.prose .about--page .about__figure { max-width: 340px; }
.prose .about--page p:last-child { margin-bottom: 0; }
.prose h2 { margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink-2); }
.prose img { border-radius: var(--r); }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 22px); }
@media (max-width: 899px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px; box-shadow: var(--sh-1); }
.contact-card h3 { font-size: 18px; margin-bottom: 6px; }
.contact-card p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.contact-card a { font-weight: 700; }

/* =========================================================================
   Chân trang
   ====================================================================== */
.site-footer { background: #0B2429; color: #A8C3C4; padding-top: clamp(40px, 5vw, 60px); }
.site-footer a { color: #D9EAE7; }
.site-footer a:hover { color: #7FD9C4; }

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(24px, 3vw, 40px); }
@media (max-width: 899px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer h4 { color: #fff; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15.5px; }
.site-footer li { display: flex; align-items: flex-start; gap: 8px; }
.site-footer li svg { flex: none; margin-top: 4px; opacity: .7; }
.site-footer p { font-size: 15.5px; }

.footer-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; color: #fff; }
.footer-brand:hover { color: #fff; }
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__sub { color: #8FB0B1; }

/* Dải ghi công — cố ý mảnh, nằm sát đáy, không chiếm chỗ. */
.footer-credit {
	margin-top: clamp(30px, 4vw, 44px);
	background: rgba(0,0,0,.22);
	border-top: 1px solid rgba(255,255,255,.07);
	font-size: 12.5px; line-height: 1.5; color: #6B8688;
}
.footer-credit .wrap { padding-block: 9px; }
.footer-credit a { color: #8FAEB0; border-bottom: 1px solid rgba(143,174,176,.3); }
.footer-credit a:hover { color: #7FD9C4; border-bottom-color: #7FD9C4; }

/* ---------- thanh liên hệ cố định trên mobile ---------- */
.mobile-bar { display: none; }
@media (max-width: 767px) {
	.mobile-bar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
		display: grid; grid-template-columns: 1fr 1fr;
		background: #fff; border-top: 1px solid var(--line);
		box-shadow: 0 -8px 24px rgba(16,38,44,.1);
		padding: 9px 10px calc(9px + env(safe-area-inset-bottom)); gap: 9px;
	}
	.mobile-bar .btn { padding: 12px 10px; font-size: 15px; }
	body.nav-open .mobile-bar { display: none; }
	body { padding-bottom: 76px; }
}

/* ---------- tiện ích ---------- */
.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* thẻ "tình huống" dùng lại khung .quote */
.quote h3 { font-size: 18px; line-height: 1.35; margin-bottom: 8px; }
.quote .card__icon { margin-bottom: 14px; }

/* phân trang */
.pagination, .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 36px; }
.page-numbers {
	display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 14px;
	border-radius: 12px; border: 1px solid var(--line); background: #fff;
	font-weight: 600; color: var(--ink-2);
}
.page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* =========================================================================
   Mẫu đặt hàng
   ====================================================================== */
.order-box {
	display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(24px, 4vw, 48px);
	background: linear-gradient(160deg, var(--brand-ll), var(--brand-l));
	border: 1px solid var(--line); border-radius: clamp(20px, 3vw, 28px);
	padding: clamp(26px, 4vw, 46px);
}
@media (max-width: 859px) { .order-box { grid-template-columns: 1fr; } }

.order-box__intro h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.order-box__intro > p { color: var(--ink-2); font-size: 16.5px; }
.order-box__points { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
.order-box__points li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: var(--ink-2); }
.order-box__points svg { flex: none; margin-top: 4px; color: var(--brand); }
.order-box__alt { font-size: 15px; color: var(--ink-2); margin: 0; }
.order-box__alt a { font-weight: 700; }

.order-box__form {
	background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
	padding: clamp(20px, 3vw, 30px); box-shadow: var(--sh-2);
}
.order-form p { margin: 0 0 14px; }
.order-form label {
	display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px;
}
.order-form label span { color: #C2410C; }
.order-form input, .order-form select {
	width: 100%; font: inherit; font-size: 16px; color: var(--ink);
	padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
	background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.order-form input:focus, .order-form select:focus {
	outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(14,124,107,.14);
}
.order-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.order-form__row { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
@media (max-width: 420px) { .order-form__row { grid-template-columns: 1fr; } }
.order-form__sp { font-size: 15px; color: var(--ink-2); background: var(--brand-l); border-radius: 12px; padding: 12px 14px; }
.order-form__sp strong { color: var(--brand-d); }
.order-form__note { font-size: 13px; color: var(--ink-3); margin: 12px 0 0; text-align: center; }
.order-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.order-form button { margin-top: 4px; }

.order-alert {
	display: flex; gap: 11px; align-items: flex-start;
	border-radius: 14px; padding: 15px 17px; margin-bottom: 18px; font-size: 15.5px;
}
.order-alert svg { flex: none; margin-top: 2px; }
.order-alert--thanh-cong { background: var(--brand-l); color: var(--brand-d); border: 1px solid #B9DED4; }
.order-alert--that-bai { background: #FDF1EC; color: #9A3412; border: 1px solid #F3D3C4; }

/* Trong trang bán mặt nạ dùng tông hồng/đỏ cho khớp */
.kihasu .order-box { background: linear-gradient(160deg, #FFFFFF, #FFF1F7); border-color: rgba(247,154,192,.45); }
.kihasu .order-box__points svg, .kihasu .order-box__alt a { color: var(--k-red); }
.kihasu .order-form input:focus, .kihasu .order-form select:focus { border-color: var(--k-red); box-shadow: 0 0 0 3px rgba(230,0,18,.12); }
.kihasu .order-alert--thanh-cong { background: #FFF1F6; color: var(--k-red-d); border-color: rgba(230,0,18,.2); }

/* =========================================================================
   Mua hàng: nút chính, liên hệ phụ và popup điền đơn
   ====================================================================== */
.btn--lg { padding: 16px 30px; font-size: 17.5px; }

/* nút phụ chỉ có biểu tượng — cố ý nhỏ, nhẹ */
.btn--icon {
	width: 42px; height: 42px; padding: 0; flex: none;
	background: #fff; color: var(--ink-2); border-color: var(--line);
}
.btn--icon:hover { border-color: var(--brand); color: var(--brand-d); }

/* hai đường liên hệ phụ dưới nút mua */
.contact-mini {
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
	margin: 12px 0 0; font-size: 14.5px; color: var(--ink-3);
}
.contact-mini--giua { justify-content: center; }
.contact-mini svg { flex: none; opacity: .75; }
.contact-mini a { color: var(--ink-2); font-weight: 600; }
.contact-mini a:hover { color: var(--brand-d); }
.contact-mini span { opacity: .5; }
.kihasu .contact-mini a:hover { color: var(--k-red); }

/* ---------- popup đặt hàng ---------- */
.order-modal {
	width: min(520px, calc(100vw - 28px)); max-height: min(88vh, 780px);
	padding: 0; border: 0; border-radius: 20px; overflow: auto;
	background: #fff; color: var(--ink);
	box-shadow: 0 30px 80px rgba(16,38,44,.3);
}
.order-modal::backdrop { background: rgba(10,32,36,.55); backdrop-filter: blur(2px); }
.order-modal[open] { animation: bsi-modal-in .22s ease; }
@keyframes bsi-modal-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }

.order-modal__close-form { position: sticky; top: 0; height: 0; z-index: 2; }
.order-modal__close {
	position: absolute; top: 14px; right: 14px; width: 38px; height: 38px;
	display: grid; place-items: center; cursor: pointer;
	border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink-2);
}
.order-modal__close:hover { border-color: var(--brand); color: var(--brand-d); }

.order-modal__head {
	padding: 26px 26px 0; 
}
.order-modal__head h2 { font-size: 23px; margin-bottom: 6px; }
.order-modal__sp {
	margin: 0; font-size: 15px; color: var(--brand-d); font-weight: 600;
	background: var(--brand-l); border-radius: 12px; padding: 10px 14px;
}
.order-modal__sp:empty { display: none; }
.order-modal .order-form { padding: 20px 26px 26px; }

/* ---------- băng báo kết quả gửi đơn ---------- */
.order-banner { padding-block: 16px; }
.order-banner--thanh-cong { background: var(--brand-l); border-bottom: 1px solid #BFE2DA; }
.order-banner--that-bai { background: #FDF1EC; border-bottom: 1px solid #F3D3C4; }
.order-banner__inner { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; }
.order-banner__icon {
	flex: none; width: 40px; height: 40px; border-radius: 50%;
	display: grid; place-items: center; background: #fff;
}
.order-banner--thanh-cong .order-banner__icon { color: var(--brand-d); }
.order-banner--that-bai .order-banner__icon { color: #9A3412; }
.order-banner strong { display: block; font-size: 16px; }
.order-banner p { margin: 2px 0 0; font-size: 15px; color: var(--ink-2); }
.order-banner .btn { margin-left: auto; }

/* ---------- bản đồ tới nhà thuốc ---------- */
.map-box {
	display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(22px, 3vw, 40px);
	background: #fff; border: 1px solid var(--line); border-radius: clamp(20px, 3vw, 26px);
	padding: clamp(22px, 3vw, 34px); box-shadow: var(--sh-1);
}
@media (max-width: 859px) { .map-box { grid-template-columns: 1fr; } }
.map-box__info h2 { font-size: clamp(23px, 2.8vw, 30px); margin-bottom: 18px; }
.map-box__list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 13px; }
.map-box__list li { display: flex; gap: 11px; align-items: flex-start; font-size: 16px; color: var(--ink-2); }
.map-box__list svg { flex: none; margin-top: 3px; color: var(--brand); }
.map-box__map {
	border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
	background: var(--brand-ll); min-height: 300px;
}
.map-box__map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* thanh dưới cùng khi đang ở trang có sản phẩm: hai nút liên hệ nhỏ + nút mua lớn */
@media (max-width: 767px) {
	.mobile-bar--mua { grid-template-columns: 52px 52px 1fr; }
	.mobile-bar--mua .btn--ghost { padding: 12px 0; }
}
