/* ==========================================================
   VAPZ — The Art of Vaping
   Black · Gold · Chrome design system
   ========================================================== */
:root {
  --bg: #060607;
  --bg-2: #0c0c0f;
  --bg-3: #121216;
  --card: rgba(22, 22, 27, .72);
  --card-solid: #141418;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f4f1ea;
  --muted: #9d998f;
  --gold: #dcae45;
  --gold-2: #f8dc86;
  --gold-3: #a7771c;
  --gold-glow: rgba(220, 174, 69, .35);
  --grad-gold: linear-gradient(135deg, #fbe6a2 0%, #e8bd52 30%, #c8922b 62%, #f3d27a 100%);
  --grad-chrome: linear-gradient(180deg, #ffffff 0%, #d9d9de 45%, #8d8d95 55%, #eeeeF2 100%);
  --success: #4fd08a;
  --danger: #ff5f5f;
  --info: #5fb4ff;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .8);
  --font-display: 'Oxanium', 'Segoe UI', sans-serif;
  --font-body: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --header-h: 78px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before { /* subtle film grain + vignette */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(220,174,69,.10), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(255,255,255,.035), transparent 60%);
}
main, header, footer, section { position: relative; }
main { z-index: 1; min-height: 50vh; }
img { max-width: 100%; display: block; }
a { color: var(--gold-2); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: #000; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 900px; }
.container.narrow-sm { max-width: 480px; }
.section { padding: 90px 0; }
.section.pt-0 { padding-top: 0; }
.section.pt-30 { padding-top: 30px; }
.section-dark { background: linear-gradient(180deg, transparent, rgba(255,255,255,.02) 20%, rgba(255,255,255,.02) 80%, transparent); }
.center { text-align: center; }
.muted { color: var(--muted); }
.mt-20 { margin-top: 20px; } .mt-40 { margin-top: 40px; } .mt-60 { margin-top: 70px; }
.grow { flex: 1; }
.only-mobile { display: none !important; }
.hp { position: absolute; left: -9999px; opacity: 0; }

.gold-text {
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% auto; animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Buttons ---------- */
.btn {
  --b-bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: 14px; border: 1px solid transparent;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .02em;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s, color .25s;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-gold { background: var(--grad-gold); background-size: 180% 180%; color: #120d02; box-shadow: 0 10px 30px -10px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-gold:hover { color: #000; background-position: 100% 0; box-shadow: 0 16px 40px -10px rgba(220,174,69,.6), inset 0 1px 0 rgba(255,255,255,.6); transform: translateY(-2px); }
.btn-gold::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-gold:hover::after { transform: translateX(120%); }
.btn-glass { background: rgba(255,255,255,.05); border-color: var(--line-2); color: var(--text); backdrop-filter: blur(10px); }
.btn-glass:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--muted); border-color: var(--line); }
.btn-ghost:hover { color: var(--text); border-color: var(--line-2); }
.btn-danger { background: rgba(255,95,95,.12); color: #ff8a8a; border-color: rgba(255,95,95,.35); }
.btn-danger:hover { background: rgba(255,95,95,.22); color: #fff; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; border-radius: 16px; }
.btn-sm { padding: 8px 14px; font-size: .88rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn.loading { pointer-events: none; opacity: .8; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--gold); font-family: var(--font-display); }
.link-arrow:hover { gap: 12px; color: var(--gold-2); }
.link-arrow.back { margin-bottom: 18px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 5px; font-size: .85rem; }
.link-btn:hover { color: var(--danger); }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: transparent; border: 1px solid transparent; color: var(--text); cursor: pointer; position: relative;
  transition: background .2s, border-color .2s, color .2s;
}
.icon-btn:hover { background: rgba(255,255,255,.06); border-color: var(--line); color: var(--gold-2); }

/* ---------- Age gate ---------- */
.age-gate {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px;
  background: rgba(3,3,4,.86); backdrop-filter: blur(16px);
  animation: fadeIn .4s ease;
}
.age-card {
  max-width: 440px; width: 100%; text-align: center; padding: 38px 30px;
  background: linear-gradient(160deg, #17171c, #0b0b0d); border: 1px solid rgba(220,174,69,.3); border-radius: 26px;
  box-shadow: 0 40px 120px -30px rgba(220,174,69,.35);
  animation: popIn .6s var(--ease);
}
.age-card img { margin: 0 auto 14px; width: 120px; height: auto; filter: drop-shadow(0 10px 30px rgba(220,174,69,.3)); }
.age-card h2 { font-size: 1.8rem; }
.age-card p { color: var(--muted); }
.age-actions { display: flex; gap: 12px; justify-content: center; margin: 22px 0 14px; flex-wrap: wrap; }
.age-card small { color: #6f6b63; font-size: .78rem; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(20px) scale(.94); } }

/* ---------- Admin shortcuts (only visible to signed-in admins) ---------- */
.admin-bar::-webkit-scrollbar { display: none; }
.admin-bar { scrollbar-width: none; position: relative; z-index: 61; display: flex; align-items: center; gap: 4px; padding: 6px 16px; background: #101014; border-bottom: 1px solid rgba(220,174,69,.35); font-size: .82rem; font-weight: 700; overflow-x: auto; white-space: nowrap; }
.admin-bar span { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); margin-right: 8px; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; }
.admin-bar a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; color: #e6e1d6; }
.admin-bar a:hover { background: rgba(220,174,69,.12); color: var(--gold-2); }
.admin-bar em { font-style: normal; background: var(--grad-gold); color: #000; border-radius: 8px; padding: 0 6px; font-size: .7rem; }
.admin-bar .ab-right { margin-left: auto; color: var(--gold-2); }
.admin-edit { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; padding: 6px 12px; border-radius: 10px; border: 1px dashed rgba(220,174,69,.5); color: var(--gold-2); font-size: .82rem; font-weight: 700; }

/* ---------- Announcement ---------- */
.announce {
  background: var(--grad-gold); color: #1a1204; font-weight: 700; font-size: .85rem;
  overflow: hidden; white-space: nowrap; position: relative; z-index: 60; height: 36px; display: flex; align-items: center;
}
.announce-track { display: inline-flex; animation: marquee 30s linear infinite; }
.announce-track span { padding: 0 60px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(6,6,7,.55); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, height .3s;
}
.site-header.scrolled { background: rgba(6,6,7,.86); border-bottom-color: var(--line); --header-h: 68px; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); flex-shrink: 0; }
.brand:hover { color: var(--text); }
.brand img { width: 46px; height: auto; filter: drop-shadow(0 4px 14px rgba(220,174,69,.35)); transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b {
  font-family: var(--font-display); font-weight: 800; font-size: 1.65rem; font-style: italic; letter-spacing: .04em;
  background: var(--grad-chrome); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-text b i { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-text small { font-size: .58rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-top: 4px; font-weight: 700; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav > a, .has-mega > a {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 10px;
  color: #d9d5cc; font-weight: 600; font-size: .95rem; position: relative; white-space: nowrap;
}
@media (min-width: 981px) and (max-width: 1360px) { .main-nav > a.hide-md { display: none; } }
.main-nav > a::after, .has-mega > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--grad-gold); transform: scaleX(0); transition: transform .3s var(--ease);
}
.main-nav > a:hover, .main-nav > a.active, .has-mega > a:hover, .has-mega > a.active { color: #fff; }
.main-nav > a:hover::after, .main-nav > a.active::after, .has-mega:hover > a::after, .has-mega > a.active::after { transform: scaleX(1); }
.nav-deal { color: var(--gold-2) !important; }
.caret { font-size: .7em; opacity: .7; }
.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; width: 640px; padding: 18px;
  transform: translateX(-50%) translateY(10px) rotateX(-8deg); transform-origin: top center;
  background: rgba(16,16,20,.96); backdrop-filter: blur(20px); border: 1px solid var(--line-2); border-radius: 22px;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: all .3s var(--ease);
}
.mega::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0) rotateX(0); }
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.mega-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; color: var(--text); transition: background .2s; }
.mega-item:hover { background: rgba(220,174,69,.08); color: var(--text); }
.mega-item img { width: 48px; height: 48px; object-fit: contain; background: radial-gradient(circle, rgba(220,174,69,.18), transparent 70%); border-radius: 12px; padding: 4px; }
.mega-item b { display: block; font-size: .95rem; }
.mega-item small { color: var(--muted); font-size: .78rem; }
.mega-all { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 12px; padding: 12px; border-top: 1px solid var(--line); font-weight: 700; color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 4px; }
.cart-count {
  position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
  background: var(--grad-gold); color: #000; font-size: .7rem; font-weight: 800; display: grid; place-items: center;
  box-shadow: 0 0 0 2px var(--bg);
}
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.5); } }
.nav-backdrop, .drawer-backdrop, .filters-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); z-index: 80;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.nav-open .nav-backdrop, .drawer-open .drawer-backdrop, .filters-open .filters-backdrop { opacity: 1; visibility: visible; }

/* ---------- Search overlay ---------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 200; background: rgba(4,4,5,.94); backdrop-filter: blur(16px);
  display: flex; flex-direction: column; align-items: center; padding: 16vh 20px 20px; animation: fadeIn .25s;
}
.search-box {
  width: min(760px, 100%); display: flex; align-items: center; gap: 14px; padding: 8px 10px 8px 22px;
  border-bottom: 2px solid var(--gold); color: var(--gold);
}
.search-box input { flex: 1; background: none; border: 0; outline: 0; font-size: clamp(1.3rem, 3vw, 2rem); font-family: var(--font-display); color: var(--text); padding: 10px 0; min-width: 0; }
.search-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; align-items: center; justify-content: center; color: var(--muted); }
.search-tags a { padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 30px; color: var(--text); font-size: .9rem; }
.search-tags a:hover { border-color: var(--gold); color: var(--gold-2); }

/* ---------- Cart drawer ---------- */
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100%); z-index: 90;
  background: linear-gradient(180deg, #111115, #0a0a0c); border-left: 1px solid var(--line);
  display: flex; flex-direction: column; transform: translateX(105%); transition: transform .45s var(--ease);
  box-shadow: -30px 0 80px rgba(0,0,0,.6);
}
.drawer-open .cart-drawer { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
.drawer-loading { display: grid; place-items: center; flex: 1; }
.ship-meter { padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: .88rem; }
.ship-meter p { margin: 0 0 8px; color: var(--muted); }
.ship-meter b { color: var(--gold-2); }
.meter { height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--grad-gold); border-radius: 6px; transition: width .6s var(--ease); box-shadow: 0 0 12px var(--gold-glow); }
.drawer-items { list-style: none; margin: 0; padding: 8px 22px; flex: 1; }
.drawer-items li { display: grid; grid-template-columns: 74px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.di-img { width: 74px; height: 74px; border-radius: 14px; background: radial-gradient(circle at 50% 40%, #26262d, #111114); display: grid; place-items: center; padding: 8px; }
.di-img img { max-height: 100%; object-fit: contain; }
.di-name { color: var(--text); font-weight: 700; font-size: .93rem; line-height: 1.3; display: block; }
.di-info small { color: var(--muted); font-size: .78rem; display: block; margin-top: 3px; }
.di-row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; gap: 10px; }
.di-row b { color: var(--gold-2); font-family: var(--font-display); }
.di-remove { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 4px; }
.di-remove:hover { color: var(--danger); }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); background: rgba(0,0,0,.3); display: grid; gap: 8px; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 5px 0; color: var(--muted); }
.row b { color: var(--text); font-weight: 700; }
.row.gold b, .row.gold span { color: var(--gold-2); }
.row.total { border-top: 1px dashed var(--line-2); margin-top: 6px; padding-top: 12px; color: var(--text); font-size: 1.1rem; }
.row.total b { font-family: var(--font-display); font-size: 1.35rem; color: var(--gold-2); }
.empty-cart { text-align: center; padding: 60px 30px; margin: auto 0; }
.empty-cart p { color: var(--muted); }
.empty-ico { width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; color: var(--gold); background: radial-gradient(circle, rgba(220,174,69,.15), transparent 70%); border: 1px solid rgba(220,174,69,.25); }

/* ---------- Qty ---------- */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255,255,255,.03); overflow: hidden; }
.qty button { width: 38px; height: 40px; background: none; border: 0; color: var(--text); cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s; }
.qty button:hover { background: rgba(220,174,69,.12); color: var(--gold-2); }
.qty input, .qty span { width: 44px; text-align: center; background: none; border: 0; outline: 0; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-sm button { width: 30px; height: 32px; }
.qty-sm span { width: 30px; font-size: .9rem; }
.qty-lg button { width: 46px; height: 54px; }

/* ---------- Toasts ---------- */
.toasts { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 300; display: grid; gap: 10px; width: min(420px, calc(100% - 32px)); pointer-events: none; }
.toast {
  pointer-events: auto; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px;
  background: rgba(22,22,26,.96); border: 1px solid var(--line-2); backdrop-filter: blur(12px); box-shadow: var(--shadow);
  animation: toastIn .45s var(--ease); font-weight: 600; font-size: .93rem;
}
.toast.ok { border-color: rgba(220,174,69,.5); }
.toast.ok::before { content: "✓"; color: #000; background: var(--grad-gold); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; flex-shrink: 0; }
.toast.err { border-color: rgba(255,95,95,.5); }
.toast.err::before { content: "!"; color: #fff; background: var(--danger); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; flex-shrink: 0; }
.toast.out { animation: toastOut .35s forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.95); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }

/* ---------- Alerts ---------- */
.flash-wrap { padding-top: 20px; }
.alert { padding: 14px 18px; border-radius: 14px; margin-bottom: 14px; border: 1px solid; font-weight: 600; font-size: .93rem; }
.alert-success { background: rgba(79,208,138,.08); border-color: rgba(79,208,138,.35); color: #9ff0c2; }
.alert-error { background: rgba(255,95,95,.08); border-color: rgba(255,95,95,.35); color: #ffb0b0; }
.alert-info { background: rgba(220,174,69,.07); border-color: rgba(220,174,69,.3); color: #f3dca0; }
.alert a { text-decoration: underline; }

/* ==========================================================
   HERO
   ========================================================== */
.hero { min-height: calc(100vh - var(--header-h) - 36px); display: flex; align-items: center; padding: 40px 0 80px; overflow: hidden; perspective: 1200px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.orb.o1 { width: 520px; height: 520px; right: 5%; top: 5%; background: radial-gradient(circle, rgba(220,174,69,.45), transparent 70%); animation: float 12s ease-in-out infinite; }
.orb.o2 { width: 420px; height: 420px; left: -8%; bottom: -10%; background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%); animation: float 16s ease-in-out infinite reverse; }
.grid-floor {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 55%;
  background-image: linear-gradient(rgba(220,174,69,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(220,174,69,.18) 1px, transparent 1px);
  background-size: 60px 60px; transform: rotateX(72deg); transform-origin: bottom;
  mask-image: linear-gradient(to top, #000 0%, transparent 80%); -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 80%);
  animation: gridMove 4s linear infinite;
}
@keyframes gridMove { to { background-position: 0 60px; } }
@keyframes float { 50% { transform: translate(-30px, 30px) scale(1.08); } }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
.hero-kicker { padding: 8px 16px; border: 1px solid rgba(220,174,69,.3); border-radius: 30px; background: rgba(220,174,69,.06); letter-spacing: .14em; font-size: .72rem; }
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 var(--gold); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(220,174,69,0); } 100% { box-shadow: 0 0 0 0 rgba(220,174,69,0); } }
.hero-title { font-size: clamp(3rem, 7.4vw, 6.4rem); line-height: .95; margin: 26px 0 22px; font-style: italic; letter-spacing: -.01em; }
.hero-title .line { display: block; }
.hero-title .line:first-child { background: var(--grad-chrome); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 20px rgba(0,0,0,.6)); }
.hero-title .gold-text { filter: drop-shadow(0 8px 30px rgba(220,174,69,.35)); padding-right: .1em; }
.hero-sub { font-size: 1.12rem; color: #c1bcb1; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 32px 0 40px; }
.hero-cta.center { justify-content: center; }
.hero-stats { display: flex; gap: 38px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--text); line-height: 1; }
.hero-stats b::after { content: "+"; color: var(--gold); }
.hero-stats div:last-child b::after { content: ""; }
.hero-stats span { color: var(--muted); font-size: .85rem; margin-top: 6px; text-transform: uppercase; letter-spacing: .12em; }
.hero-stage { position: relative; aspect-ratio: 1 / 1.02; width: 100%; max-width: 620px; justify-self: center; }
.hero-stage canvas {
  pointer-events: none; position: absolute; inset: -10%; width: 120% !important; height: 120% !important;
  -webkit-mask-image: radial-gradient(closest-side, #000 80%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 80%, transparent 100%);
}
.hero-fallback { position: absolute; inset: 6%; width: 88%; height: auto; margin: auto; filter: drop-shadow(0 30px 60px rgba(220,174,69,.35)); animation: bob 5s ease-in-out infinite; }
.hero-stage.gl-ready .hero-fallback { opacity: 0; transition: opacity .8s; pointer-events: none; }
@keyframes bob { 50% { transform: translateY(-16px) rotate(1.5deg); } }
.float-chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 40px;
  background: rgba(18,18,22,.75); border: 1px solid rgba(220,174,69,.3); backdrop-filter: blur(12px);
  font-weight: 700; font-size: .85rem; color: var(--text); box-shadow: 0 16px 40px -10px rgba(0,0,0,.7);
  animation: bob 6s ease-in-out infinite;
}
.float-chip .ico { color: var(--gold); }
.float-chip.c1 { top: 10%; left: -4%; }
.float-chip.c2 { bottom: 18%; right: -4%; animation-delay: -2s; }
.float-chip.c3 { bottom: 4%; left: 8%; animation-delay: -4s; }
.scroll-cue { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--line-2); border-radius: 20px; z-index: 3; }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--gold); animation: scrollCue 1.8s infinite; }
@keyframes scrollCue { 60% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Section head / tabs ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { margin: 10px 0 0; }
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--line); flex-wrap: wrap; }
.tab { padding: 10px 18px; border-radius: 12px; border: 0; background: none; color: var(--muted); font-weight: 700; cursor: pointer; font-family: var(--font-display); transition: all .25s; }
.tab:hover { color: var(--text); }
.tab.active { background: var(--grad-gold); color: #120d02; box-shadow: 0 6px 20px -6px var(--gold-glow); }
.tab-panel { display: none; }
.tab-panel.active { display: grid; animation: panelIn .5s var(--ease); }
.prose.tab-panel.active, .tab-panel.active:not(.product-grid) { display: block; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 18px; perspective: 1000px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 14px 22px;
  border-radius: var(--radius); background: linear-gradient(160deg, rgba(30,30,36,.9), rgba(12,12,14,.9));
  border: 1px solid var(--line); color: var(--text); overflow: hidden;
  transform-style: preserve-3d; transition: border-color .3s, box-shadow .3s;
}
.cat-card:hover { border-color: rgba(220,174,69,.5); color: var(--text); box-shadow: 0 30px 60px -25px rgba(220,174,69,.45); }
.cat-ring { position: absolute; top: 18px; width: 120px; height: 120px; border-radius: 50%; border: 1px dashed rgba(220,174,69,.25); animation: spin 20s linear infinite; }
.cat-card:hover .cat-ring { border-color: rgba(220,174,69,.6); }
.cat-card img { width: 110px; height: 110px; object-fit: contain; transform: translateZ(40px); transition: transform .5s var(--ease); filter: drop-shadow(0 14px 18px rgba(0,0,0,.6)); }
.cat-card:hover img { transform: translateZ(60px) scale(1.08) rotate(-4deg); }
.cat-card h3 { font-size: 1rem; margin: 16px 0 2px; transform: translateZ(30px); }
.cat-card small { color: var(--muted); font-size: .8rem; transform: translateZ(20px); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; perspective: 1400px; }
.product-grid.grid-3 { grid-template-columns: repeat(3, 1fr); }
.p-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(170deg, rgba(28,28,33,.95), rgba(13,13,16,.95));
  border: 1px solid var(--line); transform-style: preserve-3d;
  transition: border-color .3s, box-shadow .4s var(--ease);
  display: flex; flex-direction: column;
}
.p-card::before { /* moving glare */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.10), transparent 40%);
}
.p-card:hover { border-color: rgba(220,174,69,.45); box-shadow: 0 35px 70px -30px rgba(220,174,69,.4), 0 0 0 1px rgba(220,174,69,.1); }
.p-card:hover::before { opacity: 1; }
.p-media { position: relative; aspect-ratio: 1; display: grid; place-items: center; padding: 26px; background: radial-gradient(circle at 50% 45%, #25252c 0%, #121215 70%); overflow: hidden; }
.p-media img { width: 100%; height: 100%; object-fit: contain; transform: translateZ(30px); transition: transform .6s var(--ease); filter: drop-shadow(0 18px 20px rgba(0,0,0,.55)); position: relative; z-index: 1; }
.p-card:hover .p-media img { transform: translateZ(50px) scale(1.07) rotate(-3deg); }
.p-glow { position: absolute; width: 60%; height: 60%; border-radius: 50%; background: radial-gradient(circle, rgba(220,174,69,.28), transparent 70%); filter: blur(20px); opacity: .5; transition: opacity .4s, transform .6s; }
.p-card:hover .p-glow { opacity: 1; transform: scale(1.3); }
.p-badge {
  position: absolute; top: 14px; left: 14px; z-index: 3; padding: 5px 11px; border-radius: 8px;
  font-family: var(--font-display); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(255,255,255,.1); color: var(--text); backdrop-filter: blur(6px); border: 1px solid var(--line-2);
}
.p-badge-r { left: auto; right: 14px; }
.b-sale { background: var(--grad-gold); color: #120d02; border-color: transparent; }
.b-hot { background: linear-gradient(135deg, #ff7a3d, #e5312b); color: #fff; border-color: transparent; }
.b-new { background: #f4f1ea; color: #000; border-color: transparent; }
.b-best-seller { background: rgba(220,174,69,.15); color: var(--gold-2); border-color: rgba(220,174,69,.4); }
.b-out { background: rgba(0,0,0,.7); color: #aaa; }
.p-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; transform: translateZ(20px); }
.p-brand { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 800; font-family: var(--font-display); }
.p-title { font-family: var(--font-body); font-size: .98rem; font-weight: 700; line-height: 1.35; margin: 6px 0 14px; flex: 1; }
.p-title a { color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-title a:hover { color: var(--gold-2); }
.p-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.price { display: flex; flex-direction: column; line-height: 1.15; }
.price b { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; color: var(--gold-2); }
.price s { color: var(--muted); font-size: .82rem; }
.p-add {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0;
  background: rgba(220,174,69,.12); border: 1px solid rgba(220,174,69,.35); color: var(--gold-2); cursor: pointer;
  transition: all .3s var(--ease);
}
.p-add:hover { background: var(--grad-gold); color: #000; transform: rotate(90deg) scale(1.08); box-shadow: 0 10px 24px -8px var(--gold-glow); }
a.p-add:hover { transform: translateX(3px) scale(1.08); }
.p-add.disabled { opacity: .35; cursor: not-allowed; transform: none !important; background: rgba(255,255,255,.05); border-color: var(--line); color: var(--muted); }
.p-add.adding { animation: spin .8s linear infinite; }

/* ---------- Deal ---------- */
.deal {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 56px;
  border-radius: 32px; overflow: hidden; position: relative;
  background: radial-gradient(700px 400px at 85% 50%, rgba(220,174,69,.22), transparent 60%), linear-gradient(135deg, #16161b, #0a0a0c);
  border: 1px solid rgba(220,174,69,.25);
}
.deal::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 40px, rgba(255,255,255,.015) 40px 41px); pointer-events: none; }
.deal-copy { position: relative; z-index: 1; }
.deal-copy p { color: #c1bcb1; font-size: 1.05rem; }
.countdown { display: flex; gap: 12px; margin: 26px 0 30px; flex-wrap: wrap; }
.countdown div { width: 82px; padding: 14px 0 10px; text-align: center; border-radius: 16px; background: rgba(0,0,0,.4); border: 1px solid var(--line-2); }
.countdown b { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 800; line-height: 1; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.countdown span { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.deal-visual { position: relative; display: grid; place-items: center; min-height: 380px; color: var(--text); perspective: 800px; }
.deal-platform { position: relative; width: 320px; height: 320px; display: grid; place-items: center; transform-style: preserve-3d; }
.deal-platform .ring { position: absolute; border-radius: 50%; border: 2px solid rgba(220,174,69,.5); transform: rotateX(75deg); box-shadow: 0 0 30px rgba(220,174,69,.3), inset 0 0 30px rgba(220,174,69,.2); }
.ring.r1 { width: 300px; height: 300px; bottom: -110px; animation: ringPulse 3s ease-in-out infinite; }
.ring.r2 { width: 220px; height: 220px; bottom: -70px; border-style: dashed; animation: ringSpin 12s linear infinite; }
.ring.r3 { width: 140px; height: 140px; bottom: -30px; background: radial-gradient(circle, rgba(220,174,69,.5), transparent 70%); border: 0; }
@keyframes ringSpin { to { transform: rotateX(75deg) rotateZ(360deg); } }
@keyframes ringPulse { 50% { box-shadow: 0 0 60px rgba(220,174,69,.55), inset 0 0 40px rgba(220,174,69,.3); } }
.deal-platform img { width: 260px; height: 260px; object-fit: contain; filter: drop-shadow(0 40px 30px rgba(0,0,0,.7)); animation: spin3d 8s ease-in-out infinite; }
@keyframes spin3d { 0%, 100% { transform: translateY(-10px) rotateY(-18deg); } 50% { transform: translateY(8px) rotateY(18deg); } }
.deal-tag { position: absolute; right: 0; top: 20px; padding: 14px 18px; border-radius: 16px; background: rgba(10,10,12,.8); border: 1px solid var(--line-2); backdrop-filter: blur(10px); max-width: 220px; }
.deal-tag small { color: var(--gold); font-weight: 800; letter-spacing: .15em; text-transform: uppercase; font-size: .7rem; }
.deal-tag b { display: block; line-height: 1.3; margin: 4px 0; }
.deal-tag span { font-family: var(--font-display); color: var(--gold-2); font-weight: 800; }
.deal-tag s { color: var(--muted); font-size: .8rem; margin-left: 4px; }

/* ---------- Brands ---------- */
.brands { padding: 34px 0; border-block: 1px solid var(--line); overflow: hidden; background: rgba(255,255,255,.015); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.brand-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.brands:hover .brand-track { animation-play-state: paused; }
.brand-track a { padding: 0 44px; font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; font-style: italic; text-transform: uppercase; letter-spacing: .06em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.3); white-space: nowrap; transition: all .3s; }
.brand-track a:hover { color: var(--gold); -webkit-text-stroke-color: var(--gold); }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; perspective: 1000px; }
.why-card { position: relative; padding: 34px 26px; border-radius: var(--radius); background: linear-gradient(170deg, rgba(28,28,33,.9), rgba(12,12,14,.9)); border: 1px solid var(--line); overflow: hidden; transform-style: preserve-3d; transition: border-color .3s; }
.why-card:hover { border-color: rgba(220,174,69,.4); }
.why-num { position: absolute; top: 10px; right: 18px; font-family: var(--font-display); font-size: 4.2rem; font-weight: 800; color: transparent; -webkit-text-stroke: 1px rgba(220,174,69,.2); line-height: 1; }
.why-ico { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 22px; background: linear-gradient(135deg, rgba(220,174,69,.2), rgba(220,174,69,.03)); border: 1px solid rgba(220,174,69,.3); color: var(--gold-2); transform: translateZ(30px); }
.why-card h3 { transform: translateZ(20px); }
.why-card p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Reviews ---------- */
.review-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.review-track { display: flex; gap: 20px; width: max-content; animation: marquee 50s linear infinite; padding: 10px 0; }
.review-marquee:hover .review-track { animation-play-state: paused; }
.review-card { width: 340px; margin: 0; padding: 26px; border-radius: var(--radius); background: var(--card-solid); border: 1px solid var(--line); flex-shrink: 0; }
.review-card blockquote { margin: 14px 0 18px; color: #d8d3c8; font-size: .98rem; }
.review-card figcaption { display: flex; flex-direction: column; font-size: .88rem; }
.review-card figcaption a { color: var(--muted); font-size: .8rem; }
.stars { display: inline-flex; gap: 2px; color: #3a3a40; font-size: 1rem; letter-spacing: 0; }
.stars i { font-style: normal; }
.stars i.on { color: var(--gold); text-shadow: 0 0 10px rgba(220,174,69,.5); }
.stars i.half { background: linear-gradient(90deg, var(--gold) 50%, #3a3a40 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- CTA band ---------- */
.cta-band { display: flex; align-items: center; gap: 30px; padding: 36px 44px; border-radius: 28px; background: linear-gradient(120deg, rgba(220,174,69,.14), rgba(220,174,69,.03) 60%), var(--bg-3); border: 1px solid rgba(220,174,69,.3); }
.cta-band img { width: 110px; height: auto; flex-shrink: 0; animation: bob 5s ease-in-out infinite; }
.cta-band > div { flex: 1; }
.cta-band h2 { font-size: 1.8rem; margin-bottom: 6px; }
.cta-band p { color: var(--muted); margin: 0; }

/* ---------- Trust strip & footer ---------- */
.trust-strip { border-top: 1px solid var(--line); padding: 36px 0; background: var(--bg-2); z-index: 1; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item .ico { color: var(--gold); flex-shrink: 0; }
.trust-item b { display: block; font-size: .96rem; }
.trust-item small { color: var(--muted); font-size: .82rem; }
.site-footer { background: #040405; padding: 70px 0 26px; overflow: hidden; z-index: 1; border-top: 1px solid var(--line); }
.footer-glow { position: absolute; left: 50%; top: -200px; width: 700px; height: 300px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(220,174,69,.15), transparent); pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-grid h4 { font-size: .9rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-grid > div > a:not(.brand) { display: block; color: var(--muted); padding: 5px 0; font-size: .93rem; }
.footer-grid > div > a:not(.brand):hover { color: var(--text); transform: translateX(4px); }
.footer-brand p { color: var(--muted); margin: 18px 0; font-size: .93rem; max-width: 330px; }
.footer-brand .brand img { width: 60px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); color: var(--text); transition: all .3s; }
.socials a:hover { background: var(--grad-gold); color: #000; border-color: transparent; transform: translateY(-3px); }
.newsletter { display: flex; gap: 8px; margin: 14px 0 20px; }
.newsletter input { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); outline: 0; }
.newsletter input:focus { border-color: var(--gold); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--muted); font-size: .9rem; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .ico { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.contact-list a { color: var(--muted); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.footer-bottom p { margin: 0; color: var(--muted); font-size: .85rem; }
.pay-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-badges span { padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line-2); font-size: .72rem; font-weight: 800; color: #cfcac0; letter-spacing: .04em; }
.warning-line { margin-top: 16px; text-align: center; font-size: .75rem; color: #6d6961; letter-spacing: .08em; }
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 70; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: #25d366; box-shadow: 0 12px 30px -6px rgba(37,211,102,.6);
  transition: transform .3s var(--ease);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: waRing 2.2s infinite; }
@keyframes waRing { to { transform: scale(1.6); opacity: 0; } }
.wa-float:hover { transform: scale(1.1) rotate(-8deg); color: #fff; }

/* ==========================================================
   INNER PAGES
   ========================================================== */
.page-hero { padding: 60px 0 44px; }
.page-hero.small { padding: 40px 0 30px; }
.page-hero h1 { margin: 12px 0 8px; }
.page-hero p { color: var(--muted); max-width: 620px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold-2); }
.crumbs span { opacity: .4; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; backdrop-filter: blur(10px); }
.card h3 { margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.card h4 { font-size: 1rem; color: var(--gold); margin: 0 0 12px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.card-head h3 { margin: 0; }

/* Forms */
.field { margin-bottom: 16px; }
.field label { display: flex; justify-content: space-between; font-size: .86rem; font-weight: 700; color: #cfcac0; margin-bottom: 7px; }
.field label small { color: var(--muted); font-weight: 500; }
.field-link { font-weight: 600; font-size: .83rem; }
.field input, .field select, .field textarea, .filter-block select, .price-inputs input, .coupon-form input, .review-form textarea, .track-form input {
  width: 100%; padding: 13px 16px; border-radius: 13px; border: 1px solid var(--line-2);
  background: rgba(0,0,0,.35); color: var(--text); outline: 0; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus, .filter-block select:focus, .price-inputs input:focus, .coupon-form input:focus, .review-form textarea:focus, .track-form input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(220,174,69,.12); }
.field input:disabled { opacity: .55; }
.field textarea { resize: vertical; }
select option { background: #151518; }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field-error { display: block; color: #ff9a9a; font-size: .8rem; margin-top: 6px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-grid .full { grid-column: 1 / -1; }
.check-row, .radio-row { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 7px 0; font-size: .93rem; color: #d7d2c7; }
.check-row input, .radio-row input { accent-color: var(--gold); width: 17px; height: 17px; flex-shrink: 0; }
.radio-row em { margin-left: auto; font-style: normal; color: var(--muted); font-size: .8rem; background: rgba(255,255,255,.05); padding: 1px 8px; border-radius: 10px; }
.radio-row:hover span { color: var(--gold-2); }
.narrow-form { max-width: 520px; }

/* Shop */
.shop-layout { display: grid; grid-template-columns: 270px 1fr; gap: 34px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); }
.filters form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; }
.filter-block { padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.filter-block h4 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.price-inputs { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.price-inputs input { padding: 10px 12px; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.shop-toolbar p { margin: 0; color: var(--muted); }
.shop-toolbar p b { color: var(--text); }
.sort { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .9rem; }
.sort select { padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0,0,0,.35); color: var(--text); outline: 0; cursor: pointer; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.pagination a, .pagination .dots { min-width: 44px; height: 44px; padding: 0 10px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); color: var(--text); font-weight: 700; }
.pagination a:hover { border-color: var(--gold); color: var(--gold-2); }
.pagination a.active { background: var(--grad-gold); color: #000; border-color: transparent; }
.pagination .dots { border: 0; }
.empty-state { text-align: center; padding: 70px 20px; }
.empty-state.small { padding: 30px 10px; }
.empty-state p { color: var(--muted); }

/* Product detail */
.pd-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; margin-top: 20px; align-items: start; }
.pd-gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.pd-main {
  position: relative; aspect-ratio: 1; border-radius: 28px; overflow: hidden; display: grid; place-items: center; padding: 50px;
  background: radial-gradient(circle at 50% 42%, #2a2a31 0%, #111114 70%); border: 1px solid var(--line); perspective: 900px; cursor: zoom-in;
}
.pd-halo { position: absolute; width: 70%; height: 70%; border-radius: 50%; background: radial-gradient(circle, rgba(220,174,69,.3), transparent 70%); filter: blur(30px); }
.pd-main::after { content: ""; position: absolute; bottom: 9%; width: 55%; height: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.7), transparent); }
.pd-main img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; transition: transform .2s ease-out; filter: drop-shadow(0 30px 30px rgba(0,0,0,.6)); }
.pd-main .p-badge { top: 20px; left: 20px; }
.pd-thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.pd-thumbs button { width: 84px; height: 84px; padding: 8px; border-radius: 16px; border: 1px solid var(--line-2); background: #141417; cursor: pointer; transition: border-color .2s; }
.pd-thumbs button.active, .pd-thumbs button:hover { border-color: var(--gold); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd-info h1 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin: 10px 0 14px; }
.pd-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .9rem; }
.pd-rating { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.stock { padding: 4px 12px; border-radius: 20px; font-weight: 700; font-size: .8rem; }
.stock.in { background: rgba(79,208,138,.12); color: var(--success); }
.stock.out { background: rgba(255,95,95,.12); color: var(--danger); }
.pd-price { display: flex; align-items: baseline; gap: 14px; margin: 22px 0; flex-wrap: wrap; }
.pd-price b { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.pd-price s { color: var(--muted); font-size: 1.15rem; }
.save { padding: 4px 12px; border-radius: 8px; background: rgba(220,174,69,.14); color: var(--gold-2); font-weight: 700; font-size: .85rem; }
.pd-short { color: #c1bcb1; font-size: 1.04rem; }
.pd-form { padding: 24px 0; border-block: 1px solid var(--line); margin: 24px 0; display: grid; gap: 18px; }
.opt-group { border: 0; padding: 0; margin: 0; }
.opt-group legend { font-weight: 700; margin-bottom: 10px; color: #cfcac0; font-size: .92rem; }
.opt-group legend b { color: var(--gold-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 10px 18px; border-radius: 12px; border: 1px solid var(--line-2); cursor: pointer; font-weight: 600; font-size: .9rem; transition: all .2s; background: rgba(255,255,255,.02); }
.chip span:hover { border-color: rgba(220,174,69,.6); }
.chip input:checked + span { border-color: var(--gold); background: rgba(220,174,69,.12); color: var(--gold-2); box-shadow: 0 0 0 3px rgba(220,174,69,.12); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.pd-actions { display: flex; gap: 12px; }
.pd-perks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; }
.pd-perks li { display: flex; align-items: center; gap: 12px; color: #c9c4b9; font-size: .93rem; }
.pd-perks .ico { color: var(--gold); flex-shrink: 0; }
.wa-inline { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 14px; background: rgba(37,211,102,.1); border: 1px solid rgba(37,211,102,.35); color: #5ce695; font-weight: 700; }
.wa-inline:hover { background: rgba(37,211,102,.2); color: #fff; }
.pd-tabs { margin-top: 70px; }
.pd-tabs > .tabs { margin-bottom: 24px; }
.pd-tabs > .tab-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.prose { color: #cdc8bd; line-height: 1.8; }
.reviews-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; }
.review-item { padding: 16px 0; border-bottom: 1px solid var(--line); }
.ri-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ri-head small { color: var(--muted); margin-left: auto; }
.review-item p { margin: 8px 0 0; color: #cdc8bd; }
.review-form { padding: 22px; }
.review-form form { display: grid; gap: 14px; }
.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input input { position: absolute; opacity: 0; }
.star-input label { font-size: 1.9rem; color: #3a3a40; cursor: pointer; transition: color .15s, transform .15s; line-height: 1; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--gold); }
.star-input label:hover { transform: scale(1.15); }

/* Cart page */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: start; }
.cart-table { padding: 10px 26px 22px; }
.ct-head, .ct-row { display: grid; grid-template-columns: 2.4fr 1fr 1.2fr 1fr; gap: 16px; align-items: center; }
.ct-head { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; }
.ct-row { padding: 20px 0; border-bottom: 1px solid var(--line); }
.ct-prod { display: flex; gap: 16px; align-items: center; }
.ct-img { width: 86px; height: 86px; flex-shrink: 0; border-radius: 16px; padding: 10px; background: radial-gradient(circle at 50% 40%, #26262d, #111114); display: grid; place-items: center; }
.ct-img img { max-height: 100%; object-fit: contain; }
.ct-name { color: var(--text); font-weight: 700; display: block; line-height: 1.3; }
.ct-prod small { display: block; color: var(--muted); font-size: .8rem; margin: 3px 0 6px; }
.ct-total b { font-family: var(--font-display); color: var(--gold-2); font-size: 1.1rem; }
.ct-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.summary { display: grid; gap: 4px; }
.summary.sticky { position: sticky; top: calc(var(--header-h) + 20px); }
.summary h3 { margin-bottom: 14px; }
.summary .btn-lg { margin-top: 14px; }
.coupon-form { display: flex; gap: 8px; margin-bottom: 14px; }
.coupon-form input { padding: 10px 14px; }
.coupon-applied { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 10px 14px; border-radius: 12px; border: 1px dashed var(--gold); background: rgba(220,174,69,.07); color: var(--gold-2); font-weight: 700; }
.coupon-applied span { display: inline-flex; gap: 8px; align-items: center; }
.hint { font-size: .83rem; color: var(--muted); margin: 4px 0; }
.secure-note { display: flex; gap: 8px; align-items: center; justify-content: center; text-align: center; font-size: .78rem; color: var(--muted); margin: 12px 0 0; }

/* Checkout */
.steps { display: flex; gap: 10px; list-style: none; padding: 0; margin: 14px 0 0; flex-wrap: wrap; counter-reset: s; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 700; font-size: .88rem; }
.steps li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); font-size: .78rem; }
.steps li:not(:last-child)::after { content: ""; width: 34px; height: 1px; background: var(--line-2); margin-left: 4px; }
.steps li.done::before { content: "✓"; background: rgba(220,174,69,.2); border-color: var(--gold); color: var(--gold); }
.steps li.active { color: var(--text); }
.steps li.active::before { background: var(--grad-gold); color: #000; border-color: transparent; }
.checkout-main { display: grid; gap: 22px; min-width: 0; }
.cart-layout > *, .checkout-layout > *, .account-layout > *, .shop-layout > *, .pd-grid > *, .od-grid > * { min-width: 0; }
.step-num { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-gold); color: #000; font-size: .95rem; }
.pay-options { display: grid; gap: 12px; }
.pay-option input { position: absolute; opacity: 0; }
.po-box { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line-2); cursor: pointer; transition: all .25s; background: rgba(0,0,0,.2); }
.po-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); flex-shrink: 0; position: relative; transition: border-color .2s; }
.po-text { flex: 1; display: flex; flex-direction: column; }
.po-text small { color: var(--muted); font-size: .82rem; }
.po-tag { font-family: var(--font-display); font-size: .7rem; font-weight: 800; padding: 4px 9px; border-radius: 7px; border: 1px solid var(--line-2); color: var(--muted); letter-spacing: .06em; }
.pay-option input:checked + .po-box { border-color: var(--gold); background: rgba(220,174,69,.07); box-shadow: 0 0 0 3px rgba(220,174,69,.1); }
.pay-option input:checked + .po-box .po-radio { border-color: var(--gold); }
.pay-option input:checked + .po-box .po-radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--grad-gold); }
.pay-option input:checked + .po-box .po-tag { color: var(--gold-2); border-color: rgba(220,174,69,.5); }
.pay-option input:focus-visible + .po-box { outline: 2px solid var(--gold); outline-offset: 2px; }
.po-details { display: none; margin: 8px 4px 0; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.03); border-left: 3px solid var(--gold); font-size: .9rem; color: #d7d2c7; }
.pay-option input:checked ~ .po-details { display: block; animation: panelIn .35s var(--ease); }
.sum-items { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 14px; max-height: 340px; overflow-y: auto; }
.sum-items li { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; }
.si-img { position: relative; width: 58px; height: 58px; border-radius: 12px; padding: 6px; background: radial-gradient(circle at 50% 40%, #26262d, #111114); display: grid; place-items: center; }
.si-img img { max-height: 100%; object-fit: contain; }
.si-img em { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--grad-gold); color: #000; font-style: normal; font-weight: 800; font-size: .72rem; display: grid; place-items: center; padding: 0 5px; }
.si-name { font-size: .88rem; font-weight: 600; line-height: 1.3; }
.si-name small { display: block; color: var(--muted); font-size: .76rem; font-weight: 500; }
.sum-items b { font-size: .92rem; }

/* Success */
.success-hero { text-align: center; margin-bottom: 40px; }
.success-hero p { color: #c9c4b9; font-size: 1.05rem; }
.success-check { width: 110px; height: 110px; margin: 0 auto 24px; }
.success-check svg { width: 100%; height: 100%; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.success-check circle { stroke: var(--gold); stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 1s .1s var(--ease) forwards; filter: drop-shadow(0 0 12px var(--gold-glow)); }
.success-check path { stroke: var(--gold-2); stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .9s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Order detail */
.order-detail { display: grid; gap: 24px; }
.od-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.od-head h2 { margin: 4px 0; font-size: 1.8rem; }
.od-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; }
.od-grid p { color: #cdc8bd; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.timeline li { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; position: relative; color: var(--muted); font-size: .85rem; }
.timeline li::before { content: ""; position: absolute; top: 17px; left: -50%; width: 100%; height: 2px; background: var(--line-2); z-index: 0; }
.timeline li:first-child::before { display: none; }
.timeline li.done::before, .timeline li.current::before { background: var(--grad-gold); }
.tl-dot { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--bg); display: grid; place-items: center; position: relative; z-index: 1; color: #000; }
.timeline li.done .tl-dot { background: var(--grad-gold); border-color: transparent; }
.timeline li.current .tl-dot { background: var(--grad-gold); border-color: transparent; box-shadow: 0 0 0 6px rgba(220,174,69,.2); animation: pulse 2s infinite; }
.timeline li.done b, .timeline li.current b { color: var(--text); }
.history { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.history li { padding-left: 16px; border-left: 2px solid rgba(220,174,69,.4); font-size: .9rem; }
.history small { color: var(--muted); }
.history p { margin: 4px 0 0; color: var(--muted); }
.badge-status { display: inline-block; padding: 5px 12px; border-radius: 20px; font-weight: 800; font-size: .76rem; letter-spacing: .05em; text-transform: uppercase; border: 1px solid; }
.s-pending { color: #ffd166; border-color: rgba(255,209,102,.4); background: rgba(255,209,102,.08); }
.s-confirmed { color: #7cc4ff; border-color: rgba(124,196,255,.4); background: rgba(124,196,255,.08); }
.s-processing { color: #b69cff; border-color: rgba(182,156,255,.4); background: rgba(182,156,255,.08); }
.s-shipped { color: #5fe0d4; border-color: rgba(95,224,212,.4); background: rgba(95,224,212,.08); }
.s-delivered { color: var(--success); border-color: rgba(79,208,138,.4); background: rgba(79,208,138,.08); }
.s-cancelled, .s-returned { color: #ff8a8a; border-color: rgba(255,95,95,.4); background: rgba(255,95,95,.08); }
.pay-paid { color: var(--success); font-weight: 700; }
.pay-unpaid { color: #ffd166; font-weight: 700; }
.pay-refunded { color: #ff8a8a; font-weight: 700; }
.track-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; align-items: end; }
.track-form .field { margin: 0; }

/* Auth */
.auth-section { padding: 60px 0 90px; }
.auth-card { display: grid; grid-template-columns: 1fr 1.1fr; max-width: 980px; margin: 0 auto; border-radius: 30px; overflow: hidden; border: 1px solid var(--line); background: var(--card-solid); box-shadow: var(--shadow); }
.auth-side { padding: 50px 40px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; background: radial-gradient(circle at 50% 35%, rgba(220,174,69,.2), transparent 60%), linear-gradient(160deg, #19191e, #0a0a0c); border-right: 1px solid var(--line); }
.auth-side img { width: 220px; height: auto; margin-bottom: 24px; animation: bob 6s ease-in-out infinite; filter: drop-shadow(0 24px 40px rgba(220,174,69,.3)); }
.auth-side p { color: var(--muted); }
.auth-form { padding: 50px 44px; }
.auth-form h1 { font-size: 2rem; margin-bottom: 24px; }
.auth-form .btn-lg { margin-top: 8px; }
.auth-switch { text-align: center; color: var(--muted); margin: 20px 0 0; font-size: .93rem; }

/* Account */
.account-layout { display: grid; grid-template-columns: 250px 1fr; gap: 30px; align-items: start; }
.acc-nav { display: grid; gap: 4px; padding: 12px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); position: sticky; top: calc(var(--header-h) + 20px); }
.acc-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; color: #cfcac0; font-weight: 600; }
.acc-nav a:hover { background: rgba(255,255,255,.04); color: var(--text); }
.acc-nav a.active { background: rgba(220,174,69,.1); color: var(--gold-2); }
.acc-nav a.logout { color: #ff8a8a; margin-top: 8px; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat .ico { color: var(--gold); margin-bottom: 8px; }
.stat b { font-family: var(--font-display); font-size: 1.7rem; }
.stat span { color: var(--muted); font-size: .88rem; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th { text-align: left; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:hover td { background: rgba(255,255,255,.015); }

/* Contact & pages */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 30px; align-items: start; }
.contact-cards { display: grid; gap: 16px; perspective: 900px; }
.contact-card { display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); color: var(--text); transform-style: preserve-3d; transition: border-color .3s; }
.contact-card:hover { border-color: rgba(220,174,69,.45); color: var(--text); }
.contact-card > .ico { color: var(--gold); flex-shrink: 0; }
.contact-card b { display: block; }
.contact-card span { color: var(--muted); font-size: .9rem; }
.page-layout { display: grid; grid-template-columns: 250px 1fr; gap: 30px; align-items: start; }
.page-nav { display: grid; gap: 4px; padding: 12px; }
.page-nav a { padding: 11px 14px; border-radius: 12px; color: #cfcac0; font-weight: 600; }
.page-nav a:hover { background: rgba(255,255,255,.04); }
.page-nav a.active { background: rgba(220,174,69,.1); color: var(--gold-2); }

/* Software page */
.sw-app { display: flex; align-items: center; gap: 24px; padding: 30px 34px; margin-bottom: 30px; border-radius: 26px; border: 1px solid rgba(220,174,69,.35); background: radial-gradient(500px 240px at 90% 50%, rgba(220,174,69,.16), transparent), var(--bg-3); }
.sw-app h2 { font-size: 1.6rem; margin-bottom: 4px; }
.sw-app p { margin: 0; }
.sw-app-ico { width: 72px; height: 72px; flex-shrink: 0; border-radius: 20px; display: grid; place-items: center; background: var(--grad-gold); color: #120d02; box-shadow: 0 14px 30px -10px var(--gold-glow); }
.sw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; margin-bottom: 26px; perspective: 1000px; }
.sw-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--radius); background: linear-gradient(170deg, rgba(28,28,33,.95), rgba(13,13,16,.95)); border: 1px solid var(--line); color: var(--text); transform-style: preserve-3d; transition: border-color .3s, box-shadow .3s; }
.sw-card:hover { border-color: rgba(220,174,69,.45); box-shadow: 0 30px 60px -30px rgba(220,174,69,.4); color: var(--text); }
.sw-card b { font-size: 1.05rem; line-height: 1.3; word-break: break-word; }
.sw-card .btn { align-self: flex-start; margin-top: 8px; }
.sw-ext { align-self: flex-start; padding: 6px 12px; border-radius: 10px; font-family: var(--font-display); font-weight: 800; font-size: .8rem; letter-spacing: .08em; background: rgba(220,174,69,.12); color: var(--gold-2); border: 1px solid rgba(220,174,69,.35); margin-bottom: 6px; }
@media (max-width: 720px) { .sw-app { flex-direction: column; text-align: center; padding: 26px 20px; } }

.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(220,174,69,.2); border-top-color: var(--gold); animation: spin .8s linear infinite; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1180px) {
  .hide-md { display: none !important; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  :root { --header-h: 66px; }
  .only-mobile { display: inline-grid !important; }
  .main-nav {
    position: fixed; top: 0; left: 0; bottom: 0; width: min(330px, 86vw); z-index: 95; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 16px; overflow-y: auto;
    background: #0c0c0f; border-right: 1px solid var(--line); transform: translateX(-105%); transition: transform .4s var(--ease);
  }
  .nav-open .main-nav { transform: none; }
  /* backdrop-filter would make the header the containing block of the fixed drawer */
  .site-header, .site-header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(6,6,7,.95); }
  .nav-open .site-header { z-index: 100; }
  .nav-head { display: flex !important; justify-content: space-between; align-items: center; padding: 4px 4px 16px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
  .main-nav > a, .has-mega > a { padding: 14px; font-size: 1.02rem; }
  .main-nav > a::after, .has-mega > a::after { display: none; }
  .hide-md { display: flex !important; }
  .mega { display: none; }
  .nav-mobile-extra { display: grid !important; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
  .nav-mobile-extra a { padding: 12px 14px; color: #cfcac0; font-weight: 600; }
  .header-inner { gap: 10px; }
  .header-actions { margin-left: auto; }
  .hero { min-height: auto; padding: 20px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero-stage { order: -1; max-width: 420px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta, .hero-stats { justify-content: center; }
  .deal { grid-template-columns: 1fr; padding: 36px 26px; }
  .deal-visual { min-height: 320px; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; top: 0; left: 0; bottom: 0; width: min(340px, 88vw); z-index: 95; transform: translateX(-105%); transition: transform .4s var(--ease); overflow-y: auto; }
  .filters form { border-radius: 0; min-height: 100%; border: 0; background: #0c0c0f; }
  .filters-open .filters { transform: none; }
  .filters-head { display: flex !important; justify-content: space-between; align-items: center; }
  .filters-head h3 { margin: 0; }
  .product-grid.grid-3 { grid-template-columns: repeat(3, 1fr); }
  .pd-grid { grid-template-columns: 1fr; gap: 30px; }
  .pd-gallery { position: static; }
  .reviews-wrap { grid-template-columns: 1fr; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .summary.sticky { position: static; }
  .od-grid { grid-template-columns: 1fr; }
  .auth-card { grid-template-columns: 1fr; }
  .auth-side { padding: 34px 24px; border-right: 0; border-bottom: 1px solid var(--line); }
  .auth-side img { width: 130px; }
  .account-layout, .page-layout, .contact-layout { grid-template-columns: 1fr; }
  .acc-nav { position: static; grid-template-columns: repeat(2, 1fr); }
  .acc-nav a.logout { margin-top: 0; border-top: 0; border-radius: 12px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { flex-direction: column; text-align: center; padding: 34px 24px; }
}
@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .hide-sm { display: none !important; }
  .brand-text small { display: none; }
  .brand img { width: 40px; }
  .brand-text b { font-size: 1.4rem; }
  .product-grid, .product-grid.grid-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .p-media { padding: 16px; }
  .p-body { padding: 12px 12px 14px; }
  .p-title { font-size: .88rem; margin-bottom: 10px; }
  .price b { font-size: 1rem; }
  .p-add { width: 38px; height: 38px; border-radius: 12px; }
  .p-badge { top: 10px; left: 10px; font-size: .64rem; padding: 4px 8px; }
  .p-badge-r { right: 10px; left: auto; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .why-grid { grid-template-columns: 1fr; }
  .float-chip { font-size: .72rem; padding: 7px 11px; }
  .float-chip.c1 { left: 0; } .float-chip.c2 { right: 0; }
  .hero-stats { gap: 24px; }
  .hero-stats b { font-size: 1.6rem; }
  .countdown div { width: 68px; }
  .countdown b { font-size: 1.6rem; }
  .deal-platform { width: 240px; height: 240px; }
  .deal-platform img { width: 200px; height: 200px; }
  .deal-tag { position: static; margin-top: 50px; max-width: none; text-align: center; }
  .deal-visual { display: flex; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .trust-item { flex-direction: column; text-align: center; gap: 8px; }
  .form-grid { grid-template-columns: 1fr; }
  .ct-head { display: none; }
  .ct-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ct-prod { grid-column: 1 / -1; }
  .ct-price { display: none; }
  .ct-total { text-align: right; }
  .cart-table { padding: 6px 16px 16px; }
  .card { padding: 20px; }
  .auth-form { padding: 30px 22px; }
  .stat-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(5, minmax(0, 1fr)); font-size: .7rem; }
  .timeline li { font-size: .7rem; }
  .tl-dot { width: 28px; height: 28px; }
  .timeline li::before { top: 13px; }
  .track-form { grid-template-columns: 1fr; }
  .pd-actions { flex-direction: column; }
  .pd-actions .qty { align-self: flex-start; }
  .pd-tabs > .tab-panel { padding: 20px; }
  .review-card { width: 280px; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .brand-track a { font-size: 1.4rem; padding: 0 26px; }
  .acc-nav { grid-template-columns: 1fr 1fr; }
  .steps li:not(:last-child)::after { width: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
