/* =========================================================
   NHÀ MỊ – Storefront
   Tông hồng pastel sáng, nhiều khoảng thở, bóng mềm nhiều lớp,
   một khoảnh khắc chuyển động chính ở hero, còn lại tĩnh lặng.
   ========================================================= */
:root {
  --bg: #fff5f9;
  --surface: #ffffff;
  --surface-2: #fffafc;
  --line: #ffdce8;
  --line-2: #ffebf2;
  --ink: #2f1a26;
  --ink-2: #5e4452;
  --muted: #7d6272;
  --brand: #e0307a;
  --brand-2: #c2185b;
  --brand-3: #ff8fb8;
  --brand-soft: #ffe4ee;
  --brand-grad: linear-gradient(135deg, #f0508f 0%, #d81b6a 100%);
  --mint: #e3f8ec; --mint-ink: #2e8b57;
  --amber: #f2a51a;
  --dark: #3a2733;

  --sh-sm: 0 1px 2px rgba(194, 24, 91, .05);
  --sh-md: 0 2px 4px rgba(194, 24, 91, .04), 0 10px 24px rgba(194, 24, 91, .08);
  --sh-lg: 0 4px 8px rgba(194, 24, 91, .05), 0 24px 56px rgba(194, 24, 91, .14);
  --sh-brand: 0 8px 22px rgba(224, 48, 122, .28);

  --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;
  --f-head: 'Quicksand', 'Be Vietnam Pro', system-ui, sans-serif;
  --f-body: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 1840px; --gutter: 16px; --header-h: 62px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --dur-fast: 160ms; --dur: 260ms; --dur-slow: 520ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); font-size: 15px; line-height: 1.55; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.2; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; -webkit-tap-highlight-color: transparent; }
input, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; margin: 0; padding: 0; }
i, em { font-style: normal; }
svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.muted { color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-sm); }
.hide-mobile { display: none !important; }

