/* =====================================================================
   MẸ CHỌN – Design system
   Mobile-first · Font Be Vietnam Pro + Quicksand · Màu chủ đạo hồng san hô
   ===================================================================== */
:root {
  --primary: #F0537A;
  --primary-600: #D93E66;
  --primary-700: #B92C51;
  --primary-100: #FFE9EF;
  --primary-50: #FFF5F8;
  --teal: #17A398;
  --teal-600: #118B82;
  --teal-100: #E0F5F2;
  --amber: #FFB020;
  --amber-100: #FFF3D6;
  --red: #E53935;
  --green: #2E9E5B;
  --blue: #2F6FDB;
  --ink: #22202A;
  --ink-2: #4E4B58;
  --muted: #6F6B78;
  --price: #C9285D;
  --line: #ECE7EA;
  --line-2: #F4F0F2;
  --bg: #FFFFFF;
  --bg-soft: #FFF8FA;
  --bg-gray: #F7F6F8;
  --zalo: #0068FF;
  --messenger: #0084FF;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow-sm: 0 2px 8px rgba(34, 32, 42, .06);
  --shadow: 0 8px 28px rgba(34, 32, 42, .09);
  --shadow-lg: 0 20px 56px rgba(34, 32, 42, .16);
  --font-body: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Quicksand', var(--font-body);
  --container: 1240px;
  --header-h: 72px;
  --nav-h: 46px;
  --bottom-nav-h: 62px;
}

*, *::before, *::after { box-sizing: border-box; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }
.input:focus-visible { outline: none; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 15px; line-height: 1.55; color: var(--ink);
  background: var(--bg); -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; position: fixed; width: 100%; left: 0; }
