/* ============================================================
   VITATOP — Top TPCN đáng mua (trang độc lập)
   Tông sức khỏe: xanh ngọc y tế + vàng đồng hoàn tiền (chuẩn hệ thống)
   ============================================================ */
:root {
  --primary: #0E7C66;
  --primary-dark: #0A5C4C;
  --primary-ink: #073B31;
  --accent-soft: #E8F5F1;
  --gold: #D4A64A;
  --gold-ink: #4F3A10;
  --danger: #C2452D;
  --danger-soft: #F8E7E2;
  --muted-bg: #F3F8F6;
  --border: #E2EDE9;
  --text: #1E2B27;
  --text-muted: #749087;
  --bg: #FBFDFC;
  --card: #ffffff;
  --shadow-sm: 0 2px 10px rgba(14, 124, 102, .06);
  --shadow-md: 0 12px 32px rgba(7, 59, 49, .12);
  --shadow-lg: 0 28px 70px rgba(7, 59, 49, .22);
  --r-lg: 20px;
  --r-md: 14px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg); color: var(--text);
  font-size: 15px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(251, 253, 252, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: .5px solid var(--border);
}
.header-in { display: flex; align-items: center; gap: 26px; height: 62px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; color: var(--primary-ink); }
.logo i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; font-size: 19px; }
.logo b { color: var(--primary); }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { font-size: 13.5px; font-weight: 500; color: var(--text-muted); padding: 8px 13px; border-radius: 999px; transition: color .25s, background .25s; }
.main-nav a:hover { color: var(--primary); background: var(--accent-soft); }
.header-cta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700;
  color: #fff; background: linear-gradient(120deg, var(--primary), var(--primary-dark));
  padding: 9px 16px; border-radius: 999px; transition: transform .25s var(--ease), box-shadow .3s; }
.header-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(14, 124, 102, .3); }
@media (max-width: 760px) { .main-nav { display: none; } .header-cta { margin-left: auto; } }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden; text-align: center;
  padding: 58px 0 66px;
  background:
    radial-gradient(720px 340px at 12% -10%, rgba(14, 124, 102, .13), transparent 62%),
    radial-gradient(640px 320px at 88% -6%, rgba(212, 166, 74, .14), transparent 60%),
    linear-gradient(180deg, #F1FAF7, var(--bg));
}
.hero-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600;
  color: var(--primary-dark); background: #fff; border: .5px solid var(--border);
  padding: 7px 15px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.hero-badge i { color: var(--gold); }
.hero h1 { font-size: clamp(27px, 4.6vw, 44px); line-height: 1.2; font-weight: 800; letter-spacing: -.5px;
  color: var(--primary-ink); margin: 18px auto 12px; max-width: 780px; }
