/* ==========================================================================
   Vitonnix store — design system & components
   ========================================================================== */
:root {
  --ink: #0B1F3A; --ink-2: #1E293B; --ink-3: #475569; --muted: #64748B; --faint: #94A3B8;
  --brand: #1457C9; --brand-600: #0F46A6; --brand-700: #0B3A8A; --brand-50: #EAF2FF; --brand-100: #D6E6FF; --brand-200: #B5D0FF;
  --sky: #F4F8FF; --surface: #F6F8FB; --surface-2: #EEF2F7; --line: #E5E9F0; --line-2: #D7DEE8; --white: #fff;
  --accent: #FFD233; --accent-ink: #4A3B00; --green: #16A34A; --green-50: #ECFDF3; --red: #DC2626; --red-50: #FEF2F2; --orange: #F59E0B; --amber-50: #FFFBEB;
  --r-sm: 8px; --r: 14px; --r-lg: 20px; --r-xl: 28px;
  --sh-sm: 0 1px 2px rgba(11,31,58,.06), 0 1px 1px rgba(11,31,58,.04);
  --sh: 0 10px 30px -10px rgba(11,31,58,.18), 0 2px 6px -2px rgba(11,31,58,.06);
  --sh-lg: 0 30px 60px -20px rgba(11,31,58,.28), 0 8px 20px -8px rgba(11,31,58,.12);
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --container: 1280px; --gutter: 24px;
  --header-h: 72px;
  --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--white); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -.02em; line-height: 1.12; margin: 0; font-weight: 800; }
