/* =====================================================================
   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%; }

/* ===================== KHÁCH HÀNG THÂN THIẾT & QUÀ TẶNG ===================== */
.tier-badge{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:999px;font-size:12.5px;font-weight:700;color:#fff;background:var(--tier,#78909C);white-space:nowrap}
.loybar,.loybar--on{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:space-between;padding:12px 14px;border-radius:14px;border:1px dashed var(--pink-300,#F8B8C8);background:var(--pink-50,#FFF4F7)}
.loybar--on{border-style:solid;border-color:var(--teal-200,#B9E3DC);background:var(--teal-50,#F1FAF8)}
.loybar__l{display:flex;align-items:center;gap:10px;min-width:0}
.loybar__ico{font-size:22px;flex:none}
.loybar b{display:block;font-size:14.5px}
.loybar p{margin:2px 0 0;font-size:13px;color:var(--text-muted,#6B7280)}
.loybar__r{display:flex;gap:8px;flex:none}
.tier-prog__head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.tier-prog__sum{display:block;font-size:24px;color:var(--primary,#F0537A);font-family:Quicksand,inherit}
.tier-prog__bar{height:10px;border-radius:999px;background:#EEF1F4;overflow:hidden;margin:12px 0 8px}
.tier-prog__bar i{display:block;height:100%;border-radius:999px;transition:width .5s ease}
.tier-ladder{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:12px}
.tier-ladder__col{border:1px solid var(--line,#ECEFF3);border-radius:12px;padding:10px 8px;text-align:center;background:#fff}
.tier-ladder__col .ico{font-size:20px;display:block}
.tier-ladder__col b{display:block;font-size:13.5px;margin-top:2px}
.tier-ladder__col small{display:block;font-size:11.5px;color:var(--text-muted,#6B7280)}
.tier-ladder__col em{display:block;font-style:normal;font-size:12px;font-weight:700;color:var(--teal,#12A594);margin-top:4px}
.tier-ladder__col.is-done{background:var(--teal-50,#F1FAF8);border-color:var(--teal-200,#B9E3DC)}
.tier-ladder__col.is-on{border-color:var(--primary,#F0537A);box-shadow:0 0 0 2px var(--pink-100,#FFE3EA)}
.kh-view .kh-row,.kh-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px dashed var(--line,#ECEFF3);font-size:14px}
.kh-row:last-of-type{border-bottom:0}
.kh-row span{color:var(--text-muted,#6B7280);flex:none}
.kh-row b{text-align:right}
.voucher{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px dashed var(--line,#ECEFF3);border-radius:12px;margin-bottom:8px;background:#fff}
.voucher--tier{border-style:solid;border-color:var(--teal-200,#B9E3DC);background:var(--teal-50,#F1FAF8)}
.voucher__l{display:flex;align-items:center;gap:8px;font-size:18px;flex:none}
.voucher__l b{font-size:14px}
.voucher__r{flex:1;min-width:0}
.voucher__r b{display:block;font-size:13.5px}
.voucher__r small{display:block;font-size:12px;color:var(--text-muted,#6B7280)}
.otp-input{text-align:center;letter-spacing:.5em;font-size:22px;font-weight:700;font-family:Quicksand,inherit}
.giftbox{display:flex;gap:12px;align-items:flex-start;padding:14px;border-radius:16px;border:1px solid var(--amber-200,#F6DFA8);background:linear-gradient(135deg,var(--amber-50,#FFF9EC),#FFFDF7)}
.giftbox--hint{border-style:dashed;opacity:.92}
.giftbox__ico{font-size:24px;flex:none;line-height:1.2}
.giftbox b{display:block;font-size:14.5px}
.giftbox p{margin:2px 0 0;font-size:13px;color:var(--text-muted,#6B7280)}
.giftbox__vi{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.chip--pick{cursor:pointer;position:relative;padding:6px 12px;font-size:13px}
.chip--pick input{position:absolute;opacity:0;width:0;height:0}
.chip--pick.is-on{background:var(--primary,#F0537A);border-color:var(--primary,#F0537A);color:#fff}
.order-items .it--gift{background:var(--amber-50,#FFF9EC);border-radius:10px}
.it__gift{display:flex;align-items:center;justify-content:center;width:44px;height:44px;font-size:22px;flex:none}
.li-gift{color:var(--teal,#12A594);font-weight:600}
@media (max-width:640px){.tier-ladder{grid-template-columns:repeat(2,1fr)}.loybar__r{width:100%}.loybar__r .btn{flex:1}}

/* Sản phẩm nên mua kèm – trang thanh toán */
.upsell h3{margin-bottom:6px}
.upsell__hint{font-size:13px;color:var(--muted);margin-bottom:12px}
.upsell__hint b{color:var(--primary)}
.upsell__list{display:grid;gap:10px}
@media (min-width:640px){.upsell__list{grid-template-columns:1fr 1fr}}
.upsell__it{display:grid;grid-template-columns:60px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px;border:1.5px solid var(--line);border-radius:12px;background:#fff;transition:border-color .15s}
.upsell__it:hover{border-color:var(--primary-100)}
.upsell__it img{width:60px;height:60px;border-radius:8px;object-fit:cover;display:block}
.upsell__info{min-width:0;display:flex;flex-direction:column;gap:2px;font-size:13px}
.upsell__info .n{font-weight:600;color:var(--ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.upsell__info small{color:var(--teal-600);font-size:12px;line-height:1.35}
.upsell__info b{color:var(--price);font-size:14px}
.upsell__info b span{color:var(--muted);font-weight:500;font-size:12px}
.upsell__it .btn{white-space:nowrap;padding:0 10px}
/* Banner chương trình: quà tặng (ảnh xếp chồng + nhãn dán) & khách hàng thân thiết (bậc hạng) */
.slide--gift { background: radial-gradient(circle at 12% 18%, rgba(255,255,255,.18) 0 3px, transparent 4px) 0 0 / 46px 46px, radial-gradient(circle at 70% 60%, rgba(255,236,150,.35) 0 2px, transparent 3px) 0 0 / 34px 34px, linear-gradient(120deg, #D92B4B 0%, #F2555A 50%, #FF9466 100%); }
.slide--grape { background: radial-gradient(circle at 88% 12%, rgba(255,255,255,.16) 0 90px, transparent 91px), radial-gradient(circle at 70% 110%, rgba(255,255,255,.1) 0 140px, transparent 141px), linear-gradient(120deg, #3F2586 0%, #6E45C8 55%, #A77CEB 100%); }
.slide--grape p b, .slide--gift p b { background: rgba(255,255,255,.22); }
.slide__stack { position: absolute; right: 4px; bottom: 18px; width: 116px; height: 100px; }
.slide__stack span { position: absolute; width: 64%; aspect-ratio: 1; border-radius: 16px; border: 3px solid rgba(255,255,255,.95); box-shadow: 0 14px 30px rgba(0,0,0,.22); overflow: hidden; background: #fff; transition: transform .3s; }
.slide__stack span:nth-child(1) { left: 0; top: 14%; transform: rotate(-9deg); z-index: 1; }
.slide__stack span:nth-child(2) { right: 0; top: 0; transform: rotate(7deg); }
.slide__stack img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide__stack:hover span:nth-child(1) { transform: rotate(-5deg) scale(1.03); }
.slide__stack:hover span:nth-child(2) { transform: rotate(3deg) scale(1.03); }
.slide__sticker { position: absolute; z-index: 2; left: 34%; bottom: -10px; width: 58px; height: 58px; border-radius: 50%; background: #FFD54F; color: #B3261E; font-style: normal; font-weight: 800; font-size: 11px; line-height: 1.05; white-space: pre-line; text-align: center; display: flex; align-items: center; justify-content: center; transform: rotate(-12deg); box-shadow: 0 8px 20px rgba(0,0,0,.25), inset 0 0 0 3px #fff; animation: slideSticker 2.4s ease-in-out infinite; }
@keyframes slideSticker { 0%, 100% { transform: rotate(-12deg) scale(1); } 50% { transform: rotate(-8deg) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .slide__sticker { animation: none; } }
.slide__tiers { position: absolute; right: 10px; bottom: 30px; width: 74px; display: grid; gap: 6px; }
.slide__tiers span { justify-self: end; display: grid; grid-template-columns: auto 1fr; column-gap: 6px; align-items: center; background: rgba(255,255,255,.96); color: var(--ink); border-radius: 10px; padding: 5px 8px; border-left: 4px solid var(--c); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.slide__tiers span:nth-child(1) { width: 84%; } .slide__tiers span:nth-child(2) { width: 92%; } .slide__tiers span:nth-child(3) { width: 100%; }
.slide__tiers em { font-style: normal; font-size: 16px; }
.slide__tiers b { font-size: 12px; line-height: 1.2; }
.slide__tiers small i { font-style: normal; display: none; }
.slide__tiers small s { text-decoration: none; }
.slide__tiers b { display: none; }
.slide__tiers small { font-size: 13px; font-weight: 800; color: var(--c); line-height: 1.2; white-space: nowrap; }
@media (min-width: 768px) {
  .slide__stack { width: 330px; height: 290px; right: 48px; bottom: auto; top: 50%; transform: translateY(-50%); }
  .slide__stack span { border-width: 6px; border-radius: 26px; }
  .slide__sticker { width: 100px; height: 100px; font-size: 17px; left: 36%; bottom: -8px; box-shadow: 0 12px 28px rgba(0,0,0,.25), inset 0 0 0 5px #fff; }
  .slide__tiers { width: 300px; right: 56px; bottom: auto; top: 50%; transform: translateY(-50%); gap: 12px; }
  .slide__tiers span { padding: 14px 18px; border-radius: 16px; border-left-width: 6px; column-gap: 14px; }
  .slide__tiers em { font-size: 30px; grid-row: span 2; }
  .slide__tiers b { display: block; }
  .slide__tiers small s { display: none; }
  .slide__tiers b { font-size: 18px; }
  .slide__tiers small { font-size: 13.5px; font-weight: 700; }
  .slide__tiers small i { display: inline; }
}
/* Hiệu ứng banner quà tặng (slide--fx) */
.slide--fx > .slide__badge, .slide--fx > h2, .slide--fx > p, .slide--fx > .btn { position: relative; z-index: 2; }
.slide--fx .slide__stack { z-index: 2; }
.slide__fx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.slide__fx i { position: absolute; font-style: normal; }
.fx-burst { right: -70px; bottom: -80px; width: 300px; height: 300px; border-radius: 50%; background: repeating-conic-gradient(rgba(255,255,255,.2) 0 9deg, transparent 9deg 18deg); -webkit-mask: radial-gradient(circle, #000 25%, transparent 68%); mask: radial-gradient(circle, #000 25%, transparent 68%); animation: fxSpin 40s linear infinite; }
.fx-cf { top: -14px; left: calc(38% + var(--x) * .6%); width: 7px; height: 12px; border-radius: 2px; background: var(--c); opacity: .9; animation: fxFall var(--t) linear var(--d) infinite; }
.fx-cf:nth-child(3n) { width: 9px; height: 9px; border-radius: 50%; }
.fx-cf:nth-child(4n) { width: 5px; height: 14px; }
.fx-s { color: #fff; font-size: 14px; text-shadow: 0 0 10px rgba(255,255,255,.9); animation: fxTwinkle 2.2s ease-in-out infinite; }
.fx-s1 { top: 14%; left: 52%; } .fx-s2 { top: 72%; left: 46%; animation-delay: .6s; font-size: 10px; }
.fx-s3 { top: 10%; right: 6%; animation-delay: 1.1s; } .fx-s4 { top: 46%; right: 3%; animation-delay: .3s; font-size: 18px; }
.fx-s5 { bottom: 10%; left: 60%; animation-delay: 1.5s; font-size: 11px; } .fx-s6 { top: 30%; left: 44%; animation-delay: .9s; font-size: 9px; }
.fx-e { font-size: 24px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.22)); animation: fxFloat 3.4s ease-in-out infinite; }
.fx-e1 { top: 14px; right: 16px; font-size: 30px; }
.fx-e2 { top: 72px; right: 70px; font-size: 22px; animation-delay: .8s; }
.fx-e3 { top: 128px; right: 14px; font-size: 24px; animation-delay: 1.6s; }
.fx-e4, .fx-e5, .fx-e6 { display: none; }
.slide__cap { display: none; position: absolute; left: 0; right: 0; bottom: 0; padding: 3px 0 4px; background: rgba(255,255,255,.94); color: #C2185B; font-size: 9px; font-weight: 800; text-align: center; letter-spacing: .02em; }
.slide__stack span:nth-child(2) .slide__cap { color: #E65100; top: 0; bottom: auto; }
.slide--fx .btn { overflow: hidden; position: relative; animation: fxPulse 2.4s ease-out infinite; }
.slide--fx .btn::after { content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(240,83,122,.25), transparent); transform: skewX(-20deg); animation: fxShine 3s ease-in-out infinite; }
.slide--fx .slide__badge { animation: fxWiggle 4s ease-in-out infinite; }
@keyframes fxSpin { to { transform: rotate(360deg); } }
@keyframes fxFall { 0% { transform: translate(0, -10px) rotate(0); opacity: 0; } 10% { opacity: .95; } 100% { transform: translate(28px, 440px) rotate(var(--r)); opacity: .9; } }
@keyframes fxTwinkle { 0%, 100% { transform: scale(.3) rotate(0); opacity: .2; } 50% { transform: scale(1.15) rotate(45deg); opacity: 1; } }
@keyframes fxFloat { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-10px) rotate(6deg); } }
@keyframes fxPulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 70%, 100% { box-shadow: 0 0 0 16px rgba(255,255,255,0); } }
@keyframes fxShine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@keyframes fxWiggle { 0%, 88%, 100% { transform: rotate(0); } 91% { transform: rotate(-4deg); } 94% { transform: rotate(4deg); } 97% { transform: rotate(-2deg); } }
@media (min-width: 768px) {
  .fx-burst { right: 20px; bottom: auto; top: 50%; width: 520px; height: 520px; margin-top: -260px; }
  .fx-s { font-size: 20px; } .fx-s2, .fx-s5, .fx-s6 { font-size: 14px; } .fx-s4 { font-size: 26px; }
  .fx-e { font-size: 38px; }
  .fx-e1 { top: 26px; right: 360px; font-size: 46px; }
  .fx-e2 { top: 22px; right: 30px; font-size: 40px; }
  .fx-e3 { top: auto; bottom: 40px; right: 370px; font-size: 38px; }
  .fx-e4 { display: block; top: 18px; right: 200px; font-size: 32px; animation-delay: 1.2s; }
  .fx-e5 { display: block; top: 44%; right: 395px; font-size: 30px; animation-delay: 2s; }
  .fx-e6 { display: block; top: 42%; right: 12px; font-size: 26px; animation-delay: .4s; }
  .slide__cap { display: block; font-size: 14px; padding: 6px 0 7px; }
  .slide--fx .slide__sticker { left: auto; right: 6px; bottom: 4px; }
}
@media (prefers-reduced-motion: reduce) { .slide__fx i, .slide--fx .btn, .slide--fx .btn::after, .slide--fx .slide__badge { animation: none !important; } .fx-cf { display: none; } }
/* Trang tài khoản: thẻ thành viên + vòng tiến độ lên hạng (cột trái) */
.tier-hero { display: grid; gap: 20px; }
@media (min-width: 768px) { .tier-hero { grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; } }
.tier-ladder--2 { grid-template-columns: repeat(2, 1fr); }
.memcol { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.memcard { position: relative; overflow: hidden; aspect-ratio: 1.6; border-radius: 18px; padding: 16px 18px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 14px 30px rgba(34,32,42,.18); isolation: isolate; }
.memcard::before { content: ''; position: absolute; z-index: -1; right: -40px; top: -50px; width: 170px; height: 170px; border-radius: 50%; background: rgba(255,255,255,.14); }
.memcard::after { content: ''; position: absolute; z-index: -1; left: -30px; bottom: -70px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.08); }
.memcard--moi { background: linear-gradient(135deg, #F0537A 0%, #FF8DA8 60%, #FFB8C9 100%); }
.memcard--silver { background: linear-gradient(135deg, #5F6F7E 0%, #9AAAB8 50%, #D5DEE6 100%); }
.memcard--gold { background: linear-gradient(135deg, #A86B00 0%, #D9A21B 45%, #F6D56A 100%); }
.memcard--diamond { background: linear-gradient(135deg, #1B4F9C 0%, #1E9CB8 50%, #7EE3F2 100%); }
.memcard--khoa { background: linear-gradient(135deg, #3A3F4B 0%, #5D6474 60%, #8A92A3 100%); }
.memcard__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.memcard__brand { font-family: var(--font-head); font-weight: 700; font-size: 14px; white-space: nowrap; }
.memcard__type { font-size: 8.5px; font-weight: 700; letter-spacing: .1em; opacity: .85; white-space: nowrap; padding: 3px 7px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; }
.memcard__tier { display: flex; align-items: center; gap: 10px; }
.memcard__ico { width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.22); display: inline-flex; align-items: center; justify-content: center; font-size: 26px; backdrop-filter: blur(4px); }
.memcard small { display: block; font-size: 10.5px; opacity: .85; letter-spacing: .02em; }
.memcard__tier b { font-family: var(--font-head); font-size: 20px; line-height: 1.1; white-space: nowrap; }
.memcard__foot { display: flex; justify-content: space-between; gap: 8px; }
.memcard__foot b { font-size: 13px; letter-spacing: .03em; }
.memcard__chip { display: none; position: absolute; right: 18px; top: 44px; width: 34px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, #F7E7A1, #D4AF37); opacity: .9; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.memcard__shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%); transform: translateX(-100%); animation: memShine 4.5s ease-in-out infinite; pointer-events: none; }
@keyframes memShine { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.memring { position: relative; width: 132px; height: 132px; align-self: center; }
.memring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.memring circle { fill: none; stroke-width: 9; }
.memring__bg { stroke: #EEF1F4; }
.memring__fg { stroke-linecap: round; transition: stroke-dashoffset .8s ease; }
.memring__txt { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.memring__txt b { font-family: var(--font-head); font-size: 26px; line-height: 1; color: var(--ink); }
.memring__txt small { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.memcol__sum { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--bg-soft); font-size: 12.5px; color: var(--muted); }
.memcol__sum b { font-size: 17px; color: var(--primary); font-family: var(--font-head); white-space: nowrap; }
.memcol__next { font-size: 13px; line-height: 1.5; text-align: center; margin: 0; }
.memcol__next b { color: var(--primary); }
@media (prefers-reduced-motion: reduce) { .memcard__shine { animation: none; display: none; } }
/* Nút ‹ › cho hàng sản phẩm tự trượt (Hàng mới về) */
.row-nav { position: relative; z-index: 1; }
.row-nav__btn { position: absolute; top: 42%; transform: translateY(-50%); z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; color: #0C8F79; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.row-nav__btn svg { width: 20px; height: 20px; }
.row-nav__btn:hover { background: #0C8F79; color: #fff; transform: translateY(-50%) scale(1.08); }
.row-nav__btn:focus-visible { outline: 3px solid #FFD54F; outline-offset: 2px; }
.row-nav__btn--prev { left: -8px; }
.row-nav__btn--next { right: -8px; animation: rowNudge 2.4s ease-in-out infinite; }
.row-nav__btn--next:hover { animation: none; }
@keyframes rowNudge { 0%, 70%, 100% { transform: translateY(-50%); } 80% { transform: translateY(-50%) translateX(4px); } 90% { transform: translateY(-50%) translateX(-1px); } }
@media (min-width: 768px) { .row-nav__btn { width: 46px; height: 46px; } .row-nav__btn svg { width: 22px; height: 22px; } .row-nav__btn--prev { left: -12px; } .row-nav__btn--next { right: -12px; } }
@media (prefers-reduced-motion: reduce) { .row-nav__btn--next { animation: none; } }

/* Banner váng sữa canxi Calciumore (theme sky + fx canxi) */
.slide--sky { background: radial-gradient(circle at 10% 20%, rgba(255,255,255,.16) 0 3px, transparent 4px) 0 0 / 40px 40px, linear-gradient(120deg, #1565C0 0%, #1E88E5 45%, #5EB8F2 80%, #A7DBF8 100%); }
.slide--sky p b { background: rgba(255,255,255,.22); }
.slide--sky .slide__sticker { background: #FFD54F; color: #0D47A1; }
.slide--sky .slide__cap { color: #1565C0; }
.slide--sky .slide__stack span:nth-child(2) .slide__cap { color: #0D47A1; }
.slide--sky .btn--light { color: #1565C0; }
.fx-bb { bottom: -30px; left: calc(34% + var(--x) * .64%); width: var(--z); height: var(--z); border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff 0 25%, rgba(255,255,255,.55) 45%, rgba(255,255,255,.12) 70%); border: 1px solid rgba(255,255,255,.6); animation: fxRise var(--t) ease-in var(--d) infinite; }
@keyframes fxRise { 0% { transform: translate(0, 0) scale(.6); opacity: 0; } 12% { opacity: .95; } 60% { transform: translate(10px, -240px) scale(1); } 100% { transform: translate(-6px, -460px) scale(1.1); opacity: 0; } }
.fx-chip { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; color: #0D47A1; background: #fff; box-shadow: 0 6px 14px rgba(0,0,0,.18), inset 0 0 0 3px #BBDEFB; animation: fxFloat 3.6s ease-in-out infinite; }
.fx-chip2 { background: #FFD54F; color: #E65100; box-shadow: 0 6px 14px rgba(0,0,0,.18), inset 0 0 0 3px #FFF3C4; animation-delay: 1.1s; }
.fx-chip1 { top: 20px; right: 118px; } .fx-chip2 { top: 96px; right: 124px; } .fx-chip3 { display: none; }
@media (min-width: 768px) {
  .fx-chip { width: 50px; height: 50px; font-size: 18px; }
  .fx-chip1 { top: 34px; right: 300px; } .fx-chip2 { top: auto; bottom: 64px; right: 402px; } .fx-chip3 { display: flex; top: 46%; right: 8px; animation-delay: .6s; }
}
@media (prefers-reduced-motion: reduce) { .fx-bb { display: none; } .fx-chip { animation: none; } }
.slide--sky .fx-e5, .slide--sky .fx-e6 { display: none; }
@media (min-width: 768px) { .slide--sky .fx-chip3 { top: auto; bottom: 28px; right: 28px; } }

/* Mua nhanh: ô tra cứu khách cũ theo số điện thoại */
.qb__lookup { background: var(--primary-50); border: 1.5px dashed var(--primary-100); border-radius: 12px; padding: 10px 12px; display: grid; gap: 8px; }
.qb__lookup-t { font-size: 13px; line-height: 1.45; color: var(--ink); }
.qb__lookup-t b { color: var(--primary); }
.qb__lookup .coupon { margin: 0; }
.qb__lookup-msg { font-size: 12.5px; line-height: 1.45; padding: 6px 10px; border-radius: 8px; background: #fff; }
.qb__lookup-msg.is-ok { color: var(--teal-600); background: var(--teal-100); }
.qb__lookup-msg.is-err { color: var(--red); background: #FFEBEE; }
.qb__lookup-msg.is-info { color: var(--ink); }
.qb__lookup-msg .tier-badge { font-size: 11.5px; padding: 1px 8px; }

/* Hạng Platinum (từ 100 triệu) + bảng bậc hạng trên banner có 4 hạng */
.memcard--platinum { background: linear-gradient(135deg, #3B2A7A 0%, #6A4FB6 45%, #B9A6F0 100%); }
.slide__tiers span:nth-child(1) { width: 76%; } .slide__tiers span:nth-child(2) { width: 84%; } .slide__tiers span:nth-child(3) { width: 92%; } .slide__tiers span:nth-child(4) { width: 100%; }
@media (min-width: 768px) { .slide__tiers { gap: 10px; } .slide__tiers span { padding: 10px 16px; } .slide__tiers em { font-size: 26px; } .slide__tiers b { font-size: 16px; } .slide__tiers small { font-size: 12.5px; } }
.qb__lookup-otp { display: block; width: 100%; margin-top: 8px; padding: 8px 10px; border-radius: 8px; border: 1.5px solid var(--teal); background: #fff; color: var(--teal-600); font-weight: 700; font-size: 13px; cursor: pointer; text-align: center; }
.qb__lookup-otp small { font-weight: 500; color: var(--muted); }
.qb__lookup-otp:hover { background: var(--teal); color: #fff; } .qb__lookup-otp:hover small { color: #fff; }
.loybar--hint { background: var(--amber-50, #FFF9EC); border-color: #FFE3A3; }
.field__hint{display:block;margin-top:5px;font-size:12.5px;color:var(--text-muted,#6B7280);line-height:1.45}
.dangky__perk{display:flex;gap:8px;align-items:flex-start;font-size:13.5px;margin-top:6px}
.dangky__perk i{font-style:normal;flex:none}
/* Khung xem trước của trang quản trị */
html.is-preview body::before{content:'BẢN NHÁP – chỉ hiện trong trang quản trị';position:fixed;left:0;right:0;top:0;z-index:9999;
  background:#14181F;color:#fff;text-align:center;font-size:11.5px;font-weight:700;letter-spacing:.4px;padding:3px}
html.is-preview body{padding-top:20px}

/* ===== Giao diện tuỳ chỉnh từ trang quản trị ===== */
body{font-size:var(--co-chu,15px)}
main.co-khoi{display:flex;flex-direction:column}
main.co-khoi>*:not([data-khoi]){order:-1}
.khoi-tat{display:none !important}
html.no-sticky .header{position:static}
html.an-tim .header__search,html.an-tim #searchBox{display:none}
html.an-gio .header__cart,html.an-gio [data-open-cart]{display:none}
html.an-tk .header__acc,html.an-tk .topbar__item--acc{display:none}
/* Chế độ sửa: rê chuột lên khối thì viền sáng, bấm là trang quản trị mở đúng mục */
html.che-do-sua [data-khoi]{position:relative;cursor:pointer}
html.che-do-sua [data-khoi]::after{content:'';position:absolute;inset:4px;border:2px dashed transparent;border-radius:12px;pointer-events:none;transition:.12s}
html.che-do-sua [data-khoi]:hover::after{border-color:var(--primary);background:rgba(240,83,122,.05)}
html.che-do-sua [data-khoi]:hover::before{content:'✏️ Bấm để sửa khối này';position:absolute;top:8px;left:50%;transform:translateX(-50%);
  background:var(--primary);color:#fff;font-size:12px;font-weight:700;padding:4px 12px;border-radius:999px;z-index:30;pointer-events:none;white-space:nowrap}

/* ---------- Cẩm nang chăm con: danh sách dọc, bài nổi bật xoay vòng, nội dung bài ---------- */
.blog-list { display: flex; flex-direction: column; gap: 14px; }
.blog-item { display: grid; grid-template-columns: 300px 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.blog-item:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.blog-item .post-card__thumb { aspect-ratio: 16/10; height: 100%; }
.blog-item__body { padding: 16px 20px; display: flex; flex-direction: column; gap: 8px; justify-content: center; min-width: 0; }
.blog-item h3 { font-size: 18px; line-height: 1.35; }
.blog-item p { font-size: 14px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-item__moi { display: inline-block; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-right: 8px; vertical-align: 2px; }
.blog-item__doc { color: var(--primary); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; }
.blog-item__doc svg { width: 16px; height: 16px; }
.blog-more { text-align: center; margin-top: 16px; }
@media (max-width: 640px) {
  .blog-item { grid-template-columns: 120px 1fr; }
  .blog-item__body { padding: 10px 12px; gap: 4px; }
  .blog-item h3 { font-size: 14.5px; }
  .blog-item p, .blog-item__doc { display: none; }
}
.feat__nav { display: flex; gap: 8px; }
.feat__btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink); }
.feat__btn:hover { background: var(--primary-50); color: var(--primary); }
.feat__vp { overflow: hidden; border-radius: var(--radius); }
.feat__track { display: flex; transition: transform .5s ease; }
.feat__slide { flex: 0 0 100%; display: grid; grid-template-columns: 1fr 1.1fr; height: 320px; }
.feat__img { display: flex; align-items: center; justify-content: center; font-size: 80px; overflow: hidden; }
.feat__img img { width: 100%; height: 100%; object-fit: cover; }
.feat__txt { padding: 24px 28px; display: flex; flex-direction: column; justify-content: center; gap: 10px; background: rgba(255,255,255,.7); }
.feat__txt h3 { font-size: 22px; line-height: 1.3; }
.feat__txt p { color: var(--ink-2); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.feat__txt .btn { align-self: flex-start; }
.feat__dots { display: flex; gap: 6px; justify-content: center; margin-top: 12px; }
.feat__dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; background: var(--line); cursor: pointer; padding: 0; transition: width .3s; }
.feat__dots button.is-on { width: 22px; background: var(--primary); }
@media (max-width: 640px) {
  .feat__slide { grid-template-columns: 1fr; height: auto; }
  .feat__img { aspect-ratio: 16/9; }
  .feat__txt { padding: 14px 16px; }
  .feat__txt h3 { font-size: 17px; }
}
.post__body h2 { font-size: 21px; margin: 26px 0 10px; }
.post__body ul { margin: 0 0 16px 20px; padding: 0; list-style: disc; }
.post__body li { font-size: 16px; line-height: 1.75; color: var(--ink-2); margin-bottom: 6px; }
.post__body figure { margin: 18px 0; }
.post__body figure img { width: 100%; border-radius: var(--radius); display: block; }
.post__body figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 6px; }
.post-sp { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; margin: 0 0 16px; background: #fff; }
.post-sp img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex: none; }
.post-sp span:not(.btn) { flex: 1; min-width: 0; }
.post-sp b { display: block; font-size: 14.5px; }
.post-sp small { color: var(--primary); font-weight: 700; }
.post__luu { font-size: 13px; color: var(--muted); font-style: italic; margin-top: 8px; }
.blog-item { grid-template-columns: 300px minmax(0, 1fr); }
.blog-item .post-card__meta, .feat__txt .post-card__meta { flex-wrap: wrap; row-gap: 4px; }
@media (max-width: 640px) {
  .blog-item { grid-template-columns: 120px minmax(0, 1fr); }
  .feat__slide { grid-template-columns: minmax(0, 1fr); }
}
.pdp__offers .li-combo { display: block; }
.pdp__offers .uudai { list-style: none; margin: 6px 0 0; padding: 0; }
.pdp__offers .uudai li { padding: 3px 0; font-size: 13.5px; }
.pdp__offers .uudai li::before { display: none; }
.pdp__offers .li-combo .btn { display: inline-flex; }
.pdp__offers .uudai li { padding-left: 0; }

/* ---------- Ví mã: vé mã giảm giá, khối mã ở trang chủ, banner mã ---------- */
.vstrip { background: linear-gradient(100deg, #FFF1F5, #FFF8E8); border: 1px solid #FFD9E3; border-radius: var(--radius); padding: 12px 14px; margin: 12px 0; }
.vstrip__h { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.vstrip__ic { font-size: 26px; }
.vstrip__h > div > b { display: block; font-size: 15px; }
.vstrip__h small { color: var(--ink-2); font-size: 12.5px; }
.vstrip__row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x mandatory; }
.vc { flex: 0 0 auto; width: min(330px, 86vw); display: flex; align-items: stretch; background: #fff; border-radius: 12px; box-shadow: 0 2px 10px rgba(240,83,122,.12); position: relative; scroll-snap-align: start; overflow: hidden; }
.vc__l { width: 86px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #fff; padding: 10px 6px; position: relative; background: linear-gradient(150deg, #FF7A59, #F0537A); }
.vc--fixed .vc__l { background: linear-gradient(150deg, #3BB8D9, #2F7FD8); }
.vc--ship .vc__l { background: linear-gradient(150deg, #22C3A6, #0E9C84); }
.vc__l svg { width: 30px; height: 30px; }
.vc__l b { font-size: 15px; font-weight: 800; letter-spacing: .3px; }
.vc__l::after { content: ''; position: absolute; right: -1px; top: 6px; bottom: 6px; border-right: 2px dashed rgba(255,255,255,.9); }
.vc::before, .vc::after { content: ''; position: absolute; left: 79px; width: 14px; height: 14px; border-radius: 50%; background: #FFF4F0; z-index: 1; }
.vc::before { top: -7px; } .vc::after { bottom: -7px; }
.vc__r { flex: 1; min-width: 0; padding: 10px 8px 10px 14px; display: flex; flex-direction: column; gap: 2px; }
.vc__r b { font-size: 14.5px; }
.vc__r small { font-size: 12px; color: var(--ink-2); }
.vc__ma { font-size: 11.5px; color: var(--muted); }
.vc__ma code { font-family: inherit; font-weight: 700; color: var(--primary); }
.vc__btn { align-self: center; margin-right: 10px; border: 0; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 700; font-size: 13px; padding: 7px 14px; cursor: pointer; white-space: nowrap; }
.vc__btn.is-on { background: var(--primary-50); color: var(--primary); }
.vc-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.vc-chips .chip { font-size: 12.5px; padding: 4px 10px; }
.vc-chips .chip.is-off { opacity: .5; }
.slide__voucher { position: absolute; right: 6%; top: 50%; transform: translateY(-50%) rotate(-4deg); display: block; animation: bvFloat 4s ease-in-out infinite; }
.bv { display: flex; background: #fff; border-radius: 18px; box-shadow: 0 18px 40px rgba(0,0,0,.22); overflow: hidden; min-width: 300px; }
.bv__l { width: 110px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; padding: 18px 8px; background: linear-gradient(150deg, #FF7A59, #F0537A); position: relative; }
.bv__l svg { width: 40px; height: 40px; }
.bv__l b { font-size: 34px; line-height: 1; font-weight: 800; }
.bv__l small { font-size: 12px; font-weight: 700; letter-spacing: 2px; }
.bv__l::after { content: ''; position: absolute; right: -1px; top: 10px; bottom: 10px; border-right: 3px dashed #fff; }
.bv__r { padding: 18px 22px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.bv__r small { font-size: 11px; letter-spacing: 2px; color: var(--muted); font-weight: 700; }
.bv__r b { font-size: 36px; font-weight: 800; color: var(--primary); letter-spacing: 2px; line-height: 1.1; }
.bv__r em { font-style: normal; font-size: 13px; color: var(--ink-2); font-weight: 600; }
.slide__voucher .slide__sticker { position: absolute; right: -14px; bottom: -26px; }
@keyframes bvFloat { 0%, 100% { transform: translateY(-50%) rotate(-4deg); } 50% { transform: translateY(-56%) rotate(-2deg); } }
@media (prefers-reduced-motion: reduce) { .slide__voucher { animation: none; } }
@media (max-width: 767px) { .slide__voucher { display: none; } }
.slide__voucher .slide__sticker { left: auto; } .slide--fx .slide__voucher { z-index: 2; }
.slide__voucher .slide__sticker { left: -30px; right: auto; top: -38px; bottom: auto; } .vc--ship .vc__l b { font-size: 12px; letter-spacing: 0; }
.slide__voucher .slide__sticker { left: auto; right: -18px; top: auto; bottom: -46px; }
/* Khối mã giảm giá trang chủ – bản gọn 1 hàng */
.vstrip { display: flex; align-items: center; gap: 14px; padding: 8px 12px; margin: 10px 0; }
.vstrip__h { margin: 0; flex: none; gap: 8px; }
.vstrip__ic { font-size: 20px; }
.vstrip__h > div > b { font-size: 13.5px; }
.vstrip__h small { font-size: 11.5px; display: block; max-width: 190px; line-height: 1.35; }
.vstrip__row { flex: 1; min-width: 0; gap: 10px; padding: 2px 0; }
.vstrip .vc { width: 250px; border-radius: 10px; box-shadow: 0 1px 6px rgba(240,83,122,.12); }
.vstrip .vc__l { width: 58px; padding: 6px 4px; gap: 0; }
.vstrip .vc__l svg { width: 20px; height: 20px; }
.vstrip .vc__l b { font-size: 12px; }
.vstrip .vc--ship .vc__l b { font-size: 9.5px; }
.vstrip .vc::before, .vstrip .vc::after { left: 51px; width: 12px; height: 12px; }
.vstrip .vc::before { top: -6px; } .vstrip .vc::after { bottom: -6px; }
.vstrip .vc__r { padding: 6px 6px 6px 12px; gap: 0; }
.vstrip .vc__r b { font-size: 13px; }
.vstrip .vc__r small { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vstrip .vc__ma { font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vstrip .vc__btn { font-size: 12px; padding: 5px 11px; margin-right: 8px; }
@media (max-width: 640px) { .vstrip { flex-direction: column; align-items: stretch; gap: 8px; } .vstrip__h small { max-width: none; } }
.vstrip .vc { width: 260px; } .vstrip .vc__r b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===== Banner nước ép Lotte (b.art = 'juice') – theo DESIGN.md: nền kem vàng, ảnh thật, chip vị, sticker giá/gói ===== */
.slide--juice { background: radial-gradient(120% 140% at 85% 40%, #FFE3A6 0%, #FFF3D6 45%, #FFF8EA 100%); color: var(--ink); }
.slide--juice::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(242, 140, 0, .14) 1.5px, transparent 1.6px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 55%); mask-image: linear-gradient(90deg, #000 0%, transparent 55%); pointer-events: none; }
.slide--juice > * { position: relative; z-index: 1; }
.slide--juice .slide__badge { background: #fff; color: #A04C00; box-shadow: 0 4px 14px rgba(194, 94, 0, .12); backdrop-filter: none; }
.slide--juice h2 { text-shadow: none; line-height: 1.15; letter-spacing: -.01em; }
.slide--juice h2::first-line { color: var(--ink); }
.slide--juice p { color: var(--ink-2); opacity: 1; }
.slide--juice .btn--light { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(240, 83, 122, .3); align-self: flex-start; }
.slide--juice .btn--light:hover { background: var(--primary-600); }
.slide__prices { display: flex; gap: 10px; margin: 16px 0 18px; flex-wrap: wrap; }
.slide__prices span { background: #fff; border-radius: 16px; padding: 8px 14px; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 6px 18px rgba(194, 94, 0, .1); }
.slide__prices small { font-size: 11.5px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.slide__prices b { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--price); line-height: 1.1; }
.slide--juice .slide__prices + .btn { margin-top: 0; }
/* Khối ảnh bên phải */
.slide__juice { position: absolute !important; right: 10px; bottom: 12px; width: 132px; aspect-ratio: 1; display: block; }
.sj-sun, .sj-ring { display: none; }
.sj-photo { position: absolute; inset: 0; border-radius: 22px; overflow: hidden; border: 4px solid #fff; box-shadow: 0 16px 34px rgba(194, 94, 0, .22); background: #FBD6DA; transform: rotate(-4deg); transition: transform .4s cubic-bezier(.16, 1, .3, 1); }
.sj-photo img { position: absolute; width: 140%; max-width: none; left: -8.6%; top: -44%; }
.sj-chip { display: none; }
.sj-sticker { position: absolute; left: -16px; top: -14px; width: 62px; height: 62px; border-radius: 50%; background: var(--primary); color: #fff; font-style: normal; font-size: 8.5px; font-weight: 700; line-height: 1.15; display: grid; place-items: center; text-align: center; white-space: pre-line; transform: rotate(-12deg); box-shadow: 0 8px 18px rgba(240, 83, 122, .35); border: 2px dashed rgba(255, 255, 255, .7); }
@media (max-width: 767px) { .slide--juice h2, .slide--juice p { max-width: 58%; } .slide__prices span { padding: 6px 10px; } .slide__prices b { font-size: 15px; } }
@media (min-width: 768px) {
  .slide--juice { padding-right: 44%; }
  .slide--juice h2 { font-size: 36px; }
  .slide--juice h2, .slide--juice p { max-width: 460px; }
  .slide__juice { right: 4%; top: 50%; bottom: auto; width: 38%; max-width: 380px; aspect-ratio: 1.08; transform: translateY(-50%); }
  .sj-sun { display: block; position: absolute; width: 96%; aspect-ratio: 1; left: 2%; top: -2%; border-radius: 50%; background: radial-gradient(circle, #FFC94D 0%, #FFB020 60%, rgba(255, 176, 32, 0) 72%); opacity: .55; }
  .sj-ring { display: block; position: absolute; width: 116%; aspect-ratio: 1; left: -8%; top: -12%; border-radius: 50%; border: 2px dashed rgba(242, 140, 0, .28); animation: sjSpin 40s linear infinite; }
  .sj-photo { inset: 9% 7% 7% 7%; border-radius: 28px; border-width: 6px; }
  .slide__juice:hover .sj-photo { transform: rotate(-1.5deg) scale(1.02); }
  .sj-chip { display: block; position: absolute; background: #fff; color: var(--ink-2); font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px; box-shadow: 0 8px 20px rgba(194, 94, 0, .16); white-space: nowrap; animation: sjFloat 5s ease-in-out infinite; }
  .sj-chip1 { left: -14%; top: 22%; }
  .sj-chip2 { right: -8%; top: 4%; animation-delay: -1.6s; }
  .sj-chip3 { right: -6%; bottom: 0; animation-delay: -3.2s; }
  .sj-sticker { left: -10%; top: auto; bottom: 4%; width: 92px; height: 92px; font-size: 12px; border-width: 2px; }
}
@keyframes sjFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes sjSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .sj-chip, .sj-ring { animation: none; } }

/* ===== Giới thiệu bạn bè + ví điểm (thanh toán, tài khoản, mua nhanh) ===== */
.gt-co, .diem-co { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--bg-soft); border: 1px dashed var(--primary-100); }
.diem-co { background: var(--amber-100); border-color: #FFD98A; }
.gt-co h4, .diem-co h4 { font-size: 14px; margin: 0 0 8px; }
.gt-co .coupon { margin: 0; }
.diem-co__h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.diem-co__h h4 { margin: 0; } .diem-co__h span { font-size: 13px; color: var(--ink-2); } .diem-co__h b { color: var(--price); }
.diem-co__chk { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; margin-top: 8px; cursor: pointer; }
.diem-co__chk input { width: 18px; height: 18px; accent-color: var(--primary); }
.diem-co__nhap { display: flex; gap: 8px; margin-top: 8px; } .diem-co__nhap .input { flex: 1; min-width: 0; }
.diem-co--goi { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.qb__gtnote { font-size: 13px; color: var(--ink-2); background: var(--bg-soft); border-radius: var(--radius-xs); padding: 8px 10px; margin: 8px 0 0; }
.qb__gtnote button { color: var(--primary-600); font-weight: 700; text-decoration: underline; }
.grid-diem-gt { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 1100px) { .grid-diem-gt { grid-template-columns: 1fr 1fr; } }
.diem-vi { display: grid; gap: 12px; }
.diem-vi__so { background: linear-gradient(135deg, #FFB020, #F28C00); color: #3a2a00; border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; }
.diem-vi__so small { font-size: 12px; font-weight: 700; opacity: .8; } .diem-vi__so b { font-family: var(--font-head); font-size: 34px; line-height: 1.1; } .diem-vi__so span { font-size: 13px; }
.diem-vi__ct { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.diem-vi__ct div, .gt-tk div { background: var(--bg-gray); border-radius: var(--radius-sm); padding: 8px 10px; display: flex; flex-direction: column; }
.diem-vi__ct small, .gt-tk small { font-size: 12px; color: var(--muted); } .diem-vi__ct b, .gt-tk b { font-size: 16px; }
.diem-ls { display: flex; flex-direction: column; max-height: 340px; overflow: auto; border-top: 1px solid var(--line-2); }
.diem-ls__it { display: flex; justify-content: space-between; gap: 10px; padding: 9px 2px; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.diem-ls__it > div:first-child { display: flex; flex-direction: column; min-width: 0; } .diem-ls__it small { font-size: 12px; color: var(--muted); }
.diem-ls__so { display: flex; flex-direction: column; align-items: flex-end; font-weight: 700; white-space: nowrap; }
.diem-ls__so.is-cong { color: var(--green); } .diem-ls__so.is-tru { color: var(--red); }
.gt-ma { margin: 12px 0 10px; border: 2px dashed var(--primary); border-radius: var(--radius-sm); padding: 10px; text-align: center; background: var(--primary-50); }
.gt-ma small { display: block; font-size: 12px; color: var(--muted); } .gt-ma b { font-family: var(--font-head); font-size: 26px; letter-spacing: 2px; color: var(--primary-700); }
.gt-nut { display: flex; gap: 8px; flex-wrap: wrap; } .gt-nut .btn { flex: 1 1 auto; }
.gt-tk { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; text-align: center; } .gt-tk div { align-items: center; }
/* Mua nhanh: ô mã giảm giá / mã giới thiệu hiện sẵn, nhãn bên trái – ô nhập bên phải */
.qb__ma { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; margin-top: 10px; }
.qb__ma label { font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap; display: flex; align-items: center; gap: 6px; margin: 0; }
.qb__ma label svg { width: 16px; height: 16px; color: var(--primary); }
.qb__ma .coupon { margin: 0; }
.qb__ma + .coupon-hint:empty { display: none; }
@media (max-width: 420px) { .qb__ma { grid-template-columns: 1fr; gap: 6px; } }
#qbForm > :empty:not(input):not(textarea) { display: none; }

/* ===== Quên mật khẩu (quen-mat-khau.html) ===== */
.qmk { max-width: 480px; margin: 0 auto 40px; }
.qmk__card { padding: 28px 24px; }
.qmk__h { font-size: 24px; margin: 0 0 6px; }
.qmk__mo { color: var(--ink-2); font-size: 14px; margin: 0 0 18px; }
.qmk__form { display: flex; flex-direction: column; gap: 12px; }
.qmk__form .field > span { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.qmk__pt { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.qmk__ic { font-size: 18px; }
.qmk__note { font-size: 13px; color: var(--muted); margin: 0; }
.qmk__hoac { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin: 20px 0 12px; }
.qmk__hoac::before, .qmk__hoac::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.otp6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.otp6 .input { text-align: center; font-size: 22px; font-weight: 700; padding: 0; height: 54px; font-family: var(--font-head); }
.qmk__mk { position: relative; } .qmk__mk .input { padding-right: 46px; }
.qmk__mat { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; opacity: .55; font-size: 16px; }
.qmk__mat.is-on { opacity: 1; background: var(--primary-50); }
.qmk__manh { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); margin-top: -4px; }
.qmk__manh i { flex: 0 0 120px; height: 6px; border-radius: 99px; background: var(--line); position: relative; overflow: hidden; }
.qmk__manh i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; transition: width .25s, background .25s; }
.qmk__manh[data-muc="0"] i::after { width: 12%; background: var(--red); }
.qmk__manh[data-muc="1"] i::after { width: 34%; background: var(--red); }
.qmk__manh[data-muc="2"] i::after { width: 67%; background: var(--amber); }
.qmk__manh[data-muc="3"] i::after { width: 100%; background: var(--green); }
.qmk__khop { font-size: 13px; font-weight: 600; min-height: 18px; margin-top: -4px; } .qmk__khop.is-ok { color: var(--green); } .qmk__khop.is-no { color: var(--red); }
.qmk__tk { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-top: 6px; cursor: pointer; font-size: 14px; }
.qmk__tk small { color: var(--muted); }
.qmk__xong { text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.qmk__tick { width: 64px; height: 64px; border-radius: 50%; background: var(--teal-100); color: var(--teal-600); font-size: 32px; font-weight: 700; display: grid; place-items: center; margin: 4px auto 0; }
@media (max-width: 480px) { .qmk__card { padding: 22px 16px; } .otp6 { gap: 6px; } .otp6 .input { height: 48px; font-size: 20px; } }
/* Thẻ bảo mật trong trang tài khoản */
.bm-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; flex-wrap: wrap; }
.bm-row > span { color: var(--muted); } .bm-row b { display: flex; align-items: center; gap: 6px; }
.bm-nut { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; } .bm-nut .btn { flex: 1 1 auto; }

/* ===== Trang đối tác (doi-tac.html) ===== */
.dt-hero { margin-bottom: 16px; } .dt-hero p { max-width: 640px; }
.dt-hh { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 14px; }
.dt-hh div { background: var(--bg-soft); border-radius: var(--radius-sm); padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13.5px; }
.dt-hh b { font-family: var(--font-head); font-size: 22px; color: var(--primary); }
.dt-luat { padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink-2); }
.dt-buoc { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.dt-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-gray); border-radius: 999px; padding: 4px; }
.dt-tabs button { padding: 10px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); } .dt-tabs button.is-on { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.dt-kpi { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 16px; }
.dt-kpi div { background: #fff; border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 4px; }
.dt-kpi small { font-size: 12.5px; color: var(--muted); } .dt-kpi b { font-family: var(--font-head); font-size: 22px; }
.dt-kpi .is-hong { background: var(--primary-50); } .dt-kpi .is-hong b { color: var(--primary-600); } .dt-kpi .is-xanh { background: var(--teal-100); } .dt-kpi .is-xanh b { color: var(--teal-600); }
@media (max-width: 1100px) { .dt-kpi { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .dt-kpi { grid-template-columns: repeat(2, 1fr); } .dt-hh { grid-template-columns: 1fr; } }
.dt-sp { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.dt-sp__it { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); }
.dt-sp__it img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; } .dt-sp__it b { font-size: 14px; display: block; line-height: 1.3; } .dt-sp__it small { color: var(--price); font-weight: 700; }
.dt-link { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 12px; background: var(--bg-soft); border-radius: var(--radius-sm); font-size: 13px; flex-wrap: wrap; }
.dt-link code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--primary-700); }
.dt-chart { display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; height: 140px; align-items: end; }
.dt-chart div { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.dt-chart i { width: 100%; min-height: 3px; background: linear-gradient(180deg, var(--primary), #FF9DB4); border-radius: 6px 6px 2px 2px; } .dt-chart small { font-size: 11px; color: var(--muted); }
.checkout__side .dt-hh { grid-template-columns: 1fr; }
.dt-moi { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: linear-gradient(135deg, var(--primary-50), #FFF6E5); border: 1px dashed var(--primary-100); }
.dt-moi > div { flex: 1 1 320px; } .dt-moi h3 { margin-bottom: 4px; }
/* Đối tác: danh sách sản phẩm có hoa hồng */
.dt-loc { display: grid; grid-template-columns: 1fr 200px; gap: 8px; margin-bottom: 10px; }
.dt-sp { max-height: 640px; overflow: auto; }
.dt-sp__it { grid-template-columns: 72px 1fr auto; padding: 10px; }
.dt-sp__it img { width: 72px; height: 72px; }
.dt-sp__tt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dt-sp__gia { color: var(--price); font-weight: 700; }
.dt-sp__hh { font-size: 13px; color: var(--ink-2); } .dt-sp__hh b { color: var(--primary-600); font-size: 15px; } .dt-sp__hh em { font-style: normal; color: var(--teal-600); font-weight: 600; margin-left: 4px; }
.dt-sp__lk { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dt-sp__nut { display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 560px) { .dt-loc { grid-template-columns: 1fr; } .dt-sp__it { grid-template-columns: 56px 1fr; } .dt-sp__it img { width: 56px; height: 56px; } .dt-sp__nut { grid-column: 1 / -1; flex-direction: row; } .dt-sp__nut .btn { flex: 1; } }

/* ===== SỰ KIỆN THEO NGÀY (vd 10.10) – tab trang chủ, banner ảnh, menu ===== */
.slide--anh { padding: 0; display: block; background: radial-gradient(120% 90% at 78% 40%, #3a6cf0 0%, #1d47c9 38%, #0d2a8c 72%, #081d66 100%); }
.slide--anh picture, .slide--anh img { display: block; width: 100%; height: 100%; }
.slide--anh img { object-fit: contain; }
.navbar__link--sk { background: linear-gradient(90deg, #1d47c9, #3a6cf0); color: #ffd84d !important; border-radius: 8px; padding-left: 12px !important; padding-right: 12px !important; font-weight: 900; letter-spacing: .3px; box-shadow: 0 3px 10px rgba(29, 71, 201, .3); }
.navbar__link--sk:hover { filter: brightness(1.08); }
.mmenu__link--sk { color: #1d47c9 !important; font-weight: 900; }
.sk-tabs { background: #fff; border-bottom: 1px solid var(--line, #eee); }
.sk-tabs__in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.sk-tabs button { display: flex; align-items: center; gap: 6px; background: none; border: 0; border-bottom: 3px solid transparent; padding: 12px 16px 10px; font: inherit; font-weight: 700; font-size: 15px; color: var(--text-muted, #667); cursor: pointer; white-space: nowrap; }
.sk-tabs button.is-on { color: var(--primary, #e8335f); border-bottom-color: var(--primary, #e8335f); }
.sk-tabs__sk b { background: linear-gradient(90deg, #1d47c9, #3a6cf0); color: #ffd84d; border-radius: 7px; padding: 2px 9px; font-weight: 900; }
.sk-tabs__sk small { color: #e8335f; font-weight: 800; font-size: 13px; }
body.sk-on #app > section[data-khoi] { display: none !important; }
.sk { background: linear-gradient(180deg, #e8eeff, #f6f8ff 600px); padding: 16px 0 36px; }
.sk-head { display: grid; gap: 18px; align-items: center; color: #fff; padding: 16px; border-radius: 20px; background: radial-gradient(120% 90% at 80% 30%, #3a6cf0 0%, #1d47c9 40%, #0d2a8c 75%, #0a206e 100%); box-shadow: 0 14px 34px rgba(13, 42, 140, .25); }
.sk-head > * { min-width: 0; }
.sk-head__poster { display: block; max-width: 420px; width: 100%; margin: 0 auto; }
@media (min-width: 768px) { .sk-head { grid-template-columns: 320px minmax(0, 1fr); gap: 28px; padding: 24px 28px; } }
.sk-head__poster img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 18px 40px rgba(3, 15, 60, .45); }
.sk-head__trang { display: inline-block; background: #e8335f; color: #fff; font-weight: 800; font-size: 13px; padding: 5px 14px; border-radius: 999px; border: 2px solid #fff; }
.sk-head h1 { margin: 10px 0 2px; font-size: 64px; line-height: .9; font-weight: 900; letter-spacing: -1px; background: linear-gradient(180deg, #fff6c9 0%, #ffd84d 40%, #f2a900 75%, #ffcf3a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3px 0 #0a2470); }
.sk-head h1 small { display: block; font-size: 26px; letter-spacing: 0; -webkit-text-fill-color: #fff; }
@media (min-width: 768px) { .sk-head h1 { font-size: 96px; } .sk-head h1 small { font-size: 34px; } }
.sk-head__khau { font-style: italic; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; margin: 6px 0 12px; }
.sk-dem { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.sk-dem__nhan { font-weight: 700; }
.sk-dem__so { display: flex; gap: 6px; }
.sk-dem__so span { display: inline-flex; flex-direction: column; align-items: center; min-width: 54px; background: #fff; color: #0b2470; border-radius: 10px; padding: 6px 8px; box-shadow: 0 6px 14px rgba(0, 0, 0, .2); }
.sk-dem__so b { font-size: 22px; line-height: 1.1; font-weight: 900; }
.sk-dem__so small { font-size: 11px; font-weight: 600; opacity: .8; }
.sk-head__luat { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.6; opacity: .92; }
.sk-khoi { background: #fff; border-radius: 16px; padding: 16px; margin-top: 18px; box-shadow: 0 8px 24px rgba(13, 42, 140, .08); border-top: 5px solid #1d47c9; overflow: hidden; }
.sk-khoi--1 { border-top-color: #e8335f; } .sk-khoi--2 { border-top-color: #f2a900; } .sk-khoi--ma { border-top-color: #12b5a0; }
@media (min-width: 992px) { .sk-khoi:not(.sk-khoi--ma) { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 20px; align-items: center; } .sk-khoi__sp > * { flex: 0 0 210px; } }
.sk-khoi__nhan { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sk-khoi__nhan span { background: #1d47c9; color: #fff; font-weight: 800; font-size: 12.5px; text-transform: uppercase; letter-spacing: .4px; padding: 4px 12px; border-radius: 999px; }
.sk-khoi__nhan em { font-style: normal; background: #e8335f; color: #fff; font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.sk-khoi h2 { margin: 8px 0 4px; font-size: 22px; color: #0b2470; }
.sk-khoi__noibat { font-size: 24px; font-weight: 900; color: #e8335f; margin-bottom: 4px; }
.sk-khoi__dong { list-style: none; margin: 6px 0; padding: 0; }
.sk-khoi__dong li { position: relative; padding-left: 28px; margin: 6px 0; font-weight: 700; color: #0b2470; }
.sk-khoi__dong li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: #1d47c9; color: #fff; font-size: 12px; display: grid; place-items: center; }
.sk-khoi__ghichu { display: block; color: var(--text-muted, #667); font-size: 13px; margin-top: 4px; }
.sk-khoi__sp { margin-top: 12px; }
.sk-khoi--ma .vstrip__row { margin-top: 12px; }
.sk-goiy h2 { color: #0b2470; margin: 26px 0 12px; font-size: 22px; }

/* Giờ vàng (GIO_VANG) + tab Khuyến mãi */
.gvang { background: #FFF6E0; border: 1px dashed #F0A500; color: #7a4b00; border-radius: 12px; padding: 9px 12px; font-size: 13.5px; line-height: 1.45; margin-bottom: 10px; }
.gvang--on { background: linear-gradient(90deg, #FFE7EC, #FFF3D6); border: 1px solid #F25C7A; color: #9b1238; }
.navbar__link--km { color: #E8335B !important; font-weight: 800; }

/* Trang chủ – hàng nút "Mẹ tin dùng nhất": xuống dòng để hiện đủ mọi nút (không bị cắt) */
#featTabs { flex-wrap: wrap; overflow: visible; margin: 0 0 16px; padding: 0; gap: 8px; }
@media (max-width: 767px) {
  #featTabs { gap: 6px; }
  #featTabs .tab { padding: 6px 10px; font-size: 12px; }
}
/* Menu máy tính 1280–1439px: thêm tab Khuyến mãi nên thu gọn khoảng cách để không bị cắt mục cuối */
@media (min-width: 1280px) and (max-width: 1439px) { .navbar__list { gap: 0; } .navbar__link { padding: 0 7px; font-size: 12px; } .navbar__link--cat { padding: 0 12px; margin-right: 4px; } }

/* ===== Điểm danh (diem-danh.html) – dùng chung cho xem trước ở trang quản trị ===== */
.ddp { padding-top: 20px; padding-bottom: 40px; }
.ddp-hero { --dd: #F0537A; display: grid; grid-template-columns: auto 1fr; gap: 14px 18px; align-items: center; background: linear-gradient(135deg, var(--dd), color-mix(in srgb, var(--dd) 70%, #FFB36B)); color: #fff; border-radius: 22px; padding: 22px; box-shadow: 0 12px 30px color-mix(in srgb, var(--dd) 35%, transparent); }
.ddp-hero__ic { font-size: 44px; width: 72px; height: 72px; display: grid; place-items: center; background: rgba(255,255,255,.2); border-radius: 20px; }
.ddp-hero__tx h1 { font-family: 'Quicksand', sans-serif; font-size: 24px; line-height: 1.2; margin: 0 0 4px; color: #fff; }
.ddp-hero__tx p { margin: 0; opacity: .95; font-size: 14.5px; }
.ddp-hero__nut { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; background: rgba(255,255,255,.14); border-radius: 16px; padding: 12px 14px; }
.ddp-diem small { display: block; font-size: 12px; opacity: .9; } .ddp-diem b { font-size: 26px; font-family: 'Quicksand', sans-serif; }
.ddp-nut { background: #fff; color: var(--dd, var(--primary)); font-weight: 800; border-radius: 999px; padding: 12px 22px; margin-left: auto; box-shadow: 0 6px 16px rgba(0,0,0,.12); display: inline-flex; align-items: center; gap: 8px; }
.ddp-nut:disabled { opacity: 1; cursor: default; } .ddp-nut.is-xong { background: rgba(255,255,255,.25); color: #fff; box-shadow: none; }
.ddp-nut.is-loading { opacity: .85; }
.ddp-spin { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: ddpQuay .7s linear infinite; }
@keyframes ddpQuay { to { transform: rotate(360deg); } }
.ddp-tt { width: 100%; margin: 0; font-size: 13.5px; font-weight: 600; }
.ddp-qua { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 10px; margin: 14px 0; }
.ddp-qua > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; text-align: center; }
.ddp-qua b { display: block; color: var(--primary); font-size: 17px; } .ddp-qua small { color: var(--muted); font-size: 12px; }
.ddp-cot { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; align-items: start; }
.ddp-cot > div { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ddp-cot .card h3, .ddp-tl h3, .ddp-moi h3 { font-size: 16px; margin: 0 0 10px; }
.ddp-lich__dau { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; } .ddp-lich__dau h3 { margin: 0 !important; }
.ddp-luoi { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.ddp-thu { text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); padding-bottom: 2px; }
.ddp-o { position: relative; aspect-ratio: 1; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 13px; background: var(--bg-gray); color: var(--ink-2); border: 1.5px solid transparent; }
.ddp-o b { font-weight: 700; line-height: 1; } .ddp-o i { font-style: normal; font-size: 12px; min-height: 14px; line-height: 14px; }
.ddp-o--rong { background: none; }
.ddp-o--da { background: var(--teal-100); color: var(--teal-600); } .ddp-o--da i { font-weight: 900; }
.ddp-o--lo { background: #F4F4F6; color: #A3A3AD; text-decoration: line-through; }
.ddp-o--nay { border-color: var(--primary); color: var(--primary); background: #fff; box-shadow: 0 0 0 3px var(--primary-100); }
.ddp-o--sau { background: #fff; border-color: var(--line); color: var(--ink-2); }
.ddp-o--doi:not(.ddp-o--da) { border-color: #F5B300; border-style: dashed; }
.ddp-o--moc { background: linear-gradient(135deg, #FFE08A, #FFB020); color: #5a3a00; }
.ddp-chu { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.ddp-chu i { display: inline-block; width: 11px; height: 11px; border-radius: 4px; margin-right: 5px; vertical-align: -1px; }
.ddp-chu .c-da { background: var(--teal-100); border: 1px solid var(--teal-600); } .ddp-chu .c-lo { background: #F4F4F6; border: 1px solid #ccc; } .ddp-chu .c-nay { background: #fff; border: 2px solid var(--primary); }
.ddp-td__so { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; margin-bottom: 26px; }
.ddp-td__so b { display: block; font-size: 24px; color: var(--primary); font-family: 'Quicksand', sans-serif; } .ddp-td__so small { font-size: 12px; color: var(--muted); }
.ddp-bar { position: relative; height: 10px; background: var(--bg-gray); border-radius: 999px; margin: 6px 14px 34px; }
.ddp-bar > div { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--primary), #FFB020); transition: width .4s; }
.ddp-bar span { position: absolute; top: 50%; transform: translate(-50%, -50%); text-align: center; }
.ddp-bar span i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid var(--line); font-style: normal; font-size: 12px; font-weight: 800; color: var(--muted); }
.ddp-bar span.is-on i { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }
.ddp-bar span small { position: absolute; top: 32px; left: 50%; transform: translateX(-50%); font-size: 11px; white-space: nowrap; color: var(--ink-2); font-weight: 600; }
.ddp-vcs { display: flex; flex-direction: column; gap: 8px; }
.ddp-vc { display: flex; align-items: center; gap: 12px; border: 1px dashed var(--primary); background: #FFF4F7; border-radius: 12px; padding: 8px 12px; text-align: left; }
.ddp-vc > b { color: var(--primary); font-size: 16px; white-space: nowrap; } .ddp-vc span { display: block; font-weight: 700; font-size: 14px; } .ddp-vc small { color: var(--muted); font-size: 12px; }
.ddp-vc--used, .ddp-vc--expired, .ddp-vc--revoked { opacity: .55; border-color: var(--line); background: #fff; }
.ddp-tl ul { margin: 0 0 6px; padding-left: 18px; font-size: 14px; line-height: 1.6; }
.ddp-moi { margin-bottom: 16px; }
.ddp-skel { display: flex; flex-direction: column; gap: 12px; margin: 10px 0; } .ddp-skel div { height: 110px; border-radius: 18px; background: linear-gradient(90deg, #f2f2f4 25%, #fafafa 50%, #f2f2f4 75%); background-size: 200% 100%; animation: ddpSang 1.2s infinite; }
@keyframes ddpSang { to { background-position: -200% 0; } }
.ddp-loi__ic { font-size: 40px; }
.ddp-xt { background: #FFF6E0; border: 1px dashed #F0A500; color: #7a4b00; border-radius: 10px; padding: 6px 12px; font-size: 13px; font-weight: 700; margin-bottom: 10px; text-align: center; }
.ddp-preview .header, .ddp-preview .footer, .ddp-preview .bottom-nav, .ddp-preview .float-contact, .ddp-preview .topbar { display: none !important; }
.ddp-cm { position: fixed; inset: 0; z-index: 9999; background: rgba(20,10,20,.45); display: grid; place-items: center; padding: 16px; animation: ddpHien .2s; }
.ddp-cm__hop { background: #fff; border-radius: 22px; padding: 24px; width: min(380px, 100%); text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.ddp-cm__ic { font-size: 48px; } .ddp-cm__hop h3 { margin: 6px 0; } .ddp-cm__diem { font-size: 30px; font-weight: 800; color: var(--primary); margin: 4px 0; font-family: 'Quicksand', sans-serif; }
.ddp-cm .ddp-vc { margin-top: 8px; }
@keyframes ddpHien { from { opacity: 0; } }
@media (max-width: 860px) { .ddp-cot { display: flex; flex-direction: column; } .ddp-cot > div { display: contents; } .ddp-lich { order: 1; } .ddp-td { order: 2; } .ddp-th { order: 3; } .ddp-ls { order: 4; } .ddp-tl { order: 5; } }
@media (max-width: 560px) {
  .ddp-hero { padding: 16px; border-radius: 18px; } .ddp-hero__ic { width: 56px; height: 56px; font-size: 32px; } .ddp-hero__tx h1 { font-size: 19px; }
  .ddp-nut { margin-left: 0; width: 100%; justify-content: center; }
  .ddp-luoi { gap: 4px; } .ddp-o { border-radius: 9px; font-size: 12px; }
}

/* ===== Ví voucher (vi-voucher.html) ===== */
.vvp { padding-top: 20px; padding-bottom: 40px; }
.vvp-dau { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; } .vvp-dau .page-title { margin: 0 0 4px; }
.vvp-tk { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.vvp-tk > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; text-align: center; }
.vvp-tk b { display: block; font-size: 24px; color: var(--primary); font-family: 'Quicksand', sans-serif; } .vvp-tk small { font-size: 12px; color: var(--muted); }
.vvp-luu { background: #FFF6E0; border-radius: 12px; padding: 10px 12px; font-size: 13.5px; margin-bottom: 12px; } .vvp-luu a { color: var(--primary); font-weight: 700; }
.vvp-tabs { flex-wrap: wrap; overflow: visible; margin: 0 0 16px; padding: 0; }
.vvp-ds { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.vvp-the { display: flex; background: #fff; border-radius: 16px; border: 1px solid var(--line); overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,.04); }
.vvp-the__l { width: 96px; flex: none; background: linear-gradient(160deg, var(--primary), #FF8FA8); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 4px; border-right: 2px dashed #fff; }
.vvp-the__l b { font-size: 18px; font-family: 'Quicksand', sans-serif; } .vvp-the__l small { font-size: 11px; letter-spacing: 1px; font-weight: 700; }
.vvp-the__r { padding: 12px 14px; min-width: 0; flex: 1; }
.vvp-the__dau { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 6px; } .vvp-the__dau h3 { font-size: 15px; margin: 0; width: 100%; }
.vvp-the ul { list-style: none; padding: 0; margin: 0 0 8px; font-size: 13px; color: var(--ink-2); line-height: 1.55; }
.vvp-the__ma { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .vvp-the__ma code { background: var(--bg-gray); padding: 4px 8px; border-radius: 8px; font-weight: 700; letter-spacing: .5px; font-size: 13px; }
.vvp-the--used, .vvp-the--expired, .vvp-the--revoked { opacity: .6; } .vvp-the--used .vvp-the__l, .vvp-the--expired .vvp-the__l, .vvp-the--revoked .vvp-the__l { background: #B9B9C3; }
.vvp-trong__ic { font-size: 44px; }
@media (max-width: 560px) { .vvp-tk { grid-template-columns: repeat(2, 1fr); } .vvp-ds { grid-template-columns: 1fr; } .vvp-the__l { width: 82px; } }

/* Thanh toán – chọn voucher trong ví */
.co-vc { margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 10px; }
.co-vc h4 { font-size: 14px; margin: 0 0 8px; }
.co-vc__ds { display: flex; flex-direction: column; gap: 6px; }
.co-vc__it { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 12px; padding: 8px 10px; cursor: pointer; background: #fff; text-align: left; width: 100%; font: inherit; }
.co-vc__it b { color: var(--primary); white-space: nowrap; } .co-vc__it small { display: block; color: var(--muted); font-size: 12px; }
.co-vc__it.is-on { border-color: var(--primary); background: #FFF4F7; } .co-vc__it.is-off { opacity: .55; cursor: not-allowed; }
.co-vc__chon { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex: none; } .co-vc__it.is-on .co-vc__chon { border: 5px solid var(--primary); }

/* ===== Lịch điểm danh mini (DDUI.mini) – trang chủ cạnh Mã giảm giá, trang tài khoản cạnh Ví voucher ===== */
.dv-cum { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 12px 0; align-items: stretch; }
.dv-cum > * { min-width: 0; }
.dv-cum > :empty { display: none; }
@media (min-width: 900px) {
  /* Trái: mã giảm giá (gọn) + 4 ô cam kết 2×2 · Phải: lịch điểm danh – hai cột cao bằng nhau */
  .dv-cum { grid-template-columns: minmax(0, 1fr) 360px; grid-template-areas: "v d" "t d"; grid-template-rows: auto 1fr; }
  .dv-cum > #voucherStrip { grid-area: v; } .dv-cum > #ddMini { grid-area: d; }
  .dv-cum > .trust { grid-area: t; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 12px; margin: 0; }
  .dv-cum:has(> #ddMini[hidden]) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "v" "t"; }
  .dv-cum:has(> #ddMini[hidden]) > .trust { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dv-cum .vstrip { flex-direction: column; align-items: stretch; margin: 0; padding: 12px 14px; gap: 10px; }
  .dv-cum .vstrip__h small { max-width: none; }
  .dv-cum .vstrip__row { flex: none; flex-direction: column; overflow: visible; gap: 10px; }
  .dv-cum .vstrip .vc { width: auto; }
}
.dv-cum .vstrip { margin: 0; }
.vstrip__vi { margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--primary); white-space: nowrap; }
.ddm { --dd: #F0537A; background: #fff; border: 1px solid #FFD9E3; border-radius: var(--radius, 16px); padding: 14px; display: flex; flex-direction: column; gap: 10px; height: 100%; box-shadow: 0 2px 10px rgba(240, 83, 122, .06); }
.ddm-dau { display: flex; gap: 10px; align-items: flex-start; }
.ddm-ic { font-size: 22px; width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: #FFF1F5; }
.ddm-dau h3 { font-size: 15px; margin: 0 0 2px; }
.ddm-dau p { font-size: 12.5px; margin: 0; color: var(--ink-2); line-height: 1.45; }
.ddm-dau p b { color: var(--dd); }
.ddm-diem { margin-left: auto; text-align: right; flex: none; } .ddm-diem small { display: block; font-size: 11px; color: var(--muted); } .ddm-diem b { font-size: 20px; color: var(--dd); font-family: 'Quicksand', sans-serif; }
.ddm-thang { display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; }
.ddm-dh { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-gray); font-size: 18px; line-height: 1; color: var(--ink-2); }
.ddm-dh:disabled { opacity: .35; cursor: default; }
.ddm-luoi { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.ddm-thu { font-size: 11px; font-weight: 700; color: var(--muted); padding: 2px 0; }
.ddm-o { height: 34px; display: grid; place-items: center; border-radius: 9px; font-size: 12.5px; color: var(--ink); font-weight: 600; position: relative; }
.ddm-o--ngoai { color: #C9C6CF; font-weight: 500; }
.ddm-o--qua { color: #A9A5B0; }
.ddm-o--da { background: var(--teal-100); color: var(--teal-600); } .ddm-o--da i { font-style: normal; font-weight: 900; font-size: 14px; }
.ddm-o--nay { box-shadow: inset 0 0 0 2px var(--dd); color: var(--dd); }
.ddm-o--nay.ddm-o--da { background: var(--dd); color: #fff; box-shadow: none; }
.ddm-o--doi::after { content: ''; position: absolute; top: 4px; right: 5px; width: 5px; height: 5px; border-radius: 50%; background: #F5A300; }
.ddm-chu { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11.5px; color: var(--muted); }
.ddm-chu i { display: inline-grid; place-items: center; width: 13px; height: 13px; border-radius: 4px; margin-right: 4px; vertical-align: -2px; font-style: normal; font-size: 9px; font-weight: 900; }
.ddm-chu .c-da { background: var(--teal-100); color: var(--teal-600); } .ddm-chu .c-nay { box-shadow: inset 0 0 0 2px var(--dd); } .ddm-chu .c-doi { width: 6px; height: 6px; border-radius: 50%; background: #F5A300; margin: 0 6px 0 3px; vertical-align: 1px; }
.ddm-nut { min-height: 46px; border-radius: 999px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.ddm .btn--primary.ddm-nut { background: var(--dd); border-color: var(--dd); }
.ddm-nut.is-xong { background: var(--teal-100); color: var(--teal-600); opacity: 1; }
.ddm-nut:disabled { cursor: default; }
.ddm-bao { margin: 0; font-size: 13px; border-radius: 10px; padding: 8px 10px; line-height: 1.45; }
.ddm-bao--ok { background: #EAF8F1; color: #0B7B5E; } .ddm-bao--ok a { color: inherit; font-weight: 700; text-decoration: underline; }
.ddm-bao--loi { background: #FFF0F0; color: #B3261E; }
.ddm-thu-lai { font-weight: 700; text-decoration: underline; color: inherit; }
.ddm-ghi { margin: 0; font-size: 12.5px; color: var(--ink-2); }
.ddm-td { border-top: 1px dashed var(--line); padding-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.ddm-td p { margin: 0; }
.ddm-td__so { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--ink-2); } .ddm-td__so b { color: var(--dd); font-size: 15px; }
.ddm-moc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ddm-moc span { border: 1px solid var(--line); border-radius: 10px; padding: 6px; text-align: center; }
.ddm-moc b { display: grid; place-items: center; width: 24px; height: 24px; margin: 0 auto 2px; border-radius: 50%; background: var(--bg-gray); font-size: 12px; }
.ddm-moc small { font-size: 11px; color: var(--ink-2); display: block; line-height: 1.3; }
.ddm-moc .is-on { border-color: var(--teal-600); } .ddm-moc .is-on b { background: var(--teal-600); color: #fff; }
.ddm-link { font-size: 12.5px; color: var(--ink-2); text-align: center; margin-top: auto; }
.ddm-link:hover { color: var(--dd); }
@media (max-width: 420px) { .ddm { padding: 12px; } .ddm-o { height: 38px; } }

/* Trang tài khoản: thẻ Ví voucher cạnh thẻ Điểm danh */
.acc-dv { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 900px) { .acc-dv { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.acc-vc { display: flex; flex-direction: column; gap: 10px; height: 100%; }
.acc-vc h3 { margin: 0; }
.acc-vc__tk { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.acc-vc__tk div { background: var(--bg-gray); border-radius: 12px; padding: 8px 4px; } .acc-vc__tk b { display: block; font-size: 18px; color: var(--primary); } .acc-vc__tk small { font-size: 11.5px; color: var(--muted); }
.acc-vc__ds { display: flex; flex-direction: column; gap: 8px; }
.acc-vc .ddp-vc small a { color: var(--primary); }
.acc-vc__cuoi { margin-top: auto; }
/* Thẻ mã giảm giá trang chủ: phần "ví của mẹ" / "quà điểm danh" lấp khoảng trống cạnh lịch (chỉ máy tính) */
.vstrip__them { display: none; }
@media (min-width: 900px) {
  .dv-cum .vstrip__them { display: flex; flex-direction: column; gap: 8px; border-top: 1px dashed #FFC9D6; padding-top: 12px; }
  .vstrip__them > b { font-size: 13.5px; }
  .vstrip__them .ddp-vc { background: #fff; }
  .vstrip__qua { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .vstrip__qua span { background: #fff; border: 1px solid #FFD9E3; border-radius: 12px; padding: 8px 10px; font-size: 12.5px; color: var(--ink-2); }
  .vstrip__qua b { display: block; color: var(--primary); font-size: 15px; }
  .vstrip__them a.btn { align-self: flex-start; }
}

/* Ưu đãi sinh nhật (trang tài khoản) */
.sn-bang { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: linear-gradient(100deg, #FFF1F5, #FFF6E0); border: 1px solid #FFD9E3; border-radius: var(--radius, 16px); padding: 12px 14px; font-size: 14px; }
.sn-bang > div { flex: 1; min-width: 200px; } .sn-bang b { color: var(--primary); } .sn-bang > div > b:first-child { color: var(--ink); }
.sn-bang--goi { background: #fff; border-style: dashed; }
.sn-form { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.sn-form .input { width: 160px; min-height: 38px; padding: 6px 10px; }

/* Trang tài khoản: khối hạng thu gọn (thẻ nhỏ + tiến độ, bảng hạng gập lại) */
.tier-gon .tier-hero { grid-template-columns: 240px minmax(0, 1fr); gap: 18px; align-items: start; }
.tier-gon .memcol > :not(.memcard) { display: none; }
.tier-gon .memcard { max-width: 240px; }
.tier-gon h3 { margin-bottom: 6px; }
.tier-gon__xem { margin-top: 8px; } .tier-gon__xem summary { cursor: pointer; font-weight: 700; color: var(--primary); font-size: 13.5px; padding: 4px 0; }
.tier-gon__xem[open] summary { margin-bottom: 8px; }
@media (max-width: 640px) { .tier-gon .tier-hero { grid-template-columns: 1fr; } .tier-gon .memcard { max-width: none; } }
@media (max-width: 899px) { .acc-dv > #ddAcc { order: -1; } }   /* điện thoại: điểm danh lên trước ví voucher */

/* ===== Cụm tiện ích trang chủ (mã giảm giá · cam kết · điểm danh): 1 tấm nền chung, thẻ trắng đồng bộ ===== */
.dv-cum { --cum-vien: #F6D3DE; --cum-bong: 0 1px 2px rgba(142, 30, 74, .05), 0 6px 18px rgba(142, 30, 74, .06);
  background: linear-gradient(160deg, #FFF3F7 0%, #FFF8F3 100%); border: 1px solid #FBE3EA; border-radius: 22px; padding: 14px; }
.dv-cum .vstrip, .dv-cum .ddm, .dv-cum .trust__item { background: #fff; border: 1px solid var(--cum-vien); border-radius: 16px; box-shadow: var(--cum-bong); }
/* Mã giảm giá: thẻ trắng, đầu khối có ô biểu tượng như các thẻ khác */
.dv-cum .vstrip__ic { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: #FFF1F5; font-size: 19px; }
.dv-cum .vstrip .vc { box-shadow: none; border: 1px solid #F3E3E9; }
/* Ô cam kết: gọn, căn trái, biểu tượng trong ô màu riêng để dễ quét */
.dv-cum .trust__item { padding: 14px 16px; gap: 14px; align-items: center; }
.dv-cum .trust__item b { font-size: 14px; line-height: 1.35; }
.dv-cum .trust__item small { font-size: 12.5px; line-height: 1.45; margin-top: 2px; }
.dv-cum .trust__icon { width: 44px; height: 44px; border-radius: 14px; }
.dv-cum .trust__item:nth-child(2) .trust__icon { background: #FFF1F5; color: var(--primary); }
.dv-cum .trust__item:nth-child(3) .trust__icon { background: #FFF6DC; color: #C98A00; }
.dv-cum .trust__item:nth-child(4) .trust__icon { background: #EFEAFF; color: #6B4FD8; }
/* Ô gọi chuyên gia: điểm nhấn duy nhất của hàng cam kết (bấm được) */
.dv-cum .trust__item--cta { background: linear-gradient(150deg, #E6F7F4, #F4FBFA); border-color: #9ADBD0; }
.dv-cum .trust__item--cta:hover { border-color: var(--teal); }
/* Lịch điểm danh: viền đồng bộ, đầu thẻ có dải màu thương hiệu mảnh */
.dv-cum .ddm { border-top: 4px solid var(--dd); }
@media (max-width: 899px) { .dv-cum { padding: 10px; border-radius: 18px; } .dv-cum > .trust { margin: 0 -10px; padding: 0 10px; } .dv-cum .trust__item { box-shadow: none; } }

/* ===== Trang Điểm danh gọn 1 màn hình (DDUI.trang) ===== */
.ddp { padding-top: 14px; padding-bottom: 24px; }
.ddq { --dd: #F0537A; display: flex; flex-direction: column; gap: 12px; }
.ddq-dau { display: flex; align-items: center; gap: 14px; background: linear-gradient(100deg, var(--dd), color-mix(in srgb, var(--dd) 72%, #FFB36B)); color: #fff; border-radius: 18px; padding: 10px 12px 10px 14px; box-shadow: 0 8px 22px color-mix(in srgb, var(--dd) 28%, transparent); }
.ddq-dau__ic { font-size: 26px; width: 48px; height: 48px; flex: none; display: grid; place-items: center; background: rgba(255,255,255,.22); border-radius: 14px; }
.ddq-dau__tx { flex: 1; min-width: 0; }
.ddq-dau__tx h1 { font-family: 'Quicksand', sans-serif; font-size: 20px; line-height: 1.2; margin: 0; color: #fff; }
.ddq-dau__tx p { margin: 2px 0 0; font-size: 13px; opacity: .95; } .ddq-dau__tx p b { color: #fff; }
.ddq-diem { text-align: right; padding: 0 14px; border-left: 1px solid rgba(255,255,255,.35); flex: none; }
.ddq-diem small { display: block; font-size: 11.5px; opacity: .9; } .ddq-diem b { font-family: 'Quicksand', sans-serif; font-size: 24px; line-height: 1.1; }
.ddq-nut { background: #fff; color: var(--dd); font-weight: 800; border-radius: 999px; min-height: 46px; padding: 0 22px; flex: none; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.ddq-nut:disabled { opacity: 1; cursor: default; } .ddq-nut.is-xong { background: rgba(255,255,255,.22); color: #fff; box-shadow: none; }
.ddq-cot { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.ddq-phai { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ddq .card { margin: 0; }
/* Lịch: ô thấp lại cho vừa màn hình */
.ddq .ddp-lich { padding: 12px 14px; }
.ddq .ddp-lich__dau { margin-bottom: 6px; } .ddq .ddp-lich__dau h3 { font-size: 15px; }
.ddq .ddp-luoi { gap: 5px; } .ddq .ddp-thu { font-size: 11.5px; padding: 0; }
.ddq .ddp-o { aspect-ratio: auto; height: 46px; border-radius: 10px; }
.ddq .ddp-chu { margin-top: 8px; }
/* Chip quà */
.ddq-qua { display: flex; flex-wrap: wrap; gap: 6px; }
.ddq-qua span { background: #fff; border: 1px solid #F6D3DE; border-radius: 999px; padding: 6px 12px; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.ddq-qua b { color: var(--dd); }
/* Chuỗi + phần thưởng: gọn */
.ddq .ddp-td, .ddq .ddp-th { padding: 12px 14px; }
.ddq .ddp-td h3, .ddq .ddp-th h3 { font-size: 15px; margin: 0 0 8px; }
.ddq .ddp-td__so { margin-bottom: 22px; } .ddq .ddp-td__so b { font-size: 20px; }
.ddq .ddp-bar { margin: 4px 14px 28px; }
.ddq .ddp-td p { margin: 0; font-size: 13px; } .ddq .ddp-td .mt-12 { margin-top: 6px; }
.ddq .ddp-th .btn { margin-top: 8px; min-height: 38px; }
.ddq .ddp-th p { font-size: 13px; margin: 0; }
/* Lịch sử + thể lệ: gập lại */
.ddq-mo { display: flex; flex-direction: column; gap: 6px; }
.ddq-mo details { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.ddq-mo summary { cursor: pointer; padding: 10px 14px; font-weight: 700; font-size: 13.5px; list-style: none; display: flex; justify-content: space-between; }
.ddq-mo summary::after { content: '+'; color: var(--dd); font-weight: 800; } .ddq-mo details[open] summary::after { content: '−'; }
.ddq-mo summary::-webkit-details-marker { display: none; }
.ddq-mo details > .card { border: 0; box-shadow: none; padding: 0 14px 12px; background: none; }
.ddq-mo details > .card > h3 { display: none; }
.ddq-mo .diem-ls { max-height: 220px; }
@media (max-width: 860px) {
  .ddq-cot { grid-template-columns: 1fr; }
  .ddq-dau { flex-wrap: wrap; } .ddq-dau__tx { flex-basis: calc(100% - 62px); }
  .ddq-diem { border-left: 0; padding: 0; text-align: left; } .ddq-nut { flex: 1; }
  .ddq .ddp-o { height: 42px; }
}
.ddq-trai { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ddq-qua { flex-wrap: nowrap; gap: 5px; } .ddq-qua span { padding: 5px 9px; font-size: 12px; flex: 1; text-align: center; }
.ddq .ddp-td .fs-12 { display: none; } .ddq .ddp-td__so { margin-bottom: 18px; } .ddq .ddp-td__so small { font-size: 11.5px; }
@media (max-width: 1100px) { .ddq-qua { flex-wrap: wrap; } .ddq-qua span { flex: none; } }
.ddq .ddp-lich { order: 0; } .ddq-trai > .ddq-mo { order: 1; } .ddq-qua span { min-width: 0; }

.sn-ghi { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); margin-top: 2px; text-align: right; }
.sn-bang small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ---------------- Theo dõi sức khỏe con (js/suc-khoe.js) ---------------- */
.hk-section { --hk-good: #3DBDB1; --hk-warn: #FF9F43; --hk-bad: #E53935; --hk-info: #FFD27A; padding-top: 12px; scroll-margin-top: var(--hk-top, 76px); }
@media (min-width: 992px) { .hk-section { --hk-top: 120px; } }
/* Nút trên thanh tiêu đề máy tính (app.js → renderShell); điện thoại dùng link trong menu */
.hact--suckhoe { color: var(--teal-600); }
.hact--suckhoe .hact__emoji { font-size: 21px; line-height: 23px; }
.hact--suckhoe .lbl { white-space: nowrap; }
@media (max-width: 991px) { .hact--suckhoe { display: none; } }
/* Màn 992-1099px chỉ còn biểu tượng để các nút cũ (hotline, tài khoản, giỏ hàng) không bị xuống dòng */
@media (min-width: 992px) and (max-width: 1099px) { .hact--suckhoe { min-width: 36px; padding: 0 4px; } .hact--suckhoe .lbl { display: none; } }
.hk-tone--good { --tone-bg: var(--teal-100); --tone-ink: var(--teal-600); }
.hk-tone--warn { --tone-bg: #FFEBD6; --tone-ink: #A04C00; }
.hk-tone--bad { --tone-bg: #FDE8E7; --tone-ink: #B3261E; }
.hk-tone--info { --tone-bg: var(--amber-100); --tone-ink: #8A5A00; }
.hk-card { display: grid; grid-template-columns: 56px 1fr; gap: 14px 16px; align-items: start; padding: 20px; border-radius: var(--radius); background: var(--teal-100); box-shadow: var(--shadow-sm); }
.hk-card__ic { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #fff; font-size: 28px; box-shadow: 0 6px 16px rgba(23, 163, 152, .18); }
.hk-card__txt h2 { font-size: 20px; }
.hk-card__txt p { margin: 4px 0 0; color: var(--ink-2); font-size: 14.5px; max-width: 62ch; }
.hk-card__list { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.hk-card__list li { display: inline-flex; align-items: center; gap: 6px; }
.hk-card__list svg { width: 16px; height: 16px; color: var(--teal-600); }
.hk-card__acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.hk-card__acts .btn { flex: 1 1 auto; }
.hk-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.hk-pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--tone-bg); color: var(--tone-ink); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
@media (min-width: 768px) {
  .hk-card { grid-template-columns: 72px 1fr auto; align-items: center; gap: 20px 24px; padding: 24px 28px; }
  .hk-card__ic { width: 72px; height: 72px; font-size: 36px; }
  .hk-card__txt h2 { font-size: 24px; }
  .hk-card__acts { grid-column: auto; flex-direction: column; }
}

.hk-result { margin-top: 16px; padding: 18px 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
@media (min-width: 768px) { .hk-result { padding: 26px 28px 28px; } }
@media (prefers-reduced-motion: no-preference) { .hk-result:not([hidden]) { animation: hkIn .4s cubic-bezier(.16, 1, .3, 1); } }
@keyframes hkIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hk-res__head h3 { font-size: 22px; }
.hk-res__head p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.hk-verdict { margin: 14px 0 0; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--tone-bg); color: var(--ink); font-size: 14.5px; }
.hk-verdict b { color: var(--tone-ink); }
.hk-metrics { display: grid; gap: 12px; margin-top: 16px; }
@media (min-width: 768px) { .hk-metrics--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hk-metrics--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hk-metric { padding: 16px; border: 1.5px solid var(--line); border-radius: var(--radius); }
.hk-metric__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.hk-metric__top > span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.hk-metric__val { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.hk-metric__val b { font-family: var(--font-head); font-size: 30px; color: var(--ink); }
.hk-metric__val small { display: block; color: var(--muted); font-size: 12.5px; }
.hk-scale { position: relative; height: 10px; margin-top: 16px; border-radius: 999px; }
.hk-scale i { position: absolute; top: 50%; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--ink); transform: translate(-50%, -50%); box-shadow: 0 2px 6px rgba(34, 32, 42, .25); }
.hk-scale__lbl { position: relative; height: 18px; margin-top: 4px; }
.hk-scale__lbl span { position: absolute; transform: translateX(-50%); font-size: 11px; color: var(--muted); }
.hk-metric__ref { margin: 8px 0 0; font-size: 12.5px; color: var(--ink-2); }
.hk-note { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }

.hk-block { margin-top: 28px; }
.hk-block__head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 12px; }
.hk-block__head h3 { font-size: 19px; }
.hk-block__head p { margin: 2px 0 0; width: 100%; color: var(--muted); font-size: 13.5px; }
.hk-chart__body { display: grid; gap: 12px; }
@media (min-width: 992px) { .hk-chart__body { grid-template-columns: minmax(0, 720px) minmax(0, 1fr); gap: 28px; align-items: center; } .hk-chart__side .hk-legend { flex-direction: column; gap: 10px; font-size: 13px; } }
.hk-chart__svg { display: block; width: 100%; height: auto; }
.hk-chart__tip { margin: 10px 0 0; font-size: 13px; color: var(--ink-2); max-width: 46ch; }
.hk-grid { stroke: var(--line-2); stroke-width: 1; }
.hk-ax { font-size: 11px; fill: var(--muted); font-family: var(--font-body); }
.hk-band { fill: rgba(23, 163, 152, .14); }
.hk-band--out { fill: rgba(255, 176, 32, .10); }
.hk-line { fill: none; stroke: var(--teal-600); stroke-width: 2; }
.hk-line--sd { stroke: var(--teal); stroke-width: 1.2; stroke-dasharray: 4 4; }
.hk-trail { fill: none; stroke: var(--primary); stroke-width: 2; }
.hk-dot { fill: var(--primary); stroke: #fff; stroke-width: 2; }
.hk-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 8px 0 0; font-size: 12px; color: var(--muted); }
.hk-legend span { display: inline-flex; align-items: center; gap: 6px; }
.hk-sw { display: inline-block; width: 16px; height: 10px; border-radius: 3px; }
.hk-sw--band { background: rgba(23, 163, 152, .22); }
.hk-sw--line { height: 2px; background: var(--teal-600); }
.hk-sw--dot { width: 10px; border-radius: 50%; background: var(--primary); }

.hk-nutri__focus { margin: 0; font-size: 15px; color: var(--ink); max-width: 75ch; }
.hk-advice p { margin: 10px 0 0; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--primary-50); color: var(--ink-2); font-size: 14px; }
.hk-nutri__grid { display: grid; gap: 10px; margin-top: 14px; }
@media (min-width: 560px) { .hk-nutri__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .hk-nutri__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hk-nut { padding: 14px; border-radius: var(--radius); background: var(--bg-gray); }
.hk-nut__top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.hk-nut__top b { font-family: var(--font-head); font-size: 16px; }
.hk-nut__top span { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--teal-600); white-space: nowrap; }
.hk-nut p { margin: 4px 0 0; font-size: 13.5px; color: var(--ink-2); }
.hk-nut small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.hk-src { margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.hk-milk { margin: 24px 0 0; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--amber-100); color: #A04C00; font-size: 13.5px; font-weight: 600; }
.hk-pick { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.hk-pick__why { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: var(--teal-100); color: var(--teal-600); font-size: 12px; font-weight: 600; }
.hk-pick__why svg { width: 14px; height: 14px; flex: none; }
.hk-pick .pcard { flex: 1; }
.hk-all { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; color: var(--primary-700); font-weight: 600; font-size: 14px; }
.hk-all svg { width: 16px; height: 16px; }
.hk-foot { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); }
.hk-foot p { margin: 0; font-size: 12.5px; color: var(--muted); max-width: 80ch; }
.hk-foot__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }

.hk-form { display: grid; gap: 14px; }
.hk-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hk-sex { border: 0; padding: 0; margin: 0; min-width: 0; }
.hk-sex legend { padding: 0; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.hk-sex legend span, .hk-form label span { color: var(--red); }
.hk-sex .chip { position: relative; cursor: pointer; min-width: 110px; justify-content: center; }
.hk-sex .chip input { position: absolute; opacity: 0; pointer-events: none; }
.hk-sex .chip:has(input:checked) { background: var(--primary); border-color: var(--primary); color: #fff; }
.hk-sex .chip:has(input:focus-visible) { outline: 2px solid var(--primary-600); outline-offset: 2px; }
.hk-help { font-size: 12px; color: var(--muted); }
.hk-privacy { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 12.5px; color: var(--muted); }
.hk-privacy svg { width: 16px; height: 16px; color: var(--teal-600); flex: none; }
/* Danh sách bài viết: ảnh luôn nằm gọn trong cột (không tự giãn theo chiều cao hàng rồi đè lên chữ) */
.blog-item > .post-card__thumb { aspect-ratio: auto; width: 100%; min-width: 0; height: auto; min-height: 100%; position: relative; }
.blog-item > .post-card__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) { .blog-item > .post-card__thumb { min-height: 96px; } }

/* ---------- Lead "Nhờ chuyên gia tư vấn" trong bài viết ---------- */
.ltv-dai { display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap; margin: 0 0 20px; padding: 10px 12px 10px 16px; border-left: 3px solid var(--teal, #17A398); background: #EFFAF8; border-radius: 0 12px 12px 0; }
.ltv-dai span { font-size: 14px; font-weight: 600; color: var(--ink); }
.ltv { display: flex; flex-direction: column; gap: 14px; }
.ltv__dan { margin: 0; font-size: 14px; color: var(--ink-2); }
.ltv__hai { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ltv fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.ltv legend { padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--ink); }
.ltv legend span { color: var(--red); }
/* Phiếu số đo của bé: mép trên là vạch thước đo chiều cao */
.ltv__be { position: relative; padding: 18px 12px 12px !important; background: #F4FBFA; border-radius: 4px 4px 14px 14px; }
.ltv__be::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 9px; border-radius: 4px 4px 0 0;
  background: repeating-linear-gradient(90deg, #17A398 0 1.5px, transparent 1.5px 8px) top / 100% 5px no-repeat, repeating-linear-gradient(90deg, #17A398 0 2px, transparent 2px 40px) top / 100% 9px no-repeat; opacity: .55; }
.ltv__be legend { float: left; width: 100%; }
.ltv__so { clear: both; display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 8px; }
.ltv__o { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ltv__o > span:first-child { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.ltv__o .input { min-width: 0; width: 100%; }
.ltv__dv { position: relative; display: block; }
.ltv__dv .input { padding-right: 34px; font-variant-numeric: tabular-nums; }
.ltv__dv i { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 12.5px; font-weight: 600; color: #17A398; pointer-events: none; }
.ltv__goc { display: block; margin-top: 8px; font-size: 12px; color: #0F7A70; }
.ltv__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.ltv__chips .chip[aria-pressed="true"]::before { content: '✓'; font-weight: 700; }
.ltv__ghi { width: 100%; min-height: 58px; resize: vertical; font: inherit; }
.ltv__rieng { margin: -4px 0 0; font-size: 12px; color: var(--muted); text-align: center; }
@media (max-width: 480px) {
  .ltv__hai { grid-template-columns: 1fr; }
  .ltv__so { grid-template-columns: 1fr 1fr; }
  .ltv__so .ltv__o:first-child { grid-column: 1 / -1; }
  .ltv-dai .btn { width: 100%; justify-content: center; }
}

/* Theo dõi sức khỏe con – Đánh giá chi tiết theo số đo */
.hk-eval__tong { margin: 0 0 12px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--tone-bg); color: var(--ink); font-size: 15px; font-weight: 600; }
.hk-eval__ds { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hk-eval__ds li { display: grid; grid-template-columns: 132px 1fr; gap: 6px 16px; align-items: start; padding: 12px 14px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--tone-ink); }
.hk-eval__dau span { display: block; font-size: 13px; font-weight: 600; color: var(--muted); }
.hk-eval__dau b { display: block; font-size: 19px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.hk-eval__ds p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.hk-eval__so { color: var(--ink); font-weight: 600; }
.hk-eval__da { margin: 12px 0 0; padding: 12px 14px; border-radius: var(--radius-sm); background: #EFFAF8; font-size: 14px; color: var(--ink-2); }
.hk-eval__da b { color: #0F7A70; }
.hk-advice__t { display: block; margin-top: 14px; font-size: 14px; color: var(--ink); }
.hk-advice__t + p { margin-top: 6px; }
@media (max-width: 560px) { .hk-eval__ds li { grid-template-columns: 1fr; } .hk-eval__dau { display: flex; align-items: baseline; justify-content: space-between; } }
/* Đo chỉ số con – ô tích lưu thông tin bé, nhãn kết quả chưa lưu */
.hk-luu { display: flex; gap: 10px; align-items: flex-start; margin-top: 4px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--teal-50, #F1FAF8); border: 1px solid var(--teal-200, #B9E3DC); cursor: pointer; }
.hk-luu input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--teal-600, #0F7A70); }
.hk-luu b { display: block; font-size: 14.5px; color: var(--ink); }
.hk-luu small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.hk-tam { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: #FFF1D9; color: #8A5A00; font-size: 12px; font-weight: 700; vertical-align: 1px; }
/* Tài khoản – thông tin bé (tên + sinh nhật bé lưu vào tài khoản) */
.be-tk .kh-row { margin-bottom: 8px; }
.be-goi { display: block; margin-top: 4px; font-size: 12.5px; color: #0F7A70; line-height: 1.45; }
.be-do { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.be-do__t { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
/* Đo chỉ số con – để lại SĐT nhờ tư vấn (gửi kèm chỉ số bé) */
.hk-tv { margin-top: 24px; padding: 18px 20px; border-radius: var(--radius); background: linear-gradient(135deg, #FFF1F5, #EFFAF8); border: 1px solid #F6D3DE; }
.hk-tv__txt h3 { margin: 0; font-size: 18px; line-height: 1.35; }
.hk-tv__txt p { margin: 6px 0 0; font-size: 14px; color: var(--ink-2); }
.hk-tv__o { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; margin-top: 14px; }
.hk-tv__o .input { min-width: 0; background: #fff; }
.hk-tv .form-error { display: block; margin-top: 6px; }
.hk-tv__luu { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
.hk-tv__xong { display: flex; gap: 12px; align-items: flex-start; }
.hk-tv__xong > svg { flex: none; width: 28px; height: 28px; color: var(--teal-600, #0F7A70); }
.hk-tv__xong b { display: block; font-size: 16px; }
.hk-tv__xong p { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); }
@media (max-width: 720px) { .hk-tv__o { grid-template-columns: 1fr; } .hk-tv__o .btn { width: 100%; justify-content: center; } }
/* Đo chỉ số con – Vận động theo độ tuổi */
.hk-vd__chi { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-top: 12px; }
.hk-vd__chi div { padding: 12px 14px; border-radius: var(--radius-sm); background: #EFFAF8; }
.hk-vd__chi small { display: block; font-size: 12.5px; font-weight: 600; color: #0F7A70; }
.hk-vd__chi b { display: block; margin-top: 2px; font-size: 14.5px; color: var(--ink); line-height: 1.35; }
.hk-vd__them p { margin: 10px 0 0; padding: 12px 14px; border-radius: var(--radius-sm); background: #FFF6E5; color: var(--ink-2); font-size: 14px; border-left: 4px solid #FF9F43; }
.hk-vd__ds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.hk-vd__o { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--radius); background: var(--bg-gray); }
.hk-vd__ic { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #fff; font-size: 24px; }
.hk-vd__o b { display: block; font-size: 15px; }
.hk-vd__o p { margin: 3px 0 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.hk-vd__luu { margin: 12px 0 0; font-size: 14px; color: var(--ink-2); }
.hk-vd__luu::before { content: '💡 '; }
@media (max-width: 640px) { .hk-vd__ds { grid-template-columns: 1fr; } }
/* Đo chỉ số con – Chế độ ăn theo độ tuổi */
.hk-an__t { margin: 18px 0 0; font-size: 15px; }
.hk-an__td { list-style: none; margin: 10px 0 0 6px; padding: 0; border-left: 2px solid #CDEDE7; }
.hk-an__td li { position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 10px; padding: 6px 0 6px 16px; }
.hk-an__td li::before { content: ''; position: absolute; left: -6px; top: 12px; width: 10px; height: 10px; border-radius: 50%; background: #3DBDB1; border: 2px solid #fff; }
.hk-an__td span { font-size: 13px; font-weight: 700; color: #0F7A70; padding-top: 1px; }
.hk-an__td p { margin: 0; font-size: 14px; color: var(--ink); }
.hk-an__tranh { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.hk-an__tranh li { padding: 6px 12px; border-radius: 999px; background: #FDE8E7; color: #B3261E; font-size: 13px; font-weight: 600; }
.hk-an__tranh li::before { content: '✕ '; }

/* Giới tính (trang tài khoản) */
.gt-chon { display: flex; gap: 8px; flex-wrap: wrap; }
.gt-chon label { cursor: pointer; }
.gt-chon input { position: absolute; opacity: 0; pointer-events: none; }
.gt-chon span { display: inline-block; padding: 8px 16px; border: 1.5px solid var(--line, #E5E7EB); border-radius: 999px; font-weight: 600; font-size: 14px; background: #fff; }
.gt-chon input:checked + span { border-color: var(--primary, #F0537A); background: #FFF0F4; color: var(--primary, #F0537A); }
.gt-chon input:focus-visible + span { outline: 2px solid var(--primary, #F0537A); outline-offset: 2px; }

/* ===== Giao diện ngày lễ (js/le-hoi.js) – chỉ là lớp trang trí, màu lấy từ --le-1 / --le-2 / --le-chu của chủ đề ===== */
.le-dai { position: relative; z-index: 60; color: var(--le-chu, #fff); background: linear-gradient(90deg, var(--le-1, #E8436E), var(--le-2, #FF8FA8) 50%, var(--le-1, #E8436E)); background-size: 200% 100%; animation: leDai 8s linear infinite; }
.le-dai__in { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 44px; color: inherit; text-decoration: none; font-size: 13.5px; font-weight: 600; text-align: center; line-height: 1.35; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.le-dai__in b { white-space: nowrap; background: #fff; color: var(--le-1, #C2245A); padding: 3px 10px; border-radius: 999px; font-size: 12.5px; text-shadow: none; }
.le-dai__st { font-size: 18px; display: inline-block; animation: leLac 2.4s ease-in-out infinite; }
.le-dai button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.25); border: 0; color: inherit; width: 26px; height: 26px; border-radius: 50%; font-size: 18px; line-height: 1; cursor: pointer; }
@media (max-width: 600px) { .le-dai__in { font-size: 12.5px; padding: 7px 38px 7px 10px; flex-wrap: wrap; gap: 4px 8px; } }
@keyframes leDai { to { background-position: -200% 0; } }
@keyframes leLac { 0%, 100% { transform: rotate(-12deg); } 50% { transform: rotate(12deg) scale(1.1); } }
.le-on .site-header, .le-on header.header { box-shadow: inset 0 -3px 0 var(--le-2, transparent); }
.le-hoa { position: fixed; inset: 0; pointer-events: none; z-index: 55; overflow: hidden; contain: strict; }
.le-hoa i { position: absolute; top: -40px; font-style: normal; opacity: .62; animation-name: leRoi, leDua; animation-timing-function: linear, ease-in-out; will-change: transform; }
.le-hoa.is-dung i { animation-play-state: paused; }
.le-hoa--tuyet i { color: #fff; text-shadow: 0 0 3px rgba(80,120,160,.6); opacity: .9; }
.le-hoa--bong-bay i, .le-hoa--den-long i { animation-name: leBay, leDua; top: auto; bottom: -50px; }
/* Ngày lễ trang trọng: sao vàng mờ nhẹ, không xoay – giữ sự nghiêm trang */
.le-hoa--sao-vang i, .le-hoa--am-ap i { animation-name: leRoiThang, leDua; opacity: .5; }
.le-hoa--the-gia i { opacity: .8; }
@keyframes leRoiThang { 0% { transform: translateY(-40px) rotate(0); } 100% { transform: translateY(110vh) rotate(60deg); } }
@keyframes leRoi { 0% { transform: translateY(-40px) rotate(0); } 100% { transform: translateY(110vh) rotate(220deg); } }
@keyframes leBay { 0% { transform: translateY(0); } 100% { transform: translateY(-115vh); } }
@keyframes leDua { 0%, 100% { margin-left: -9px; } 50% { margin-left: 9px; } }
@media (prefers-reduced-motion: reduce) { .le-dai, .le-dai__st { animation: none; } .le-hoa { display: none; } }
.navbar__link--sk { color: #E8436E !important; font-weight: 800; }
.sk-tabs--2010 .sk-tabs__sk b { background: linear-gradient(90deg, #E8436E, #FF8FA8); color: #fff; }
.sk-tabs--2010 .sk-tabs__sk small { color: #C2245A; }
.sk--2010 { background: radial-gradient(60% 300px at 15% 0, #FFE1EA, transparent), radial-gradient(60% 300px at 90% 10%, #FFF0D9, transparent), linear-gradient(180deg, #FFF0F4, #FFF8FA 700px); }
.sk--2010 .sk-head { background: radial-gradient(120% 90% at 85% 20%, #FF9BB5 0%, #F0537A 38%, #C2245A 75%, #9C1A48 100%); position: relative; overflow: hidden; }
.sk--2010 .sk-head::after { content: '🌷 🌸 💐 🌷 🌸'; position: absolute; right: -10px; bottom: -6px; font-size: 44px; opacity: .22; letter-spacing: 8px; pointer-events: none; }
.sk--2010 .sk-head__poster img { box-shadow: 0 18px 40px rgba(120, 10, 50, .4); }
.sk--2010 .sk-head__trang { background: #fff; color: #C2245A; border-color: #FFD3DF; }
.sk--2010 .sk-head h1 { background: linear-gradient(180deg, #fff 0%, #FFF3C4 45%, #FFD36B 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sk--2010 .sk-dem__so span { color: #9C1A48; box-shadow: 0 6px 14px rgba(120, 10, 50, .25); }
.sk-head__chuc { margin: 0 0 12px; font-size: 15px; line-height: 1.65; background: rgba(255,255,255,.14); border-left: 3px solid #FFD36B; padding: 10px 14px; border-radius: 0 12px 12px 0; }
.sk--2010 .sk-khoi { border-top-color: #F0537A; box-shadow: 0 8px 24px rgba(194, 36, 90, .08); }
.sk--2010 .sk-khoi--1 { border-top-color: #FF9F43; } .sk--2010 .sk-khoi--2 { border-top-color: #12B5A0; }
.sk--2010 .sk-khoi__nhan span { background: #F0537A; }
.sk--2010 .sk-khoi__nhan em { background: #FFB020; color: #5A3600; }
.sk--2010 .sk-khoi h2, .sk--2010 .sk-goiy h2, .sk--2010 .sk-khoi__dong li { color: #7E1C45; }
.sk--2010 .sk-khoi__noibat { color: #E8436E; }
.sk--2010 .sk-khoi__dong li::before { background: #F0537A; content: "🌷"; background: none; font-size: 15px; }
.sk-khoi--chu { background: linear-gradient(135deg, #FFF4F7, #fff); }
@media (min-width: 992px) { .sk-khoi.sk-khoi--chu { display: block; } }
.sk-khoi__nut { margin-top: 10px; }

/* Băng chuyền trang chủ: khung theo đúng tỉ lệ ảnh banner (PC 1760×760, điện thoại 1200×900) → ảnh phủ kín, không viền.
   Banner chữ co giãn theo bề rộng khung (đơn vị cqw) để luôn vừa khung. */
.carousel { aspect-ratio: 1200 / 900; container-type: inline-size; }
@media (min-width: 768px) { .carousel { aspect-ratio: 1760 / 760; } }
.carousel__track { height: 100%; }
.carousel .slide { min-height: 0; height: 100%; }
.slide--anh { background: #fff; }
.slide--anh img { object-fit: cover; }
.slide:not(.slide--anh) { padding: 4.5cqw 5cqw 7cqw; }
.slide:not(.slide--anh) h2 { font-size: max(17px, 5.6cqw); }
.slide:not(.slide--anh) p { font-size: max(11.5px, 3.3cqw); margin-top: 1.6cqw; line-height: 1.4; }
.slide:not(.slide--anh) .btn { margin-top: 2.6cqw; padding: 1.8cqw 4.4cqw; font-size: max(12px, 3.6cqw); min-height: 0; }
.slide:not(.slide--anh) .slide__badge { margin-bottom: 2cqw; padding: 1cqw 2.6cqw; font-size: max(10px, 2.8cqw); }
.slide__img { width: 24cqw; }
.slide--juice > p { display: none; }
@media (min-width: 768px) {
  .slide:not(.slide--anh) { padding: 3.2cqw 6cqw 2.6cqw; }
  .slide:not(.slide--anh) h2 { font-size: 3.8cqw; }
  .slide:not(.slide--anh) p { font-size: max(12px, 1.55cqw); margin-top: 1cqw; }
  .slide:not(.slide--anh) .btn { margin-top: 1.5cqw; padding: 1cqw 2.6cqw; font-size: max(13px, 1.6cqw); }
  .slide:not(.slide--anh) .slide__badge { margin-bottom: 1.1cqw; padding: .5cqw 1.4cqw; font-size: max(11px, 1.25cqw); }
  .slide__img { width: 28cqw; }
}
@media (min-width: 1200px) { .slide--juice > p { display: block; } }

/* iPhone: thanh menu dưới + nút nổi luôn bám đáy màn hình thật (--vv-lech do js/app.js tính); đang gõ chữ thì ẩn */
.bottom-nav, .floating { transform: translateY(var(--vv-lech, 0px)); }
@media (max-width: 991px) { body.dang-go .bottom-nav, body.dang-go .floating { display: none; } }

/* Thẻ "Xem tất cả" ở cuối hàng sản phẩm của khối sự kiện */
.sk-khoi__xem{margin-top:8px}
.sk-them{flex:0 0 190px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;
  min-height:220px;padding:18px 14px;border-radius:var(--radius);border:2px dashed var(--primary-100);
  background:var(--primary-50);color:var(--ink);text-align:center;transition:.16s}
.sk-them:hover{border-color:var(--primary);background:#fff;transform:translateY(-2px);box-shadow:var(--shadow-sm)}
.sk-them__ico{font-size:30px;line-height:1}
.sk-them b{font-size:14.5px;font-weight:700;line-height:1.35}
.sk-them small{color:var(--muted);font-size:12.5px;line-height:1.4}
.sk-them__nut{margin-top:4px;font-size:13px;font-weight:700;color:var(--primary)}
@media (max-width:640px){ .sk-them{flex-basis:160px;min-height:200px} }

/* Icon đứng trước nhãn của khối sự kiện */
.sk-khoi__ico{font-style:normal;font-size:16px;line-height:1;margin-right:5px}

/* Tab sự kiện: khối ảnh (ảnh ưu đãi) */
.sk-khoi.sk-khoi--anh { display: block; padding: 0; border-top: 0; background: none; box-shadow: none; text-align: center; }
.sk-khoi--anh img { display: block; width: 100%; max-width: 620px; height: auto; margin: 0 auto; border-radius: 18px; box-shadow: 0 14px 34px rgba(90, 15, 46, .18); }

/* ===== Chat với shop (js/chat.js) ===== */
.post__cta-nut { display: flex; gap: 8px; flex-wrap: wrap; }
.chat-nut { position: fixed; z-index: 58; right: 14px; bottom: calc(var(--bottom-nav-h) + 14px); width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--primary, #F0537A), #FF7FA0); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 10px 26px rgba(240, 83, 122, .45); transform: translateY(var(--vv-lech, 0px)); font: inherit; }
.chat-nut::after { content: ""; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid rgba(240, 83, 122, .45); animation: chatSong 2.4s ease-out infinite; pointer-events: none; }
.chat-nut__chu { display: none; font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.chat-nut b { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #FFB020; color: #3a2a00; font-size: 12px; line-height: 20px; text-align: center; border: 2px solid #fff; }
@keyframes chatSong { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(1.35); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .chat-nut::after { animation: none; display: none; } }
@media (max-width: 991px) { .floating { bottom: calc(var(--bottom-nav-h) + 80px); } body.dang-go .chat-nut { display: none; } }
@media (min-width: 992px) {
  .chat-nut { width: auto; height: 52px; padding: 0 20px 0 16px; border-radius: 999px; right: 24px; bottom: 24px; }
  .chat-nut__chu { display: inline; }
  .floating { bottom: 92px; }
}
.chat-box { position: fixed; z-index: 120; display: flex; flex-direction: column; background: #fff; overflow: hidden;
  inset: 0; opacity: 0; pointer-events: none; transform: translateY(16px); transition: opacity .2s, transform .2s; }
.chat-box.is-mo { opacity: 1; pointer-events: auto; transform: none; }
@media (min-width: 768px) { .chat-box { inset: auto 24px 92px auto; width: 380px; height: min(620px, calc(100vh - 120px)); border-radius: 20px; box-shadow: 0 24px 60px rgba(20, 24, 31, .25); } }
@media (max-width: 767px) { body.chat-dang-mo { overflow: hidden; } body.chat-dang-mo .chat-nut { display: none; } }
.chat-dau { display: flex; align-items: center; gap: 10px; padding: 12px 14px; color: #fff; background: linear-gradient(120deg, #E8436E, #FF7FA0); padding-top: max(12px, env(safe-area-inset-top)); }
.chat-dau img { width: 40px; height: 40px; border-radius: 50%; background: #fff; object-fit: contain; padding: 3px; }
.chat-dau div { flex: 1; min-width: 0; } .chat-dau b { display: block; font-size: 15.5px; }
.chat-dau small { display: flex; align-items: center; gap: 6px; font-size: 12px; opacity: .95; }
.chat-cham { width: 8px; height: 8px; border-radius: 50%; background: #5BE49B; box-shadow: 0 0 0 2px rgba(255,255,255,.4); flex: none; }
.chat-dong { background: rgba(255,255,255,.2); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; }
.chat-tin { flex: 1; overflow-y: auto; padding: 14px 12px; background: #FFF7F9; display: flex; flex-direction: column; gap: 8px; overscroll-behavior: contain; }
.chat-m { display: flex; flex-direction: column; align-items: flex-start; max-width: 84%; gap: 4px; }
.chat-m small { font-size: 11px; color: #9a8f96; padding: 0 6px; }
.chat-m__b { background: #fff; border: 1px solid #F3DCE3; border-radius: 16px 16px 16px 4px; padding: 9px 12px; font-size: 14px; line-height: 1.5; color: #22202A; word-break: break-word; }
.chat-m--toi { align-self: flex-end; align-items: flex-end; }
.chat-m--toi .chat-m__b { background: var(--primary, #F0537A); color: #fff; border-color: transparent; border-radius: 16px 16px 4px 16px; }
.chat-m--ht { align-self: center; max-width: 92%; align-items: center; }
.chat-m--ht .chat-m__b { background: #FFF1D6; border-color: #F5D99A; color: #6b4b00; font-size: 13px; text-align: center; border-radius: 12px; }
.chat-m.is-tam { opacity: .6; }
.chat-dk { display: block; border-radius: 14px; overflow: hidden; max-width: 240px; }
.chat-dk--anh img { display: block; max-width: 240px; max-height: 280px; object-fit: cover; }
.chat-dk--video { max-width: 240px; max-height: 300px; background: #000; }
.chat-dk--sp { display: flex; gap: 10px; background: #fff; border: 1px solid #F3DCE3; padding: 8px; width: 250px; align-items: center; }
.chat-dk--sp img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex: none; }
.chat-dk--sp > div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.chat-sp__ten { font-size: 13px; font-weight: 600; color: #22202A; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.chat-dk--sp b { color: var(--primary, #F0537A); font-size: 14px; } .chat-dk--sp small { font-size: 11.5px; color: #777; }
.chat-sp__mua { margin-top: 4px; align-self: flex-start; border: 0; background: var(--primary, #F0537A); color: #fff; border-radius: 999px; padding: 5px 12px; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.chat-dk--don { background: #fff; border: 1px solid #F3DCE3; padding: 10px 12px; width: 250px; display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; color: #555; }
.chat-dk--don b { color: #22202A; font-size: 13.5px; }
.chat-nhanh { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; margin-top: 4px; }
.chat-nhanh button { border: 1.5px solid #F7B7C7; background: #fff; color: #C2245A; border-radius: 999px; padding: 7px 12px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; text-align: left; }
.chat-nhanh button:hover { background: #FFF0F4; }
.chat-bang { border-top: 1px solid #F1E3E8; background: #fff; max-height: 50%; display: flex; flex-direction: column; }
.chat-bang[hidden] { display: none; }
.chat-bang__dau { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; font-size: 13.5px; }
.chat-bang__dau button { border: 0; background: none; font-size: 20px; cursor: pointer; color: #888; }
.chat-bang input { margin: 0 12px 8px; padding: 8px 12px; border: 1px solid #E5E7EB; border-radius: 999px; font: inherit; font-size: 16px; }
@media (min-width: 768px) { .chat-bang input { font-size: 14px; } }
.chat-bang__ds { overflow-y: auto; padding: 0 12px 10px; display: flex; flex-direction: column; gap: 6px; }
.chat-bang__dong { display: flex; gap: 10px; align-items: center; border: 1px solid #F1E3E8; border-radius: 12px; padding: 6px 8px; }
.chat-bang__dong img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: none; }
.chat-bang__dong > div { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 12.5px; }
.chat-bang__dong b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-bang__dong span { color: var(--primary, #F0537A); font-weight: 700; } .chat-bang__dong small { color: #777; }
.chat-bang__sp { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-bang__gui { border: 0; background: var(--primary, #F0537A); color: #fff; border-radius: 8px; padding: 6px 12px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; flex: none; }
.chat-bang__trong { font-size: 13px; color: #777; padding: 6px 0; }
.chat-cong { display: flex; gap: 6px; padding: 8px 10px 0; background: #fff; border-top: 1px solid #F1E3E8; overflow-x: auto; scrollbar-width: none; }
.chat-cong button { flex: none; border: 1px solid #EEE2E6; background: #FFF8FA; border-radius: 999px; padding: 5px 10px; font: inherit; font-size: 12.5px; font-weight: 600; color: #6E4A57; cursor: pointer; }
.chat-o { display: flex; gap: 8px; align-items: flex-end; padding: 8px 10px; background: #fff; }
.chat-o textarea { flex: 1; resize: none; border: 1px solid #E5E7EB; border-radius: 20px; padding: 9px 14px; font: inherit; font-size: 16px; line-height: 1.4; max-height: 110px; outline: none; }
@media (min-width: 768px) { .chat-o textarea { font-size: 14px; } }
.chat-o textarea:focus { border-color: var(--primary, #F0537A); }
.chat-o button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--primary, #F0537A); color: #fff; cursor: pointer; flex: none; display: inline-flex; align-items: center; justify-content: center; }
.chat-chan { text-align: center; font-size: 12px; color: #888; padding: 0 10px 10px; background: #fff; padding-bottom: max(10px, env(safe-area-inset-bottom)); }
.chat-chan a { color: var(--primary, #F0537A); font-weight: 600; }