html, body { overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.25; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
s { color: var(--muted); font-weight: 400; }
.hide { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 14px;
  border: 1.5px solid transparent; transition: transform .18s cubic-bezier(.34, 1.56, .64, 1), box-shadow .2s ease, background .2s ease, color .2s;
  white-space: nowrap; user-select: none; line-height: 1.2;
}
.btn:active { transform: scale(.97); }
/* Scale on hover – chỉ áp dụng cho thiết bị có chuột (không dính hover trên điện thoại) */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: scale(1.05); }
  .btn--block:hover, .btn--lg:hover { transform: scale(1.025); }
  .btn:active, .btn--block:active, .btn--lg:active { transform: scale(.97); transition-duration: .08s; }
  .btn--primary:hover { box-shadow: 0 10px 24px rgba(240, 83, 122, .4); }
  .btn--teal:hover { box-shadow: 0 10px 24px rgba(23, 163, 152, .38); }
  .btn--shopee:hover { box-shadow: 0 10px 24px rgba(238, 77, 45, .38); }
  .btn--zalo:hover { box-shadow: 0 10px 24px rgba(0, 104, 255, .35); }
  .chip:hover, .tab:hover { transform: scale(1.04); }
  .pdp__tabs .tab:hover { transform: none; color: var(--primary); }
  .chip:active, .tab:active { transform: scale(.97); }
  .hact:hover { transform: scale(1.08); }
  .pagination button:hover:not([disabled]) { transform: scale(1.08); border-color: var(--primary); color: var(--primary); }
  .pagination button.is-active:hover { color: #fff; }
  .qty button:hover { transform: scale(1.15); }
  .pbtn:hover { transform: translateY(-2px) scale(1.02); }
  .fab:hover { transform: scale(1.1); }
}
.btn svg { width: 18px; height: 18px; flex: none; display: inline-block; vertical-align: -4px; }
.btn--stack > span { display: inline-flex; align-items: center; gap: 6px; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(240, 83, 122, .28); }
.btn--primary:hover { background: var(--primary-600); box-shadow: 0 8px 20px rgba(240, 83, 122, .36); }
.btn--teal { background: var(--teal); color: #fff; box-shadow: 0 6px 16px rgba(23, 163, 152, .28); }
.btn--teal:hover { background: var(--teal-600); }
.btn--outline { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn--outline:hover { background: var(--primary-50); }
.btn--ghost { background: var(--bg-gray); color: var(--ink); }
.btn--ghost:hover { background: var(--line); }
.btn--zalo { background: var(--zalo); color: #fff; }
.btn--zalo:hover { background: #0052cc; }
.btn--light { background: #fff; color: var(--primary); }
.btn--shopee { background: #EE4D2D; color: #fff; }
.btn--shopee:hover { background: #d63f21; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--sm { min-height: 34px; padding: 0 14px; font-size: 13px; }
.btn--lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--icon { width: 42px; padding: 0; }
.btn--icon.btn--sm { width: 34px; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn--wrap { white-space: normal; text-align: center; padding-top: 8px; padding-bottom: 8px; line-height: 1.3; }
.btn--stack { flex-direction: column; gap: 2px; line-height: 1.15; white-space: normal; text-align: center; padding-top: 8px; padding-bottom: 8px; }
.btn--stack small { font-weight: 500; font-size: 11.5px; opacity: .9; }

/* ---------- Form ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field label span { color: var(--red); }
.input, select.input, textarea.input {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; outline: none; transition: border-color .2s, box-shadow .2s; font-size: 15px;
}
.input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-100); }
@media (max-width: 991px) { .input, select.input, textarea.input, .qty input, .search__form input { font-size: 16px; } }
.input.is-invalid { border-color: var(--red); }
.input::placeholder { color: #8E8B97; }
textarea.input { min-height: 84px; resize: vertical; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238A8794' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.form-error { font-size: 12.5px; color: var(--red); }
.input-group { position: relative; }
.input-group .input { padding-left: 42px; }
.input-group > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }

/* ---------- Badges / chips ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; line-height: 1.3; }
.badge--sale { background: var(--red); color: #fff; animation: saleBlink 1.2s ease-in-out infinite alternate; box-shadow: 0 0 0 0 rgba(229, 57, 53, .45); }
@keyframes saleBlink { 0% { background: var(--red); transform: scale(1); box-shadow: 0 0 0 0 rgba(229, 57, 53, .45); } 100% { background: #FF7A00; transform: scale(1.08); box-shadow: 0 0 0 6px rgba(255, 122, 0, 0); } }
.badge--hot { background: var(--amber); color: #3a2a00; }
/* Nhãn "Sản phẩm hot" nằm ngay dưới nhãn giảm giá trên thẻ sản phẩm */
/* Phân loại tạm hết hàng: xám, gạch ngang, không bấm được */
.chip--oos { color: var(--muted); background: var(--bg-gray); text-decoration: line-through; opacity: .7; cursor: not-allowed; }
.chip--oos small { text-decoration: none; }
/* Vạch ngăn giữa phần hàng cho bé và hàng cho mẹ ở trang tất cả sản phẩm */
.grid__sep { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 10px 0 2px; padding: 12px 16px; border-radius: 14px; background: linear-gradient(90deg, var(--primary-50), #fff); border: 1px dashed var(--primary-100); }
.grid__sep b { font-family: var(--font-head); font-size: 17px; color: var(--primary-700); }
.grid__sep span { font-size: 13px; color: var(--muted); }
.badge--fire { background: linear-gradient(135deg, #FF3D71, #FF8A00); color: #fff; box-shadow: 0 2px 8px rgba(255, 90, 0, .35); }
.badge--new { background: var(--teal); color: #fff; }
.badge--soft { background: var(--primary-100); color: var(--primary-700); }
.badge--teal { background: var(--teal-100); color: var(--teal-600); }
.badge--gray { background: var(--bg-gray); color: var(--ink-2); }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink-2); transition: color .15s, background .15s, border-color .15s, transform .18s cubic-bezier(.34, 1.56, .64, 1); white-space: nowrap; }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip--sm { min-height: 36px; padding: 5px 10px; font-size: 12.5px; }
.chip__x { font-size: 15px; line-height: 1; opacity: .7; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; padding: 4px 4px 8px; margin: -4px -4px 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips--scroll::-webkit-scrollbar { display: none; }

/* ---------- Layout helpers ---------- */
.section { padding: 32px 0; }
@media (min-width: 992px) { .section { padding: 48px 0; } }
.section--soft { background: var(--bg-soft); }
.section--gray { background: var(--bg-gray); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-head h2 { font-size: 22px; }
.section-head p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.section-head .link { color: var(--primary); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.section-head .link svg { width: 16px; height: 16px; }
@media (min-width: 768px) { .section-head h2 { font-size: 28px; } }
.grid { display: grid; gap: 12px; }
@media (min-width: 768px) { .grid { gap: 20px; } }
.grid--2 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 768px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.row-scroll { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 12px; margin: 0 -16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.row-scroll::-webkit-scrollbar { display: none; }
.row-scroll > * { flex: 0 0 62%; scroll-snap-align: start; }
@media (min-width: 560px) { .row-scroll > * { flex-basis: 40%; } }
@media (min-width: 768px) { .row-scroll { margin: 0 -24px; padding-inline: 24px; gap: 16px; } .row-scroll > * { flex-basis: 30%; } }
@media (min-width: 1100px) { .row-scroll > * { flex-basis: calc(20% - 13px); } }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); padding: 14px 0; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span:last-child { color: var(--ink-2); }
.page-title { font-size: 24px; margin-bottom: 6px; }
@media (min-width: 768px) { .page-title { font-size: 30px; } }
.card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.card--pad { padding: 18px; }
@media (min-width: 768px) { .card--pad { padding: 24px; } }
.divider { height: 1px; background: var(--line); margin: 14px 0; }
.text-muted { color: var(--muted); }
.text-primary { color: var(--primary-700); }
.text-teal { color: var(--teal); }
.text-red { color: var(--red); }
.fw-600 { font-weight: 600; } .fw-700 { font-weight: 700; }
.fs-13 { font-size: 13px; } .fs-14 { font-size: 14px; }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; } .mb-12 { margin-bottom: 12px; } .mb-16 { margin-bottom: 16px; }
.flex { display: flex; } .flex-col { flex-direction: column; } .items-center { align-items: center; } .justify-between { justify-content: space-between; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .wrap { flex-wrap: wrap; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #fff; font-size: 12.5px; }
.topbar__inner { display: flex; align-items: center; justify-content: center; gap: 24px; min-height: 34px; flex-wrap: nowrap; }
.topbar__item { white-space: nowrap; }
.topbar__inner:has(.topbar__sale) .topbar__item:nth-child(2), .topbar__inner:has(.topbar__sale) .topbar__item:nth-child(3) { display: none; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; opacity: .92; }
.topbar__item svg { width: 14px; height: 14px; color: var(--amber); }
.topbar__item b { color: var(--amber); }
.topbar__link { text-decoration: underline; text-underline-offset: 3px; }
.topbar__sale { background: #EE4D2D; color: #fff !important; padding: 3px 10px; border-radius: 999px; font-weight: 700; opacity: 1 !important; }
@media (max-width: 767px) { .topbar__item.topbar__sale { display: inline-flex; } }
.topbar__link:hover { color: var(--amber); }
.footer h4 a:hover { color: var(--primary); }
@media (max-width: 767px) { .topbar__item:not(:first-child) { display: none; } }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 60; background: #fff; box-shadow: 0 1px 0 var(--line); transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: var(--shadow); }
.header__inner { display: flex; align-items: center; gap: 12px; min-height: 64px; }
@media (min-width: 992px) { .header__inner { min-height: var(--header-h); gap: 24px; } }
.hamburger { width: 44px; height: 44px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
.hamburger svg { width: 24px; height: 24px; }
@media (min-width: 992px) { .hamburger { display: none; } }
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--primary); letter-spacing: -.02em; line-height: 1; flex: none; }
.logo__mark { width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), #FF8DA8); display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; box-shadow: 0 4px 12px rgba(240, 83, 122, .35); }
.logo__img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; background: #fff; box-shadow: 0 2px 8px rgba(240, 83, 122, .18); }
.mmenu__head .logo__img { width: 40px; height: 40px; }
.footer .logo__img { width: 56px; height: 56px; }
.logo small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 10.5px; color: var(--muted); letter-spacing: 0; margin-top: 3px; }
@media (max-width: 991px) { .logo small { display: none; } .logo { font-size: 20px; } }
.search { flex: 1; position: relative; }
.search__form { display: flex; align-items: center; height: 46px; border: 2px solid var(--primary); border-radius: 999px; overflow: hidden; background: #fff; }
.search__form input { flex: 1; border: 0; outline: 0; padding: 0 18px; height: 100%; font-size: 14.5px; min-width: 0; }
.search__form button { height: 100%; padding: 0 20px; background: var(--primary); color: #fff; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; }
.search__form button svg { width: 18px; height: 18px; }
.search__form button span { display: none; }
@media (min-width: 992px) { .search__form button span { display: inline; } }
@media (max-width: 991px) { .search { display: none; } .header.is-search-open .search { display: block; position: absolute; left: 0; right: 0; top: 100%; padding: 10px 12px 12px; background: #fff; box-shadow: var(--shadow); z-index: 5; } }
.search__suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); border: 1px solid var(--line); z-index: 70; overflow: hidden; display: none; }
.search__suggest.is-open { display: block; }
.search__suggest a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line-2); }
.search__suggest a:hover { background: var(--primary-50); }
.search__suggest img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--bg-gray); }
.search__suggest .name { font-size: 13.5px; font-weight: 500; }
.search__suggest .price { font-size: 13px; color: var(--price); font-weight: 700; }
.search__suggest .all { justify-content: center; color: var(--primary); font-weight: 600; font-size: 13.5px; }
.search__hint { padding: 12px 14px; font-size: 13px; color: var(--muted); }
.search__hint .chips { margin-top: 8px; }
.header__actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
@media (min-width: 992px) { .header__actions { gap: 8px; } }
.hact { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 44px; height: 48px; padding: 0 8px; border-radius: 12px; color: var(--ink-2); font-size: 11px; font-weight: 600; }
.hact { transition: background .15s, color .15s, transform .18s cubic-bezier(.34, 1.56, .64, 1); }
.hact:hover { background: var(--primary-50); color: var(--primary); }
.hact svg { width: 23px; height: 23px; }
.hact__count { position: absolute; top: 2px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.hact--hotline { flex-direction: row; gap: 10px; padding: 0 12px; text-align: left; }
.hact--hotline svg { color: var(--primary); }
.hact--hotline b { display: block; font-size: 15px; color: var(--primary); font-family: var(--font-head); }
.hact--hotline small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; }
@media (max-width: 991px) { .hact--hotline, .hact--account { display: none; } .hact span.lbl { display: none; } }
.hact--search { display: inline-flex; }
@media (min-width: 992px) { .hact--search { display: none; } }

/* Navbar (desktop) */
.navbar { display: none; border-top: 1px solid var(--line); }
@media (min-width: 992px) { .navbar { display: block; } }
.navbar__list { display: flex; align-items: center; gap: 2px; height: var(--nav-h); }
.navbar__item { position: relative; height: 100%; }
.navbar__link { display: inline-flex; align-items: center; gap: 6px; height: 100%; padding: 0 11px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0; color: var(--ink-2); border-radius: 8px 8px 0 0; white-space: nowrap; }
.navbar__link svg { width: 14px; height: 14px; opacity: .6; }
/* Thanh menu luôn gọn trong 1 hàng: màn hình càng hẹp thì chữ càng rút gọn */
.nv-short { display: none; }
@media (min-width: 1280px) { .navbar__link { padding: 0 9px; font-size: 12.5px; } }
@media (min-width: 992px) and (max-width: 1279px) {
  .navbar__list { gap: 0; }
  .navbar__link { padding: 0 7px; font-size: 12px; }
  .navbar__link--cat { padding: 0 12px; margin-right: 4px; }
  .nv-full { display: none; }
  .nv-short { display: inline; }
}
.navbar__item:hover .navbar__link { color: var(--primary); }
.navbar__link--hot { color: var(--red); }
.navbar__link--cat { background: var(--primary); color: #fff !important; border-radius: 8px; height: 36px; padding: 0 16px; margin-right: 8px; }
.navbar__link--cat svg { opacity: 1; width: 18px; height: 18px; }
.mega { position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 20px 22px; display: none; z-index: 65; }
.mega--wide { min-width: 720px; display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mega--brands { min-width: 760px; }
.navbar__item:hover .mega { display: block; }
.navbar__item:hover .mega--wide { display: grid; }
.mega h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--primary); margin-bottom: 10px; font-family: var(--font-body); }
.mega ul li a { display: block; padding: 6px 0; font-size: 13.5px; color: var(--ink-2); }
.mega ul li a:hover { color: var(--primary); padding-left: 4px; }
.mega .age-list { display: grid; gap: 8px; }
.mega .age-list a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--bg-gray); font-weight: 600; font-size: 13.5px; }
.mega .age-list a:hover { background: var(--primary-100); color: var(--primary-700); }
.mega .brand-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 16px; }
.mega .brand-grid a { font-size: 13.5px; padding: 5px 0; color: var(--ink-2); }
.mega .brand-grid a:hover { color: var(--primary); }
.mega .mega__promo { grid-column: 1 / -1; margin-top: 4px; padding: 12px 14px; background: var(--primary-50); border-radius: 10px; font-size: 13px; color: var(--primary-700); display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* Mobile menu */
.mmenu { position: fixed; inset: 0; z-index: 90; display: none; }
.mmenu.is-open { display: block; }
.mmenu__backdrop { position: absolute; inset: 0; background: rgba(34, 32, 42, .5); }
.mmenu__panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(88vw, 360px); background: #fff; overflow-y: auto; animation: slideInL .25s ease; display: flex; flex-direction: column; }
.mmenu__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: linear-gradient(135deg, var(--primary), #FF8DA8); color: #fff; }
.mmenu__head .logo { color: #fff; }
.mmenu__head .logo__mark { background: #fff; color: var(--primary); }
.mmenu__close { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: inline-flex; align-items: center; justify-content: center; }
.mmenu__close svg { width: 20px; height: 20px; }
.mmenu__ages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.mmenu__ages a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; border-radius: 12px; background: var(--bg-gray); font-size: 12px; font-weight: 600; text-align: center; }
.mmenu__ages a span { font-size: 22px; }
.mmenu__group { border-bottom: 1px solid var(--line); }
.mmenu__group summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; font-weight: 700; font-size: 14px; text-transform: uppercase; cursor: pointer; list-style: none; }
.mmenu__group summary::-webkit-details-marker { display: none; }
.mmenu__group summary svg { width: 18px; height: 18px; transition: transform .2s; color: var(--muted); }
.mmenu__group[open] summary svg { transform: rotate(180deg); }
.mmenu__group ul { padding: 0 16px 12px 24px; }
.mmenu__group ul a { display: block; padding: 8px 0; font-size: 14px; color: var(--ink-2); }
.mmenu__link { display: flex; align-items: center; gap: 10px; padding: 14px 16px; font-weight: 700; font-size: 14px; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.mmenu__contact { padding: 16px; margin-top: auto; background: var(--bg-soft); display: grid; gap: 8px; }
.mmenu__contact--top { margin-top: 0; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.mmenu__contact--top .btn { min-height: 44px; font-size: 13px; padding: 6px 8px; white-space: normal; min-width: 0; text-align: center; line-height: 1.25; }

/* ---------- Hero ---------- */
.hero { padding: 16px 0 0; }
@media (min-width: 992px) { .hero { padding-top: 20px; } }
.hero__grid { display: grid; gap: 12px; }
@media (min-width: 992px) { .hero__grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; } }
.carousel { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-gray); }
.carousel__track { display: flex; transition: transform .5s cubic-bezier(.4, 0, .2, 1); }
.slide { flex: 0 0 100%; min-height: 260px; padding: 28px 22px; display: flex; flex-direction: column; justify-content: center; position: relative; color: #fff; overflow: hidden; }
@media (min-width: 768px) { .slide { min-height: 380px; padding: 48px 56px; } }
.slide--pink { background: linear-gradient(120deg, #F0537A 0%, #FF8DA8 60%, #FFC1D1 100%); }
.slide--teal { background: linear-gradient(120deg, #118B82 0%, #17A398 55%, #7DD3CB 100%); }
.slide--amber { background: linear-gradient(120deg, #F28C00 0%, #FFB020 55%, #FFD98A 100%); color: #3a2a00; }
.slide--amber h2 { text-shadow: none; }
.slide--amber .slide__badge { background: rgba(0, 0, 0, .12); }
.slide--amber p b { background: rgba(0, 0, 0, .1); }
.slide__badge { align-self: flex-start; background: rgba(255, 255, 255, .22); backdrop-filter: blur(6px); padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; margin-bottom: 12px; letter-spacing: .04em; text-transform: uppercase; }
.slide h2 { font-size: 26px; white-space: pre-line; max-width: 520px; text-shadow: 0 2px 12px rgba(0, 0, 0, .12); }
@media (min-width: 768px) { .slide h2 { font-size: 40px; } }
.slide p { margin-top: 10px; max-width: 460px; font-size: 14px; opacity: .95; }
@media (min-width: 768px) { .slide p { font-size: 16px; } }
.slide p b { background: rgba(255, 255, 255, .25); padding: 1px 8px; border-radius: 6px; }
.slide .btn { align-self: flex-start; margin-top: 18px; }
.slide__art { position: absolute; right: -20px; bottom: -30px; width: 240px; height: 240px; opacity: .25; pointer-events: none; }
@media (min-width: 768px) { .slide__art { width: 360px; height: 360px; right: 30px; bottom: -40px; opacity: .35; } }
.slide--img h2, .slide--img p { max-width: 62%; }
.slide__img { position: absolute; right: 12px; bottom: 12px; width: 118px; aspect-ratio: 1; border-radius: 20px; border: 4px solid rgba(255, 255, 255, .9); box-shadow: 0 16px 36px rgba(0, 0, 0, .2); overflow: hidden; background: #fff; transform: rotate(-5deg); transition: transform .3s; }
.slide__img img { width: 100%; height: 100%; object-fit: cover; }
.slide__img:hover { transform: rotate(-2deg) scale(1.03); }
@media (min-width: 768px) { .slide--img h2 { max-width: 480px; } .slide--img p { max-width: 440px; } .slide__img { width: 290px; right: 56px; bottom: auto; top: 50%; transform: translateY(-50%) rotate(-5deg); border-width: 6px; border-radius: 28px; } .slide__img:hover { transform: translateY(-50%) rotate(-2deg) scale(1.03); } }
.carousel__dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.carousel__dots button { width: 10px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .5); transition: width .2s; }
.carousel__dots button.is-active { width: 22px; background: #fff; }
.carousel__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .85); display: none; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.carousel__arrow svg { width: 20px; height: 20px; }
.carousel__arrow--prev { left: 12px; } .carousel__arrow--next { right: 12px; }
@media (min-width: 768px) { .carousel__arrow { display: inline-flex; } }
.hero__side { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 992px) { .hero__side { grid-template-columns: 1fr; gap: 16px; } }
.promo-tile { border-radius: var(--radius); padding: 18px; min-height: 120px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
@media (min-width: 992px) { .promo-tile { min-height: 182px; } }
.promo-tile h3 { font-size: 16px; }
.promo-tile p { font-size: 12.5px; color: var(--ink-2); margin-top: 4px; }
.promo-tile .arrow { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.promo-tile .arrow svg { width: 16px; height: 16px; }
.promo-tile .emoji { font-size: 34px; margin-bottom: auto; }
.promo-tile__imgs { display: flex; align-items: center; margin-bottom: auto; }
.promo-tile__imgs img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2.5px solid #fff; box-shadow: var(--shadow-sm); margin-left: -12px; background: #fff; }
.promo-tile__imgs img:first-child { margin-left: 0; }
.promo-tile__imgs i { font-style: normal; font-size: 22px; margin-left: 4px; }
@media (min-width: 992px) { .promo-tile__imgs img { width: 56px; height: 56px; } }
.promo-tile--contact p b { color: var(--primary-700); }
.promo-tile__btns { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.promo-tile__btns .btn { min-height: 40px; padding: 0 14px; font-size: 13px; }
.promo-tile__btns .btn svg { width: 15px; height: 15px; }

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
@media (min-width: 992px) { .trust { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 20px; } }
.trust__item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.trust__icon { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; flex: none; background: var(--primary-100); color: var(--primary); }
.trust__icon svg { width: 22px; height: 22px; }
.trust__item b { display: block; font-size: 13.5px; }
.trust__item small { display: block; font-size: 12px; color: var(--muted); }

/* Age picker */
.age-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 768px) { .age-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; } }
.age-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 18px 10px; border-radius: var(--radius); border: 2px solid transparent; transition: all .2s; }
.age-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #fff; }
.age-card .emoji { font-size: 36px; }
.age-card b { font-family: var(--font-head); font-size: 15px; }
.age-card small { font-size: 12px; color: var(--muted); }

/* Category tiles */
.cat-tile { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--radius); position: relative; overflow: hidden; min-height: 150px; transition: transform .2s, box-shadow .2s; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-tile .icon { font-size: 34px; }
.cat-tile__img { width: 64px; height: 64px; border-radius: 18px; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow-sm); margin-bottom: 4px; }
@media (min-width: 768px) { .cat-tile__img { width: 84px; height: 84px; border-radius: 22px; } }
.cat-tile h3 { font-size: 16px; }
.cat-tile p { font-size: 12.5px; color: var(--ink-2); }
.cat-tile .link { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: 4px; }
.cat-tile .link svg { width: 14px; height: 14px; }
@media (min-width: 768px) { .cat-tile { padding: 24px; min-height: 190px; } .cat-tile h3 { font-size: 18px; } }

/* ---------- Product card ---------- */
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; position: relative; height: 100%; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.pcard__media { position: relative; display: block; aspect-ratio: 1; background: var(--bg-gray); overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; }
.pcard__wish { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .9); display: inline-flex; align-items: center; justify-content: center; color: var(--muted); opacity: 0; transition: opacity .2s; }
.pcard__wish svg { width: 17px; height: 17px; }
.pcard:hover .pcard__wish, .pcard:focus-within .pcard__wish { opacity: 1; }
@media (hover: none) { .pcard__wish { opacity: 1; } }
.pcard__wish.is-on { color: var(--primary); opacity: 1; }
.pcard__body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
@media (min-width: 768px) { .pcard__body { padding: 12px 14px 14px; } }
.pcard__brand { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--teal); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__name { font-size: 14px; font-weight: 500; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; color: var(--ink); }
.pcard__name:hover { color: var(--primary); }
.pcard__meta { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.pcard__meta .star { color: var(--amber); display: inline-flex; align-items: center; gap: 2px; font-weight: 600; color: var(--ink-2); }
.pcard__meta .star svg { width: 12px; height: 12px; color: var(--amber); fill: var(--amber); }
.pcard__meta svg { width: 14px; height: 14px; flex: none; }
.pcard__meta .text-teal { display: inline-flex; align-items: center; gap: 4px; }
.pcard__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.pcard__price b { font-size: 16px; color: var(--price); font-family: var(--font-head); }
.pcard__price b small { font-size: 11px; font-weight: 500; color: var(--muted); font-family: var(--font-body); }
.pcard__price s { font-size: 12.5px; }
.pcard__age { font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; }
.pcard__age span { background: var(--bg-gray); padding: 3px 8px; border-radius: 6px; display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; }
.pcard__age svg { width: 12px; height: 12px; }
.pcard__actions { display: flex; gap: 6px; margin-top: auto; padding-top: 8px; }
.pcard__actions .btn { flex: 1; min-height: 44px; font-size: 13.5px; padding: 0 10px; }
.pcard__actions .btn--icon { flex: 0 0 44px; width: 44px; }
.pcard__sold { height: 6px; border-radius: 999px; background: var(--primary-100); overflow: hidden; margin-top: 4px; position: relative; }
.pcard__sold i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), #FF8DA8); border-radius: 999px; }
.pcard__soldtxt { font-size: 11.5px; color: var(--primary-700); font-weight: 600; }
.pcard--oos .pcard__media::after { content: 'TẠM HẾT HÀNG'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .6); font-weight: 800; color: var(--ink-2); font-size: 13px; letter-spacing: .06em; }

/* Hàng mới về – cùng kiểu với thanh flash sale nhưng trang trí khác (xanh mint, lấp lánh) */
.fresh { position: relative; overflow: hidden; background: linear-gradient(135deg, #0FA98F 0%, #2CC3A5 45%, #6FD8C8 100%); border-radius: var(--radius); padding: 18px 16px; color: #fff; }
@media (min-width: 768px) { .fresh { padding: 26px 24px; } }
.fresh__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; position: relative; z-index: 1; }
.fresh__title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fresh__title h2 { font-size: 22px; color: #fff; text-transform: uppercase; letter-spacing: .02em; }
.fresh__box { font-size: 26px; display: inline-block; animation: boxBob 1.6s ease-in-out infinite; }
.fresh__tag { background: #fff; color: #0C8F79; font-weight: 800; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; padding: 5px 11px; border-radius: 999px; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); animation: tagPop 1.8s ease-in-out infinite; }
.fresh__note { font-size: 13px; color: rgba(255, 255, 255, .92); font-weight: 600; }
.fresh__more { text-align: center; margin-top: 12px; position: relative; z-index: 1; }
.fresh .row-scroll { position: relative; z-index: 1; }
.sparkles { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.sparkles i { position: absolute; top: 10%; font-size: 16px; opacity: 0; animation: twinkle 3.2s ease-in-out infinite; }
.sparkles i:nth-child(1) { left: 6%; animation-delay: 0s; }
.sparkles i:nth-child(2) { left: 22%; top: 68%; animation-delay: .5s; }
.sparkles i:nth-child(3) { left: 38%; top: 16%; animation-delay: 1s; }
.sparkles i:nth-child(4) { left: 54%; top: 72%; animation-delay: 1.5s; }
.sparkles i:nth-child(5) { left: 70%; top: 12%; animation-delay: 2s; }
.sparkles i:nth-child(6) { left: 84%; top: 66%; animation-delay: 2.5s; }
.sparkles i:nth-child(7) { left: 94%; top: 24%; animation-delay: 3s; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.6) rotate(0deg); } 50% { opacity: .95; transform: scale(1.15) rotate(12deg); } }
@keyframes boxBob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-5px) rotate(4deg); } }
@keyframes tagPop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }

/* Flash sale */
.flash { background: linear-gradient(135deg, #FF3D71 0%, #F0537A 45%, #FF8A5C 100%); border-radius: var(--radius); padding: 18px 16px; color: #fff; }
@media (min-width: 768px) { .flash { padding: 26px 24px; } }
.flash__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.flash__title { display: flex; align-items: center; gap: 10px; position: relative; padding-top: 6px; }
.flash__title h2 { font-size: 22px; color: #fff; text-transform: uppercase; letter-spacing: .02em; position: relative; z-index: 1; }
.flash__title .bolt { font-size: 26px; display: inline-block; position: relative; z-index: 1; animation: boltPulse 1.2s ease-in-out infinite; filter: drop-shadow(0 0 6px rgba(255, 213, 79, .9)); }
/* Chữ nhấp nháy trắng ↔ vàng + ánh lửa bập bùng (2 animation chạy song song) */
.flash__title h2 { animation: flashBlink 1s ease-in-out infinite alternate, fireGlow 1.3s ease-in-out infinite; }
@keyframes flashBlink { 0% { color: #fff; } 100% { color: #FFF9C4; } }
@keyframes fireGlow {
  0%, 100% { text-shadow: 0 1px 0 rgba(120, 0, 40, .85), 0 2px 4px rgba(120, 0, 40, .6), 0 0 6px rgba(255, 255, 255, .5), 0 -4px 12px #FFD54F, 0 -10px 22px #FF8F00, 0 -18px 34px rgba(255, 61, 0, .9); }
  25%      { text-shadow: 0 1px 0 rgba(120, 0, 40, .85), 0 2px 4px rgba(120, 0, 40, .6), 0 0 8px rgba(255, 255, 255, .6), 0 -6px 14px #FFEE58, 0 -14px 26px #FF9800, 0 -26px 42px rgba(244, 81, 30, .95); }
  50%      { text-shadow: 0 1px 0 rgba(120, 0, 40, .85), 0 2px 4px rgba(120, 0, 40, .6), 0 0 5px rgba(255, 255, 255, .4), 0 -3px 10px #FFD54F, 0 -8px 18px #FB8C00, 0 -15px 28px rgba(230, 74, 25, .85); }
  75%      { text-shadow: 0 1px 0 rgba(120, 0, 40, .85), 0 2px 4px rgba(120, 0, 40, .6), 0 0 9px rgba(255, 255, 255, .7), 0 -7px 16px #FFF176, 0 -16px 30px #FFA726, 0 -28px 46px rgba(255, 87, 34, 1); }
}
@keyframes boltPulse { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.25) rotate(-8deg); } }
/* Ngọn lửa bốc lên từ dưới chữ */
.flames { position: absolute; left: 30px; right: -6px; top: -10px; bottom: 0; pointer-events: none; z-index: 0; }
.flames i { position: absolute; bottom: 22%; font-style: normal; font-size: 24px; line-height: 1; opacity: 0; transform-origin: 50% 100%; animation: flameRise 1.5s ease-out infinite; filter: drop-shadow(0 0 8px rgba(255, 140, 0, .95)); will-change: transform, opacity; }
.flames i:nth-child(1) { left: 0%;  animation-delay: 0s;    font-size: 22px; }
.flames i:nth-child(2) { left: 15%; animation-delay: .55s;  font-size: 19px; animation-duration: 1.7s; }
.flames i:nth-child(3) { left: 31%; animation-delay: .2s;   font-size: 26px; animation-duration: 1.4s; }
.flames i:nth-child(4) { left: 47%; animation-delay: .9s;   font-size: 20px; animation-duration: 1.6s; }
.flames i:nth-child(5) { left: 62%; animation-delay: .35s;  font-size: 24px; animation-duration: 1.5s; }
.flames i:nth-child(6) { left: 78%; animation-delay: 1.1s;  font-size: 19px; animation-duration: 1.8s; }
.flames i:nth-child(7) { left: 92%; animation-delay: .7s;   font-size: 22px; animation-duration: 1.45s; }
@keyframes flameRise {
  0%   { transform: translateY(8px) scale(.5) rotate(0deg); opacity: 0; }
  15%  { opacity: 1; }
  55%  { opacity: .9; }
  85%  { opacity: 0; }
  100% { transform: translateY(-36px) scale(1.3) rotate(-10deg); opacity: 0; }
}
.flames i:nth-child(even) { animation-name: flameRiseR; }
@keyframes flameRiseR {
  0%   { transform: translateY(8px) scale(.5) rotate(0deg); opacity: 0; }
  15%  { opacity: 1; }
  55%  { opacity: .9; }
  85%  { opacity: 0; }
  100% { transform: translateY(-32px) scale(1.25) rotate(10deg); opacity: 0; }
}
/* Lớp sáng bập bùng nền tiêu đề */
.flash__title::before { content: ""; position: absolute; left: 20px; right: -10px; top: -16px; bottom: -12px; z-index: 0; pointer-events: none; border-radius: 40px; background: radial-gradient(ellipse 70% 90% at 50% 95%, rgba(255, 196, 0, .75), rgba(255, 87, 34, .4) 45%, transparent 75%); filter: blur(10px); animation: heatWave 1.1s ease-in-out infinite alternate; }
@keyframes heatWave { 0% { opacity: .7; transform: scaleX(.96) scaleY(.9); } 100% { opacity: 1; transform: scaleX(1.06) scaleY(1.12); } }

.countdown { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.countdown b { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; border-radius: 8px; background: var(--ink); color: #fff; font-family: var(--font-head); font-size: 16px; padding: 0 6px; }
.countdown i { font-style: normal; font-weight: 800; }
.flash .row-scroll { margin: 0 -16px; padding: 4px 16px 6px; }
@media (min-width: 768px) { .flash .row-scroll { margin: 0 -24px; padding-inline: 24px; } }
.flash .pcard { border: 0; }
.flash__more { text-align: center; margin-top: 12px; }

/* Tabs */
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin: -4px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 13.5px; color: var(--ink-2); background: var(--bg-gray); white-space: nowrap; transition: color .15s, background .15s, transform .18s cubic-bezier(.34, 1.56, .64, 1); }
.tab.is-active { background: var(--primary); color: #fff; }

/* Combo */
.combo-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; align-items: center; }
@media (min-width: 768px) { .combo-card { grid-template-columns: 150px minmax(0, 1fr); padding: 18px; } }
.combo-card img { width: 100%; border-radius: 12px; }
.combo-card h3 { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.combo-card .save { display: inline-block; margin-top: 6px; }
.combo-card .price { margin: 8px 0 10px; }
.combo-card .price b { font-size: 20px; color: var(--price); font-family: var(--font-head); }
.combo-card .price s { margin-left: 8px; font-size: 13px; }
.combo-card .items { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

/* Why us */
.why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 992px) { .why { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.why__item { padding: 20px 16px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); text-align: center; }
.why__item .icon { width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 18px; background: var(--teal-100); color: var(--teal); display: inline-flex; align-items: center; justify-content: center; }
.why__item .icon svg { width: 28px; height: 28px; }
.why__item h3 { font-size: 15px; margin-bottom: 4px; }
.why__item p { font-size: 12.5px; color: var(--muted); }

/* Reviews */
.review-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; gap: 10px; height: 100%; }
.review-card .stars { color: var(--amber); display: flex; gap: 2px; }
.review-card .stars svg { width: 15px; height: 15px; fill: currentColor; }
.review-card p { font-size: 14px; color: var(--ink-2); flex: 1; }
.review-card .who { display: flex; align-items: center; gap: 10px; }
.review-card .avatar { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; font-family: var(--font-head); }
.review-card .who b { display: block; font-size: 13.5px; }
.review-card .who small { color: var(--muted); font-size: 12px; }
.review-card .prod { font-size: 12px; color: var(--teal); font-weight: 600; }

/* Blog */
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; height: 100%; transition: box-shadow .2s; }
.post-card:hover { box-shadow: var(--shadow); }
.post-card__thumb { aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; font-size: 56px; }
.post-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.post-card__meta { font-size: 12px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.post-card__meta .badge { font-size: 11px; }
.post-card h3 { font-size: 15.5px; line-height: 1.35; }
.post-card p { font-size: 13px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Brands strip */
.brands { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.brands a { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; font-size: 13.5px; color: var(--ink-2); }
.brands a:hover { border-color: var(--primary); color: var(--primary); }

/* Zalo subscribe */
.subscribe { background: linear-gradient(120deg, var(--teal) 0%, #2BC0B3 100%); border-radius: var(--radius); padding: 24px 18px; color: #fff; display: grid; gap: 16px; }
@media (min-width: 992px) { .subscribe { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; padding: 34px 40px; } }
.subscribe h2 { font-size: 22px; color: #fff; }
.subscribe p { font-size: 14px; opacity: .95; margin-top: 6px; }
.subscribe form { display: flex; gap: 8px; }
.subscribe .input { border: 0; min-height: 50px; }
.subscribe .btn { background: var(--ink); color: #fff; min-height: 50px; }
.subscribe__done { background: rgba(255, 255, 255, .18); border-radius: 12px; padding: 14px 16px; font-size: 14px; }
.subscribe__done b { background: #fff; color: var(--teal-600); padding: 2px 10px; border-radius: 6px; font-family: var(--font-head); }
a.review-card { color: inherit; }

/* Reorder strip */
.reorder { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--amber-100); border: 1px solid #FFE1A3; border-radius: 12px; margin-top: 16px; flex-wrap: wrap; }
.reorder .emoji { font-size: 24px; }
.reorder b { display: block; font-size: 14px; }
.reorder small { color: var(--ink-2); font-size: 12.5px; }
.reorder .btn { margin-left: auto; }

/* ---------- Footer ---------- */
.footer { background: #fff; border-top: 1px solid var(--line); margin-top: 40px; padding-bottom: var(--bottom-nav-h); }
@media (min-width: 992px) { .footer { padding-bottom: 0; } }
.footer__top { padding: 36px 0 28px; display: grid; gap: 28px; }
@media (min-width: 768px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 32px; } }
.footer h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; font-family: var(--font-body); }
.footer__col li { margin-bottom: 9px; font-size: 13.5px; color: var(--ink-2); }
.footer__col li a:hover { color: var(--primary); }
.footer__info { font-size: 13.5px; color: var(--ink-2); display: grid; gap: 8px; align-content: start; }
.footer__info b { color: var(--ink); }
.footer__info .logo { margin-bottom: 8px; }
.footer__info p { display: flex; gap: 8px; align-items: flex-start; }
.footer__info svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--primary); }
.footer__social { display: flex; gap: 8px; margin-top: 12px; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; background: var(--bg-gray); display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); }
.footer__social a:hover { background: var(--primary-100); color: var(--primary); }
.footer__social a.pill { width: auto; padding: 0 12px; border-radius: 999px; }
.footer__social svg { width: 18px; height: 18px; }
.footer__qr { display: flex; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 12px; margin: 4px 0 12px; background: #fff; }
.footer__qr img { width: 112px; height: 112px; border-radius: 8px; flex: none; }
.footer__qr b { display: block; font-size: 13.5px; color: var(--zalo); }
.footer__qr small { display: block; font-size: 12px; color: var(--muted); margin: 2px 0 6px; }
.footer__qr a { font-size: 12.5px; font-weight: 700; color: var(--zalo); }
@media (max-width: 767px) { .qr-box, .footer__qr { display: none !important; } }
.qr-box { display: flex; gap: 12px; align-items: center; margin-top: 14px; padding: 10px 12px; background: var(--bg-gray); border-radius: 10px; }
.qr-box img { width: 96px; height: 96px; border-radius: 8px; background: #fff; flex: none; }
.qr-box b { display: block; font-size: 13.5px; }
.qr-box small { display: block; font-size: 12px; color: var(--muted); }
.qr-box a { color: var(--zalo); font-weight: 700; }
.footer__pay { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.footer__pay span { font-size: 11.5px; font-weight: 700; padding: 5px 9px; border-radius: 6px; background: var(--bg-gray); color: var(--ink-2); }
.footer__cert { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px dashed var(--line); border-radius: 8px; font-size: 12px; color: var(--muted); margin-top: 8px; }
.footer__cert svg { width: 20px; height: 20px; color: var(--green); }
.footer__bottom { border-top: 1px solid var(--line); padding: 16px 0; font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; }
.footer__note { font-size: 12px; color: var(--muted); padding-bottom: 12px; font-style: italic; }

/* ---------- Floating contact ---------- */
@media (max-width: 991px) { .floating .fab:not(.fab--top) { display: none; } }
.floating { position: fixed; right: 14px; bottom: calc(var(--bottom-nav-h) + 14px); z-index: 55; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
@media (min-width: 992px) { .floating { bottom: 24px; right: 24px; } }
.fab { width: 50px; height: 50px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .18); position: relative; transition: transform .18s cubic-bezier(.34, 1.56, .64, 1); }
.fab:hover { transform: scale(1.06); }
.fab svg { width: 26px; height: 26px; }
.fab--zalo { background: var(--zalo); font-family: var(--font-head); font-weight: 800; font-size: 15px; letter-spacing: -.02em; }
.fab--messenger { background: linear-gradient(135deg, #00B2FF, #006AFF); }
.fab--phone { background: var(--primary); }
.fab--phone::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--primary); opacity: 0; animation: pulse 1.8s ease-out infinite; }
.fab--callback { background: var(--teal); }
.fab--top { background: #fff; color: var(--ink-2); width: 40px; height: 40px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.fab--top.is-visible { opacity: 1; pointer-events: auto; }
.fab--top svg { width: 20px; height: 20px; }
.fab__label { position: absolute; right: 60px; top: 50%; transform: translateY(-50%); background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; }
.fab:hover .fab__label { opacity: 1; }
@keyframes pulse { 0% { transform: scale(.9); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- Bottom nav (mobile) ---------- */
.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; height: var(--bottom-nav-h); background: #fff; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); z-index: 58; padding-bottom: env(safe-area-inset-bottom); }
@media (min-width: 992px) { .bottom-nav { display: none; } }
.bottom-nav a, .bottom-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10.5px; font-weight: 600; color: var(--muted); position: relative; }
.bottom-nav svg { width: 23px; height: 23px; }
.bottom-nav .is-active { color: var(--primary); }
.bottom-nav .bn-center { margin-top: -22px; }
.bottom-nav .bn-center span.circle { width: 52px; height: 52px; border-radius: 50%; background: var(--zalo); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(0, 104, 255, .35); font-family: var(--font-head); font-weight: 800; font-size: 14px; }
.bottom-nav .hact__count { top: 4px; right: calc(50% - 20px); }
body { padding-bottom: 0; }
@media (max-width: 991px) { body { padding-bottom: var(--bottom-nav-h); } .footer { padding-bottom: 0; } }

/* ---------- Toast ---------- */
.toasts { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--bottom-nav-h) + 16px); z-index: 120; display: flex; flex-direction: column; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
@media (min-width: 992px) { .toasts { bottom: 28px; } }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--ink); color: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); font-size: 13.5px; animation: toastIn .25s ease; }
.toast svg { width: 20px; height: 20px; color: #6EE7B7; flex: none; }
.toast--error svg { color: #FCA5A5; }
.toast a, .toast button { margin-left: auto; color: #FFB6C8; font-weight: 700; white-space: nowrap; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Modal / bottom sheet ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: flex-end; justify-content: center; }
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(34, 32, 42, .55); backdrop-filter: blur(2px); animation: fadeIn .2s; }
.modal__panel { position: relative; width: 100%; max-height: 92vh; max-height: 92dvh; background: #fff; border-radius: 20px 20px 0 0; overflow-y: auto; animation: slideUp .28s cubic-bezier(.2, .8, .3, 1); }
.modal__panel--sm { max-width: 440px; }
@media (min-width: 640px) {
  .modal { align-items: center; padding: 20px; }
  .modal__panel { max-width: 560px; border-radius: 20px; max-height: 90vh; animation: popIn .22s ease; }
}
.modal__head { position: sticky; top: 0; z-index: 2; background: #fff; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.modal__head h3 { font-size: 17px; display: flex; align-items: center; gap: 8px; }
.modal__head h3 svg { width: 20px; height: 20px; color: var(--primary); }
.modal__close { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-gray); display: inline-flex; align-items: center; justify-content: center; }
.modal__close svg { width: 18px; height: 18px; }
.modal__body { padding: 16px 18px 20px; }
.modal__grip { width: 40px; height: 4px; border-radius: 999px; background: var(--line); margin: 10px auto 0; }
@media (min-width: 640px) { .modal__grip { display: none; } }
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes slideInL { from { transform: translateX(-30px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes popIn { from { transform: scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Quick buy */
.qb__product { display: flex; gap: 12px; align-items: center; padding: 12px; background: var(--bg-soft); border-radius: 12px; margin-bottom: 14px; }
.qb__product img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; flex: none; }
.qb__product .name { font-size: 13.5px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qb__product .price { margin-top: 4px; }
.qb__product .price b { color: var(--price); font-size: 16px; font-family: var(--font-head); }
.qb__product .price s { font-size: 12px; margin-left: 6px; }
.qb__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.qb__hint { font-size: 12.5px; color: var(--teal-600); font-weight: 600; background: var(--teal-100); padding: 6px 10px; border-radius: 8px; }
.qb__form { display: grid; gap: 10px; }
.qb__form .grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.qb__form .btn--lg { margin-top: 4px; }
.qb__trust { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--muted); justify-content: center; margin-top: 8px; }
.qb__trust span { display: inline-flex; align-items: center; gap: 4px; }
.qb__trust svg { width: 14px; height: 14px; color: var(--green); }
.qb__alt { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.qb__alt p { font-size: 12.5px; color: var(--muted); text-align: center; margin-bottom: 8px; }
.qb__alt .row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.qb__alt .row--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 480px) { .qb__alt .row--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.qb__alt .btn { min-height: 40px; font-size: 12.5px; padding: 0 8px; }
.qb__variants { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.qb__success { text-align: center; padding: 10px 0 4px; }
.qb__success .check { width: 72px; height: 72px; border-radius: 50%; background: var(--teal-100); color: var(--teal); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; animation: popIn .3s; }
.qb__success .check svg { width: 36px; height: 36px; }
.qb__success h3 { font-size: 20px; margin-bottom: 6px; }
.qb__success p { color: var(--ink-2); font-size: 14px; }
.qb__success .code { display: inline-block; margin: 10px 0; padding: 8px 14px; border-radius: 8px; background: var(--bg-gray); font-weight: 700; font-family: var(--font-head); font-size: 16px; letter-spacing: .04em; }
.qb__success .steps { text-align: left; margin: 14px 0; display: grid; gap: 8px; font-size: 13.5px; }
.qb__success .steps span { display: flex; gap: 10px; align-items: flex-start; }
.qb__success .steps p { margin: 0; text-align: left; color: var(--ink-2); font-size: 13.5px; line-height: 1.5; }
.qb__success .steps i { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--primary-100); color: var(--primary-700); font-style: normal; font-weight: 700; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.qb__success .actions { display: grid; gap: 8px; margin-top: 14px; }
.qb__summary { margin: 2px 0; }
.qb__summary .summary-line { font-size: 13px; padding: 2px 0; }
.qb__coupon summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink-2); display: flex; gap: 6px; align-items: center; list-style: none; min-height: 36px; }
.qb__coupon summary::-webkit-details-marker { display: none; }
.qb__coupon summary svg { width: 16px; height: 16px; color: var(--primary); }
.qb__privacy { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 6px; }
.qb__privacy a { text-decoration: underline; }
.qb__savedinfo { font-size: 13.5px; padding: 8px 12px; background: var(--bg-gray); border-radius: 8px; line-height: 1.5; }
.qb__items { text-align: left; font-size: 13.5px; margin: 10px 0 0; padding-left: 18px; list-style: disc; color: var(--ink-2); }
.qb__saved { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--teal-600); background: var(--teal-100); padding: 8px 12px; border-radius: 8px; }
.qb__saved button { color: var(--teal-600); font-weight: 700; text-decoration: underline; }

/* Payment options */
.pay-options { display: grid; gap: 8px; }
.pay-option { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 13.5px; transition: all .15s; }
.pay-option input { accent-color: var(--primary); width: 18px; height: 18px; margin: 0; }
.pay-option:has(input:checked) { border-color: var(--primary); background: var(--primary-50); }
.pay-option .ico { width: 30px; height: 30px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; background: var(--bg-gray); flex: none; }
.pay-option b { display: block; font-size: 13.5px; }
.pay-option small { display: block; color: var(--muted); font-size: 12px; }
.pay-option .tagr { margin-left: auto; }
.pay-options--row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pay-options--row .pay-option { flex-direction: column; text-align: center; gap: 6px; padding: 10px 6px; }
.pay-options--row .pay-option input { position: absolute; opacity: 0; }
.pay-options--row .pay-option { position: relative; }
.pay-options--row .pay-option small { display: none; }

/* Qty stepper */
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; height: 44px; overflow: hidden; background: #fff; }
.qty button { width: 42px; height: 100%; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); font-size: 18px; transition: transform .15s, background .15s, color .15s; }
.qty button:hover { background: var(--bg-gray); color: var(--primary); }
.qty input { width: 40px; text-align: center; border: 0; outline: 0; font-weight: 700; font-size: 15px; -moz-appearance: textfield; height: 100%; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { appearance: none; }
.qty--sm { height: 40px; } .qty--sm button { width: 38px; font-size: 18px; } .qty--sm input { width: 36px; font-size: 15px; }

/* ---------- Cart drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 95; display: none; }
.drawer.is-open { display: block; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(34, 32, 42, .5); animation: fadeIn .2s; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(100vw, 420px); background: #fff; display: flex; flex-direction: column; animation: slideInR .28s cubic-bezier(.2, .8, .3, 1); box-shadow: var(--shadow-lg); }
@keyframes slideInR { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 17px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 18px; }
.drawer__foot { padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; display: grid; gap: 10px; }
.drawer__empty { text-align: center; padding: 48px 12px; color: var(--muted); }
.drawer__empty .emoji { font-size: 54px; margin-bottom: 10px; }
.freeship-bar { font-size: 12.5px; color: var(--ink-2); }
.freeship-bar .bar { height: 6px; border-radius: 999px; background: var(--line); margin-top: 6px; overflow: hidden; }
.freeship-bar .bar i { display: block; height: 100%; background: var(--teal); border-radius: 999px; transition: width .3s; }
.freeship-bar b { color: var(--teal-600); }
.cart-item { display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); align-items: start; }
.cart-item img { width: 68px; height: 68px; border-radius: 10px; object-fit: cover; background: var(--bg-gray); }
.cart-item .name { font-size: 13.5px; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-item .variant { font-size: 12px; color: var(--muted); margin-top: 2px; }
.cart-item .price { color: var(--price); font-weight: 700; font-size: 14px; margin-top: 4px; font-family: var(--font-head); }
.cart-item .price s { font-family: var(--font-body); font-size: 12px; margin-left: 6px; }
.cart-item .ctrl { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.cart-item .remove { color: var(--muted); font-size: 12.5px; text-decoration: underline; min-height: 36px; padding: 6px 8px; }
.cart-item .remove:hover { color: var(--red); }
.cart-item .total { font-weight: 700; font-size: 14px; text-align: right; }
.summary-line { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); padding: 4px 0; }
.summary-line.total { font-size: 17px; font-weight: 700; color: var(--ink); border-top: 1px solid var(--line); padding-top: 10px; margin-top: 6px; }
.summary-line.total b { color: var(--price); font-family: var(--font-head); font-size: 20px; }
.summary-line .free { color: var(--teal-600); font-weight: 600; }

/* ---------- Collections page ---------- */
.collection { display: grid; gap: 20px; }
@media (min-width: 992px) { .collection { grid-template-columns: 260px minmax(0, 1fr); gap: 28px; } }
.filters { display: none; }
@media (min-width: 992px) { .filters { display: block; position: sticky; top: calc(var(--header-h) + var(--nav-h) + 16px); align-self: start; max-height: calc(100vh - 160px); overflow-y: auto; } }
.filters.is-open { display: block; position: fixed; inset: 0; z-index: 96; background: #fff; overflow-y: auto; padding: 0 16px 100px; max-height: none; top: 0; }
.filters__head { display: none; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); margin-bottom: 8px; position: sticky; top: 0; background: #fff; z-index: 2; }
.filters.is-open .filters__head { display: flex; }
.filters__foot { display: none; position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); grid-template-columns: 1fr 2fr; gap: 10px; z-index: 3; }
.filters.is-open .filters__foot { display: grid; }
.fgroup { padding: 14px 0; border-bottom: 1px solid var(--line); }
.fgroup h4 { font-size: 13.5px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; }
.fgroup h4 button { font-size: 12px; color: var(--muted); font-weight: 500; }
.fgroup label { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 13.5px; cursor: pointer; color: var(--ink-2); }
.fgroup label:hover { color: var(--primary); }
.fgroup input[type=checkbox], .fgroup input[type=radio] { accent-color: var(--primary); width: 17px; height: 17px; margin: 0; }
.fgroup .count { margin-left: auto; font-size: 12px; color: var(--muted); }
.fgroup--scroll { max-height: 220px; overflow-y: auto; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar .count { font-size: 13.5px; color: var(--muted); }
.toolbar select { min-height: 40px; border-radius: 999px; padding: 0 36px 0 14px; font-size: 13.5px; font-weight: 600; }
.toolbar .filter-btn { display: inline-flex; }
@media (min-width: 992px) { .toolbar .filter-btn { display: none; } }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 28px; }
.pagination button { min-width: 38px; height: 38px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 14px; padding: 0 10px; transition: transform .18s cubic-bezier(.34, 1.56, .64, 1), border-color .15s, color .15s; }
.pagination button.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination button[disabled] { opacity: .4; }
.callout { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: var(--amber-100); border: 1px solid #FFE1A3; border-radius: 12px; margin-bottom: 16px; font-size: 13.5px; flex-wrap: wrap; }
.callout .emoji { font-size: 26px; }
.callout b { display: block; }
.callout .btn { margin-left: auto; }
.empty { text-align: center; padding: 48px 16px; color: var(--muted); }
.empty .emoji { font-size: 56px; margin-bottom: 8px; }
.empty h3 { color: var(--ink); margin-bottom: 4px; }

/* ---------- Product page ---------- */
.pdp { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 992px) { .pdp { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; } }
.gallery__main { border-radius: var(--radius); overflow: hidden; background: var(--bg-gray); aspect-ratio: 1; position: relative; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main .badge { position: absolute; top: 12px; left: 12px; font-size: 13px; padding: 5px 10px; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; }
.gallery__thumbs button { width: 66px; height: 66px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: var(--bg-gray); }
.gallery__thumbs button.is-active { border-color: var(--primary); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp__brand { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--teal); }
.pdp__title { font-size: 20px; margin: 6px 0 8px; line-height: 1.3; }
@media (min-width: 768px) { .pdp__title { font-size: 26px; } }
.pdp__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); align-items: center; }
.pdp__meta .star { color: var(--ink-2); font-weight: 600; display: inline-flex; align-items: center; gap: 3px; }
.pdp__meta .star svg { width: 14px; height: 14px; color: var(--amber); fill: var(--amber); }
.pdp__ages { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-2); margin-top: 10px; padding: 8px 12px; background: var(--teal-100); border-radius: 10px; }
.pdp__ages svg { width: 16px; height: 16px; color: var(--teal-600); }
.pdp__ages a { text-decoration: underline; }
.pdp__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 14px 0; padding: 14px 16px; background: var(--primary-50); border-radius: 12px; }
.pdp__price b { font-size: 28px; color: var(--price); font-family: var(--font-head); }
.pdp__price s { font-size: 15px; }
.pdp__price .badge { font-size: 12px; }
.pdp__offers { border: 1px dashed var(--primary); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; }
.pdp__offers h4 { font-size: 13.5px; color: var(--primary); margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.pdp__offers h4 svg { width: 16px; height: 16px; }
.pdp__offers li { font-size: 13px; color: var(--ink-2); padding: 3px 0; padding-left: 18px; position: relative; }
.pdp__offers li::before { content: '✓'; color: var(--green); font-weight: 700; position: absolute; left: 0; }
.pdp__opt { margin-bottom: 14px; }
.pdp__opt > label { font-size: 13.5px; font-weight: 600; display: block; margin-bottom: 8px; }
.pdp__opt .chips .chip small { font-weight: 500; color: var(--muted); }
.pdp__opt .chip.is-active small { color: rgba(255, 255, 255, .85); }
.pdp__buy { display: grid; gap: 10px; margin-top: 6px; }
.pdp__buy .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pdp__buy .row .btn { padding: 0 10px; font-size: 14.5px; }
.pdp__note { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--amber-100); font-size: 12.5px; color: #6b4b00; line-height: 1.5; }
.pdp__fullname { font-size: 12.5px; color: var(--muted); margin: -2px 0 8px; }
.pdp__trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.pdp__trust span { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); }
.pdp__trust svg { width: 18px; height: 18px; color: var(--teal); flex: none; }
.pdp__delivery { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--bg-gray); font-size: 13px; display: grid; gap: 6px; }
.pdp__delivery span { display: flex; gap: 8px; align-items: center; }
.pdp__delivery svg { width: 16px; height: 16px; color: var(--ink-2); }
.pdp__delivery b { color: var(--green); }
.pdp__tabs { margin-top: 32px; }
.pdp__tabs .tabs { border-bottom: 1px solid var(--line); gap: 0; flex-wrap: wrap; padding: 0; margin: 0; }
.pdp__tabs .tab { border-radius: 0; background: none; border-bottom: 2.5px solid transparent; padding: 12px 14px; color: var(--ink-2); min-height: 44px; }
.pdp__tabs .tab.is-active { color: var(--primary); border-color: var(--primary); }
.pdp__panel { display: none; padding: 20px 0; }
.pdp__panel.is-active { display: block; }
.pdp__panel p { color: var(--ink-2); line-height: 1.7; margin-bottom: 12px; }
.pdp__panel h3 { font-size: 16px; margin: 16px 0 8px; }
.pdp__panel ul.list li { padding: 4px 0 4px 20px; position: relative; color: var(--ink-2); font-size: 14px; }
.pdp__panel ul.list li::before { content: ''; position: absolute; left: 4px; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.spec { display: grid; grid-template-columns: 140px minmax(0, 1fr); font-size: 14px; }
.spec div { padding: 10px 12px; border-bottom: 1px solid var(--line-2); }
.spec div:nth-child(odd) { background: var(--bg-gray); font-weight: 600; color: var(--ink-2); }
.disclaimer { margin-top: 16px; padding: 12px 14px; background: var(--amber-100); border-radius: 10px; font-size: 12.5px; color: #6b4b00; }
.rating-summary { display: grid; gap: 20px; margin-bottom: 20px; }
@media (min-width: 768px) { .rating-summary { grid-template-columns: 180px minmax(0, 1fr); } }
.rating-summary .big { text-align: center; padding: 18px; background: var(--bg-soft); border-radius: 12px; }
.rating-summary .big b { font-size: 44px; font-family: var(--font-head); color: var(--primary); display: block; line-height: 1; }
.rating-summary .big .stars { color: var(--amber); display: flex; justify-content: center; gap: 2px; margin: 6px 0; }
.rating-summary .big .stars svg { width: 16px; height: 16px; fill: currentColor; }
.rating-summary .big small { color: var(--muted); }
.rating-bars { display: grid; gap: 6px; align-content: center; }
.rating-bars div { display: grid; grid-template-columns: 24px minmax(0, 1fr) 40px; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.rating-bars .bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.rating-bars .bar i { display: block; height: 100%; background: var(--amber); }
.review-list { display: grid; gap: 12px; }
.review-item { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; }
.review-item .top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.review-item .stars { color: var(--amber); display: flex; gap: 1px; }
.review-item .stars svg { width: 13px; height: 13px; fill: currentColor; }
.review-item b { font-size: 13.5px; }
.review-item small { color: var(--muted); font-size: 12px; }
.review-item p { font-size: 13.5px; color: var(--ink-2); margin: 0; }
.bundle { margin-top: 32px; padding: 18px; background: var(--bg-soft); border-radius: var(--radius); border: 1px solid var(--primary-100); }
.bundle h3 { font-size: 17px; margin-bottom: 12px; }
.bundle__items { display: grid; gap: 10px; }
@media (min-width: 768px) { .bundle__items { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bundle__item { display: flex; align-items: center; gap: 10px; padding: 10px; background: #fff; border-radius: 12px; border: 1.5px solid var(--line); cursor: pointer; font-size: 13px; }
.bundle__item:has(input:checked) { border-color: var(--primary); }
.bundle__item input { accent-color: var(--primary); width: 18px; height: 18px; margin: 0; flex: none; }
.bundle__item img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; flex: none; }
.bundle__item .n { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bundle__item .p { color: var(--primary); font-weight: 700; margin-top: 2px; }
.bundle__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.bundle__foot .tot { font-size: 14px; }
.bundle__foot .tot b { font-size: 20px; color: var(--primary); font-family: var(--font-head); }
.bundle__foot .tot .save { color: var(--teal-600); font-weight: 600; font-size: 12.5px; display: block; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: var(--bottom-nav-h); z-index: 57; background: #fff; border-top: 1px solid var(--line); padding: 8px 12px; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 8px; transform: translateY(120%); transition: transform .25s; }
.sticky-buy.is-visible { transform: none; }
.sticky-buy .btn { min-height: 46px; }
.sticky-buy .btn--icon { width: 48px; }
@media (min-width: 992px) { .sticky-buy { display: none; } }

/* ---------- Cart / checkout page ---------- */
.checkout { display: grid; gap: 20px; }
@media (min-width: 992px) { .checkout { grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; } .checkout__side { position: sticky; top: calc(var(--header-h) + var(--nav-h) + 16px); } }
.checkout h3 { font-size: 16px; display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.checkout h3 .num { width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.checkout .form-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .checkout .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.ship-option { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 13.5px; }
.ship-option:has(input:checked) { border-color: var(--primary); background: var(--primary-50); }
.ship-option input { accent-color: var(--primary); width: 18px; height: 18px; margin: 0; }
.ship-option b { display: block; }
.ship-option small { color: var(--muted); }
.ship-option .fee { margin-left: auto; font-weight: 700; }
.ship-option.is-disabled { opacity: .5; cursor: not-allowed; }
.coupon { display: flex; gap: 8px; }
.coupon .input { text-transform: uppercase; }
.coupon-hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.coupon-hint button { color: var(--primary); font-weight: 600; margin-right: 8px; }
.order-items { display: grid; gap: 10px; max-height: 300px; overflow-y: auto; margin-bottom: 8px; }
.order-items .it { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13px; }
.order-items img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.order-items .n { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.order-items .q { color: var(--muted); font-size: 12px; }
.bank-box { margin-top: 10px; padding: 12px; background: var(--bg-gray); border-radius: 10px; font-size: 13px; display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; align-items: center; }
.bank-box .qr { width: 90px; height: 90px; border-radius: 8px; background: repeating-conic-gradient(var(--ink) 0 25%, #fff 0 50%) 0 0/14px 14px; border: 4px solid #fff; box-shadow: var(--shadow-sm); }
.sticky-order { position: fixed; left: 0; right: 0; bottom: var(--bottom-nav-h); z-index: 57; background: #fff; border-top: 1px solid var(--line); padding: 8px 12px; display: flex; align-items: center; gap: 10px; }
.sticky-order .tot { font-size: 12px; color: var(--muted); line-height: 1.2; }
.sticky-order .tot b { display: block; font-size: 17px; color: var(--price); font-family: var(--font-head); }
.sticky-order .btn { flex: 1; min-height: 46px; }
@media (min-width: 992px) { .sticky-order { display: none; } }
.success-page { max-width: 620px; margin: 24px auto; text-align: center; }
.cart-table .cart-item { position: relative; grid-template-columns: 80px minmax(0, 1fr); padding-right: 44px; }
.cart-table .cart-item img { width: 80px; height: 80px; }
.cart-table .cart-item .total { grid-column: 2; text-align: left; font-size: 15px; }
.cart-table .cart-item .total::before { content: 'Thành tiền: '; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.cart-table .cart-item .remove { position: absolute; top: 12px; right: 0; width: 40px; height: 40px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--bg-gray); text-decoration: none; }
.cart-table .cart-item .remove svg { width: 18px; height: 18px; }
@media (min-width: 768px) { .cart-table .cart-item { grid-template-columns: 96px minmax(0, 1fr) 140px 130px 44px; align-items: center; padding-right: 0; } .cart-table .cart-item img { width: 96px; height: 96px; } .cart-table .cart-item .ctrl { margin: 0; justify-content: center; } .cart-table .cart-item .total { grid-column: auto; text-align: right; } .cart-table .cart-item .total::before { content: none; } .cart-table .cart-item .remove { position: static; } }

/* Blog page */
.post { max-width: 760px; margin: 0 auto; }
.post__hero { border-radius: var(--radius); aspect-ratio: 21/9; display: flex; align-items: center; justify-content: center; font-size: 80px; margin-bottom: 20px; }
.post h1 { font-size: 26px; margin-bottom: 8px; }
@media (min-width: 768px) { .post h1 { font-size: 34px; } }
.post__body p { font-size: 16px; line-height: 1.8; color: var(--ink-2); margin-bottom: 16px; }
.post__cta { margin-top: 28px; padding: 18px; background: var(--primary-50); border-radius: var(--radius); display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.post__cta .emoji { font-size: 36px; }
.post__cta b { display: block; }
.post__cta small { color: var(--ink-2); }
.post__cta .btn { margin-left: auto; }

/* Skeleton */
.skeleton { background: linear-gradient(90deg, var(--bg-gray) 25%, #efeef1 50%, var(--bg-gray) 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 8px; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* Utility for wishlist/compare small icons */
.icon-16 svg { width: 16px; height: 16px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .flames, .flash__title::before, .sparkles { display: none !important; }
  .flash__title h2, .flash__title .bolt, .badge--sale { animation: none !important; }
}

/* Mobile: rút ngắn đường tới sản phẩm đầu tiên – các hàng tuổi/danh mục/cam kết cuộn ngang */
@media (max-width: 767px) {
  .age-grid, #catGrid { display: flex; overflow-x: auto; gap: 10px; margin: 0 -16px; padding: 4px 16px 8px; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .age-grid::-webkit-scrollbar, #catGrid::-webkit-scrollbar { display: none; }
  .age-card { flex: 0 0 108px; scroll-snap-align: start; padding: 14px 8px; }
  .age-card .emoji { font-size: 30px; }
  .cat-tile { flex: 0 0 210px; min-height: 0; scroll-snap-align: start; }
  .trust { display: flex; overflow-x: auto; gap: 8px; scrollbar-width: none; margin: 12px -16px 0; padding: 0 16px; }
  .trust::-webkit-scrollbar { display: none; }
  .trust__item { flex: 0 0 auto; padding: 8px 12px; border-radius: 999px; gap: 8px; }
  .trust__item b { white-space: nowrap; font-size: 13px; }
  .trust__item small { display: none; }
  .trust__icon { width: 28px; height: 28px; border-radius: 8px; }
  .trust__icon svg { width: 16px; height: 16px; }
  .slide h2 { font-size: 22px; }
  .slide { min-height: 230px; padding: 22px 18px; }
}

/* Bổ sung sau xác minh: cỡ chữ ô nhập 16px trên mobile (đặt cuối để thắng cascade), vùng chạm cảm ứng, focus, sheet mua nhanh */
@media (max-width: 991px) { .input, select.input, textarea.input, .search__form input, .qty input, .qty--sm input, .toolbar select { font-size: 16px; } .qty--sm input { width: 40px; } }
@media (hover: none) and (pointer: coarse) { .btn--sm { min-height: 40px; } .btn--icon.btn--sm { width: 40px; } .mmenu__close { width: 44px; height: 44px; } .pagination button { min-width: 44px; height: 44px; } .cart-item .ctrl { gap: 14px; } }
.search__form:focus-within { box-shadow: 0 0 0 4px var(--primary-100); }
.qty:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-100); }
.modal__panel, .drawer__body, .mmenu__panel { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
@media (max-width: 767px) { #qbSubmit { position: sticky; bottom: 0; z-index: 3; box-shadow: 0 -8px 16px rgba(0, 0, 0, .06); } .modal__panel { padding-bottom: env(safe-area-inset-bottom, 0px); } }
.post-card__thumb img, .post__hero img { width: 100%; height: 100%; object-fit: cover; }
.post-card__thumb, .post__hero { overflow: hidden; }

/* ---------- Trang hỗ trợ / chính sách ---------- */
.pgroup { margin-bottom: 28px; }
.pgrid { display: grid; gap: 10px; }
@media (min-width: 640px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 992px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pbtn { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 12px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; min-height: 72px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.pbtn:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.pbtn.is-active { border-color: var(--primary); background: var(--primary-50); }
.pbtn__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-100); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; flex: none; }
.pbtn > span:nth-child(2) { flex: 1; min-width: 0; }
.pbtn b { display: block; font-size: 14.5px; }
.pbtn small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.pbtn > svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.policy { display: grid; gap: 20px; }
@media (min-width: 992px) { .policy { grid-template-columns: 250px minmax(0, 1fr); gap: 36px; align-items: start; } .policy__nav { position: sticky; top: calc(var(--header-h) + var(--nav-h) + 16px); } }
.policy__nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.policy__nav::-webkit-scrollbar { display: none; }
.policy__nav h4 { display: none; }
.policy__nav a { white-space: nowrap; padding: 9px 12px; border-radius: 999px; background: var(--bg-gray); font-size: 13.5px; color: var(--ink-2); min-height: 40px; display: inline-flex; align-items: center; }
.policy__nav a.is-active { background: var(--primary); color: #fff; }
@media (min-width: 992px) { .policy__nav { display: block; } .policy__nav h4 { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 14px 0 6px; font-family: var(--font-body); } .policy__nav a { display: flex; white-space: normal; border-radius: 10px; background: none; padding: 8px 10px; } .policy__nav a:hover { background: var(--primary-50); color: var(--primary-700); } .policy__nav a.is-active { background: var(--primary); color: #fff; } }
.policy__head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.policy__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--primary-100); display: inline-flex; align-items: center; justify-content: center; font-size: 28px; flex: none; }
.policy__head h1 { font-size: 24px; }
@media (min-width: 768px) { .policy__head h1 { font-size: 30px; } }
.policy__body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; }
@media (min-width: 768px) { .policy__body { padding: 28px 32px; } }
.policy__body h3 { font-size: 16.5px; margin: 20px 0 8px; }
.policy__body p, .policy__body li { color: var(--ink-2); line-height: 1.75; font-size: 15px; }
.policy__body p { margin-bottom: 10px; }
.policy__body ul { padding-left: 20px; list-style: disc; margin-bottom: 10px; } .policy__body ol { padding-left: 20px; list-style: decimal; margin-bottom: 10px; }
.policy__body li { margin-bottom: 4px; }
.policy__body a:not(.btn) { color: var(--primary-700); text-decoration: underline; }
.policy__body .note { background: var(--amber-100); border-radius: 10px; padding: 12px 14px; font-size: 13.5px; color: #6b4b00; margin-top: 14px; }
.ptable { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0 12px; }
.ptable th, .ptable td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.ptable th { background: var(--bg-gray); font-weight: 600; }
.policy__foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.faq details { border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; margin-bottom: 8px; }
.faq summary { padding: 12px 0; font-weight: 600; cursor: pointer; min-height: 44px; display: flex; align-items: center; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: '+'; width: 22px; height: 22px; border-radius: 50%; background: var(--primary-100); color: var(--primary-700); display: inline-flex; align-items: center; justify-content: center; margin-right: 10px; flex: none; font-weight: 700; }
.faq details[open] summary::before { content: '−'; }
.faq details p { padding-bottom: 12px; }

/* ---------- Khối chuyển khoản VietQR ---------- */
.paybox { display: grid; gap: 14px; margin: 12px 0; padding: 14px; border: 1.5px solid var(--teal); border-radius: 14px; background: var(--teal-100); text-align: left; }
@media (min-width: 560px) { .paybox { grid-template-columns: 200px minmax(0, 1fr); align-items: start; } }
.paybox__qr { text-align: center; }
.paybox__qr svg { width: 180px; height: 180px; background: #fff; border-radius: 12px; padding: 6px; box-shadow: var(--shadow-sm); display: inline-block; }
.paybox__qr small { display: block; font-size: 11.5px; color: var(--teal-600); margin-top: 6px; line-height: 1.4; }
.paybox__row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; padding: 6px 0; border-bottom: 1px dashed rgba(23, 163, 152, .3); }
.paybox__row > span { color: var(--ink-2); min-width: 100px; }
.paybox__row b { font-family: var(--font-head); font-size: 15px; word-break: break-all; }
.paybox__row .btn { margin-left: auto; min-height: 30px; padding: 0 10px; font-size: 12px; background: #fff; }
.paybox__row .text-price { color: var(--price); font-size: 17px; }
.paybox__note { font-size: 12.5px; color: var(--ink-2); margin-top: 8px; line-height: 1.5; }

/* ---------- 2 lựa chọn thanh toán ---------- */
.pay-options--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pay-options--2 .pay-option { position: relative; flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 12px 12px 14px; min-height: 96px; }
.pay-options--2 .pay-option input { position: absolute; top: 12px; right: 12px; }
.pay-options--2 .pay-option .ico { width: 34px; height: 34px; font-size: 18px; }
.pay-options--2 .pay-option b { font-size: 13.5px; line-height: 1.3; }
.pay-options--2 .pay-option small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.pay-options--2 .pay-option:has(input:checked) { border-color: var(--primary); background: var(--primary-50); box-shadow: 0 0 0 3px var(--primary-100); }
.pay-option--card { min-height: 64px; }
.pay-option--card .tagr { white-space: nowrap; }
@media (max-width: 560px) { .pay-option--card { flex-wrap: wrap; } .pay-option--card .tagr { margin-left: 44px; } }

/* Thẻ đánh giá → Shopee */
.review-card--shopee { border-color: #FFD9CF; }
.review-card--shopee:hover { border-color: #EE4D2D; box-shadow: var(--shadow); }
.review-card .prod--shopee { color: #EE4D2D; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.prod--shopee svg { width: 14px; height: 14px; }

/* ---------- Feedback thực tế ---------- */
.fb-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.fb-card__img { display: block; width: 100%; aspect-ratio: 4 / 5; background: var(--bg-gray); overflow: hidden; cursor: zoom-in; }
.fb-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.fb-card:hover .fb-card__img img { transform: scale(1.03); }
.fb-card figcaption { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; }
.fb-card figcaption p { font-size: 13px; color: var(--ink-2); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fb-card__who { font-size: 12.5px; } .fb-card__who small { color: var(--muted); }
.fb-card__prod { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--teal-600); font-weight: 600; }
.fb-card__prod svg { width: 12px; height: 12px; }
.lightbox { text-align: center; } .lightbox img { max-width: 100%; max-height: 70vh; border-radius: 12px; margin: 0 auto; }

/* Ô cam kết dạng nút liên hệ chuyên gia */
.trust__item--cta { border-color: var(--teal); background: var(--teal-100); cursor: pointer; }
.trust__item--cta .trust__icon { background: var(--teal); color: #fff; }
.trust__item--cta b { color: var(--teal-600); }
.trust__item--cta .trust__call svg { width: 14px; height: 14px; }
.trust__item--cta .trust__call { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 12.5px; font-weight: 700; color: var(--teal-600); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 767px) { .trust__item--cta .trust__call { display: none; } }

/* ---------- Về Hương Chất Kids ---------- */
.about { background: linear-gradient(180deg, #FFF7FA 0%, #FFFFFF 100%); }
.about__grid { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 992px) { .about__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 36px; } }
.about__eyebrow { display: inline-flex; align-items: center; gap: 6px; background: var(--primary-100); color: var(--primary-600); font-weight: 700; font-size: 12.5px; padding: 6px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.about__text h2 { font-size: 24px; margin: 12px 0 10px; }
@media (min-width: 768px) { .about__text h2 { font-size: 30px; } }
.about__text > p { color: var(--ink-2); line-height: 1.7; font-size: 15px; }
.about__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.about__stats div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 8px; text-align: center; box-shadow: var(--shadow-sm); }
.about__stats b { display: block; font-family: var(--font-head); font-size: 20px; color: var(--primary); line-height: 1.15; }
@media (min-width: 768px) { .about__stats b { font-size: 24px; } }
.about__stats small { display: block; margin-top: 3px; font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.about__values { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-bottom: 16px; }
@media (min-width: 560px) { .about__values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.about__values li { display: flex; gap: 10px; align-items: flex-start; }
.about__values span { font-size: 20px; line-height: 1.2; flex: none; }
.about__values b { display: block; font-size: 14px; }
.about__values small { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.about__mission { background: #fff; border-left: 3px solid var(--primary); border-radius: 0 12px 12px 0; padding: 12px 14px; font-size: 14px; color: var(--ink-2); line-height: 1.6; margin-bottom: 16px; }
.about__cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.about__cta .link { font-weight: 600; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.about__cta .link svg { width: 16px; height: 16px; vertical-align: -3px; }
.about__photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.about__photo { display: block; border-radius: 14px; overflow: hidden; background: var(--bg-gray); aspect-ratio: 1; cursor: zoom-in; border: 3px solid #fff; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about__photo:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: 1; border-radius: 18px; }
@media (hover: hover) and (pointer: fine) { .about__photo:hover { transform: scale(1.04); box-shadow: var(--shadow); z-index: 1; } }
.section-head--sub { margin-top: 26px; }
.section-head--sub h3 { font-size: 18px; }
.fb-card--kol .fb-card__img { aspect-ratio: 3 / 4; }
.fb-card--kol .fb-card__img img { object-fit: contain; background: #fff; }
.fb-note { margin-top: 14px; font-size: 12px; color: var(--muted); line-height: 1.55; }

/* ---------- Trang giới thiệu ---------- */
.about--page { background: linear-gradient(180deg, #FFF3F7 0%, #FFFFFF 100%); padding-top: 8px; }
.about--page h1 { font-size: 26px; margin: 12px 0 10px; line-height: 1.25; }
@media (min-width: 768px) { .about--page h1 { font-size: 34px; } }
.about--page .about__text > p { margin-bottom: 10px; }
.about__values--wide { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .about__values--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1200px) { .about__values--wide { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.about__values--wide li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.about__contact-list { display: grid; gap: 10px; margin-top: 12px; }
.about__contact-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.about__contact-list svg { width: 18px; height: 18px; flex: none; color: var(--primary); margin-top: 2px; }

/* Dải KOL/KOC */
.kolbar { background: linear-gradient(135deg, #FFF8E7 0%, #FFF1F5 55%, #F3FBFA 100%); }
.kolbar__head { text-align: center; max-width: 720px; margin: 0 auto 16px; }
.kolbar__head h2 { font-size: 22px; }
@media (min-width: 768px) { .kolbar__head h2 { font-size: 28px; } }
.kolbar__head p { color: var(--ink-2); font-size: 14.5px; margin-top: 6px; line-height: 1.6; }
.kolbar__names { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 18px; }
.kolbar__name { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1.5px solid var(--primary-100); color: var(--ink); font-weight: 700; font-size: 13.5px; padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.kolbar__name svg { width: 15px; height: 15px; color: var(--primary); flex: none; }
.fb-note--center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }

/* Lưới ảnh khách hàng */
.fb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 560px) { .fb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 992px) { .fb-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; } }
.fb-grid__item { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 1; background: var(--bg-gray); cursor: zoom-in; border: 3px solid #fff; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.fb-grid__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (hover: hover) and (pointer: fine) { .fb-grid__item:hover { transform: scale(1.05); box-shadow: var(--shadow); z-index: 1; } }
.navbar__link--about { color: var(--primary); }

.about__kol { background: #fff; border: 1px dashed var(--primary-100); border-radius: 14px; padding: 12px 14px; margin-bottom: 16px; }
.about__kol > b { display: block; font-size: 13.5px; margin-bottom: 8px; }
.about__kol .link { font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.about__kol .link svg { width: 15px; height: 15px; }
.kolbar__names--left { justify-content: flex-start; margin-bottom: 8px; }
.kolbar__name--sm { font-size: 12.5px; padding: 5px 10px; }
.kolbar__name--sm svg { width: 13px; height: 13px; }

/* Banner ảnh feedback tự xoay */
.fbslider { position: relative; }
.fbslider__viewport { overflow: hidden; border-radius: var(--radius); }
.fbslider__track { display: flex; transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
.fbslide { flex: 0 0 100%; min-width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 560px) { .fbslide { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 992px) { .fbslide { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; } }
.fbslider__dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.fbslider__dots button { width: 9px; height: 9px; border-radius: 999px; background: var(--line); transition: width .2s, background .2s; }
.fbslider__dots button.is-active { width: 24px; background: var(--primary); }
.fbslider__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: none; align-items: center; justify-content: center; color: var(--ink-2); z-index: 2; }
.fbslider__arrow svg { width: 20px; height: 20px; }
.fbslider__arrow--prev { left: -8px; transform: translateY(-50%) rotate(90deg); }
.fbslider__arrow--next { right: -8px; transform: translateY(-50%) rotate(-90deg); }
@media (min-width: 992px) { .fbslider__arrow { display: inline-flex; } }
@media (hover: hover) and (pointer: fine) { .fbslider__arrow:hover { color: var(--primary); box-shadow: 0 8px 22px rgba(240, 83, 122, .25); } }

.kolslide { flex: 0 0 100%; min-width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: start; }
@media (min-width: 560px) { .kolslide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .kolslide { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.fbslider--kol .fbslider__viewport { border-radius: var(--radius); }
.fbslider--kol .fb-card { height: 100%; }