.hero h1 em { font-style: normal; color: var(--primary);
  background: linear-gradient(120deg, var(--primary), #17a184); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { max-width: 640px; margin: 0 auto; color: var(--text-muted); font-size: 15.5px; }
.hero-sub b { color: var(--text); }

/* ---------- Hiệu ứng 3D: sản phẩm nổi quanh hero ---------- */
.hero .container { position: relative; z-index: 2; }
.hero-float { position: absolute; inset: 0; z-index: 1; perspective: 1200px; transform-style: preserve-3d; pointer-events: none; }
.hf-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45; }
.hf-orb.o1 { width: 320px; height: 320px; left: -90px; top: 28%; background: rgba(14, 124, 102, .35); }
.hf-orb.o2 { width: 280px; height: 280px; right: -70px; top: 10%; background: rgba(212, 166, 74, .42); }
.hf-card { position: absolute; left: var(--x); top: var(--y); width: var(--s);
  pointer-events: auto; cursor: pointer; border: none; background: transparent; padding: 0;
  transform-style: preserve-3d; will-change: transform; }
.hf-bob { display: block; transform-style: preserve-3d;
  animation: hfBob var(--bob, 6s) ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes hfBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }
.hf-inner { position: relative; display: block; background: #fff; border-radius: 18px;
  padding: 8px 8px 10px; border: .5px solid var(--border);
  box-shadow: 0 18px 44px rgba(7, 59, 49, .16), 0 2px 8px rgba(7, 59, 49, .08);
  transform: translateZ(var(--z, 0px)) rotateY(var(--ry, 0deg)) rotate(var(--rz, 0deg));
  transition: transform .55s var(--spring), box-shadow .4s var(--ease); }
.hf-card:hover .hf-inner, .hf-card:focus-visible .hf-inner {
  transform: translateZ(calc(var(--z, 0px) + 60px)) rotateY(0deg) rotate(0deg) scale(1.08);
  box-shadow: 0 30px 70px rgba(7, 59, 49, .28); }
.hf-inner img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; }
.hf-price { display: block; margin-top: 7px; text-align: center; font-size: 12px; font-weight: 800; color: var(--primary); white-space: nowrap; }
.hf-off { position: absolute; top: -9px; right: -9px; background: var(--danger); color: #fff;
  font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: 999px; box-shadow: 0 4px 10px rgba(194, 69, 45, .4); }
.hf-star { position: absolute; top: -9px; left: -9px; display: inline-flex; align-items: center; gap: 3px;
  background: linear-gradient(120deg, var(--gold), #C89838); color: #fff;
  font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: 999px; box-shadow: 0 4px 10px rgba(200, 152, 56, .45); }
@media (max-width: 1160px) { .hero-float { display: none; } }

/* Search + popup */
.hero-search { position: relative; max-width: 560px; margin: 26px auto 0; display: flex; gap: 8px;
  background: #fff; border: 1.5px solid var(--border); border-radius: 999px; padding: 6px 6px 6px 20px;
  box-shadow: var(--shadow-md); transition: border-color .3s, box-shadow .3s; }
.hero-search:focus-within { border-color: var(--primary); box-shadow: 0 16px 44px rgba(14, 124, 102, .18); }
.hero-search input { flex: 1; border: none; outline: none; font-size: 14.5px; font-family: inherit; background: transparent; color: var(--text); }
.hero-search input::placeholder { color: #A9BEB8; }
#search-btn { display: inline-flex; align-items: center; gap: 6px; border: none; border-radius: 999px;
  background: linear-gradient(120deg, var(--primary), var(--primary-dark)); background-size: 180% 100%;
  color: #fff; font-size: 13.5px; font-weight: 700; padding: 10px 20px;
  transition: background-position .4s var(--ease), transform .25s var(--ease); }
#search-btn:hover { background-position: 90% 0; transform: translateY(-1px); }

.search-popup { position: absolute; top: calc(100% + 10px); left: 0; right: 0;
  background: #fff; border: .5px solid var(--border); border-radius: var(--r-md);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .18); z-index: 70; text-align: left; overflow: hidden;
  animation: popIn .28s var(--ease); transform-origin: top center; }
@keyframes popIn { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; } }
.sp-head { display: flex; justify-content: space-between; padding: 10px 16px; font-size: 12px;
  color: var(--text-muted); background: var(--muted-bg); border-bottom: .5px solid var(--border); }