h1 { font-size: clamp(34px, 4.6vw, 58px); }
h2 { font-size: clamp(26px, 3.2vw, 40px); }
h3 { font-size: 20px; }
p { margin: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-wide { max-width: 1440px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.strong { font-weight: 700; }
.row { display: flex; align-items: center; gap: 10px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.center { text-align: center; }
.hide { display: none !important; }
.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 28px; height: 28px; }
svg.icon { stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg.icon.fill { fill: currentColor; stroke: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap; transition: transform .15s var(--ease), box-shadow .2s, background .2s, color .2s, border-color .2s; border: 1.5px solid transparent; user-select: none; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px -6px rgba(20,87,201,.55); }
.btn-primary:hover { background: var(--brand-600); box-shadow: 0 10px 22px -8px rgba(20,87,201,.6); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #142C4F; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #FFC800; }
.btn-outline { border-color: var(--line-2); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { color: var(--brand); padding: 0 8px; height: auto; }
.btn-ghost:hover { text-decoration: underline; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #15803D; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn-icon { width: 42px; height: 42px; padding: 0; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.btn-icon:hover { border-color: var(--ink); }
.link { color: var(--brand); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { text-decoration: underline; }
.link .icon { width: 16px; height: 16px; transition: transform .2s; }
.link:hover .icon { transform: translateX(3px); }

/* ---------- Pills / badges ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.pill-brand { background: var(--brand-50); color: var(--brand-700); }
.pill-green { background: var(--green-50); color: #166534; }
.pill-accent { background: var(--accent); color: var(--accent-ink); }
.pill-red { background: var(--red-50); color: #991B1B; }
.pill-ink { background: var(--ink); color: #fff; }
.pill-outline { background: #fff; border: 1px solid var(--line-2); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.stars { display: inline-flex; gap: 1px; color: #F59E0B; }
.stars svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.stars .dim { color: #E2E8F0; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.input, .select, .textarea { height: 48px; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 0 14px; background: #fff; width: 100%; outline: none; transition: border-color .15s, box-shadow .15s; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.input.err { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-50); }
.textarea { height: auto; padding: 12px 14px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2364748B' 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; }
.input-wrap { position: relative; }
.input-wrap .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input-wrap .input { padding-left: 42px; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14px; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); }
.hint { font-size: 12.5px; color: var(--muted); }
.err-msg { font-size: 12.5px; color: var(--red); }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.card-pad { padding: 22px; }
.divider { height: 1px; background: var(--line); margin: 18px 0; }

/* ==========================================================================
   Header
   ========================================================================== */
.announce { background: var(--ink); color: #fff; font-size: 13px; height: 36px; }
.announce .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.announce-msgs { position: relative; flex: 1; height: 100%; overflow: hidden; }
.announce-msg { position: absolute; inset: 0; display: flex; align-items: center; gap: 8px; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; font-weight: 500; }
.announce-msg.on { opacity: 1; transform: none; }
.announce-msg strong { color: var(--accent); }
.announce-links { display: flex; gap: 18px; color: rgba(255,255,255,.75); }
.announce-links a:hover { color: #fff; }
.header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.header.scrolled { box-shadow: 0 8px 30px -12px rgba(11,31,58,.18); }
.header-main { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand-wrap { display: flex; align-items: center; gap: 4px; flex: none; }
.logo { display: flex; align-items: center; height: 44px; }
.logo img { height: 44px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 2px; flex: none; margin-left: auto; }
.h-btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 12px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; transition: background .15s, color .15s; }
.h-btn:hover { background: var(--surface); color: var(--ink); }
.h-btn .icon { width: 22px; height: 22px; }
.h-ic { position: relative; display: inline-flex; }
.h-btn .lbl { display: flex; flex-direction: column; line-height: 1.15; }
.h-btn .lbl small { font-size: 11.5px; font-weight: 500; color: var(--muted); }
.h-btn .count { position: absolute; top: -7px; right: -9px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 10.5px; font-weight: 700; display: none; align-items: center; justify-content: center; border: 2px solid #fff; line-height: 1; }
.h-btn .count.on { display: inline-flex; }
.h-cart { background: var(--ink); color: #fff; padding: 0 18px; margin-left: 6px; border-radius: 999px; }
.h-cart:hover { background: #142C4F; color: #fff; }
.h-cart .count { background: var(--accent); color: var(--accent-ink); border-color: var(--ink); }
.menu-btn { display: none; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 46px; border-top: 1px solid var(--line); margin-top: -2px; }
.nav-right { display: flex; align-items: center; gap: 20px; font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
.nav-right a { display: inline-flex; align-items: center; gap: 6px; }
.nav-right a:hover { color: var(--brand); }
.nav-list { display: flex; align-items: center; gap: 2px; margin: 0 0 0 -14px; padding: 0; list-style: none; height: 100%; }
.nav-list > li { height: 100%; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; height: 100%; padding: 0 14px; font-weight: 600; font-size: 14px; color: var(--ink-2); border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.nav-link .icon { width: 16px; height: 16px; transition: transform .2s; }
.nav-link:hover, .nav-link.active { color: var(--brand); border-bottom-color: var(--brand); }
li.has-mega:hover .nav-link { color: var(--brand); border-bottom-color: var(--brand); }
li.has-mega:hover .nav-link .icon { transform: rotate(180deg); }
.nav-promo { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.nav-promo .pill { height: 26px; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 40px 60px -30px rgba(11,31,58,.35); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s; }
li.has-mega:hover .mega, li.has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-inner { display: grid; grid-template-columns: 1fr 300px; gap: 32px; padding: 28px 0; }
.mega-goals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 18px; }
.mega-goal { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; transition: background .15s; }
.mega-goal:hover { background: var(--sky); }
.mega-goal img { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; object-position: top; flex: none; }
.mega-goal b { display: block; font-size: 14px; }
.mega-goal span { font-size: 12.5px; color: var(--muted); }
.mega-feature { background: var(--sky); border-radius: var(--r-lg); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.mega-feature img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.mega-all { grid-column: 1 / -1; display: flex; gap: 14px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line); margin-top: 8px; }
.mega-all a { font-size: 13.5px; font-weight: 600; color: var(--brand); }

/* ---------- Search ---------- */
.search { position: relative; flex: 1; min-width: 0; }
.search-form { display: flex; height: 48px; border: 2px solid var(--line-2); border-radius: 14px; background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.search.open .search-form, .search-form:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.search-cat { display: flex; align-items: center; gap: 6px; padding: 0 12px 0 14px; background: var(--surface); border-right: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.search-cat .icon { width: 14px; height: 14px; }
.search-cat { position: relative; }
.search-input { flex: 1; border: 0; outline: 0; padding: 0 14px; font-size: 15px; min-width: 0; background: transparent; }
.search-input::placeholder { color: var(--faint); }
.search-input::-webkit-search-cancel-button, .search-input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.search-clear { width: 36px; display: none; align-items: center; justify-content: center; color: var(--muted); }
.search.has-text .search-clear { display: inline-flex; }
.search-submit { width: 54px; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.search-submit:hover { background: var(--brand-600); }
.search-panel { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-lg); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s var(--ease); z-index: 70; overflow: hidden; }
.search.open .search-panel { opacity: 1; visibility: visible; transform: none; }
.sp-section { padding: 14px 16px; }
.sp-section + .sp-section { border-top: 1px solid var(--line); }
.sp-title { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; display: flex; justify-content: space-between; }
.sp-title button { font-size: 11px; color: var(--brand); text-transform: none; letter-spacing: 0; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--surface); font-size: 13px; font-weight: 500; border: 1px solid transparent; transition: .15s; }
.chip:hover { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-100); }
.chip .icon { width: 14px; height: 14px; color: var(--muted); }
.sp-results { display: grid; grid-template-columns: 1fr 1fr; }
.sp-results .sp-section:nth-child(2) { border-top: 0; border-left: 1px solid var(--line); }
.sp-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; cursor: pointer; }
.sp-item:hover, .sp-item.active { background: var(--sky); }
.sp-item img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: var(--surface); flex: none; }
.sp-item .t { font-size: 14px; font-weight: 600; line-height: 1.25; }
.sp-item .s { font-size: 12.5px; color: var(--muted); }
.sp-item .p { margin-left: auto; font-weight: 700; font-size: 14px; white-space: nowrap; }
.sp-item mark { background: none; color: var(--brand); font-weight: 700; }
.sp-goal { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; font-size: 14px; font-weight: 500; }
.sp-goal:hover, .sp-goal.active { background: var(--sky); }
.sp-goal .icon { color: var(--muted); }
.sp-footer { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--surface); font-size: 13.5px; }
.sp-footer a { color: var(--brand); font-weight: 600; }
.sp-empty { padding: 24px 16px; text-align: center; color: var(--muted); font-size: 14px; }
.search-overlay { display: none; }

/* ---------- Mobile drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(11,31,58,.5); z-index: 90; opacity: 0; visibility: hidden; transition: .25s; }
.drawer-backdrop.on { opacity: 1; visibility: visible; }
.mnav { position: fixed; top: 0; bottom: 0; left: 0; width: min(360px, 88vw); background: #fff; z-index: 95; transform: translateX(-100%); transition: transform .3s var(--ease); overflow-y: auto; display: flex; flex-direction: column; }
.mnav.on { transform: none; }
.mnav-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.mnav-head img { height: 36px; }
.mnav a.mnav-link, .mnav button.mnav-link { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; font-weight: 600; font-size: 15px; border-bottom: 1px solid var(--line); width: 100%; text-align: left; }
.mnav-sub { background: var(--surface); display: none; }
.mnav-sub.on { display: block; }
.mnav-sub a { display: flex; align-items: center; gap: 12px; padding: 10px 18px; font-size: 14px; }
.mnav-sub a img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; object-position: top; }
.mnav-foot { margin-top: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--sky); }

/* ---------- Cart drawer ---------- */
.cart-drawer { position: fixed; top: 0; bottom: 0; right: 0; width: min(440px, 100vw); background: #fff; z-index: 95; transform: translateX(100%); transition: transform .3s var(--ease); display: flex; flex-direction: column; box-shadow: var(--sh-lg); }
.cart-drawer.on { transform: none; }
.cd-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cd-head h3 { font-size: 18px; }
.cd-ship { padding: 14px 20px; background: var(--sky); font-size: 13px; }
.cd-ship .bar { height: 6px; border-radius: 6px; background: var(--brand-100); margin-top: 8px; overflow: hidden; }
.cd-ship .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #3B82F6); border-radius: 6px; transition: width .4s var(--ease); }
.cd-ship.done { background: var(--green-50); color: #166534; }
.cd-ship.done .bar i { background: var(--green); }
.cd-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.cd-empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.cd-empty .icon { width: 48px; height: 48px; color: var(--line-2); margin: 0 auto 12px; }
.ci { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ci img { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; background: var(--surface); }
.ci .ci-name { font-weight: 600; font-size: 14px; line-height: 1.3; }
.ci .ci-meta { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.ci .ci-plan { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; margin-top: 6px; padding: 3px 8px; border-radius: 999px; background: var(--green-50); color: #166534; }
.ci .ci-plan.once { background: var(--surface-2); color: var(--ink-3); }
.ci .ci-plan button { font-size: 11px; text-decoration: underline; color: inherit; }
.ci-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 999px; height: 36px; }
.qty button { width: 34px; height: 100%; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); }
.qty button:hover { color: var(--brand); }
.qty span { min-width: 28px; text-align: center; font-weight: 600; font-size: 14px; }
.qty.lg { height: 48px; }
.qty.lg button { width: 44px; }
.qty.lg span { min-width: 40px; font-size: 15px; }
.ci-price { text-align: right; font-weight: 700; font-size: 15px; }
.ci-price s { font-weight: 400; color: var(--faint); font-size: 12.5px; margin-right: 6px; }
.ci-remove { color: var(--muted); font-size: 12px; display: inline-flex; align-items: center; gap: 4px; }
.ci-remove:hover { color: var(--red); }
.cd-upsell { padding: 14px 0; }
.cd-upsell h4 { font-size: 13px; font-weight: 700; margin: 0 0 10px; }
.up-row { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.up-row::-webkit-scrollbar { display: none; }
.up-card { flex: none; width: 150px; border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.up-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.up-card b { font-size: 13px; line-height: 1.2; }
.up-card .btn { height: 32px; font-size: 12px; }
.cd-foot { border-top: 1px solid var(--line); padding: 16px 20px 20px; background: #fff; }
.cd-line { display: flex; justify-content: space-between; font-size: 14px; padding: 3px 0; }
.cd-line.total { font-size: 17px; font-weight: 800; padding-top: 8px; margin-top: 6px; border-top: 1px dashed var(--line-2); }
.cd-line .green { color: var(--green); font-weight: 600; }
.cd-foot .btn { margin-top: 12px; }
.cd-trust { display: flex; justify-content: center; gap: 14px; font-size: 11.5px; color: var(--muted); margin-top: 10px; }
.cd-trust span { display: inline-flex; align-items: center; gap: 4px; }
.cd-trust .icon { width: 13px; height: 13px; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; left: 20px; bottom: 20px; z-index: 120; display: flex; flex-direction: column; gap: 10px; }
.toast { display: flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; padding: 12px 14px; border-radius: 14px; box-shadow: var(--sh-lg); min-width: 280px; max-width: 360px; animation: toastIn .3s var(--ease); font-size: 14px; }
.toast img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: #fff; }
.toast b { display: block; font-size: 13.5px; }
.toast span { color: rgba(255,255,255,.7); font-size: 12.5px; }
.toast a { margin-left: auto; color: var(--accent); font-weight: 700; font-size: 13px; white-space: nowrap; }
.toast.ok .ticon { width: 36px; height: 36px; border-radius: 50%; background: var(--green); display: inline-flex; align-items: center; justify-content: center; }
.toast.out { animation: toastOut .3s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px) } }
@keyframes toastOut { to { opacity: 0; transform: translateY(14px) } }

/* ---------- Modal ---------- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(11,31,58,.55); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: .2s; }
.modal-backdrop.on { opacity: 1; visibility: visible; }
.modal { background: #fff; border-radius: 24px; width: 100%; max-width: 560px; max-height: 90vh; overflow: auto; box-shadow: var(--sh-lg); transform: translateY(16px) scale(.98); transition: .25s var(--ease); }
.modal-backdrop.on .modal { transform: none; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px 0; }
.modal-body { padding: 20px 24px 24px; }
.modal-close { width: 36px; height: 36px; border-radius: 50%; background: var(--surface); display: inline-flex; align-items: center; justify-content: center; }
.modal-close:hover { background: var(--surface-2); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.section-head .stack { gap: 10px; }
.section-head p.lead { color: var(--muted); font-size: 16px; max-width: 560px; }
.bg-surface { background: var(--surface); }
.bg-sky { background: var(--sky); }
.bg-ink { background: var(--ink); color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% 10%, #DCE9FF 0%, rgba(220,233,255,0) 60%), radial-gradient(800px 500px at 10% 90%, #FFF4CC 0%, rgba(255,244,204,0) 55%), linear-gradient(180deg, #F7FAFF 0%, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; min-height: 600px; padding: 48px 0 56px; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; max-width: 600px; }
.hero h1 { font-size: clamp(38px, 5vw, 64px); }
.hero h1 em { font-style: normal; color: var(--brand); position: relative; }
.hero h1 em::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 12px; background: var(--accent); z-index: -1; border-radius: 4px; opacity: .8; }
.hero p.lead { font-size: 17px; color: var(--ink-3); max-width: 520px; line-height: 1.6; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-proof { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-3); }
.hero-proof .avatars { display: flex; }
.hero-proof .avatars img { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; object-fit: cover; }
.hero-proof .avatars img:first-child { margin-left: 0; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-visual { position: relative; height: 560px; }
.hero-card { position: absolute; width: 260px; border-radius: 24px; background: #fff; box-shadow: var(--sh-lg); padding: 14px; transition: transform .5s var(--ease); }
.hero-card img { border-radius: 16px; aspect-ratio: 1; object-fit: cover; }
.hero-card .hc-name { font-weight: 700; font-size: 14px; margin-top: 10px; display: flex; justify-content: space-between; }
.hero-card .hc-sub { font-size: 12px; color: var(--muted); }
.hero-card.c1 { left: 6%; top: 40px; transform: rotate(-7deg); z-index: 1; }
.hero-card.c2 { left: 34%; top: 110px; z-index: 3; width: 290px; }
.hero-card.c3 { right: 0; top: 20px; transform: rotate(8deg); z-index: 2; }
.hero-visual:hover .c1 { transform: rotate(-10deg) translateX(-10px); }
.hero-visual:hover .c3 { transform: rotate(11deg) translateX(10px); }
.float { position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--sh); padding: 10px 14px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; z-index: 5; animation: floaty 5s ease-in-out infinite; }
.float .icon { width: 18px; height: 18px; color: var(--brand); }
.float.f1 { left: 2%; bottom: 60px; animation-delay: -1s; }
.float.f2 { right: 4%; bottom: 120px; animation-delay: -2.5s; }
.float.f3 { left: 40%; bottom: 10px; animation-delay: -4s; }
@keyframes floaty { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-8px) } }
.hero-bg-ring { position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 1.5px dashed var(--brand-200); left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .7; }

/* ---------- Ticker ---------- */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.ticker-item .icon { width: 18px; height: 18px; color: var(--brand); }
@keyframes ticker { to { transform: translateX(-50%) } }

/* ---------- Goal tiles ---------- */
.goals-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 280px; gap: 16px; }
.goal-tile { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; background: var(--sky); isolation: isolate; }
.goal-tile img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.goal-tile:hover img { transform: scale(1.05); }
.goal-tile .gt-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 16px 16px; background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--gc, #0B1F3A) 55%, #0B1F3A) 100%); color: #fff; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.goal-tile b { font-family: var(--font-display); font-size: 17px; display: block; }
.goal-tile .gt-body span { font-size: 12.5px; opacity: .85; }
.goal-tile .arrow { width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--gc, var(--ink)); display: inline-flex; align-items: center; justify-content: center; flex: none; transition: transform .25s; }
.goal-tile:hover .arrow { transform: translateX(3px); }
.goal-tile.big { grid-column: span 2; grid-row: span 2; }
.goal-tile.big b { font-size: 24px; }
.goal-tile.big span { font-size: 14px; }
.goal-tile .gt-count { position: absolute; top: 12px; left: 12px; background: #fff; color: var(--gc, var(--ink)); font-weight: 700; box-shadow: var(--sh-sm); }
.goal-tile::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--gc, #fff) 25%, transparent); pointer-events: none; }

/* ---------- Product cards ---------- */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: transparent; }
.pcard-media { position: relative; aspect-ratio: 1; background: var(--tint, var(--surface)); overflow: hidden; }
.pcard-img { display: block; width: 100%; height: 100%; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity .35s, transform .6s var(--ease); }
.pcard-media img.alt { position: absolute; inset: 0; opacity: 0; }
.pcard:hover .pcard-media img.alt { opacity: 1; }
.pcard:hover .pcard-media img.main { transform: scale(1.04); }
.pcard-badge { position: absolute; top: 12px; left: 12px; z-index: 2; }
.pcard-wish { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.9); display: inline-flex; align-items: center; justify-content: center; color: var(--ink-3); transition: .15s; }
.pcard-wish:hover { color: var(--red); transform: scale(1.08); }
.pcard-wish.on { color: var(--red); }
.pcard-wish.on svg { fill: currentColor; }
.pcard-quick { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3; transform: translateY(8px); opacity: 0; transition: .25s var(--ease); }
.pcard:hover .pcard-quick { transform: none; opacity: 1; }
.pcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard-goal { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-color, var(--brand)); }
.pcard-name { font-family: var(--font-display); font-weight: 700; font-size: 16.5px; line-height: 1.25; }
.pcard-tag { font-size: 13px; color: var(--muted); }
.pcard-rating { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); }
.pcard-rating b { color: var(--ink); }
.pcard-price { margin-top: auto; padding-top: 8px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pcard-price .now { font-weight: 800; font-size: 18px; }
.pcard-price .sub { font-size: 12.5px; color: var(--green); font-weight: 600; width: 100%; }
.pcard-foot { display: flex; gap: 8px; margin-top: 10px; }
.pcard-foot .btn { flex: 1; height: 40px; font-size: 13.5px; }
.carousel { position: relative; }
.carousel-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 4px 12px; margin: -4px -4px -12px; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { flex: 0 0 calc((100% - 54px) / 4); scroll-snap-align: start; }
.carousel-nav { display: flex; gap: 8px; }
.carousel-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; display: inline-flex; align-items: center; justify-content: center; transition: .15s; }
.carousel-nav button:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

/* ---------- Banners ---------- */
.banner { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh); }
.banner picture, .banner img { width: 100%; }
.banner-link { display: block; transition: transform .3s var(--ease); }
.banner-link:hover { transform: translateY(-3px); }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; position: relative; overflow: hidden; }
.step .num { position: absolute; top: 14px; right: 18px; font-family: var(--font-display); font-weight: 800; font-size: 56px; color: var(--surface-2); line-height: 1; }
.step .ic { width: 56px; height: 56px; border-radius: 16px; background: var(--brand-50); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.step .ic .icon { width: 28px; height: 28px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-3); font-size: 14.5px; }
.compare { display: grid; grid-template-columns: 1.2fr 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.compare > div { padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 14px; display: flex; align-items: center; gap: 8px; }
.compare > div:nth-child(3n) { border-left: 1px solid var(--line); background: var(--brand-50); font-weight: 600; }
.compare > div:nth-child(3n-1) { border-left: 1px solid var(--line); color: var(--ink-3); }
.compare .hd { background: var(--surface); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.compare > div:nth-child(3).hd { background: var(--brand); color: #fff; }
.compare .icon { width: 16px; height: 16px; flex: none; }
.compare .yes { color: var(--green); }
.compare .no { color: var(--red); }

/* ---------- Subscribe calc ---------- */
.sub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.sub-benefits { display: grid; gap: 14px; margin: 24px 0; }
.sub-benefit { display: flex; gap: 12px; align-items: flex-start; }
.sub-benefit .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--brand-50); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.sub-benefit b { display: block; font-size: 15px; }
.sub-benefit span { font-size: 13.5px; color: var(--muted); }
.calc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 26px; box-shadow: var(--sh); }
.calc-prod { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 16px; background: var(--surface); }
.calc-prod img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.seg { display: inline-flex; background: var(--surface); border-radius: 999px; padding: 4px; gap: 2px; }
.seg button { height: 36px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-3); transition: .15s; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: var(--sh-sm); }
.seg.block { display: flex; }
.seg.block button { flex: 1; }
.calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.calc-stat { background: var(--sky); border-radius: 14px; padding: 14px; }
.calc-stat span { font-size: 12px; color: var(--muted); display: block; }
.calc-stat b { font-family: var(--font-display); font-size: 24px; }
.calc-stat.hl { background: var(--ink); color: #fff; }
.calc-stat.hl span { color: rgba(255,255,255,.7); }
.calc-stat.hl b { color: var(--accent); }

/* ---------- Bundles ---------- */
.bundles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bundle { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s; }
.bundle:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.bundle-media { position: relative; aspect-ratio: 16/11; background: var(--sky); }
.bundle-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.bundle-media .pill { position: absolute; top: 12px; left: 12px; }
.bundle-items { display: flex; position: absolute; bottom: -18px; left: 14px; }
.bundle-items img { width: 44px; height: 44px; border-radius: 12px; border: 2px solid #fff; margin-left: -10px; object-fit: cover; box-shadow: var(--sh-sm); background: #fff; }
.bundle-items img:first-child { margin-left: 0; }
.bundle-body { padding: 28px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.bundle-body h3 { font-size: 18px; }
.bundle-body .list { font-size: 13px; color: var(--muted); }
.bundle-price { margin-top: auto; padding-top: 10px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.bundle-price .now { font-weight: 800; font-size: 20px; }
.bundle-price s { color: var(--faint); font-size: 13px; }
.bundle-price .pill { margin-left: auto; height: 24px; font-size: 11.5px; }

/* ---------- Celebrity / founder ---------- */
.celeb { border-radius: var(--r-xl); overflow: hidden; position: relative; background: #EEF3FA; }
.celeb img { width: 100%; }
.quote-card { background: #fff; border-radius: var(--r-lg); padding: 24px; border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; overflow: hidden; align-items: stretch; }
.quote-card img { width: 100%; height: 100%; object-fit: cover; }
.quote-body { padding: 10px 10px 10px 30px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.quote-body blockquote { margin: 0; font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.quote-body cite { font-style: normal; font-size: 13.5px; color: var(--muted); }
.quote-body cite b { color: var(--ink); display: block; font-size: 15px; }
.science-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.science-visual { position: relative; }
.science-visual img { border-radius: var(--r-xl); width: 100%; }
.science-visual .float-card { position: absolute; right: -16px; bottom: 32px; background: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: var(--sh-lg); display: flex; gap: 12px; align-items: center; max-width: 280px; }
.science-visual .float-card .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 26px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.stat b { font-family: var(--font-display); font-size: 30px; display: block; color: var(--brand); letter-spacing: -.02em; }
.stat span { font-size: 13.5px; color: var(--muted); }
.certs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 18px; }
.testi-summary { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.testi-summary .big { font-family: var(--font-display); font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.testi-summary .stars svg { width: 20px; height: 20px; }
.testi-summary .bars { display: grid; gap: 6px; margin-top: 8px; font-size: 12px; }
.testi-summary .bar-row { display: grid; grid-template-columns: 24px 1fr 36px; align-items: center; gap: 8px; }
.testi-summary .bar-row i { height: 6px; border-radius: 6px; background: rgba(255,255,255,.15); display: block; overflow: hidden; }
.testi-summary .bar-row i b { display: block; height: 100%; background: var(--accent); border-radius: 6px; }
.testi { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.testi .who { display: flex; align-items: center; gap: 12px; }
.testi .who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testi .who b { display: block; font-size: 14.5px; }
.testi .who span { font-size: 12.5px; color: var(--muted); }
.testi p { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
.testi .prod { font-size: 12px; color: var(--brand); font-weight: 600; margin-top: auto; }
.verified { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--green); font-weight: 600; }
.verified .icon { width: 13px; height: 13px; }

/* ---------- Press ---------- */
.press-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.press-logo { height: 72px; display: flex; align-items: center; justify-content: center; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.press-logo img { max-height: 40px; max-width: min(120px, 100%); filter: grayscale(1); opacity: .75; transition: .2s; object-fit: contain; }
.press-logo:hover img { filter: none; opacity: 1; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s; }
.post:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.post img { aspect-ratio: 2/1; object-fit: cover; width: 100%; }
.post-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.post-body h3 { font-size: 17px; line-height: 1.3; }
.post-meta { font-size: 12.5px; color: var(--muted); display: flex; gap: 10px; }

/* ---------- Newsletter / CTA ---------- */
.cta-band { background: linear-gradient(120deg, var(--brand-700) 0%, var(--brand) 60%, #3B82F6 100%); color: #fff; border-radius: var(--r-xl); padding: 48px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.06); right: -120px; top: -140px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.8); }
.cta-form { display: flex; gap: 8px; background: #fff; padding: 6px; border-radius: 999px; }
.cta-form input { flex: 1; border: 0; outline: 0; padding: 0 18px; border-radius: 999px; font-size: 15px; min-width: 0; }
.cta-form .btn { height: 46px; }
.wa-btn { display: inline-flex; align-items: center; gap: 10px; background: #25D366; color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 700; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 64px 0 28px; margin-top: 80px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 36px; }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--font-body); font-weight: 700; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer-brand img { height: 46px; margin-bottom: 14px; background: #fff; border-radius: 10px; padding: 6px; }
.footer-brand p { max-width: 320px; line-height: 1.6; }
.social { display: flex; gap: 8px; margin-top: 18px; }
.social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: .15s; }
.social a:hover { background: var(--brand); }
.footer-certs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.footer-certs span { font-size: 11.5px; padding: 6px 10px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 12.5px; }
.pay-icons { display: flex; gap: 6px; }
.pay-icons span { background: #fff; color: var(--ink); font-size: 10.5px; font-weight: 800; padding: 5px 8px; border-radius: 6px; letter-spacing: .02em; }
.footer-disclaimer { font-size: 11.5px; color: rgba(255,255,255,.45); margin-top: 16px; line-height: 1.6; max-width: 900px; }

/* ==========================================================================
   Shop page
   ========================================================================== */
.page-head { padding: 28px 0 20px; }
.crumbs { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.crumbs a:hover { color: var(--brand); }
.crumbs .icon { width: 14px; height: 14px; }
.shop-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; padding-bottom: 60px; }
.filters { position: sticky; top: calc(var(--header-h) + 60px); display: flex; flex-direction: column; gap: 8px; }
.filter-group { border-bottom: 1px solid var(--line); padding: 14px 0; }
.filter-group summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 14px; }
.filter-group summary::-webkit-details-marker { display: none; }
.filter-group summary .icon { width: 16px; height: 16px; transition: transform .2s; }
.filter-group[open] summary .icon { transform: rotate(180deg); }
.filter-opts { display: grid; gap: 8px; padding-top: 12px; }
.filter-opt { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.filter-opt input { accent-color: var(--brand); width: 16px; height: 16px; }
.filter-opt .n { margin-left: auto; font-size: 12px; color: var(--faint); }
.filter-opt .sw { width: 12px; height: 12px; border-radius: 50%; }
.shop-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.shop-bar .count { font-size: 14px; color: var(--muted); }
.shop-bar .count b { color: var(--ink); }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.active-filters .chip { background: var(--brand-50); color: var(--brand-700); }
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.filter-toggle { display: none; }
.goal-strip { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 4px 0 14px; }
.goal-strip::-webkit-scrollbar { display: none; }
.goal-strip a { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 6px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 13.5px; font-weight: 600; background: #fff; transition: .15s; }
.goal-strip a img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; object-position: top; }
.goal-strip a:hover, .goal-strip a.on { border-color: var(--brand); color: var(--brand); background: var(--brand-50); }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); grid-column: 1/-1; }

/* ==========================================================================
   Product page
   ========================================================================== */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; padding: 20px 0 56px; align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); display: grid; grid-template-columns: 76px 1fr; gap: 14px; }
.thumbs { display: flex; flex-direction: column; gap: 10px; }
.thumbs button { width: 76px; height: 76px; border-radius: 14px; overflow: hidden; border: 2px solid var(--line); background: var(--surface); transition: .15s; }
.thumbs button.on { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--tint, var(--surface)); aspect-ratio: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-main:hover img { transform: scale(1.5); }
.gallery-main .pill { position: absolute; top: 14px; left: 14px; z-index: 2; }
.gallery-main .zoom-hint { position: absolute; right: 14px; bottom: 14px; background: rgba(255,255,255,.9); padding: 6px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; display: inline-flex; gap: 5px; align-items: center; }
.buy { display: flex; flex-direction: column; gap: 16px; }
.buy h1 { font-size: clamp(28px, 3vw, 38px); }
.buy .tagline { font-size: 17px; color: var(--ink-3); }
.rating-row { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.rating-row a { color: var(--brand); font-weight: 600; }
.price-row { display: flex; align-items: baseline; gap: 10px; }
.price-row .now { font-family: var(--font-display); font-size: 32px; font-weight: 800; letter-spacing: -.02em; }
.price-row s { color: var(--faint); font-size: 16px; }
.price-row .pill { align-self: center; }
.tax-note { font-size: 12.5px; color: var(--muted); margin-top: -8px; }
.plans { display: grid; gap: 10px; }
.plan { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: start; padding: 16px; border: 2px solid var(--line); border-radius: 16px; cursor: pointer; transition: .15s; position: relative; }
.plan:hover { border-color: var(--line-2); }
.plan.on { border-color: var(--brand); background: var(--brand-50); }
.plan input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--brand); }
.plan b { font-size: 15px; display: flex; align-items: center; gap: 8px; }
.plan .pl-sub { font-size: 13px; color: var(--ink-3); margin-top: 3px; }
.plan .pl-price { text-align: right; font-weight: 800; font-size: 18px; }
.plan .pl-price small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }
.plan .pl-extra { grid-column: 2 / -1; margin-top: 10px; display: none; }
.plan.on .pl-extra { display: block; }
.plan .pl-perks { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--ink-2); margin-top: 8px; }
.plan .pl-perks span { display: inline-flex; align-items: center; gap: 4px; }
.plan .pl-perks .icon { width: 13px; height: 13px; color: var(--green); }
.freq-select { display: flex; gap: 8px; flex-wrap: wrap; }
.freq-select button { height: 34px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font-size: 12.5px; font-weight: 600; }
.freq-select button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.buy-actions { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.buy-actions .btn-primary { grid-column: 1 / -1; grid-row: 1; }
.buy-actions .btn-primary.sub-mode { background: var(--green); box-shadow: 0 6px 16px -6px rgba(22,163,74,.5); }
.buy-actions .btn-primary.sub-mode:hover { background: #15803D; }
.buy-actions .qty { justify-self: start; }
.buy-actions .btn-ink { }
.delivery { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: grid; gap: 10px; }
.delivery .row-in { display: flex; gap: 8px; }
.delivery .input { height: 42px; max-width: 180px; }
.delivery .btn { height: 42px; }
.delivery-result { font-size: 13.5px; display: grid; gap: 6px; }
.delivery-result div { display: flex; gap: 8px; align-items: center; }
.delivery-result .icon { width: 16px; height: 16px; color: var(--green); }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.trust-row div { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 11.5px; color: var(--ink-3); padding: 10px 4px; background: var(--surface); border-radius: 12px; }
.trust-row .icon { width: 20px; height: 20px; color: var(--brand); }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 13.5px; }
.spec-list div { display: flex; gap: 8px; }
.spec-list span { color: var(--muted); min-width: 70px; }
.fbt { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.fbt h3 { font-size: 17px; margin-bottom: 14px; }
.fbt-items { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fbt-item { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 110px; text-align: center; font-size: 12px; }
.fbt-item img { width: 90px; height: 90px; border-radius: 14px; object-fit: cover; }
.fbt-item label { display: flex; align-items: center; gap: 5px; font-weight: 600; cursor: pointer; }
.fbt-plus { font-size: 22px; color: var(--faint); font-weight: 300; }
.fbt-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-2); flex-wrap: wrap; }
.fbt-total b { font-size: 20px; }
.fbt-total s { color: var(--faint); font-size: 13px; margin-left: 6px; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-weight: 700; font-size: 16px; font-family: var(--font-display); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { width: 20px; height: 20px; transition: transform .2s; color: var(--muted); }
.accordion details[open] summary .icon { transform: rotate(45deg); }
.accordion .acc-body { padding: 0 0 20px; color: var(--ink-2); font-size: 14.5px; line-height: 1.65; }
.benefit-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.benefit-list li { display: flex; gap: 10px; align-items: flex-start; }
.benefit-list .icon { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 2px; }
.nutri { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.nutri th, .nutri td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.nutri th { background: var(--surface); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.nutri td:nth-child(2), .nutri td:nth-child(3), .nutri th:nth-child(2), .nutri th:nth-child(3) { text-align: right; }
.howto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.howto div { background: var(--surface); border-radius: 14px; padding: 16px; font-size: 13.5px; }
.howto b { display: block; font-size: 22px; font-family: var(--font-display); color: var(--brand); margin-bottom: 6px; }
.pdp-sections { padding-bottom: 60px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }
.reviews-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: start; }
.rv-summary { position: sticky; top: calc(var(--header-h) + 20px); background: var(--surface); border-radius: var(--r-lg); padding: 24px; }
.rv-summary .big { font-family: var(--font-display); font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.rv-bars { display: grid; gap: 8px; margin: 16px 0; font-size: 13px; }
.rv-bars .bar-row { display: grid; grid-template-columns: 44px 1fr 36px; align-items: center; gap: 10px; }
.rv-bars .bar-row i { height: 8px; border-radius: 8px; background: var(--line); display: block; overflow: hidden; }
.rv-bars .bar-row i b { display: block; height: 100%; background: #F59E0B; border-radius: 8px; }
.rv-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.review { border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: grid; gap: 10px; }
.review .rv-head { display: flex; align-items: center; gap: 12px; }
.review .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-50); color: var(--brand); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.review .rv-head b { display: block; font-size: 14px; }
.review .rv-head span { font-size: 12px; color: var(--muted); }
.review p { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.review .rv-foot { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.review .rv-foot button { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-3); font-weight: 600; }
.review .rv-foot button .icon { width: 14px; height: 14px; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px; display: none; align-items: center; gap: 12px; z-index: 50; box-shadow: 0 -10px 30px -12px rgba(11,31,58,.2); transform: translateY(100%); transition: transform .3s var(--ease); }
.sticky-buy.on { transform: none; }
.sticky-buy img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.sticky-buy .sb-info { flex: 1; min-width: 0; }
.sticky-buy .sb-info b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .sb-info span { font-size: 13px; font-weight: 700; }
.sticky-buy .btn { height: 44px; }

/* ==========================================================================
   Cart page
   ========================================================================== */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 36px; align-items: start; padding-bottom: 60px; }
.cart-list .ci { grid-template-columns: 100px 1fr; }
.cart-list .ci img { width: 100px; height: 100px; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); background: var(--surface); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 10px; }
.summary h3 { font-size: 18px; margin-bottom: 4px; }
.coupon { display: flex; gap: 8px; }
.coupon .input { height: 44px; }
.coupon .btn { height: 44px; }
.coupon-ok { font-size: 13px; color: var(--green); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.coupon-ok button { color: var(--muted); text-decoration: underline; font-size: 12px; }

/* ==========================================================================
   Checkout
   ========================================================================== */
.checkout-header { border-bottom: 1px solid var(--line); background: #fff; }
.checkout-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.checkout-header .secure { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.checkout-header .secure .icon { width: 16px; height: 16px; color: var(--green); }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 48px; align-items: start; padding: 32px 0 80px; }
.co-steps { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 24px; align-items: center; }
.co-steps span.on { color: var(--ink); font-weight: 700; }
.co-steps .icon { width: 14px; height: 14px; }
.co-section { display: grid; gap: 14px; margin-bottom: 28px; }
.co-section h3 { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.co-section h3 .num { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-body); }
.co-section.done h3 .num { background: var(--green); }
.co-section.locked { opacity: .45; pointer-events: none; }
.express { display: grid; gap: 10px; }
.express-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.express-btns button { height: 48px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: .15s; }
.express-btns button:hover { border-color: var(--ink); }
.or { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.addr-saved { display: grid; gap: 8px; }
.addr-opt { display: grid; grid-template-columns: 20px 1fr auto; gap: 12px; padding: 14px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; font-size: 14px; }
.addr-opt.on { border-color: var(--brand); background: var(--brand-50); }
.addr-opt b { display: block; }
.addr-opt input { accent-color: var(--brand); margin-top: 2px; }
.ship-opt { display: grid; grid-template-columns: 20px 1fr auto; gap: 12px; padding: 14px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; font-size: 14px; align-items: center; }
.ship-opt.on { border-color: var(--brand); background: var(--brand-50); }
.ship-opt b { display: block; }
.ship-opt span { font-size: 12.5px; color: var(--muted); }
.ship-opt .pr { font-weight: 700; }
.pay-tabs { display: grid; gap: 8px; }
.pay-opt { border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; }
.pay-opt.on { border-color: var(--brand); }
.pay-opt .po-head { display: grid; grid-template-columns: 20px 1fr auto; gap: 12px; padding: 14px 16px; cursor: pointer; align-items: center; font-size: 14.5px; font-weight: 600; }
.pay-opt.on .po-head { background: var(--brand-50); }
.pay-opt .po-head input { accent-color: var(--brand); }
.pay-opt .po-head .pill { height: 22px; font-size: 11px; }
.pay-opt .po-body { display: none; padding: 16px; border-top: 1px solid var(--line); background: #fff; }
.pay-opt.on .po-body { display: block; }
.upi-apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.upi-apps button { height: 56px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; font-size: 12.5px; font-weight: 700; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.upi-apps button.on { border-color: var(--brand); background: var(--brand-50); }
.upi-apps i { width: 22px; height: 22px; border-radius: 6px; display: block; }
.card-preview { background: linear-gradient(135deg, #0B1F3A, #1457C9); color: #fff; border-radius: 16px; padding: 18px 20px; margin-bottom: 14px; font-family: var(--font-body); position: relative; overflow: hidden; }
.card-preview .num { font-size: 20px; letter-spacing: .14em; font-variant-numeric: tabular-nums; margin: 18px 0 10px; }
.card-preview .meta { display: flex; justify-content: space-between; font-size: 12px; text-transform: uppercase; opacity: .85; }
.card-preview .chip-ic { width: 38px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #FFD233, #F59E0B); }
.card-preview .brand-ic { position: absolute; right: 18px; top: 18px; font-weight: 800; font-style: italic; opacity: .9; }
.banks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.banks button { height: 44px; border-radius: 10px; border: 1.5px solid var(--line-2); font-size: 13px; font-weight: 600; background: #fff; }
.banks button.on { border-color: var(--brand); background: var(--brand-50); }
.co-summary { position: sticky; top: 20px; background: var(--surface); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 10px; }
.co-summary .ci { grid-template-columns: 60px 1fr; padding: 10px 0; }
.co-summary .ci img { width: 60px; height: 60px; }
.co-summary .ci .ci-name { font-size: 13.5px; }
.co-summary .ci-qty { position: absolute; }
.co-items { max-height: 320px; overflow: auto; }
.place-order { position: sticky; bottom: 0; }
.co-note { font-size: 12px; color: var(--muted); text-align: center; }
.co-mobile-summary { display: none; }
.processing { position: fixed; inset: 0; background: rgba(255,255,255,.92); z-index: 200; display: none; align-items: center; justify-content: center; flex-direction: column; gap: 16px; text-align: center; }
.processing.on { display: flex; }
.spinner { width: 54px; height: 54px; border-radius: 50%; border: 5px solid var(--brand-100); border-top-color: var(--brand); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg) } }

/* ---------- Order confirmed ---------- */
.confirm { max-width: 760px; margin: 0 auto; padding: 48px 0 80px; display: grid; gap: 24px; }
.confirm-hero { text-align: center; display: grid; gap: 10px; justify-items: center; }
.confirm-hero .ok { width: 84px; height: 84px; border-radius: 50%; background: var(--green-50); color: var(--green); display: inline-flex; align-items: center; justify-content: center; animation: pop .5s var(--ease); }
.confirm-hero .ok .icon { width: 42px; height: 42px; stroke-width: 2.4; }
@keyframes pop { from { transform: scale(.5); opacity: 0 } }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 12.5%; right: 12.5%; top: 17px; height: 2px; background: var(--line); }
.tl { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 12.5px; color: var(--muted); position: relative; }
.tl i { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--faint); }
.tl.done i { background: var(--green); border-color: var(--green); color: #fff; }
.tl.now i { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 5px var(--brand-50); }
.tl.done, .tl.now { color: var(--ink); font-weight: 600; }
.tl .icon { width: 16px; height: 16px; }
.order-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.order-meta div { background: var(--surface); border-radius: 14px; padding: 14px; font-size: 13px; }
.order-meta b { display: block; font-size: 15px; margin-top: 2px; }

/* ==========================================================================
   Account
   ========================================================================== */
.account { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 36px; align-items: start; padding: 28px 0 80px; }
.acc-nav { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 4px; }
.acc-user { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--sky); border-radius: 16px; margin-bottom: 12px; }
.acc-user .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
.acc-user b { display: block; font-size: 14.5px; }
.acc-user span { font-size: 12.5px; color: var(--muted); }
.acc-link { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; font-weight: 600; font-size: 14px; color: var(--ink-2); transition: .15s; }
.acc-link:hover { background: var(--surface); }
.acc-link.on { background: var(--brand-50); color: var(--brand-700); }
.acc-link .icon { width: 18px; height: 18px; }
.acc-link .n { margin-left: auto; font-size: 11.5px; background: var(--surface-2); padding: 2px 8px; border-radius: 999px; }
.acc-panel { display: none; }
.acc-panel.on { display: block; }
.acc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.acc-head h2 { font-size: 28px; }
.sub-card { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; margin-bottom: 16px; }
.sub-card .sc-head { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px; align-items: center; }
.sub-card .sc-head img { width: 84px; height: 84px; border-radius: 14px; object-fit: cover; }
.sub-card .sc-head b { font-size: 17px; font-family: var(--font-display); display: block; }
.sub-card .sc-head .meta { font-size: 13px; color: var(--muted); margin-top: 3px; }
.sub-card .status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.sub-card .status.active { background: var(--green-50); color: #166534; }
.sub-card .status.paused { background: var(--amber-50); color: #92400E; }
.sub-card .status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: block; }
.sc-next { background: var(--sky); padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.sc-next .countdown { display: flex; gap: 6px; }
.sc-next .countdown span { background: #fff; border-radius: 8px; padding: 4px 8px; font-weight: 800; font-family: var(--font-display); min-width: 40px; text-align: center; font-size: 15px; }
.sc-next .countdown small { display: block; font-size: 9.5px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.sc-actions { display: flex; gap: 8px; padding: 14px 18px; flex-wrap: wrap; border-top: 1px solid var(--line); }
.sc-actions .btn { height: 38px; font-size: 13px; padding: 0 14px; }
.sc-actions .btn .icon { width: 15px; height: 15px; }
.sc-actions .danger { color: var(--red); margin-left: auto; }
.order-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; align-items: center; }
.order-row .imgs { display: flex; margin-top: 8px; }
.order-row .imgs img { width: 40px; height: 40px; border-radius: 10px; margin-left: -8px; border: 2px solid #fff; object-fit: cover; }
.order-row .imgs img:first-child { margin-left: 0; }
.order-row .st { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--green-50); color: #166534; }
.order-row .st.ship { background: var(--brand-50); color: var(--brand-700); }
.addr-card { border: 1px solid var(--line); border-radius: 16px; padding: 16px; font-size: 14px; display: grid; gap: 4px; }
.addr-card b { font-size: 15px; }
.addr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wallet { background: linear-gradient(135deg, var(--ink), #1457C9); color: #fff; border-radius: var(--r-lg); padding: 24px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; }
.wallet .amt { font-family: var(--font-display); font-size: 40px; font-weight: 800; }
.wallet .btn { background: var(--accent); color: var(--accent-ink); }
.refer { border: 1px dashed var(--brand-200); background: var(--sky); border-radius: 16px; padding: 18px; display: flex; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.refer code { background: #fff; padding: 8px 12px; border-radius: 10px; font-weight: 800; font-family: var(--font-display); letter-spacing: .08em; }
.wish-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* ---------- Quiz ---------- */
.quiz-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.quiz-opt { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 8px; border: 1.5px solid var(--line); border-radius: 14px; font-size: 13px; font-weight: 600; text-align: center; transition: .15s; }
.quiz-opt img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; }
.quiz-opt:hover, .quiz-opt.on { border-color: var(--brand); background: var(--brand-50); }
.quiz-opt.wide { grid-column: span 3; flex-direction: row; justify-content: flex-start; padding: 14px; }
.quiz-result { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; background: var(--sky); border-radius: 16px; padding: 16px; }
.quiz-result img { width: 120px; height: 120px; border-radius: 14px; object-fit: cover; }
.quiz-progress { height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; margin: 8px 0 18px; }
.quiz-progress i { display: block; height: 100%; background: var(--brand); transition: width .3s; }

/* ---------- Science page ---------- */
.science-hero { background: var(--ink); color: #fff; padding: 72px 0; position: relative; overflow: hidden; }
.science-hero h1 { color: #fff; }
.science-hero .lead { color: rgba(255,255,255,.75); font-size: 17px; max-width: 600px; }
.science-hero::after { content: ''; position: absolute; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(20,87,201,.5), transparent 60%); right: -200px; top: -200px; }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.feature .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--brand-50); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { color: var(--ink-3); font-size: 14.5px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .carousel-track > * { flex-basis: calc((100% - 36px) / 3); }
  .bundles { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .press-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .goals-grid { grid-auto-rows: 240px; }
  :root { --header-h: 64px; }
  .announce-links { display: none; }
  .header-main { gap: 8px; }
  .search { display: none; }
  .search.mobile-open { display: block; position: fixed; inset: 0; background: #fff; z-index: 110; padding: 12px 16px; max-width: none; overflow-y: auto; }
  .search.mobile-open .search-panel { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; margin-top: 12px; }
  .search.mobile-open .search-form { height: 46px; }
  .search-cat { display: none; }
  .search-overlay { display: block; }
  .sp-results { grid-template-columns: 1fr; }
  .sp-results .sp-section:nth-child(2) { border-left: 0; border-top: 1px solid var(--line); }
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .h-btn { height: 44px; padding: 0 10px; }
  .h-cart { padding: 0 14px; }
  .h-btn .lbl { display: none; }
  .h-account { display: none !important; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 36px 0 24px; }
  .hero-copy { min-width: 0; }
  .hero-visual { height: 420px; }
  .hero-card { width: 200px; }
  .hero-card.c2 { width: 220px; left: 30%; }
  .hero-card.c1 { left: 0; }
  .hero-bg-ring { width: 380px; height: 380px; }
  .float.f3 { display: none; }
  .steps { grid-template-columns: 1fr; }
  .sub-grid, .science-grid { grid-template-columns: 1fr; gap: 28px; }
  .science-visual .float-card { right: 8px; }
  .cta-band { grid-template-columns: 1fr; padding: 32px; }
  .pdp { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; order: 2; overflow-x: auto; }
  .thumbs button { width: 64px; height: 64px; flex: none; }
  .gallery-main:hover img { transform: none; }
  .reviews-layout { grid-template-columns: minmax(0, 1fr); }
  .rv-summary { position: static; }
  .shop-layout { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; top: 0; bottom: 0; left: 0; width: min(340px, 88vw); background: #fff; z-index: 95; padding: 20px; overflow-y: auto; transform: translateX(-100%); transition: transform .3s var(--ease); }
  .filters.on { transform: none; }
  .filter-toggle { display: inline-flex; }
  .cart-layout, .checkout, .account { grid-template-columns: minmax(0, 1fr); }
  .summary, .co-summary, .acc-nav { position: static; }
  .co-summary { order: -1; }
  .acc-nav { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 6px; }
  .acc-nav .acc-user { display: none; }
  .acc-link { flex: none; }
  .sticky-buy { display: flex; }
  .mega { display: none; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .quote-card { grid-template-columns: 1fr; }
  .quote-body { padding: 18px 4px 4px; }
  .timeline::before { display: none; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 14px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .section { padding: 48px 0; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 20px; }
  .section-head .carousel-nav { display: none; }
  .products-grid, .shop-grid, .bundles, .testi-grid, .blog-grid, .wish-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .carousel-track > * { flex-basis: 72%; }
  .testi-grid { grid-template-columns: 1fr; }
  .testi-summary { padding: 22px; }
  .press-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .goals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 10px; }
  .goal-tile.big { grid-column: span 2; grid-row: span 1; }
  .goal-tile.big b { font-size: 18px; }
  .goal-tile.big img { object-position: center 60%; }
  .goal-tile:not(.big) .gt-body span:not(.arrow) { display: none; }
  .goal-tile .gt-body { padding: 12px; }
  .goal-tile .arrow { width: 30px; height: 30px; }
  .goal-tile b { font-size: 15px; }
  .hero h1 { font-size: 36px; }
  .hero-visual { height: 340px; }
  .hero-card { width: 160px; padding: 10px; border-radius: 18px; }
  .hero-card.c2 { width: 180px; left: 28%; top: 70px; }
  .hero-card .hc-name { font-size: 12px; }
  .hero-card .hc-sub { display: none; }
  .float { font-size: 12px; padding: 8px 10px; }
  .float.f2 { right: 0; bottom: 20px; }
  .float.f1 { bottom: 20px; }
  .pcard-body { padding: 12px; }
  .pcard-name { font-size: 14.5px; }
  .pcard-foot .btn-outline { display: none; }
  .pcard-quick { display: none; }
  .buy-actions { grid-template-columns: 1fr; }
  .buy-actions .qty { justify-self: stretch; }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .howto { grid-template-columns: 1fr; }
  .spec-list { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1.3fr 1fr 1fr; font-size: 12.5px; }
  .compare > div { padding: 10px 10px; font-size: 12.5px; }
  .calc-out { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .express-btns { grid-template-columns: 1fr 1fr 1fr; }
  .upi-apps { grid-template-columns: repeat(4, 1fr); }
  .banks { grid-template-columns: 1fr 1fr; }
  .order-meta { grid-template-columns: 1fr; }
  .sub-card .sc-head { grid-template-columns: 64px 1fr; }
  .sub-card .sc-head img { width: 64px; height: 64px; }
  .sub-card .sc-head .status { grid-column: 2; justify-self: start; }
  .sc-actions .danger { margin-left: 0; }
  .addr-grid { grid-template-columns: 1fr; }
  .wallet { grid-template-columns: 1fr; }
  .quiz-opts { grid-template-columns: repeat(3, 1fr); }
  .quiz-opt { font-size: 12px; }
  .quiz-result { grid-template-columns: 90px 1fr; }
  .quiz-result img { width: 90px; height: 90px; }
  .toast-wrap { left: 12px; right: 12px; bottom: 76px; }
  .toast { min-width: 0; max-width: none; }
  .feature-list { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cta-form { flex-direction: column; border-radius: 20px; }
  .cta-form input { height: 44px; }
  .mega-goals { grid-template-columns: 1fr; }
  .page-head { padding: 16px 0 12px; }
  .checkout-header .container { height: 60px; }
  .checkout-header .logo img { height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Custom dropdown ---------- */
.dd { position: relative; display: block; width: 100%; min-width: 0; }
.dd-native { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; overflow: hidden; clip: rect(0 0 0 0); }
.dd-btn { display: flex; align-items: center; gap: 10px; width: 100%; height: 48px; padding: 0 12px 0 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; text-align: left; font-size: 15px; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.dd-btn:hover { border-color: var(--faint); }
.dd-btn:focus-visible, .dd.open .dd-btn { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.dd-btn.placeholder .dd-label { color: var(--faint); }
.dd-btn img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; object-position: top; flex: none; }
.dd-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.dd-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dd-chev { width: 18px; height: 18px; color: var(--muted); flex: none; transition: transform .2s var(--ease); }
.dd.open .dd-chev { transform: rotate(180deg); color: var(--brand); }
.dd-sw { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.dd-sm .dd-btn { height: 40px; font-size: 14px; font-weight: 600; border-radius: 999px; padding: 0 12px 0 16px; min-width: 170px; }
.dd-sm { width: auto; }
.dd-rich .dd-btn { height: 60px; padding-left: 10px; }
.dd-rich .dd-btn img { width: 40px; height: 40px; border-radius: 10px; }
.dd-rich .dd-btn .dd-label { font-weight: 600; }
.search-cat { padding: 0 !important; }
.search-cat .dd { height: 100%; }
.dd-cat .dd-btn { height: 100%; border: 0; border-radius: 0; background: transparent; box-shadow: none !important; padding: 0 10px 0 14px; font-size: 13px; font-weight: 600; color: var(--ink-2); gap: 6px; }
.dd-cat .dd-btn img { display: none; }
.dd-cat .dd-chev { width: 14px; height: 14px; }
.dd-cat .dd-btn:hover { background: var(--surface-2); }
.dd-menu { position: fixed; z-index: 140; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 48px -16px rgba(11,31,58,.28), 0 4px 12px -4px rgba(11,31,58,.08); display: flex; flex-direction: column; overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top center; transition: opacity .16s var(--ease), transform .16s var(--ease), visibility 0s .16s; }
.dd-menu.up { transform-origin: bottom center; transform: translateY(6px) scale(.98); }
.dd-menu.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dd-list { overflow-y: auto; padding: 6px; overscroll-behavior: contain; min-height: 0; flex: 1; position: relative; }
.dd-opt { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; cursor: pointer; font-size: 14.5px; color: var(--ink-2); }
.dd-opt.act { background: var(--sky); color: var(--ink); }
.dd-opt.sel { color: var(--brand-700); font-weight: 600; }
.dd-opt.dis { opacity: .45; pointer-events: none; }
.dd-opt img { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; object-position: top; flex: none; background: var(--surface); }
.dd-opt small { font-size: 12.5px; color: var(--muted); font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dd-tick { width: 16px; height: 16px; color: var(--brand); flex: none; stroke-width: 2.4; }
.dd-search { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--muted); flex: none; }
.dd-search input { flex: 1; border: 0; outline: 0; font-size: 14px; background: transparent; min-width: 0; }
.dd-empty { padding: 18px; text-align: center; font-size: 13.5px; color: var(--muted); }
.dd-menu-cat .dd-opt { padding: 7px 10px; }
.dd-menu-cat .dd-opt img { width: 32px; height: 32px; border-radius: 50%; }
.dd-menu-rich .dd-opt img { width: 44px; height: 44px; border-radius: 10px; }

/* ---------- Quiz ---------- */
.modal.modal-quiz { max-width: 760px; border-radius: 28px; display: flex; flex-direction: column; max-height: 92vh; overflow: hidden; }
.qz { display: flex; flex-direction: column; min-height: 0; max-height: 92vh; }
.qz-top { padding: 20px 26px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--sky), #fff); }
.qz-steps { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.qz-step { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--faint); white-space: nowrap; }
.qz-step i { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-weight: 700; font-size: 11.5px; background: #fff; }
.qz-step i .icon { width: 13px; height: 13px; stroke-width: 3; }
.qz-step b { font-weight: 600; }
.qz-step.now { color: var(--ink); } .qz-step.now i { border-color: var(--brand); background: var(--brand); color: #fff; box-shadow: 0 0 0 4px var(--brand-50); }
.qz-step.done { color: var(--ink-3); } .qz-step.done i { border-color: var(--green); background: var(--green); color: #fff; }
.qz-line { flex: 1; height: 2px; min-width: 12px; background: var(--line); border-radius: 2px; position: relative; overflow: hidden; }
.qz-line.done { background: var(--green); }
.qz-body { padding: 22px 26px; overflow-y: auto; min-height: 0; animation: qzIn .35s var(--ease); }
@keyframes qzIn { from { opacity: 0; transform: translateX(18px); } }
.qz-title { font-size: 24px; }
.qz-sub { color: var(--muted); font-size: 14.5px; margin: 6px 0 18px; }
.qz-goals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.qz-goal { position: relative; display: flex; flex-direction: column; text-align: left; border: 2px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
.qz-goal:hover { transform: translateY(-3px); border-color: var(--gc); box-shadow: 0 14px 26px -14px var(--gc); }
.qz-goal-img { display: block; height: 104px; overflow: hidden; background: color-mix(in srgb, var(--gc) 12%, #fff); }
.qz-goal-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .5s var(--ease); }
.qz-goal:hover .qz-goal-img img { transform: scale(1.06); }
.qz-goal-txt { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; }
.qz-goal-txt b { font-size: 14px; display: flex; align-items: center; gap: 7px; }
.qz-goal-txt b::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gc); flex: none; }
.qz-goal-txt small { font-size: 12px; color: var(--muted); line-height: 1.35; }
.qz-tick { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--gc); color: #fff; display: inline-flex; align-items: center; justify-content: center; transform: scale(0); transition: transform .2s var(--ease); }
.qz-tick .icon { width: 14px; height: 14px; stroke-width: 3; }
.qz-goal.on { border-color: var(--gc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gc) 18%, transparent); }
.qz-goal.on .qz-tick { transform: scale(1); }
.qz-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 16px; }
.qz-chip { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px 0 4px; border-radius: 999px; background: var(--surface); font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.qz-chip img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; object-position: top; }
.qz-chip .icon { width: 15px; height: 15px; margin-left: 6px; color: var(--muted); }
.qz-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.qz-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; padding: 16px; border: 2px solid var(--line); border-radius: 18px; background: #fff; transition: .2s var(--ease); }
.qz-card:hover { border-color: var(--brand-200); transform: translateY(-2px); box-shadow: var(--sh); }
.qz-card.on { border-color: var(--brand); background: var(--brand-50); }
.qz-card b { font-size: 15px; margin-top: 6px; }
.qz-card small { font-size: 12.5px; color: var(--muted); }
.qz-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.qz-card.on .qz-ic { background: var(--brand); color: #fff; }
.qz-rows { display: grid; gap: 10px; }
.qz-row { display: flex; align-items: center; gap: 14px; text-align: left; padding: 14px 16px; border: 2px solid var(--line); border-radius: 18px; background: #fff; transition: .2s var(--ease); }
.qz-row:hover { border-color: var(--brand-200); box-shadow: var(--sh); }
.qz-row.on { border-color: var(--brand); background: var(--brand-50); }
.qz-row > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.qz-row b { font-size: 15px; } .qz-row small { font-size: 13px; color: var(--muted); }
.qz-chev { width: 18px; height: 18px; color: var(--faint); transition: transform .2s; }
.qz-row:hover .qz-chev { transform: translateX(3px); color: var(--brand); }
.qz-loading { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 40px 0 30px; text-align: center; }
.qz-orbit { position: relative; width: 120px; height: 120px; }
.qz-orbit img { position: absolute; inset: 14px; width: 92px; height: 92px; border-radius: 50%; object-fit: cover; object-position: top; }
.qz-orbit span { position: absolute; inset: 0; border-radius: 50%; border: 4px solid color-mix(in srgb, var(--gc) 20%, transparent); border-top-color: var(--gc); animation: spin 1s linear infinite; }
.qz-loading b { font-family: var(--font-display); font-size: 18px; }
.qz-bar { width: 240px; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.qz-bar i { display: block; height: 100%; width: 0; background: var(--gc); border-radius: 6px; animation: qzBar 1.6s var(--ease) forwards; }
@keyframes qzBar { to { width: 100%; } }
.qz-result { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 22px; align-items: start; }
.qz-hero { position: relative; border-radius: 20px; overflow: hidden; background: var(--tint); aspect-ratio: 1; }
.qz-hero img { width: 100%; height: 100%; object-fit: cover; }
.qz-match { position: absolute; top: 10px; left: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--gc); color: #fff; font-size: 12px; font-weight: 700; box-shadow: 0 6px 14px -6px var(--gc); }
.qz-badge { position: absolute; left: 10px; right: 10px; bottom: 10px; background: rgba(255,255,255,.94); border-radius: 10px; padding: 6px 8px; font-size: 11.5px; font-weight: 600; display: flex; align-items: center; gap: 5px; justify-content: center; }
.qz-badge .stars svg { width: 11px; height: 11px; }
.qz-kicker { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gc); }
.qz-info h3 { font-size: 21px; margin-top: 6px; }
.qz-why { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 7px; font-size: 13.5px; color: var(--ink-2); }
.qz-why li { display: flex; gap: 8px; align-items: flex-start; }
.qz-why .icon { width: 17px; height: 17px; color: var(--gc); flex: none; margin-top: 1px; }
.qz-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.qz-meta span { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--tint); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.qz-meta .icon { color: var(--gc); }
.qz-plan { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.qz-opt { display: flex; align-items: flex-start; gap: 10px; text-align: left; padding: 14px; border: 2px solid var(--line); border-radius: 16px; background: #fff; transition: .15s; }
.qz-opt i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; margin-top: 2px; }
.qz-opt.on { border-color: var(--green); background: var(--green-50); }
.qz-opt.on i { border: 5px solid var(--green); }
.qz-opt[data-plan="once"].on { border-color: var(--brand); background: var(--brand-50); }
.qz-opt[data-plan="once"].on i { border-color: var(--brand); }
.qz-opt > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.qz-opt b { font-size: 14px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.qz-opt em { font-style: normal; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: var(--green); color: #fff; padding: 2px 7px; border-radius: 999px; }
.qz-opt small { font-size: 12px; color: var(--muted); line-height: 1.4; }
.qz-price { font-weight: 800; font-size: 16px; white-space: nowrap; display: flex; flex-direction: column; align-items: flex-end; }
.qz-price s { font-size: 12px; font-weight: 500; color: var(--faint); }
.qz-addon { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 14px; border: 1.5px dashed var(--line-2); border-radius: 16px; cursor: pointer; transition: .15s; }
.qz-addon.on { border-style: solid; border-color: var(--brand-200); background: var(--sky); }
.qz-addon input { width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.qz-addon img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex: none; }
.qz-addon > span:nth-of-type(1) { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.qz-addon b { font-size: 14px; } .qz-addon small { font-size: 12px; color: var(--muted); }
.qz-foot { display: flex; align-items: center; gap: 10px; padding: 14px 26px; border-top: 1px solid var(--line); background: #fff; flex-wrap: wrap; }
.qz-foot .btn-primary { margin-left: auto; }
.qz-foot .btn-primary s { opacity: .7; font-weight: 500; margin-left: 2px; }
.qz-sub-btn { background: var(--green); box-shadow: 0 6px 16px -6px rgba(22,163,74,.5); }
.qz-sub-btn:hover { background: #15803D; }
.qz-back { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; }
.qz-trust { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.qz-trust .icon { color: var(--green); }
@media (max-width: 640px) {
  .modal.modal-quiz { border-radius: 22px 22px 0 0; align-self: flex-end; max-height: 94vh; }
  .modal-backdrop:has(.modal-quiz) { padding: 0; align-items: flex-end; }
  .qz-top, .qz-body, .qz-foot { padding-left: 16px; padding-right: 16px; }
  .qz-step b { display: none; }
  .qz-step.now b { display: inline; }
  .qz-goals, .qz-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .qz-goal-img { height: 84px; }
  .qz-goal-txt small { display: none; }
  .qz-title { font-size: 20px; }
  .qz-result { grid-template-columns: 1fr; }
  .qz-hero { aspect-ratio: 4/3; }
  .qz-hero img { object-fit: contain; }
  .qz-plan { grid-template-columns: 1fr; }
  .qz-trust { margin-left: 0; }
  .qz-foot .btn-primary { width: 100%; order: -1; }
  .qz-foot .btn-outline { flex: 1; }
}

/* ---------- Mobile app chrome ---------- */
.m-searchbar { display: none; }
.m-tabbar { display: none; }
.m-buybar { display: none; }
.co-sum-toggle { display: none; }
@media (max-width: 980px) {
  .m-searchbar { display: flex; align-items: center; gap: 10px; width: 100%; height: 44px; margin: 0 0 10px; padding: 0 14px; border-radius: 12px; background: var(--surface); border: 1.5px solid var(--line); color: var(--faint); font-size: 14px; text-align: left; }
  .m-searchbar .icon { color: var(--brand); width: 19px; height: 19px; }
  .header-main { height: 58px; }
  .logo img { height: 38px; }
  .h-wish { display: none !important; }
  .m-tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px -16px rgba(11,31,58,.25); }
  .m-tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10.5px; font-weight: 600; color: var(--muted); padding: 4px 0; }
  .m-tabbar a.on { color: var(--brand); }
  .m-tabbar .tb-ic { position: relative; display: inline-flex; }
  .m-tabbar .icon { width: 22px; height: 22px; }
  .m-tabbar a[data-tab="quiz"] .tb-ic { width: 44px; height: 44px; margin-top: -20px; border-radius: 50%; background: var(--brand); color: #fff; align-items: center; justify-content: center; box-shadow: 0 8px 18px -6px rgba(20,87,201,.6); border: 3px solid #fff; }
  .m-tabbar a[data-tab="quiz"] .icon { width: 20px; height: 20px; }
  .m-tabbar .count { position: absolute; top: -6px; right: -10px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; display: none; align-items: center; justify-content: center; border: 2px solid #fff; }
  .m-tabbar .count.on { display: inline-flex; }
  body.has-tabbar { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  body.has-tabbar .toast-wrap { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .m-buybar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 30px -12px rgba(11,31,58,.2); }
  .m-buybar:empty { display: none; }
  .m-buybar > div { display: flex; flex-direction: column; line-height: 1.2; }
  .m-buybar b { font-family: var(--font-display); font-size: 20px; }
  .m-buybar .btn { height: 48px; padding: 0 22px; }
  body.has-buybar { padding-bottom: 84px; }
  body.has-buybar .toast-wrap { bottom: 96px; }
  .sticky-buy { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  .co-sum-toggle { display: flex; align-items: center; gap: 8px; width: 100%; font-size: 14px; font-weight: 600; color: var(--brand); }
  .co-sum-toggle b { margin-left: auto; color: var(--ink); font-size: 17px; font-family: var(--font-display); }
  .co-sum-toggle .co-chev { transition: transform .2s; }
  .co-summary.open .co-chev { transform: rotate(180deg); }
  .co-summary { padding: 14px 16px; border-radius: 16px; gap: 0; }
  .co-sum-body { display: none; padding-top: 12px; }
  .co-summary.open .co-sum-body { display: grid; gap: 10px; }
  .checkout { padding-top: 16px; gap: 20px; }
  .place-order { bottom: 10px; box-shadow: 0 10px 30px -8px rgba(20,87,201,.55); z-index: 5; }
}
@media (max-width: 640px) {
  h2 { font-size: 26px; }
  .section { padding: 40px 0; }
  .section-sm { padding: 28px 0; }
  .section-head p.lead { font-size: 14.5px; }
  /* hero */
  .hero-grid { padding: 24px 0 12px; gap: 18px; }
  .hero-copy { gap: 16px; }
  .hero h1 { font-size: 34px; }
  .hero p.lead { font-size: 15px; }
  .hero-ctas { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero-ctas .btn { width: 100%; height: 50px; }
  .hero-proof { font-size: 12.5px; gap: 10px; }
  .hero-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .hero-chips::-webkit-scrollbar { display: none; }
  .hero-chips .pill { flex: none; }
  .hero-visual { height: 300px; }
  .float.f2 { display: none; }
  .float.f1 { left: 50%; transform: translateX(-50%); bottom: -4px; animation: none; white-space: nowrap; }
  .hero-card.c2 { top: 40px; }
  .hero-card.c1, .hero-card.c3 { top: 10px; }
  .ticker-item { padding: 11px 18px; font-size: 12.5px; }
  /* cards */
  .pcard { border-radius: 16px; }
  .pcard-badge { max-width: calc(100% - 60px); overflow: hidden; text-overflow: ellipsis; display: block; height: 24px; line-height: 24px; font-size: 11px; padding: 0 9px; }
  .pcard-wish { width: 32px; height: 32px; top: 8px; right: 8px; }
  .pcard-wish .icon { width: 17px; height: 17px; }
  .pg-age { display: none; }
  .pcard-goal { font-size: 10.5px; }
  .pcard-tag { font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .pcard-rating { font-size: 11.5px; gap: 4px; }
  .pcard-rating .stars svg { width: 11px; height: 11px; }
  .pcard-price .now { font-size: 16px; }
  .pcard-price .sub { font-size: 11.5px; }
  .pcard-foot { margin-top: 8px; }
  .pcard-foot .btn { height: 38px; font-size: 13px; }
  .bundle-media .pill { max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; display: block; height: 24px; line-height: 24px; font-size: 11px; padding: 0 9px; }
  .bundle-body { padding: 26px 12px 12px; }
  .bundle-body h3 { font-size: 16px; }
  .bundle-body .list { font-size: 12px; }
  .bundle-price { gap: 6px; }
  .bundle-price .now { font-size: 17px; }
  .bundle .pcard-foot .btn-outline { display: none; }
  /* blog + testimonials as swipe rows */
  .blog-grid, .testi-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 4px 16px 8px; gap: 12px; }
  .blog-grid::-webkit-scrollbar, .testi-grid::-webkit-scrollbar { display: none; }
  .blog-grid > *, .testi-grid > * { flex: 0 0 80%; scroll-snap-align: start; }
  .testi-grid > .testi-summary { flex-basis: 70%; }
  .post-meta { flex-wrap: wrap; gap: 6px; }
  .press-logo { height: 58px; padding: 10px; }
  .compare > div { padding: 9px 8px; font-size: 12px; gap: 5px; }
  .compare .hd { font-size: 10.5px; letter-spacing: .04em; }
  .calc { padding: 18px; border-radius: 20px; }
  .cta-band { padding: 26px 20px; }
  .science-visual .float-card { position: static; margin: -40px 12px 0; }
  .quote-card { padding: 14px; }
  .quote-body blockquote { font-size: 17px; }
  /* footer accordions */
  .footer { padding: 40px 0 24px; margin-top: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-grid > div:not(.footer-brand) { border-top: 1px solid rgba(255,255,255,.1); }
  .footer-grid > div:not(.footer-brand) h4 { margin: 0; padding: 16px 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
  .footer-grid > div:not(.footer-brand) h4::after { content: '+'; font-size: 20px; font-weight: 400; color: rgba(255,255,255,.6); }
  .footer-grid > div.open h4::after { content: '\2212'; }
  .footer-grid > div:not(.footer-brand) ul { display: none; padding-bottom: 16px; }
  .footer-grid > div.open ul { display: grid; }
  .footer-brand { padding-bottom: 22px; }
  .footer-bottom { margin-top: 0; }
  /* shop */
  .page-head h1 { font-size: 28px !important; }
  .shop-bar { margin-bottom: 12px; }
  .shop-bar .row:last-child label { display: none; }
  .dd-sm .dd-btn { min-width: 0; }
  .goal-strip { margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  /* product */
  .buy { gap: 14px; }
  .buy h1 { font-size: 26px; }
  .buy .tagline { font-size: 15px; }
  .rating-row { flex-wrap: wrap; gap: 6px 8px; font-size: 13px; }
  .rating-row .muted { display: none; }
  .price-row .now { font-size: 28px; }
  .plan { padding: 14px 12px; gap: 10px; grid-template-columns: 20px 1fr auto; }
  .plan b { font-size: 14.5px; flex-wrap: wrap; gap: 4px 8px; }
  .plan .pl-price { font-size: 16px; }
  .freq-select { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .freq-select button { padding: 0; font-size: 12px; height: 34px; }
  .plan .pl-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; font-size: 12px; }
  .trust-row { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .trust-row div { font-size: 10.5px; padding: 8px 2px; }
  .trust-row .icon { width: 18px; height: 18px; }
  .fbt { padding: 16px; }
  .fbt-items { flex-wrap: nowrap; gap: 4px; }
  .fbt-item { width: auto; flex: 1; min-width: 0; font-size: 11px; }
  .fbt-item img { width: 100%; height: auto; aspect-ratio: 1; }
  .fbt-item label { font-size: 11px; text-align: center; justify-content: center; }
  .fbt-plus { font-size: 16px; }
  .fbt-total .btn { width: 100%; }
  .gallery-main { border-radius: 20px; }
  .gallery-main .zoom-hint { display: none; }
  .reviews-layout { gap: 18px; }
  .rv-summary { padding: 18px; }
  .review { padding: 16px; }
  .pdp-sections { gap: 40px; padding-bottom: 30px; }
  .pdp-sections .bg-sky { padding: 20px 16px !important; border-radius: 20px !important; }
  .pdp-sections .steps { gap: 12px; }
  .pdp-sections .step { padding: 18px; }
  /* cart */
  .ci { grid-template-columns: 72px 1fr; gap: 12px; }
  .cart-list .ci { grid-template-columns: 80px 1fr; }
  .cart-list .ci img { width: 80px; height: 80px; }
  .ci-plan { flex-wrap: wrap; }
  .ci .ci-plan.once button { text-decoration: none; color: var(--green); font-weight: 700; }
  .ci .ci-plan.once button::before { content: '\00B7  '; color: var(--faint); }
  /* account */
  .acc-head { flex-wrap: wrap; align-items: flex-start; }
  .acc-head h2 { font-size: 24px; }
  .sub-card .sc-head { padding: 14px; gap: 12px; }
  .sub-card .sc-head b { font-size: 15px; }
  .sc-next { padding: 12px 14px; }
  .sc-actions { display: grid; grid-template-columns: 1fr 1fr; padding: 12px 14px; }
  .sc-actions .btn { width: 100%; padding: 0 8px; }
  .sc-actions .danger { grid-column: 1 / -1; }
  .order-row { grid-template-columns: 1fr; }
  .order-row .stack { flex-direction: row; }
  /* checkout */
  .co-section h3 { font-size: 18px; }
  .express-btns button { font-size: 12.5px; gap: 5px; }
  .pay-opt .po-head { padding: 12px; font-size: 14px; }
  .pay-opt .po-head span .muted { display: none; }
  .upi-apps button { height: 52px; }
  .confirm { padding: 28px 0 40px; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

@media (hover: none) { .gallery-main .zoom-hint { display: none; } .gallery-main:hover img { transform: none; } }
.leaders { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.leader { display: grid; grid-template-columns: 180px 1fr; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.leader img, .leader .mono { width: 100%; height: 100%; min-height: 240px; object-fit: cover; object-position: top; }
.leader .mono { display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 56px; color: #fff; background: linear-gradient(160deg, var(--brand-700), var(--brand)); letter-spacing: -.04em; }
.leader-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.leader-body h3 { font-size: 20px; }
.leader-body p { font-size: 14px; color: var(--ink-3); line-height: 1.6; }
@media (max-width: 980px) { .leaders { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .leader { grid-template-columns: 1fr; } .leader img, .leader .mono { min-height: 200px; max-height: 260px; } }