/* Ánh sáng nền: hai vầng màu rất nhạt, cố định, không chuyển động */
.glow { position: fixed; z-index: -1; border-radius: 50%; filter: blur(80px); pointer-events: none; opacity: .55; }
.glow--1 { width: 520px; height: 520px; background: #ffd3e3; top: -220px; left: -160px; }
.glow--2 { width: 460px; height: 460px; background: #e9dcff; top: 30vh; right: -220px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: var(--r-pill); font-family: var(--f-head); font-weight: 700; font-size: 14px; line-height: 1; white-space: nowrap; transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur) var(--ease-out), background var(--dur-fast) var(--ease-out), color var(--dur-fast); }
.btn svg { width: 17px; height: 17px; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn:disabled { opacity: .55; cursor: wait; }
.btn--sm { padding: 9px 14px; font-size: 13px; }
.btn--lg { padding: 14px 24px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand-grad); color: #fff; box-shadow: var(--sh-brand); }
.btn--primary:hover { box-shadow: 0 12px 28px rgba(224, 48, 122, .36); transform: translateY(-1px); }
.btn--soft { background: var(--brand-soft); color: var(--brand-2); }
.btn--soft:hover { background: #ffd6e5; }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: var(--brand); }
.btn--white { background: #fff; color: var(--brand-2); box-shadow: var(--sh-md); }

.icon-btn { position: relative; width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--surface); color: var(--brand-2); border: 1px solid var(--line); transition: background var(--dur-fast), box-shadow var(--dur); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--brand-soft); box-shadow: var(--sh-sm); }
.badge { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--r-pill); background: var(--brand); color: #fff; font-family: var(--f-head); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.pop { animation: pop .45s var(--ease-spring); }
@keyframes pop { 0% { transform: scale(1); } 45% { transform: scale(1.22); } 100% { transform: scale(1); } }
.cart-pill { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 15px 0 12px; border-radius: var(--r-pill); background: var(--surface); color: var(--brand-2); border: 1px solid var(--line); font-family: var(--f-head); font-weight: 700; font-size: 15px; box-shadow: var(--sh-sm); transition: background var(--dur-fast), box-shadow var(--dur); }
.cart-pill svg { width: 19px; height: 19px; }
.cart-pill:hover { background: var(--brand-soft); box-shadow: var(--sh-md); }
.link { color: var(--ink-2); font-size: 13px; font-weight: 500; background: linear-gradient(var(--brand), var(--brand)) 0 100% / 0 1px no-repeat; transition: background-size var(--dur) var(--ease-out), color var(--dur-fast); }
.link:hover { color: var(--brand); background-size: 100% 1px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: var(--r-pill); font-size: 13px; font-weight: 600; }
.pill svg { width: 15px; height: 15px; }
.pill--mint { background: var(--mint); color: var(--mint-ink); }
.ic-flame { color: #ff7a45; fill: #ff7a45; }

/* ---------- Announcement + Header ---------- */
.announce { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 16px; background: var(--brand-grad); color: #fff; font-size: 13px; font-weight: 600; text-align: center; }
.announce svg { width: 15px; height: 15px; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 245, 249, .82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); transition: box-shadow var(--dur); }
.header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(194, 24, 91, .06); }
.header__inner { display: flex; align-items: center; gap: 10px; height: var(--header-h); }
.brand { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.1; }
.brand__name { font-family: var(--f-head); font-weight: 700; font-size: 24px; letter-spacing: .02em; text-transform: uppercase; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand__tag { font-size: 10px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--brand); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header__actions { display: flex; align-items: center; gap: 8px; }
.nav { display: none; }
.nav__brand { display: none; }
.nav a { padding: 8px 14px; border-radius: var(--r-pill); font-family: var(--f-head); font-weight: 700; font-size: 14px; color: var(--ink-2); transition: background var(--dur-fast), color var(--dur-fast); }
.nav a:hover { color: var(--brand-2); background: var(--brand-soft); }
.nav a.is-active { color: var(--brand-2); background: var(--surface); box-shadow: var(--sh-sm); }
.nav-overlay { position: fixed; inset: 0; background: rgba(47, 26, 38, .35); z-index: 48; opacity: 0; pointer-events: none; transition: opacity var(--dur); }
.nav-overlay.is-open { opacity: 1; pointer-events: auto; }
@media (max-width: 959px) {
  .nav { position: fixed; top: 0; left: 0; bottom: 0; width: min(280px, 80vw); z-index: 60; display: flex; flex-direction: column; gap: 4px; padding: 22px 16px; background: var(--surface); box-shadow: var(--sh-lg); transform: translateX(-105%); transition: transform var(--dur-slow) var(--ease-out); }
  .nav.is-open { transform: none; }
  .nav__brand { display: block; font-family: var(--f-head); font-weight: 700; font-size: 24px; text-transform: uppercase; color: var(--brand-2); margin: 4px 0 20px 14px; }
  .nav a { font-size: 16px; padding: 12px 14px; border-radius: var(--r-md); }
}

/* ---------- Hero: khoảnh khắc chuyển động chính ---------- */
main { padding-top: 14px; }
.hero { position: relative; display: grid; gap: 22px; padding: 22px 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-md); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(255, 143, 184, .18), transparent 45%), radial-gradient(circle at 10% 90%, rgba(233, 220, 255, .5), transparent 40%); pointer-events: none; }
.hero__text { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.hero__text > * { opacity: 0; animation: rise var(--dur-slow) var(--ease-out) forwards; }
.hero__text > :nth-child(1) { animation-delay: 60ms; }
.hero__text > :nth-child(2) { animation-delay: 140ms; }
.hero__text > :nth-child(3) { animation-delay: 220ms; }
.hero__text > :nth-child(4) { animation-delay: 300ms; }
.hero__text > :nth-child(5) { animation-delay: 380ms; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero__title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: clamp(28px, 6.5vw, 46px); font-weight: 700; letter-spacing: -.025em; color: var(--brand-2); }
.hero__heart { width: .85em; height: .85em; color: var(--brand); fill: var(--brand-3); animation: beat 2.2s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.14); } 28% { transform: scale(1); } }
.hero__sub { margin-top: 8px; font-family: var(--f-head); font-weight: 700; font-size: clamp(17px, 2.6vw, 22px); color: var(--ink); }
.hero__desc { margin-top: 6px; font-size: 15px; color: var(--ink-2); max-width: 44ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hero__visual { position: relative; opacity: 0; animation: rise var(--dur-slow) var(--ease-out) 200ms forwards; }
.hero__frame { border-radius: var(--r-xl); overflow: hidden; border: 5px solid #fff; box-shadow: 0 10px 30px rgba(224, 48, 122, .16), 0 30px 70px rgba(224, 48, 122, .14); aspect-ratio: 1; }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.twinkle { position: absolute; width: 22px; height: 22px; color: #ffd66b; fill: #ffd66b; stroke: none; filter: drop-shadow(0 2px 6px rgba(255, 190, 60, .5)); animation: twinkle 2.8s ease-in-out infinite; }
.t1 { top: -4px; right: 12%; } .t2 { top: 42%; left: -8px; width: 16px; height: 16px; animation-delay: -1.2s; } .t3 { bottom: 10%; right: -6px; width: 18px; height: 18px; animation-delay: -2s; }
@keyframes twinkle { 0%, 100% { transform: scale(.6) rotate(0); opacity: .5; } 50% { transform: scale(1.1) rotate(25deg); opacity: 1; } }
.hero__tag { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); color: var(--brand-2); font-family: var(--f-head); font-weight: 700; font-size: 12px; box-shadow: var(--sh-md); animation: floatY 6s ease-in-out infinite; }
.hero__tag svg { width: 14px; height: 14px; }
.hero__tag--a { top: 10%; left: -6px; } .hero__tag--b { bottom: 14%; right: -6px; animation-delay: -3s; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ---------- Search ---------- */
.search { position: relative; display: flex; align-items: center; margin-top: 14px; }
.search__icon { position: absolute; left: 15px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search input { width: 100%; height: 48px; padding: 0 44px 0 44px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); font-size: 14px; outline: 0; box-shadow: var(--sh-sm); transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search input:focus { border-color: var(--brand-3); box-shadow: 0 0 0 4px var(--brand-soft); }
.search__clear { position: absolute; right: 8px; width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
.search__clear:hover { background: var(--brand-soft); color: var(--brand-2); }
.search__clear svg { width: 16px; height: 16px; }

/* ---------- Sections ---------- */
.section { margin-top: 30px; }
.section__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section__title { display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.section__head .section__title { margin-bottom: 0; }
.section__sub { font-size: 13px; color: var(--ink-2); }

/* Skeleton */
.skel { position: relative; overflow: hidden; background: var(--line-2); border-radius: var(--r-md); }
.skel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); animation: shimmer 1.3s infinite; }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.skel--cat { height: 76px; }
.skel--card { aspect-ratio: 3 / 4; border-radius: var(--r-lg); }

/* ---------- Categories ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 84px; padding: 12px 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--brand-2); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur); }
.cat__ic { width: 38px; height: 38px; border-radius: 12px; background: var(--brand-soft); display: inline-flex; align-items: center; justify-content: center; transition: transform var(--dur) var(--ease-spring); }
.cat__ic svg { width: 19px; height: 19px; stroke-width: 1.9; }
.cat span:last-child { font-size: 13px; font-weight: 600; text-align: center; line-height: 1.2; }
.cat:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--brand-3); }
.cat:hover .cat__ic { transform: scale(1.08) rotate(-6deg); }
.cat.is-active { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

/* ---------- Deal ---------- */
.deal { padding: 16px 14px 10px; background: linear-gradient(160deg, #fff 0%, #fff0f6 100%); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-md); }
.deal__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.deal .section__title { margin-bottom: 2px; }
.countdown { display: inline-flex; align-items: center; gap: 4px; }
.countdown span { font-size: 12px; color: var(--ink-2); margin-right: 4px; }
.countdown b { min-width: 34px; padding: 6px 0; border-radius: 8px; background: var(--brand); color: #fff; font-family: var(--f-head); font-size: 14px; text-align: center; font-variant-numeric: tabular-nums; }
.countdown i { color: var(--brand); font-weight: 700; }
.deal__track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 10px; scrollbar-width: none; }
.deal__track::-webkit-scrollbar { display: none; }
.deal__track .product { flex: 0 0 min(48vw, 210px); scroll-snap-align: start; }

/* ---------- Products ---------- */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px; margin-bottom: 2px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex-shrink: 0; padding: 8px 15px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-family: var(--f-head); font-weight: 700; font-size: 13px; transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), box-shadow var(--dur); }
.tab:hover { color: var(--brand-2); border-color: var(--brand-3); }
.tab.is-active { background: var(--brand-grad); border-color: transparent; color: #fff; box-shadow: var(--sh-brand); }
.result-info { font-size: 12px; color: var(--muted); margin-bottom: 10px; min-height: 1.3em; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

.product { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); animation: fadeUp .45s var(--ease-out) both; animation-delay: var(--delay, 0s); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.product:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.product__media { position: relative; aspect-ratio: 1; cursor: pointer; background: var(--line-2); overflow: hidden; }
.product__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; transition: transform .7s var(--ease-out); }
.product:hover .product__media img { transform: scale(1.05); }
.ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: var(--g, var(--line-2)); color: var(--brand-3); }
.ph svg { width: 34px; height: 34px; stroke-width: 1.5; }
.ph small { font-size: 11px; color: var(--muted); }
.product__tag { position: absolute; top: 9px; left: 9px; z-index: 3; padding: 4px 9px; border-radius: 7px; font-family: var(--f-head); font-weight: 700; font-size: 11px; color: #fff; background: var(--brand); box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.product__tag--new { background: var(--mint-ink); }
.product__tag--hot { background: #ff7a45; }
.product__wish { position: absolute; top: 7px; right: 7px; z-index: 3; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--sh-sm); transition: transform var(--dur) var(--ease-spring); }
.product__wish svg { width: 16px; height: 16px; }
.product__wish:hover { transform: scale(1.1); }
.product__wish.is-on svg { fill: currentColor; }
.product__body { display: flex; flex-direction: column; gap: 5px; padding: 11px 11px 11px; flex: 1; }
.product__name { font-family: var(--f-head); font-weight: 700; font-size: 15px; color: var(--brand-2); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--ink-2); }
.product__price strong { font-family: var(--f-head); font-size: 16px; color: var(--brand); }
.product__price s { font-size: 11px; color: var(--muted); }
.product__add { margin-top: auto; padding-top: 6px; }
.product__add .btn { width: 100%; padding: 10px; border-radius: var(--r-sm); font-size: 13px; }
.product__add .btn.is-added { background: var(--mint-ink); }
.empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 34px 16px; text-align: center; color: var(--ink-2); }
.empty svg { width: 40px; height: 40px; color: var(--brand-3); stroke-width: 1.5; }
#loadMoreWrap { margin-top: 18px; }

/* ---------- Highlights / Reviews / Contact ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.why__item { display: flex; align-items: center; gap: 10px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.why__item svg { width: 36px; height: 36px; padding: 8px; border-radius: 11px; background: var(--brand-soft); color: var(--brand-2); stroke-width: 1.8; }
.why__item b { display: block; font-family: var(--f-head); font-size: 13px; color: var(--ink); }
.why__item span { font-size: 11px; color: var(--muted); }
.reviews { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 10px; scrollbar-width: none; }
.reviews::-webkit-scrollbar { display: none; }
.review { flex: 0 0 min(78vw, 290px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.stars { display: flex; gap: 2px; color: var(--amber); }
.stars svg { width: 14px; height: 14px; fill: currentColor; }
.stars svg.off { fill: none; color: var(--line); }
.review p { font-size: 13px; color: var(--ink-2); flex: 1; }
.review__user { display: flex; align-items: center; gap: 8px; }
.review__user b { display: block; font-family: var(--f-head); font-size: 13px; }
.review__user small { color: var(--muted); font-size: 11px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-2); display: inline-flex; align-items: center; justify-content: center; font-family: var(--f-head); font-weight: 700; font-size: 13px; }
.contact { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 22px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-md); }
.contact::before { content: ''; position: absolute; width: 220px; height: 220px; right: -80px; top: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(255,143,184,.25), transparent 70%); pointer-events: none; }
.contact .section__title { margin-bottom: 4px; }
.contact__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.contact__btns .btn { flex: 1 1 auto; }

/* ---------- Footer ---------- */
.footer { margin-top: 34px; padding: 24px 0 96px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 16px; }
.footer__grid > div:first-child { grid-column: 1 / -1; }
.brand--footer { flex: 0 0 auto; }
.footer__desc { margin: 8px 0 10px; font-size: 13px; color: var(--ink-2); }
.socials { display: flex; gap: 8px; }
.socials a { width: 36px; height: 36px; border-radius: 11px; background: var(--surface); border: 1px solid var(--line); color: var(--brand-2); display: inline-flex; align-items: center; justify-content: center; font-family: var(--f-head); font-weight: 700; font-size: 11px; transition: background var(--dur-fast), color var(--dur-fast), transform var(--dur); }
.socials a svg { width: 16px; height: 16px; }
.socials a:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); }
.footer h4 { font-size: 14px; color: var(--brand-2); margin-bottom: 8px; }
.footer li { font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.footer li a:hover { color: var(--brand); }
.footer__contact li { display: flex; align-items: center; gap: 6px; }
.footer__contact svg { width: 14px; height: 14px; color: var(--brand); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin-top: 18px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--ink-2); }

/* ---------- Bottom nav ---------- */
.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.bottom-nav a, .bottom-nav button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 2px; font-size: 10px; font-weight: 600; color: var(--muted); transition: color var(--dur-fast); }
.bottom-nav svg { width: 22px; height: 22px; stroke-width: 1.8; }
.bottom-nav a.is-active { color: var(--brand); }
.bn-badge { position: relative; display: inline-flex; }
.bn-badge em { position: absolute; top: -6px; right: -10px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: var(--r-pill); background: var(--brand); color: #fff; font-family: var(--f-head); font-size: 10px; font-weight: 700; line-height: 17px; text-align: center; }

/* ---------- Overlays ---------- */
.overlay { position: fixed; inset: 0; background: rgba(47,26,38,.42); backdrop-filter: blur(2px); z-index: 70; opacity: 0; pointer-events: none; transition: opacity var(--dur); }
.overlay.is-open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 100vw); z-index: 80; background: var(--bg); display: flex; flex-direction: column; box-shadow: var(--sh-lg); transform: translateX(105%); transition: transform var(--dur-slow) var(--ease-out); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.drawer__head h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; color: var(--brand-2); }
.drawer__head .count { background: var(--brand-soft); color: var(--brand-2); font-size: 12px; padding: 2px 8px; border-radius: var(--r-pill); }
.drawer__ship { padding: 12px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.ship__text { font-size: 13px; color: var(--ink-2); margin-bottom: 8px; }
.ship__text strong { color: var(--brand); }
.ship__bar { height: 8px; border-radius: var(--r-pill); background: var(--brand-soft); overflow: hidden; }
.ship__bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--brand-grad); transition: width var(--dur-slow) var(--ease-out); }
.drawer__body { flex: 1; overflow-y: auto; padding: 12px 16px; display: flex; flex-direction: column; gap: 10px; }
.cart-item { display: grid; grid-template-columns: 68px 1fr auto; gap: 10px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); animation: fadeUp .3s var(--ease-out); }
.cart-item__img { position: relative; width: 68px; height: 68px; border-radius: var(--r-sm); overflow: hidden; background: var(--line-2); }
.cart-item__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cart-item__img .ph svg { width: 22px; height: 22px; } .cart-item__img .ph small { display: none; }
.cart-item__name { font-family: var(--f-head); font-weight: 700; font-size: 13px; color: var(--brand-2); line-height: 1.3; }
.cart-item__opt { font-size: 11px; color: var(--muted); }
.cart-item__price { font-size: 13px; color: var(--brand); font-weight: 600; margin-top: 2px; }
.cart-item__qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; }
.qty-btn { width: 26px; height: 26px; border-radius: 8px; background: var(--brand-soft); color: var(--brand-2); display: inline-flex; align-items: center; justify-content: center; transition: background var(--dur-fast); }
.qty-btn svg { width: 13px; height: 13px; }
.qty-btn:hover { background: #ffd6e5; }
.cart-item__qty output { min-width: 22px; text-align: center; font-weight: 700; font-family: var(--f-head); font-size: 13px; }
.cart-item__del { align-self: start; color: var(--muted); width: 30px; height: 30px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; transition: background var(--dur-fast), color var(--dur-fast); }
.cart-item__del:hover { background: var(--brand-soft); color: var(--brand-2); }
.cart-item__del svg { width: 15px; height: 15px; }
.drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; color: var(--ink-2); padding: 20px; font-size: 14px; }
.drawer__empty svg { width: 44px; height: 44px; color: var(--brand-3); stroke-width: 1.5; }
.drawer__foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.drawer__foot .row { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); }
.drawer__foot .row--total { font-size: 15px; color: var(--ink); padding-top: 6px; border-top: 1px dashed var(--line); }
.drawer__foot .row--total strong { font-family: var(--f-head); font-size: 18px; color: var(--brand); }
.drawer__foot .btn { margin-top: 6px; }
.drawer__foot small { font-size: 11px; }