.sp-list { max-height: 388px; overflow-y: auto; }
.sp-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border-bottom: .5px solid var(--border); animation: spIn .35s ease both; transition: background .25s; }
.sp-item:hover { background: var(--accent-soft); }
@keyframes spIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; } }
.sp-thumb { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; transition: transform .35s; }
.sp-item:hover .sp-thumb { transform: scale(1.08); }
.sp-info { flex: 1; min-width: 0; }
.sp-name { font-size: 12.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-meta { display: flex; gap: 8px; font-size: 11px; color: var(--text-muted); }
.sp-meta .stars { color: #E8A33D; letter-spacing: -1px; }
.sp-hot { color: var(--danger); font-weight: 500; }
.sp-price { display: flex; align-items: baseline; gap: 6px; margin-top: 3px; }
.sp-price .price { font-size: 14.5px; font-weight: 700; color: var(--primary); }
.price-old { color: var(--text-muted); text-decoration: line-through; font-size: 11px; }
.off-chip { background: var(--danger-soft); color: var(--danger); font-size: 10px; padding: 0 6px; border-radius: 999px; font-weight: 600; }
.sp-actions { display: flex; flex-direction: column; gap: 6px; }
.sp-buy, .sp-cash { display: flex; align-items: center; justify-content: center; gap: 4px;
  font-size: 11.5px; font-weight: 600; padding: 7px 12px; border-radius: 999px; white-space: nowrap;
  transition: transform .22s, box-shadow .25s, background-position .4s; }
.sp-buy { background: linear-gradient(120deg, var(--primary), var(--primary-dark)); background-size: 180% 100%; color: #fff; }
.sp-cash { background: linear-gradient(120deg, #E9C97E, var(--gold) 50%, #C89838); background-size: 180% 100%; color: var(--gold-ink); }
.sp-buy:hover, .sp-cash:hover { background-position: 90% 0; transform: translateY(-1px); }
.sp-empty { padding: 22px; text-align: center; color: var(--text-muted); font-size: 13.5px; }
.sp-all { width: 100%; padding: 11px; background: var(--muted-bg); color: var(--primary);
  font-size: 12.5px; font-weight: 600; border: none; border-top: .5px solid var(--border); cursor: pointer; }
@media (max-width: 560px) { .sp-item { flex-wrap: wrap; } .sp-actions { flex-direction: row; width: 100%; } .sp-buy, .sp-cash { flex: 1; } }

/* Trust stats (số liệu thật từ dữ liệu) */
.hero-stats { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.stat-chip { display: flex; align-items: center; gap: 10px; background: #fff; border: .5px solid var(--border);
  border-radius: var(--r-md); padding: 11px 18px; box-shadow: var(--shadow-sm); }
.stat-chip i { font-size: 20px; color: var(--primary); }
.stat-chip .num { font-size: 16.5px; font-weight: 800; color: var(--primary-ink); line-height: 1.15; }
.stat-chip .lbl { font-size: 11.5px; color: var(--text-muted); }

/* ============================================================
   STRIP HOÀN TIỀN HOANVI
   ============================================================ */
.cashback-strip { margin: 34px auto 6px; }
.cashback-strip .strip-in { display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: linear-gradient(115deg, #FFF9EC, #FDF3DC 55%, #FBEBC8);
  border: 1px solid #F0DFB4; border-radius: var(--r-lg); padding: 18px 24px; box-shadow: var(--shadow-sm); }
.strip-coin { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(135deg, #E9C97E, var(--gold)); color: #fff; font-size: 24px;
  box-shadow: 0 6px 16px rgba(212, 166, 74, .4); }
.strip-txt { flex: 1; min-width: 240px; }
.strip-txt b { color: var(--gold-ink); }
.strip-txt p { font-size: 13.5px; color: #6B5A33; margin-top: 2px; }
.strip-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700;
  color: var(--gold-ink); background: #fff; border: 1px solid #E8D5A4; padding: 10px 18px; border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .3s; }
.strip-link:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(212, 166, 74, .3); }

/* ============================================================
   SECTION CHUNG
   ============================================================ */
.section { padding: 46px 0 12px; }
.sec-head { text-align: center; max-width: 620px; margin: 0 auto 30px; }
.sec-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.2px; color: var(--primary); }
.sec-head h2 { font-size: clamp(22px, 3.4vw, 32px); font-weight: 800; letter-spacing: -.4px; color: var(--primary-ink); margin-top: 8px; }
.sec-head p { color: var(--text-muted); font-size: 14.5px; margin-top: 8px; }

/* ============================================================
   TOP PICK
   ============================================================ */
.top-pick { position: relative; display: grid; grid-template-columns: minmax(0, 460px) 1fr; gap: 0;
  background: var(--card); border: 1px solid var(--border); border-radius: calc(var(--r-lg) + 4px);
  overflow: hidden; box-shadow: var(--shadow-md); }
.tp-ribbon { position: absolute; top: 18px; left: -6px; z-index: 3; display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(120deg, var(--gold), #C89838); color: #fff; font-size: 12.5px; font-weight: 800;
  padding: 8px 16px 8px 14px; border-radius: 0 999px 999px 0; box-shadow: 0 6px 16px rgba(200, 152, 56, .45); }
.tp-media { position: relative; background: var(--muted-bg); min-height: 320px; }
.tp-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .8s var(--ease); }
.top-pick:hover .tp-media img { transform: scale(1.045); }
.tp-body { padding: 30px 32px 28px; display: flex; flex-direction: column; }
.tp-shop { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-muted); }
.badge-mall { display: inline-flex; align-items: center; gap: 3px; background: var(--danger); color: #fff;
  font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 5px; letter-spacing: .4px; }
.badge-yeuthich { display: inline-flex; align-items: center; background: #F1592A; color: #fff;
  font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 5px; }
.tp-body h3 { font-size: clamp(17px, 2.3vw, 22px); font-weight: 700; line-height: 1.35; margin: 10px 0 12px; color: var(--primary-ink); }
.rating-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--text-muted); }
.stars { color: #E8A33D; font-size: 14px; letter-spacing: 0; }
.rating-row b { color: var(--text); }
.sold-chip { display: inline-flex; align-items: center; gap: 4px; color: var(--danger); font-weight: 600; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin: 16px 0 6px; }
.price-now { font-size: 30px; font-weight: 800; color: var(--primary); letter-spacing: -.5px; }
.price-was { font-size: 15px; color: var(--text-muted); text-decoration: line-through; }
.tp-points { list-style: none; margin: 12px 0 20px; display: grid; gap: 8px; }
.tp-points li { display: flex; gap: 9px; font-size: 13.5px; color: var(--text); }
.tp-points i { color: var(--primary); margin-top: 2px; }

/* ============================================================
   CTA ĐÔI (chuẩn hệ thống — mua = brand, hoàn tiền = vàng)
   ============================================================ */
.cta-row { display: flex; gap: 10px; margin-top: auto; }
.cta-row .cta-shopee { flex: 1.5; }
.cta-row .cta-cashback { flex: 1; }
.cta-shopee, .cta-cashback { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px; font-weight: 700; padding: 13px 20px; border-radius: 999px; white-space: nowrap; }
.cta-shopee {
  background: linear-gradient(120deg, var(--primary), var(--primary-dark));
  background-size: 200% 100%; color: #fff;
  transition: background-position .45s var(--ease), transform .25s var(--ease), box-shadow .3s var(--ease);
  position: relative; overflow: hidden;
}
.cta-shopee:hover { background-position: 95% 0; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(7, 59, 49, .3); }
.cta-shopee::after { content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent);
  transform: skewX(-20deg); transition: left .55s var(--ease); pointer-events: none; }
.cta-shopee:hover::after { left: 130%; }
.top-pick .cta-shopee::after { animation: autoShine 4.5s ease infinite; }
@keyframes autoShine { 0%, 62% { left: -80%; } 86%, 100% { left: 130%; } }
@keyframes ctaPulse { 0% { box-shadow: 0 0 0 0 rgba(14, 124, 102, .4); } 70% { box-shadow: 0 0 0 12px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.top-pick .cta-shopee, .sticky-cta .sc-buy { animation: ctaPulse 2.6s var(--ease) infinite; }
.cta-cashback { background: linear-gradient(120deg, #E9C97E, var(--gold) 45%, #C89838);
  background-size: 180% 100%; color: var(--gold-ink);
  transition: background-position .4s var(--ease), transform .25s var(--ease), box-shadow .3s var(--ease); }
.cta-cashback:hover { background-position: 90% 0; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(212, 166, 74, .35); }
.cta-cashback:hover i { animation: coinFlip .6s var(--ease); }
@keyframes coinFlip { from { transform: rotateY(0); } to { transform: rotateY(360deg); } }
.cta-shopee i { transition: transform .25s var(--ease); }
.cta-shopee:hover i { transform: translateX(4px); }
@media (max-width: 880px) { .top-pick { grid-template-columns: 1fr; } .tp-media { min-height: 280px; } }
@media (max-width: 560px) { .cta-row { flex-direction: column; } }

/* ============================================================
   FILTER CHIPS + GRID SẢN PHẨM
   ============================================================ */
.filter-bar { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.f-chip { border: 1px solid var(--border); background: #fff; color: var(--text-muted);
  font-size: 13px; font-weight: 600; padding: 9px 18px; border-radius: 999px;
  transition: all .3s var(--ease); }
.f-chip:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.f-chip.active { background: linear-gradient(120deg, var(--primary), var(--primary-dark)); border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(14, 124, 102, .28); }
.f-chip .cnt { opacity: .65; font-weight: 500; margin-left: 3px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.p-card { position: relative; display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.p-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #CDE4DC; }
.p-card.hidden-by-filter { display: none; }
.pc-media { position: relative; aspect-ratio: 1; background: var(--muted-bg); overflow: hidden; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .45s var(--ease), transform .6s var(--ease); }
.pc-media .img-alt { position: absolute; inset: 0; opacity: 0; }
.p-card:hover .pc-media .img-alt { opacity: 1; }
.p-card:hover .pc-media img { transform: scale(1.05); }
.pc-rank { position: absolute; top: 12px; left: 12px; z-index: 2; width: 34px; height: 34px; display: grid; place-items: center;
  background: rgba(7, 59, 49, .82); color: #fff; backdrop-filter: blur(4px);
  font-size: 13px; font-weight: 800; border-radius: 10px; }
.pc-rank.gold { background: linear-gradient(135deg, var(--gold), #C89838); }
.pc-off { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--danger); color: #fff;
  font-size: 11.5px; font-weight: 800; padding: 4px 9px; border-radius: 8px; }
.pc-quick { position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 10px); z-index: 2;
  display: inline-flex; align-items: center; gap: 6px; border: none; border-radius: 999px;
  background: rgba(255, 255, 255, .94); color: var(--primary-ink); backdrop-filter: blur(6px);
  font-size: 12px; font-weight: 700; padding: 9px 16px; opacity: 0; box-shadow: var(--shadow-md);
  transition: opacity .3s var(--ease), transform .3s var(--ease); }
.p-card:hover .pc-quick { opacity: 1; transform: translate(-50%, 0); }
.pc-quick:hover { background: #fff; }
.pc-body { display: flex; flex-direction: column; flex: 1; padding: 15px 16px 16px; }
.pc-shop { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-name { font-size: 13.5px; font-weight: 600; line-height: 1.45; margin: 6px 0 8px; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 39px; }
.pc-meta { display: flex; align-items: center; gap: 9px; font-size: 11.5px; color: var(--text-muted); flex-wrap: wrap; }
.pc-price { display: flex; align-items: baseline; gap: 7px; margin: 9px 0 12px; }
.pc-price .now { font-size: 18.5px; font-weight: 800; color: var(--primary); }
.pc-price .was { font-size: 12px; color: var(--text-muted); text-decoration: line-through; }
.pc-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.tag { font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--primary-dark); }
.tag.hot { background: var(--danger-soft); color: var(--danger); }
.tag.gold { background: #FBF3DF; color: #8A6A1F; }
.pc-cta { display: flex; gap: 8px; margin-top: auto; }
.pc-cta .cta-shopee { flex: 1.6; font-size: 12.5px; padding: 10px 12px; }
.pc-cta .cta-cashback { flex: 1; font-size: 12.5px; padding: 10px 10px; }

/* ============================================================
   QUICK-VIEW MODAL (popup hiện đại)
   ============================================================ */
.qv-backdrop { position: fixed; inset: 0; z-index: 120; background: rgba(9, 32, 27, .55);
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  opacity: 0; pointer-events: none; transition: opacity .32s var(--ease);
  display: grid; place-items: center; padding: 20px; }
.qv-backdrop.open { opacity: 1; pointer-events: auto; }
.qv-panel { width: min(920px, 100%); max-height: min(86vh, 780px); overflow: hidden auto;
  background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: minmax(0, 42%) 1fr;
  transform: translateY(18px) scale(.955); opacity: 0;
  transition: transform .42s var(--spring), opacity .3s var(--ease); }
.qv-backdrop.open .qv-panel { transform: none; opacity: 1; }
.qv-close { position: absolute; top: 16px; right: 16px; z-index: 5; width: 38px; height: 38px;
  display: grid; place-items: center; border: none; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--text); font-size: 17px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), background .25s; }
.qv-close:hover { transform: rotate(90deg); background: var(--danger-soft); color: var(--danger); }
.qv-gallery { background: var(--muted-bg); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.qv-main { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: #fff; }
.qv-main img { width: 100%; height: 100%; object-fit: cover; animation: qvImgIn .4s var(--ease); }
@keyframes qvImgIn { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; } }
.qv-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.qv-thumbs img { width: 56px; height: 56px; flex: none; border-radius: 10px; object-fit: cover;
  border: 2px solid transparent; cursor: pointer; opacity: .72; transition: all .25s var(--ease); }
.qv-thumbs img:hover { opacity: 1; transform: translateY(-2px); }
.qv-thumbs img.active { border-color: var(--primary); opacity: 1; }
.qv-info { position: relative; padding: 30px 30px 26px; display: flex; flex-direction: column; }
.qv-info h3 { font-size: 18.5px; font-weight: 700; line-height: 1.4; color: var(--primary-ink); margin: 8px 0 10px; }
.qv-desc { font-size: 13px; color: var(--text-muted); line-height: 1.65; margin: 12px 0;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.qv-attrs { border: .5px solid var(--border); border-radius: 12px; overflow: hidden; margin: 6px 0 16px; }
.qv-attrs .row { display: flex; font-size: 12.5px; padding: 8px 14px; gap: 12px; }
.qv-attrs .row:nth-child(odd) { background: var(--muted-bg); }
.qv-attrs .k { flex: none; width: 108px; color: var(--text-muted); }
.qv-attrs .v { font-weight: 500; }
.qv-note { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: #6B5A33;
  background: #FFF9EC; border: 1px solid #F0DFB4; border-radius: 10px; padding: 10px 13px; margin-bottom: 14px; }
.qv-note i { color: var(--gold); margin-top: 1px; }
@media (max-width: 720px) {
  .qv-backdrop { padding: 0; align-items: end; }
  .qv-panel { grid-template-columns: 1fr; max-height: 92vh; border-radius: 24px 24px 0 0;
    transform: translateY(60px); }
  .qv-gallery { flex-direction: row; padding: 14px; }
  .qv-main { width: 42%; flex: none; }
  .qv-thumbs { flex-direction: column; overflow: visible auto; max-height: 200px; }
  .qv-info { padding: 20px; }
}

/* ============================================================
   GUIDE + FAQ
   ============================================================ */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.g-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 22px; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.g-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.g-card i { font-size: 26px; color: var(--primary); }
.g-card h3 { font-size: 15px; font-weight: 700; margin: 10px 0 6px; color: var(--primary-ink); }
.g-card p { font-size: 13px; color: var(--text-muted); }

.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; transition: box-shadow .3s; }
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 20px; font-size: 14.5px; font-weight: 600; cursor: pointer; list-style: none; color: var(--primary-ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { flex: none; color: var(--primary); transition: transform .35s var(--ease); }
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 20px 17px; font-size: 13.5px; color: var(--text-muted); }
.faq-item .faq-a a { color: var(--primary); font-weight: 600; }

/* ============================================================
   DISCLAIMER + FOOTER
   ============================================================ */
.disclaimer { margin-top: 40px; }
.disclaimer .d-in { display: flex; gap: 12px; align-items: flex-start; background: var(--muted-bg);
  border: 1px dashed #C8DDD5; border-radius: var(--r-md); padding: 16px 20px; font-size: 12.5px; color: var(--text-muted); }
.disclaimer i { color: var(--primary); font-size: 17px; margin-top: 1px; }
.site-footer { margin-top: 44px; background: var(--primary-ink); color: #BFD9D1; }
.footer-in { padding: 40px 0 26px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.site-footer .logo { color: #fff; }
.site-footer .logo i { background: rgba(255, 255, 255, .12); }
.site-footer p { font-size: 12.5px; line-height: 1.7; margin-top: 10px; }
.site-footer h4 { color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; font-size: 13px; }
.site-footer ul a { transition: color .25s; }
.site-footer ul a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 16px 0 18px; font-size: 11.5px; text-align: center; color: #7FA69B; }
@media (max-width: 720px) { .footer-in { grid-template-columns: 1fr; gap: 22px; } }

/* ============================================================
   STICKY CTA + TOAST
   ============================================================ */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  background: rgba(255, 255, 255, .93); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: .5px solid var(--border); box-shadow: 0 -10px 34px rgba(7, 59, 49, .12);
  transform: translateY(110%); transition: transform .45s var(--ease); }
.sticky-cta.show { transform: none; }
.sc-in { display: flex; align-items: center; gap: 14px; padding: 10px 0; }
.sc-thumb { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; flex: none; }
.sc-info { flex: 1; min-width: 0; }
.sc-label { font-size: 10.5px; font-weight: 800; color: var(--gold-ink); text-transform: uppercase; letter-spacing: .8px; }
.sc-name { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-price { font-size: 13.5px; font-weight: 800; color: var(--primary); }
.sc-buy, .sc-cash { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700;
  padding: 10px 16px; border-radius: 999px; white-space: nowrap; }
.sc-buy { background: linear-gradient(120deg, var(--primary), var(--primary-dark)); color: #fff; }
.sc-buy i { animation: nudgeX 1.8s var(--ease) infinite; }
@keyframes nudgeX { 50% { transform: translateX(3px); } }
.sc-cash { background: linear-gradient(120deg, #E9C97E, var(--gold) 45%, #C89838); color: var(--gold-ink); }
.sc-hide { border: none; background: transparent; color: var(--text-muted); font-size: 16px; padding: 6px; }
@media (max-width: 560px) { .sc-price, .sc-cash span { display: none; } }

#copy-toast { position: fixed; left: 50%; bottom: 86px;
  transform: translate(-50%, 16px);
  background: var(--primary-ink); color: #fff;
  font-size: 13.5px; padding: 11px 18px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  z-index: 200; opacity: 0; pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  max-width: min(92vw, 480px); text-align: center; line-height: 1.45; }
#copy-toast.show { opacity: 1; transform: translate(-50%, 0); }
#copy-toast b { color: #F3D9A0; }

/* ============================================================
   REDUCED MOTION (bắt buộc theo checklist hệ thống)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .top-pick .cta-shopee, .sticky-cta .sc-buy, .sc-buy i,
  .top-pick .cta-shopee::after, .cta-cashback:hover i,
  .qv-main img, .sp-item, .search-popup, .hf-bob { animation: none; }
  .p-card, .p-card:hover, .qv-panel, .g-card, .hf-inner { transition: none; transform: none; }
}