.modal { position: fixed; z-index: 85; left: 50%; top: 50%; width: min(820px, calc(100vw - 24px)); max-height: calc(100vh - 24px); background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--sh-lg); overflow: auto; transform: translate(-50%, -50%) scale(.96); opacity: 0; pointer-events: none; transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast); }
.modal.is-open { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }
.modal--sm { width: min(480px, calc(100vw - 24px)); }
.modal__close { position: absolute; top: 10px; right: 10px; z-index: 5; }
.modal__body { display: grid; grid-template-columns: 1fr; }
.modal__media { position: relative; aspect-ratio: 1; background: var(--line-2); overflow: hidden; }
.modal__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal__media .ph svg { width: 48px; height: 48px; }
.modal__info { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 10px; }
.modal__cat { font-size: 12px; font-weight: 600; color: var(--muted); }
.modal__info h3 { font-size: 21px; color: var(--brand-2); letter-spacing: -.01em; }
.modal__info .product__price strong { font-size: 22px; }
.modal__desc { color: var(--ink-2); font-size: 13.5px; white-space: pre-line; }
.modal__opts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.swatch { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; transition: transform var(--dur-fast), box-shadow var(--dur-fast); }
.swatch:hover, .swatch.is-on { transform: scale(1.12); box-shadow: 0 0 0 2px var(--brand); }
.swatch--text { width: auto; height: auto; border-radius: var(--r-pill); padding: 5px 11px; font-size: 12px; font-weight: 600; background: var(--surface); color: var(--ink-2); }
.swatch--text.is-on { background: var(--brand-soft); color: var(--brand-2); transform: none; }
.modal__actions { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.modal__actions .cart-item__qty { margin: 0; gap: 6px; background: var(--bg); padding: 5px 6px; border-radius: var(--r-pill); border: 1px solid var(--line); }
.modal__actions .btn { flex: 1; }
.modal__perks { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--ink-2); padding-top: 10px; border-top: 1px dashed var(--line); }
.modal__perks span { display: inline-flex; align-items: center; gap: 4px; }
.modal__perks svg { width: 14px; height: 14px; color: var(--mint-ink); }

/* ---------- Checkout ---------- */
.checkout { display: flex; flex-direction: column; gap: 10px; padding: 22px 18px 20px; }
.checkout h3 { display: flex; align-items: center; gap: 8px; font-size: 18px; color: var(--brand-2); padding-right: 36px; }
.checkout__hint { font-size: 13px; color: var(--ink-2); }
.checkout label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.checkout input, .checkout textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); font-size: 14px; font-weight: 400; color: var(--ink); outline: 0; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.checkout input:focus, .checkout textarea:focus { border-color: var(--brand-3); box-shadow: 0 0 0 3px var(--brand-soft); background: #fff; }
.checkout textarea { resize: vertical; font-family: inherit; }
.checkout__summary { font-size: 13px; color: var(--ink-2); line-height: 1.6; padding: 10px 12px; background: var(--bg); border: 1px dashed var(--line); border-radius: var(--r-sm); }
.checkout__actions { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.checkout__actions .btn { flex: 1 1 auto; }
.checkout__err { font-size: 13px; color: #d32f2f; }
.checkout--done { align-items: center; text-align: center; }
.checkout__ok { width: 52px; height: 52px; color: var(--mint-ink); stroke-width: 1.6; animation: pop .6s var(--ease-spring); }
.checkout--done textarea { font-family: var(--f-body); font-size: 12px; line-height: 1.5; text-align: left; }

/* ---------- Toast / totop ---------- */
.toast { position: fixed; left: 50%; bottom: 84px; z-index: 90; transform: translate(-50%, 16px); display: flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: var(--r-pill); background: var(--dark); color: #fff; font-family: var(--f-head); font-weight: 600; font-size: 13px; box-shadow: var(--sh-lg); opacity: 0; pointer-events: none; transition: opacity var(--dur), transform var(--dur) var(--ease-out); max-width: calc(100vw - 32px); }
.toast svg { width: 17px; height: 17px; color: #7ef0c0; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.totop { position: fixed; right: 14px; bottom: 84px; z-index: 40; width: 42px; height: 42px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--brand-2); box-shadow: var(--sh-md); display: inline-flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity var(--dur), transform var(--dur) var(--ease-out); }
.totop.is-show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  body { font-size: 16px; }
  .hide-mobile { display: revert !important; }
  .hero { padding: 30px 28px; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 28px; }
  .hero__visual { max-width: 420px; justify-self: end; width: 100%; }
  .cats { grid-template-columns: repeat(6, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .why { grid-template-columns: repeat(4, 1fr); }
  .why__item { flex-direction: column; align-items: flex-start; padding: 16px; }
  .contact { flex-direction: row; align-items: center; justify-content: space-between; padding: 26px 28px; }
  .contact__btns .btn { flex: 0 0 auto; }
  .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: auto; }
  .footer { padding-bottom: 28px; }
  .modal__body { grid-template-columns: 1fr 1fr; }
  .modal__media { aspect-ratio: auto; min-height: 100%; }
  .modal__info { padding: 28px 26px; justify-content: center; }
  .toast, .totop { bottom: 24px; }
  .section__title { font-size: 21px; }
  .section { margin-top: 40px; }
}
@media (min-width: 960px) {
  :root { --header-h: 70px; }
  .hide-desktop { display: none !important; }
  .brand { flex: 0 0 auto; }
  .nav { display: flex; flex: 1; justify-content: center; gap: 2px; }
  main { padding-top: 20px; }
  .hero { padding: 44px 48px; gap: 40px; }
  .hero__visual { max-width: 440px; }
  .grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .deal__track .product { flex-basis: 230px; }
  .reviews { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; }
  .review { flex: auto; }
  .section { margin-top: 48px; }
  :root { --gutter: 32px; }
}
@media (min-width: 1280px) {
  :root { --gutter: clamp(32px, 4vw, 72px); }
  .hero { padding: 56px 72px; grid-template-columns: 1.1fr 1fr; }
  .hero__visual { max-width: 560px; }
  .hero__title { font-size: clamp(46px, 3.6vw, 60px); }
  .grid { grid-template-columns: repeat(5, 1fr); gap: 20px; }
}
@media (min-width: 1680px) {
  .grid { grid-template-columns: repeat(6, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero__text > *, .hero__visual { opacity: 1; }
}

/* =========================================================
   LẤP LÁNH TINH TẾ (v4, 2026-12-01) – sau phản biện UI:
   chỉ 3 chuyển động lặp ở hero (vệt sáng thưa trên ảnh, vài sao quanh ảnh, tim đập),
   còn lại tĩnh; hover gọn; ưu tiên cuộn mượt trên điện thoại.
   ========================================================= */
:root {
  --shine: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.6) 45%, rgba(255,255,255,.85) 50%, rgba(255,255,255,.6) 55%, transparent 80%);
  --star: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  --gold: #ffd66b;
}
@keyframes sweep { 0% { transform: translateX(-110%); } 30%, 100% { transform: translateX(110%); } }

/* Khoảng cách dưới header (main cũng là .container nên phải tăng độ ưu tiên) */
main.container { padding-top: 16px; }

/* Tên shop + slogan: gradient tĩnh, slogan đủ chỗ cho dấu tiếng Việt in hoa */
.brand__name { line-height: 1.25; padding-bottom: .06em; }
.brand__tag { font-size: 11px; color: var(--brand-2); line-height: 1.6; padding-top: 2px; margin-top: -1px; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(135deg, #fff 0%, #fff8fb 60%, #fbf4ff 100%); gap: 16px; padding: 18px 16px; }
.shine-text { display: inline-block; padding: .06em 0 .12em; background: linear-gradient(100deg, var(--brand-2), var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__heart { animation-duration: 3.5s; }
.pill--glow { background: linear-gradient(120deg, #ffe4ee, #fff3d9 55%, #f1e8ff); color: var(--brand-2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), 0 4px 14px rgba(224,48,122,.10); }
.pill--glow svg { color: #d99a00; }
.hero__tag { animation: none; }

/* Khung ảnh: viền trắng + một vệt sáng thưa (chuyển động chính) */
.hero__frame { position: relative; border: 4px solid #fff; box-shadow: 0 8px 24px rgba(224,48,122,.12), 0 28px 60px rgba(224,48,122,.12); aspect-ratio: 4 / 3; }
.hero__frame::after { content: ''; position: absolute; inset: 0; background: var(--shine); opacity: .5; transform: translateX(-110%); animation: sweep 7.5s ease-in-out 1.5s infinite; pointer-events: none; }

/* Vài ngôi sao quanh ảnh (không phủ lên chữ) */
.hero__sparkles { position: absolute; inset: -18px; pointer-events: none; z-index: 2; }
.spk { position: absolute; width: var(--s); height: var(--s); background: var(--c); clip-path: var(--star); opacity: 0; animation: spkTwinkle var(--t, 3.6s) ease-in-out var(--d, 0s) infinite; }
@keyframes spkTwinkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }

/* "Món xinh mới về": giữ sẵn chỗ để hero không nhảy khi dữ liệu về */
.hero__new { display: none; flex-direction: column; gap: 8px; margin-top: 22px; }
.hero__text > :nth-child(6) { animation-delay: 460ms; }
.hero__new-label { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-head); font-weight: 700; font-size: 13px; color: var(--ink-2); }
.hero__new-label svg { width: 15px; height: 15px; color: #d99a00; }
.hero__thumbs { display: flex; gap: 10px; }
.hero__thumb, .hero__thumbs .skel { width: 74px; height: 74px; border-radius: 16px; flex-shrink: 0; }
.hero__thumb { position: relative; overflow: hidden; border: 3px solid #fff; box-shadow: var(--sh-md); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur); }
.hero__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Nút chính: vệt sáng chỉ khi hover */
.btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--shine); opacity: .55; transform: translateX(-110%); }
.btn--soft { box-shadow: inset 0 0 0 1px rgba(224,48,122,.08); }

/* Tiêu đề section: to hơn, magenta, ngôi sao nhũ tĩnh */
.section__title { font-size: clamp(19px, 1.6vw, 26px); color: var(--brand-2); margin-bottom: 14px; }
.section__title::before { content: ''; width: 15px; height: 15px; flex-shrink: 0; background: linear-gradient(135deg, var(--gold), #ff8fb8); clip-path: var(--star); }
.deal .section__title::before { display: none; }
.section__head .link { color: var(--brand-2); font-weight: 600; font-size: 14px; }

/* Danh mục: nền pastel đa sắc rất nhạt, icon thống nhất màu thương hiệu */
.cats .cat:nth-child(6n+1) .cat__ic { background: #ffe9f1; }
.cats .cat:nth-child(6n+2) .cat__ic { background: #f4eeff; }
.cats .cat:nth-child(6n+3) .cat__ic { background: #fff0e7; }
.cats .cat:nth-child(6n+4) .cat__ic { background: #fff8de; }
.cats .cat:nth-child(6n+5) .cat__ic { background: #eaf5ff; }
.cats .cat:nth-child(6n+6) .cat__ic { background: #e9f9f0; }

/* ---------- Card sản phẩm ---------- */
.product__media { aspect-ratio: 4 / 5; }
.product__name { min-height: 2.6em; }
.product__price { font-size: 12px; }
.product__price .muted { color: var(--muted); }
.product__add .btn { padding: 9px; font-size: 12.5px; border-radius: 12px; }
.product__wish { width: 38px; height: 38px; top: 6px; right: 6px; }
.product__wish svg { width: 17px; height: 17px; }
.product__wish.is-on { color: #fff; background: var(--brand-grad); }

/* Hover chỉ trên thiết bị có chuột (điện thoại không bị "dính" trạng thái hover) */
.product:hover, .cat:hover { transform: none; box-shadow: var(--sh-sm); }
.product:hover .product__media img { transform: none; }
.cat:hover .cat__ic { transform: none; }
@media (hover: hover) {
  .product:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: #ffc6dc; }
  .product:hover .product__media img { transform: scale(1.04); }
  .cat:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
  .btn--primary:hover::after { animation: sweep .9s ease-out; }
  .hero__thumb:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(224,48,122,.2); }
}

/* ---------- Vùng chạm ---------- */
.qty-btn { position: relative; width: 32px; height: 32px; }
.qty-btn::after { content: ''; position: absolute; inset: -4px; }
.cart-item__del { width: 38px; height: 38px; }
.search__clear { width: 40px; height: 40px; right: 4px; }

/* ---------- Hiệu năng cuộn ---------- */
.glow { filter: none; opacity: .7; }
.glow--1 { background: radial-gradient(circle, #ffd3e3 0%, transparent 68%); }
.glow--2 { background: radial-gradient(circle, #ece2ff 0%, transparent 68%); }
.bottom-nav { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* Hạt sao khi thêm giỏ / yêu thích */
.spk-fly { position: fixed; z-index: 120; pointer-events: none; clip-path: var(--star); transform: translate(-50%,-50%); }

/* Hiện dần khi cuộn: nhẹ và nhanh */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease-out), transform .4s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 639px) {
  .hero__desc, .hero__tag { display: none; }
  .hero__cta { margin-top: 16px; }
  .hero__cta .btn--lg { padding: 13px 20px; }
}
@media (min-width: 640px) {
  .hero { padding: 30px 28px; gap: 28px; }
  .hero__new { display: flex; min-height: 104px; }
}
@media (min-width: 960px) {
  main.container { padding-top: 24px; }
  .hero { padding: 40px 48px; gap: 40px; }
  .cats { gap: 12px; }
  .cat { flex-direction: row; justify-content: flex-start; gap: 12px; min-height: 64px; padding: 12px 16px; }
  .cat span:last-child { text-align: left; font-size: 14px; }
}
@media (min-width: 1280px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 40px clamp(48px, 5vw, 96px); gap: 48px; }
  .hero__visual { max-width: 660px; }
  .hero__frame { aspect-ratio: 5 / 4; }
  .hero__thumb, .hero__thumbs .skel { width: 84px; height: 84px; border-radius: 18px; }
  .hero__new { min-height: 114px; }
}
@media (prefers-reduced-motion: reduce) {
  .spk { opacity: .7; }
  .reveal { opacity: 1; transform: none; }
}
.result-info:empty { display: none; }

/* ---------- Thanh toán / chuyển khoản / tồn kho (2026-12-02) ---------- */
.pay { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.pay legend { font-size: 12px; font-weight: 600; color: var(--ink-2); margin-bottom: 4px; padding: 0; }
.pay__opt { display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 10px !important; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); cursor: pointer; transition: border-color var(--dur-fast), background var(--dur-fast); }
.pay__opt input { width: 18px !important; height: 18px; margin: 1px 0 0; padding: 0 !important; accent-color: var(--brand); flex-shrink: 0; }
.pay__opt span { display: flex; flex-direction: column; gap: 1px; }
.pay__opt b { font-size: 13.5px; color: var(--ink); }
.pay__opt small { font-size: 12px; font-weight: 400; color: var(--muted); }
.pay__opt:has(input:checked) { border-color: var(--brand-3); background: #fff; box-shadow: 0 0 0 3px var(--brand-soft); }
.checkout__policies { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--ink-2); }
.checkout__policies li { display: inline-flex; align-items: center; gap: 5px; }
.checkout__policies svg { width: 14px; height: 14px; color: var(--mint-ink); }
.bank { width: 100%; text-align: left; display: flex; flex-direction: column; gap: 6px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg); }
.bank h4 { display: flex; align-items: center; gap: 6px; font-size: 15px; color: var(--brand-2); margin-bottom: 2px; }
.bank__qr { align-self: center; width: 220px; height: 220px; border-radius: 12px; background: #fff; border: 1px solid var(--line); margin: 4px 0 6px; }
.bank__row { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 4px 0; border-bottom: 1px dashed var(--line); }
.bank__row span { color: var(--muted); min-width: 96px; }
.bank__row b { flex: 1; font-family: var(--f-head); color: var(--ink); word-break: break-all; }
.bank__copy { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: var(--brand-2); background: #fff; border: 1px solid var(--line); }
.bank__copy svg { width: 15px; height: 15px; }
.bank__note { font-size: 12px; color: var(--ink-2); margin-top: 4px; }
.stock-low { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; padding: 4px 10px; border-radius: var(--r-pill); background: #fff1e8; color: #c2410c; font-size: 12px; font-weight: 600; }
.stock-low svg { width: 14px; height: 14px; }
