/*
Theme Name: 1UP Collectibles
Theme URI: https://1upcollectibles.com
Author: 1UP Collectibles
Description: Custom theme for 1UP Collectibles — Premium Pokémon TCG & Collectibles
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Private
Text Domain: oneup
*/

/* ─── DESIGN TOKENS — DARK (default) ─────────────────────────────────────── */
:root {
  --void:        #05050e;
  --bg:          #09091a;
  --bg2:         #0e0e22;
  --surface:     #14142a;
  --card:        #1a1a32;
  --card-hover:  #20203c;

  --gold:        #c8a84b;
  --gold-bright: #e0c060;
  --gold-dim:    #7a6228;
  --gold-glow:   rgba(200,168,75,0.14);
  --red:         #cc2936;

  --white:       #f0f0fa;
  --muted:       #7878a0;
  --border:      rgba(200,168,75,0.12);
  --border-sub:  rgba(255,255,255,0.05);

  --nav-scrolled-bg:   rgba(9,9,26,0.92);
  --nav-link-color:    rgba(240,240,250,0.72);
  --ghost-border:      rgba(240,240,250,0.22);
  --ghost-border-hov:  rgba(240,240,250,0.55);
  --ghost-bg-hov:      rgba(240,240,250,0.06);
  --cat-count-color:   rgba(240,240,250,0.45);
  --footer-copy-color: rgba(120,120,160,0.5);
  --scroll-lbl-color:  rgba(120,120,160,0.6);
  --nl-placeholder:    rgba(120,120,160,0.6);
  --hero-grid-color:   rgba(200,168,75,0.045);
  --filter-bg:         rgba(255,255,255,0.04);
  --filter-bg-hov:     rgba(255,255,255,0.07);

  --font-d: 'Unbounded', 'SF Pro Display', system-ui, sans-serif;
  --font-b: 'DM Sans', 'SF Pro Text', system-ui, sans-serif;

  /* Aliases used by pdp.css */
  --accent:       var(--gold);
  --fg:           var(--white);
  --font-display: var(--font-d);
  --font-body:    var(--font-b);

  --nav-h: 72px;
  --pad:   clamp(60px,8vw,140px);
  --max:   1360px;
  --r:     6px;
}

/* ─── LIGHT MODE ──────────────────────────────────────────────────────────── */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --void:        #e5e5e0;
    --bg:          #fafaf7;
    --bg2:         #f3f3ee;
    --surface:     #eaeae5;
    --card:        #ffffff;
    --card-hover:  #f7f7f3;
    --gold:        #a87d1a;
    --gold-bright: #bf941e;
    --gold-dim:    #7a5c12;
    --gold-glow:   rgba(168,125,26,0.1);
    --red:         #cc2936;
    --white:       #0d0d1a;
    --muted:       #68688a;
    --border:      rgba(168,125,26,0.18);
    --border-sub:  rgba(0,0,0,0.07);
    --nav-scrolled-bg:   rgba(250,250,247,0.94);
    --nav-link-color:    rgba(13,13,26,0.62);
    --ghost-border:      rgba(13,13,26,0.18);
    --ghost-border-hov:  rgba(13,13,26,0.40);
    --ghost-bg-hov:      rgba(13,13,26,0.05);
    --cat-count-color:   rgba(13,13,26,0.45);
    --footer-copy-color: rgba(80,80,110,0.55);
    --scroll-lbl-color:  rgba(80,80,110,0.6);
    --nl-placeholder:    rgba(80,80,110,0.5);
    --hero-grid-color:   rgba(168,125,26,0.055);
    --filter-bg:         rgba(0,0,0,0.04);
    --filter-bg-hov:     rgba(0,0,0,0.07);
  }
}
:root[data-theme="light"] {
  --void:        #e5e5e0;
  --bg:          #fafaf7;
  --bg2:         #f3f3ee;
  --surface:     #eaeae5;
  --card:        #ffffff;
  --card-hover:  #f7f7f3;
  --gold:        #a87d1a;
  --gold-bright: #bf941e;
  --gold-dim:    #7a5c12;
  --gold-glow:   rgba(168,125,26,0.1);
  --red:         #cc2936;
  --white:       #0d0d1a;
  --muted:       #68688a;
  --border:      rgba(168,125,26,0.18);
  --border-sub:  rgba(0,0,0,0.07);
  --nav-scrolled-bg:   rgba(250,250,247,0.94);
  --nav-link-color:    rgba(13,13,26,0.62);
  --ghost-border:      rgba(13,13,26,0.18);
  --ghost-border-hov:  rgba(13,13,26,0.40);
  --ghost-bg-hov:      rgba(13,13,26,0.05);
  --cat-count-color:   rgba(13,13,26,0.45);
  --footer-copy-color: rgba(80,80,110,0.55);
  --scroll-lbl-color:  rgba(80,80,110,0.6);
  --nl-placeholder:    rgba(80,80,110,0.5);
  --hero-grid-color:   rgba(168,125,26,0.055);
  --filter-bg:         rgba(0,0,0,0.04);
  --filter-bg-hov:     rgba(0,0,0,0.07);
}

/* ─── RESET & BASE ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-b);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.35s ease, color 0.35s ease;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }

/* ─── BUTTONS ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-b); font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 13px 28px; border-radius: var(--r);
  border: none; cursor: pointer;
  transition: background 0.22s ease, transform 0.15s ease, box-shadow 0.22s ease, color 0.22s ease, border-color 0.22s ease;
  will-change: transform;
}
.btn:active { transform: scale(0.96); }
.btn-gold { background: var(--gold); color: var(--void); }
.btn-gold:hover { background: var(--gold-bright); box-shadow: 0 8px 32px rgba(200,168,75,0.45); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid var(--ghost-border); }
.btn-ghost:hover { border-color: var(--ghost-border-hov); background: var(--ghost-bg-hov); }
.btn-outline-gold { background: transparent; color: var(--gold); border: 1px solid rgba(200,168,75,0.35); }
.btn-outline-gold:hover { background: var(--gold-glow); border-color: var(--gold); }

/* ─── NAV ─────────────────────────────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 clamp(20px,4vw,60px);
  transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
#nav.scrolled, #nav.always-solid {
  background: var(--nav-scrolled-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--max); margin: 0 auto;
}
.nav-logo { display: flex; flex-direction: column; line-height: 1; user-select: none; }
.logo-mark { font-family: var(--font-d); font-size: 20px; font-weight: 800; letter-spacing: 0.06em; color: var(--gold); text-shadow: 0 0 30px rgba(200,168,75,0.4); }
.logo-sub { font-family: var(--font-b); font-size: 8px; font-weight: 500; letter-spacing: 0.38em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav-links {
  display: flex; align-items: center; gap: 36px;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-links a {
  font-family: var(--font-b); font-size: 13px; font-weight: 500;
  color: var(--nav-link-color); letter-spacing: 0.02em;
  position: relative; padding-bottom: 3px; transition: color 0.2s ease;
}
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--gold); transition: width 0.3s ease; }
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--white); }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-icon {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: none; cursor: pointer;
  color: var(--nav-link-color); font-size: 17px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-icon:hover { color: var(--gold); background: var(--gold-glow); }
.nav-icon:active { transform: scale(0.96); }
#theme-toggle .icon-sun  { display: none; }
#theme-toggle .icon-moon { display: block; }
[data-theme="light"] #theme-toggle .icon-sun  { display: block; }
[data-theme="light"] #theme-toggle .icon-moon { display: none; }

/* ─── REVEAL ANIMATIONS ───────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.75s ease, transform 0.75s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.r1 { transition-delay: 0.05s; } .r2 { transition-delay: 0.15s; }
.r3 { transition-delay: 0.25s; } .r4 { transition-delay: 0.35s; }
.r5 { transition-delay: 0.45s; } .r6 { transition-delay: 0.55s; }
@keyframes fadeUp { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:translateY(0)} }

/* ─── SHARED KEYFRAMES ────────────────────────────────────────────────────── */
@keyframes cardSheen  { 0%{transform:translateX(-110%) skewX(-15deg)} 100%{transform:translateX(210%) skewX(-15deg)} }
@keyframes cardFloat  { 0%,100%{transform:translateY(0) rotate(-4deg)} 50%{transform:translateY(-18px) rotate(-4deg)} }
@keyframes pulse      { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.6)} }
@keyframes linePulse  { 0%,100%{opacity:1;transform:scaleY(1)} 50%{opacity:0.35;transform:scaleY(0.5)} }
@keyframes gridDrift  { from{transform:translateY(0)} to{transform:translateY(64px)} }
@keyframes sweepShine { 0%{transform:translateX(-120%) skewX(-15deg)} 100%{transform:translateX(220%) skewX(-15deg)} }
@keyframes tickerScroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ─── SECTION HELPERS ─────────────────────────────────────────────────────── */
.section { padding: var(--pad) clamp(20px,4vw,60px); }
.inner { max-width: var(--max); margin: 0 auto; }
.label { font-family: var(--font-b); font-size: 9px; font-weight: 600; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; display: block; }
.h2 { font-family: var(--font-d); font-weight: 700; line-height: 1.05; letter-spacing: -0.025em; color: var(--white); font-size: clamp(32px,4.5vw,60px); text-wrap: balance; }
.body-text { font-family: var(--font-b); font-size: 16px; font-weight: 300; color: var(--muted); line-height: 1.85; text-wrap: pretty; }
.accent { color: var(--gold); }
.divider { height: 1px; background: var(--border); max-width: var(--max); margin: 0 auto; }

/* ─── HERO ────────────────────────────────────────────────────────────────── */
#hero { position: relative; height: 100vh; min-height: 700px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse 90% 70% at 50% 30%, rgba(200,168,75,0.07) 0%, transparent 65%), radial-gradient(ellipse 60% 50% at 85% 15%, rgba(80,60,180,0.07) 0%, transparent 55%), radial-gradient(ellipse 50% 60% at 15% 75%, rgba(200,50,54,0.05) 0%, transparent 50%), var(--void); transition: background 0.35s ease; }
.hero-grid { position: absolute; inset: 0; z-index: 1; background-image: linear-gradient(var(--hero-grid-color) 1px, transparent 1px), linear-gradient(90deg, var(--hero-grid-color) 1px, transparent 1px); background-size: 64px 64px; animation: gridDrift 25s linear infinite; }
.hero-shimmer { position: absolute; inset: 0; z-index: 2; background: linear-gradient(112deg, transparent 38%, rgba(200,168,75,0.035) 44%, rgba(200,168,75,0.07) 50%, rgba(200,168,75,0.035) 56%, transparent 62%); animation: sweepShine 6s ease-in-out infinite; }
.hero-card-float { position: absolute; right: 8%; top: 50%; transform: translateY(-50%); z-index: 3; opacity: 0.25; }
.float-card { width: 200px; aspect-ratio: 2.5/3.5; background: linear-gradient(140deg, #1a1a3a 0%, #2e2a5e 30%, #3a2a6a 55%, #2a3a8a 80%, #1a4a6a 100%); border-radius: 14px; border: 1px solid rgba(200,168,75,0.25); box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 60px rgba(200,168,75,0.1); position: relative; overflow: hidden; animation: cardFloat 5s ease-in-out infinite; }
.float-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(45deg, transparent 30%, rgba(200,168,75,0.2) 44%, rgba(150,110,220,0.15) 50%, rgba(200,168,75,0.1) 56%, transparent 70%); animation: cardSheen 4s ease-in-out infinite; }
.float-card-2 { width: 130px; aspect-ratio: 2.5/3.5; background: linear-gradient(140deg, #200e0e 0%, #4a1a1a 40%, #3a102a 100%); border-radius: 10px; border: 1px solid rgba(204,41,54,0.2); box-shadow: 0 20px 40px rgba(0,0,0,0.5); position: absolute; bottom: -20px; right: -60px; animation: cardFloat 5s ease-in-out 1.5s infinite; }
.hero-content { position: relative; z-index: 4; text-align: center; max-width: 860px; padding: 0 clamp(24px,5vw,60px); }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-b); font-size: 10px; font-weight: 600; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold); margin-bottom: 28px; opacity: 0; animation: fadeUp 0.8s ease 0.15s forwards; }
.hero-eyebrow-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); animation: pulse 2s ease infinite; }
.hero-h1 { font-family: var(--font-d); font-size: clamp(44px,7.5vw,96px); font-weight: 800; line-height: 1.0; letter-spacing: -0.03em; color: var(--white); margin-bottom: 28px; text-wrap: balance; opacity: 0; animation: fadeUp 0.9s ease 0.3s forwards; }
.hero-sub { font-family: var(--font-b); font-size: clamp(15px,1.6vw,18px); font-weight: 300; color: var(--muted); line-height: 1.8; max-width: 520px; margin: 0 auto 48px; text-wrap: pretty; opacity: 0; animation: fadeUp 0.9s ease 0.5s forwards; }
.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 14px; opacity: 0; animation: fadeUp 0.9s ease 0.65s forwards; }
.hero-ctas .btn { padding: 15px 38px; font-size: 13px; }
.hero-scroll { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0; animation: fadeUp 0.9s ease 1.1s forwards; }
.scroll-line { width: 1px; height: 44px; background: linear-gradient(to bottom, var(--gold) 0%, transparent 100%); animation: linePulse 2.4s ease-in-out infinite; }
.scroll-label { font-family: var(--font-b); font-size: 9px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--scroll-lbl-color); }

/* ─── TICKER ──────────────────────────────────────────────────────────────── */
#ticker { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 14px 0; overflow: hidden; transition: background 0.35s ease; }
.ticker-track { display: flex; gap: 56px; width: max-content; animation: tickerScroll 32s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-item { display: flex; align-items: center; gap: 14px; flex-shrink: 0; font-family: var(--font-b); font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.ticker-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ─── FEATURED DROP ───────────────────────────────────────────────────────── */
#featured { background: var(--bg); }
.featured-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,100px); align-items: center; margin-top: 70px; }
.feat-visual { position: relative; aspect-ratio: 4/5; background: var(--surface); border-radius: 12px; overflow: hidden; border: 1px solid var(--border-sub); outline: 1px solid rgba(200,168,75,0.06); box-shadow: 0 0 0 1px rgba(0,0,0,0.4), 0 40px 80px rgba(0,0,0,0.5); }
.feat-visual-inner { width: 100%; height: 100%; background: linear-gradient(150deg, #080e1a 0%, #0e1830 35%, #1a1010 65%, #120808 100%); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.feat-card { width: 55%; aspect-ratio: 2.5/3.5; background: linear-gradient(140deg, #180a08 0%, #4a1a10 40%, #2a0a08 100%); border-radius: 14px; border: 1px solid rgba(120,80,60,0.55); box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 30px 70px rgba(0,0,0,0.7), 0 0 60px rgba(200,80,40,0.18), 0 0 120px rgba(60,100,220,0.12), inset 0 1px 0 rgba(255,255,255,0.12); position: relative; overflow: hidden; animation: cardFloat 5s ease-in-out infinite; }
.feat-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(50deg, transparent 20%, rgba(200,168,75,0.18) 38%, rgba(160,120,240,0.15) 45%, rgba(100,160,255,0.1) 52%, rgba(200,168,75,0.12) 60%, transparent 78%); animation: cardSheen 3.5s ease-in-out 0.5s infinite; }
.feat-card-label { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); font-family: var(--font-d); font-size: 9px; font-weight: 600; letter-spacing: 0.2em; color: rgba(200,168,75,0.6); text-transform: uppercase; white-space: nowrap; }
.feat-badge { position: absolute; top: 18px; left: 18px; z-index: 2; background: var(--gold); color: var(--void); font-family: var(--font-b); font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; padding: 5px 13px; border-radius: 3px; }
.feat-glow { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(200,168,75,0.08) 0%, transparent 70%); }
.feat-info { display: flex; flex-direction: column; }
.feat-set { font-family: var(--font-b); font-size: 11px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.feat-title { font-family: var(--font-d); font-size: clamp(28px,3.8vw,52px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; color: var(--white); margin-bottom: 22px; text-wrap: balance; }
.feat-desc { font-size: 16px; font-weight: 300; color: var(--muted); line-height: 1.85; margin-bottom: 36px; max-width: 420px; text-wrap: pretty; }
.feat-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 36px; }
.price-main { font-family: var(--font-d); font-size: 52px; font-weight: 700; color: var(--white); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price-note { font-size: 13px; color: var(--muted); }
.feat-actions { display: flex; gap: 14px; }

/* ─── CATEGORIES ──────────────────────────────────────────────────────────── */
#categories { background: var(--bg2); padding-bottom: 0; }
.cats-header { margin-bottom: 60px; }
.cats-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.cat-card { position: relative; aspect-ratio: 3/4.2; overflow: hidden; cursor: pointer; }
.cat-bg { position: absolute; inset: 0; transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94); }
.cat-card:hover .cat-bg { transform: scale(1.06); }
.cat-card:nth-child(1) .cat-bg { background: linear-gradient(165deg, #0b1224 0%, #14255a 45%, #0d0a1e 100%); }
.cat-card:nth-child(2) .cat-bg { background: linear-gradient(165deg, #1a0808 0%, #501515 45%, #180828 100%); }
.cat-card:nth-child(3) .cat-bg { background: linear-gradient(165deg, #081818 0%, #154535 45%, #080e22 100%); }
.cat-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(9,9,26,0.95) 0%, rgba(9,9,26,0.1) 60%); }
.cat-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 88px; opacity: 0.12; transition: opacity 0.4s ease, transform 0.6s ease; }
.cat-card:hover .cat-icon { opacity: 0.2; transform: scale(1.1) rotate(-3deg); }
.cat-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 40px 32px; }
.cat-tag { font-family: var(--font-b); font-size: 9px; font-weight: 600; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; display: block; }
.cat-name { font-family: var(--font-d); font-size: 28px; font-weight: 700; color: #f0f0fa; margin-bottom: 6px; letter-spacing: -0.02em; }
.cat-count { font-size: 13px; color: var(--cat-count-color); margin-bottom: 22px; }
.cat-link { font-family: var(--font-b); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 8px; transition: gap 0.3s ease; }
.cat-card:hover .cat-link { gap: 16px; }

/* ─── STATS ───────────────────────────────────────────────────────────────── */
#stats { padding: 80px clamp(20px,4vw,60px); background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.stat-item { text-align: center; padding: 20px; }
.stat-num { font-family: var(--font-d); font-size: clamp(40px,5vw,68px); font-weight: 700; line-height: 1; color: var(--white); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.stat-num .gold, .stat-num.gold { color: var(--gold); }
.stat-suffix { font-size: 0.65em; font-weight: 400; }
.stat-divider { width: 24px; height: 1px; background: var(--gold); margin: 0 auto 14px; }
.stat-label { font-family: var(--font-b); font-size: 12px; font-weight: 400; color: var(--muted); letter-spacing: 0.06em; }

/* ─── HOME PRODUCTS SECTION ───────────────────────────────────────────────── */
#products { background: var(--bg2); }
.products-hdr { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 56px; }
.products-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }

/* ─── WHY US ──────────────────────────────────────────────────────────────── */
#why { background: var(--bg); }
.why-header { margin-bottom: 70px; }
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.why-card { padding: 36px 28px; background: var(--surface); border: 1px solid var(--border-sub); border-radius: 10px; transition: border-color 0.3s ease, transform 0.3s ease, background 0.35s ease; will-change: transform; }
.why-card:hover { border-color: rgba(200,168,75,0.18); transform: translateY(-3px); }
.why-icon { width: 48px; height: 48px; border-radius: 10px; background: var(--gold-glow); border: 1px solid rgba(200,168,75,0.2); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 22px; }
.why-title { font-family: var(--font-d); font-size: 17px; font-weight: 600; color: var(--white); margin-bottom: 12px; letter-spacing: -0.01em; }
.why-desc { font-size: 14px; font-weight: 300; color: var(--muted); line-height: 1.8; text-wrap: pretty; }

/* ─── NEWSLETTER ──────────────────────────────────────────────────────────── */
#newsletter { background: var(--bg2); padding: var(--pad) clamp(20px,4vw,60px); position: relative; overflow: hidden; border-top: 1px solid var(--border); }
.nl-glow { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 100% at 50% 60%, rgba(200,168,75,0.07) 0%, transparent 70%); pointer-events: none; }
.nl-inner { position: relative; z-index: 2; max-width: 580px; margin: 0 auto; text-align: center; }
.nl-h2 { margin-bottom: 16px; }
.nl-sub { margin-bottom: 44px; max-width: 400px; margin-left: auto; margin-right: auto; }
.nl-form { display: flex; gap: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--r); box-shadow: 0 0 0 4px var(--gold-glow); }
.nl-input { flex: 1; background: var(--card); border: none; outline: none; padding: 16px 20px; font-family: var(--font-b); font-size: 14px; color: var(--white); transition: background 0.35s ease, color 0.35s ease; }
.nl-input::placeholder { color: var(--nl-placeholder); }
.nl-btn { background: var(--gold); border: none; padding: 16px 28px; font-family: var(--font-b); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--void); cursor: pointer; transition: background 0.22s ease; min-height: 52px; }
.nl-btn:hover { background: var(--gold-bright); }
.nl-btn:active { transform: scale(0.98); }
.nl-note { margin-top: 16px; font-size: 11px; color: var(--scroll-lbl-color); }

/* ─── PRODUCT CARDS (shared between home + shop) ──────────────────────────── */
.prod-card { background: var(--card); border-radius: 10px; overflow: hidden; border: 1px solid var(--border-sub); cursor: pointer; transition: border-color 0.3s ease, transform 0.3s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.3s ease, opacity 0.3s ease; will-change: transform; }
.prod-card:hover { border-color: rgba(200,168,75,0.22); transform: translateY(-5px); box-shadow: 0 24px 60px rgba(0,0,0,0.2), 0 0 0 1px rgba(200,168,75,0.08); }
.prod-card.hidden { display: none; }
.prod-img { aspect-ratio: 1; background: var(--surface); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; transition: background 0.35s ease; }
.prod-card-visual { width: 52%; aspect-ratio: 2.5/3.5; border-radius: 8px; border: 1px solid rgba(200,168,75,0.18); box-shadow: 0 12px 35px rgba(0,0,0,0.5); position: relative; overflow: hidden; transition: transform 0.45s cubic-bezier(0.25,0.46,0.45,0.94); }
.prod-card:hover .prod-card-visual { transform: scale(1.06) rotate(-2deg); }
.prod-card-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 35%, rgba(200,168,75,0.18) 48%, rgba(160,120,240,0.12) 54%, transparent 68%); animation: cardSheen 5s ease-in-out infinite; }
.pv-blue   { background: linear-gradient(145deg, #0f1230 0%, #1e2460 45%, #0d1040 100%); }
.pv-red    { background: linear-gradient(145deg, #1a0a0a 0%, #4a1818 45%, #1a0818 100%); }
.pv-green  { background: linear-gradient(145deg, #0a1818 0%, #1a4a2a 45%, #0a1022 100%); }
.pv-purple { background: linear-gradient(145deg, #160a2a 0%, #3a1a5a 45%, #160a28 100%); }
.pv-gold   { background: linear-gradient(145deg, #1a1200 0%, #4a3600 45%, #1a1000 100%); }
.pv1 { background: linear-gradient(145deg, #0f1230 0%, #1e2460 45%, #0d1040 100%); }
.pv2 { background: linear-gradient(145deg, #1a0a0a 0%, #4a1818 45%, #1a0818 100%); }
.pv3 { background: linear-gradient(145deg, #0a1818 0%, #1a4a2a 45%, #0a1022 100%); }

.box-visual { width: 62%; aspect-ratio: 1/1.2; border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); position: relative; overflow: hidden; transition: transform 0.45s ease; }
.prod-card:hover .box-visual { transform: scale(1.05) rotate(1deg); }
.box-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 35%, rgba(255,255,255,0.08) 50%, transparent 65%); animation: cardSheen 5s ease-in-out 1s infinite; }
.bv1 { background: linear-gradient(145deg, #091630 0%, #1030a0 40%, #0a0e28 100%); }
.bv-blue   { background: linear-gradient(145deg, #091630 0%, #1030a0 40%, #0a0e28 100%); }
.bv-red    { background: linear-gradient(145deg, #1a0510 0%, #8a1530 40%, #1a0510 100%); }
.bv-teal   { background: linear-gradient(145deg, #051818 0%, #104840 40%, #051418 100%); }
.bv-violet { background: linear-gradient(145deg, #0f0520 0%, #4a1570 40%, #0f0520 100%); }
.bv-photo  { background-size: cover; background-position: center top; background-repeat: no-repeat; }

.slab-visual { width: 55%; aspect-ratio: 1/1.5; background: linear-gradient(180deg, #e8e8e8 0%, #d0d0d0 100%); border-radius: 4px; box-shadow: 0 10px 35px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.1); position: relative; overflow: hidden; transition: transform 0.45s ease; }
.prod-card:hover .slab-visual { transform: scale(1.05) rotate(-1deg); }
.slab-inner { position: absolute; top: 8px; left: 6px; right: 6px; bottom: 30px; border-radius: 3px; }
.slab-inner::after { content: ''; position: absolute; inset: 0; border-radius: 3px; background: linear-gradient(135deg, transparent 35%, rgba(200,168,75,0.25) 48%, transparent 62%); animation: cardSheen 4s ease-in-out 0.8s infinite; }
.slab-blue   .slab-inner { background: linear-gradient(145deg, #1a1870 0%, #2a2890 50%, #1a1660 100%); }
.slab-red    .slab-inner { background: linear-gradient(145deg, #701818 0%, #902828 50%, #601010 100%); }
.slab-purple .slab-inner { background: linear-gradient(145deg, #3a1870 0%, #5a2898 50%, #2a1060 100%); }
.slab-green  .slab-inner { background: linear-gradient(145deg, #184018 0%, #286028 50%, #104010 100%); }
.slab-grade { position: absolute; bottom: 0; left: 0; right: 0; height: 30px; display: flex; align-items: center; justify-content: center; font-family: var(--font-d); font-size: 12px; font-weight: 800; color: #05050e; letter-spacing: 0.05em; }
.slab-psa .slab-grade { background: linear-gradient(90deg, #c8a84b, #e0c060); }
.slab-bgs .slab-grade { background: linear-gradient(90deg, #4a8aff, #6aacff); color: #fff; }

.pack-visual { width: 40%; aspect-ratio: 1/1.6; border-radius: 8px; position: relative; overflow: hidden; box-shadow: 0 12px 35px rgba(0,0,0,0.5); transition: transform 0.45s ease; }
.prod-card:hover .pack-visual { transform: scale(1.06) rotate(2deg); }
.pack-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.15) 45%, rgba(200,168,75,0.1) 50%, transparent 65%); animation: cardSheen 4s ease-in-out 0.5s infinite; }
.pk-blue   { background: linear-gradient(160deg, #0a1840 0%, #1a3a90 50%, #0a0e30 100%); border: 1px solid rgba(100,140,255,0.2); }
.pk-red    { background: linear-gradient(160deg, #200808 0%, #601828 50%, #200808 100%); border: 1px solid rgba(204,41,54,0.2); }
.pk-teal   { background: linear-gradient(160deg, #051820 0%, #0f4848 50%, #051418 100%); border: 1px solid rgba(40,180,160,0.2); }
.pk-violet { background: linear-gradient(160deg, #100520 0%, #3a0f68 50%, #0f0520 100%); border: 1px solid rgba(120,60,200,0.2); }

.prod-badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 3px; font-family: var(--font-b); font-size: 8px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.badge-new    { background: var(--gold); color: var(--void); }
.badge-hot    { background: var(--red); color: #fff; }
.badge-psa    { background: #1a3a8a; color: #fff; }
.badge-bgs    { background: #1a3a8a; color: #6aacff; }
.badge-sealed { background: #1a4a2a; color: #6affaa; }
.badge-sale   { background: var(--red); color: #fff; }

.prod-info { padding: 20px 22px 24px; }
.prod-cat { font-family: var(--font-b); font-size: 9px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.prod-name { font-family: var(--font-d); font-size: 15px; font-weight: 600; color: var(--white); line-height: 1.3; margin-bottom: 4px; }
.prod-meta { font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.prod-footer { display: flex; align-items: center; justify-content: space-between; }
.prod-price-wrap { display: flex; align-items: baseline; gap: 7px; }
.prod-price { font-family: var(--font-d); font-size: 22px; font-weight: 700; color: var(--white); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.prod-price-orig { font-size: 13px; color: var(--muted); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.prod-add { background: transparent; border: 1px solid rgba(200,168,75,0.28); color: var(--gold); font-family: var(--font-b); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 9px 16px; border-radius: var(--r); cursor: pointer; transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.15s ease; min-height: 40px; white-space: nowrap; }
.prod-add:hover { background: var(--gold); color: var(--void); border-color: var(--gold); }
.prod-add:active { transform: scale(0.96); }

.empty-state { display: none; text-align: center; padding: 80px 20px; grid-column: 1/-1; }
.empty-state.visible { display: block; }
.empty-icon { font-size: 52px; margin-bottom: 20px; opacity: 0.4; }
.empty-title { font-family: var(--font-d); font-size: 22px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.empty-sub { font-size: 15px; color: var(--muted); }

/* ─── SHOP HEADER & FILTERS ───────────────────────────────────────────────── */
#shop-header { padding-top: calc(var(--nav-h) + 60px); padding-bottom: 48px; padding-left: clamp(20px,4vw,60px); padding-right: clamp(20px,4vw,60px); background: var(--bg); border-bottom: 1px solid var(--border); }
.shop-header-inner { max-width: var(--max); margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-family: var(--font-b); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a { color: var(--muted); transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { opacity: 0.4; }
.shop-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.shop-title { font-family: var(--font-d); font-size: clamp(32px,4.5vw,60px); font-weight: 700; line-height: 1.0; letter-spacing: -0.03em; color: var(--white); text-wrap: balance; }
.result-count { font-family: var(--font-b); font-size: 13px; font-weight: 400; color: var(--muted); white-space: nowrap; padding-bottom: 6px; }
.result-count strong { color: var(--white); font-weight: 600; }
.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.filter-pills { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-pill { font-family: var(--font-b); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 9px 18px; border-radius: 40px; cursor: pointer; background: var(--filter-bg); border: 1px solid var(--border-sub); color: var(--muted); transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease; min-height: 40px; }
.filter-pill:hover { background: var(--filter-bg-hov); color: var(--white); border-color: rgba(200,168,75,0.2); }
.filter-pill.active { background: var(--gold); color: var(--void); border-color: var(--gold); font-weight: 700; }
.filter-pill.active:hover { background: var(--gold-bright); }
.sort-wrapper { display: flex; align-items: center; gap: 10px; }
.sort-label { font-family: var(--font-b); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.sort-select { font-family: var(--font-b); font-size: 12px; font-weight: 500; color: var(--white); background: var(--filter-bg); border: 1px solid var(--border-sub); border-radius: var(--r); padding: 9px 34px 9px 14px; cursor: pointer; outline: none; transition: border-color 0.2s ease, background 0.35s ease, color 0.35s ease; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237878a0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; min-height: 40px; }
.sort-select:hover { border-color: rgba(200,168,75,0.25); }
#shop-body { padding: 52px clamp(20px,4vw,60px) var(--pad); background: var(--bg); }
.shop-body-inner { max-width: var(--max); margin: 0 auto; }

/* ─── ABOUT PAGE ──────────────────────────────────────────────────────────── */
.page-header { padding-top: calc(var(--nav-h) + 80px); padding-bottom: 80px; padding-left: clamp(20px,4vw,60px); padding-right: clamp(20px,4vw,60px); max-width: var(--max); margin: 0 auto; position: relative; }
.page-header::before { content: ''; position: fixed; top: 0; left: 0; right: 0; height: 400px; background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(200,168,75,0.07) 0%, transparent 70%); pointer-events: none; z-index: -1; }
.page-eyebrow { display: flex; align-items: center; gap: 10px; font-family: var(--font-d); font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.page-eyebrow-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.page-h1 { font-family: var(--font-d); font-size: clamp(36px,5.5vw,72px); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; margin-bottom: 24px; }
.page-lead { font-size: clamp(16px,1.8vw,20px); font-weight: 300; color: var(--muted); max-width: 560px; line-height: 1.75; text-wrap: pretty; }
.section-wrap { padding: var(--pad) clamp(20px,4vw,60px); max-width: var(--max); margin: 0 auto; }
.section-eyebrow { font-family: var(--font-d); font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.section-title { font-family: var(--font-d); font-size: clamp(26px,3.5vw,44px); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; margin-bottom: 20px; }
.section-body { font-size: 16px; font-weight: 300; color: var(--muted); line-height: 1.85; text-wrap: pretty; }
#story { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.story-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,100px); align-items: center; }
.story-text .section-body + .section-body { margin-top: 20px; }
.story-visual { position: relative; aspect-ratio: 4/5; border-radius: 12px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.story-visual-inner { display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 40px; text-align: center; }
.story-pack-stack { position: relative; width: 120px; height: 160px; }
.story-pack { position: absolute; width: 88px; height: 128px; border-radius: 8px; border: 1.5px solid rgba(200,168,75,0.25); }
.story-pack-1 { background: linear-gradient(135deg, #1a1a50 0%, #0d0d30 100%); top: 16px; left: 16px; transform: rotate(-6deg); box-shadow: 0 8px 32px rgba(0,0,0,0.5); }
.story-pack-2 { background: linear-gradient(135deg, #2a1a3a 0%, #180d28 100%); top: 8px; left: 8px; transform: rotate(-2deg); box-shadow: 0 8px 32px rgba(0,0,0,0.5); }
.story-pack-3 { background: linear-gradient(135deg, #0d2a1a 0%, #071810 100%); top: 0; left: 0; transform: rotate(2deg); box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(200,168,75,0.18); }
.story-pack-logo { font-family: var(--font-d); font-size: 11px; font-weight: 700; color: var(--gold); position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); letter-spacing: 0.08em; }
.story-quote { font-family: var(--font-d); font-size: 13px; font-weight: 400; color: var(--muted); line-height: 1.6; font-style: italic; letter-spacing: 0.01em; max-width: 220px; }
.story-quote strong { color: var(--gold); font-style: normal; font-weight: 600; }
.story-glow { position: absolute; bottom: -40px; right: -40px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(200,168,75,0.12) 0%, transparent 70%); pointer-events: none; }
#values { background: var(--bg); }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 56px; }
.value-card { background: var(--card); border: 1px solid var(--border-sub); border-radius: 10px; padding: 36px 32px; transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease; }
.value-card:hover { background: var(--card-hover); border-color: var(--border); transform: translateY(-3px); }
.value-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--gold-glow); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; color: var(--gold); }
.value-title { font-family: var(--font-d); font-size: 14px; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 12px; }
.value-desc { font-size: 14px; font-weight: 300; color: var(--muted); line-height: 1.8; text-wrap: pretty; }
#stats-bar { background: var(--void); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 60px clamp(20px,4vw,60px); }
.stats-bar-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 40px; }
#contact { background: var(--bg2); border-top: 1px solid var(--border); }
.contact-layout { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px,6vw,100px); align-items: start; }
.contact-info-title { font-family: var(--font-d); font-size: clamp(22px,3vw,36px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 16px; text-wrap: balance; }
.contact-info-body { font-size: 15px; font-weight: 300; color: var(--muted); line-height: 1.85; margin-bottom: 40px; text-wrap: pretty; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.contact-detail-icon { width: 38px; height: 38px; flex-shrink: 0; border-radius: 8px; background: var(--gold-glow); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--gold); margin-top: 2px; }
.contact-detail-label { font-family: var(--font-d); font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-detail-value { font-size: 15px; font-weight: 400; color: var(--white); }
.contact-detail-value a:hover { color: var(--gold); }
.contact-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.social-btn { display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border: 1px solid var(--border-sub); border-radius: var(--r); font-family: var(--font-d); font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); transition: all 0.2s ease; cursor: pointer; background: none; }
.social-btn:hover { color: var(--white); border-color: var(--border); background: var(--gold-glow); }
.contact-form-wrap { background: var(--card); border: 1px solid var(--border-sub); border-radius: 12px; padding: clamp(28px,4vw,48px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-group.full { grid-column: 1/-1; }
.form-label { font-family: var(--font-d); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.form-input, .form-select, .form-textarea { background: var(--surface); border: 1px solid var(--border-sub); border-radius: var(--r); padding: 13px 16px; font-family: var(--font-b); font-size: 14px; font-weight: 400; color: var(--white); outline: none; transition: border-color 0.2s ease, background 0.2s ease; width: 100%; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted); opacity: 0.6; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--gold); background: var(--card); }
.form-select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237878a0' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.form-select option { background: var(--card); color: var(--white); }
.form-textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.form-submit { width: 100%; margin-top: 8px; padding: 16px; }
.form-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 14px; font-weight: 300; }
.form-success { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 40px 20px; text-align: center; }
.form-success.active { display: flex; }
.form-fields.hidden { display: none; }
.success-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--gold-glow); border: 1.5px solid var(--gold); display: flex; align-items: center; justify-content: center; color: var(--gold); }
.success-title { font-family: var(--font-d); font-size: 18px; font-weight: 700; color: var(--white); }
.success-body { font-size: 14px; font-weight: 300; color: var(--muted); max-width: 300px; line-height: 1.7; }

/* ─── POLICY PAGES ────────────────────────────────────────────────────────── */
.policy-header { padding-top: calc(var(--nav-h) + 80px); padding-bottom: 60px; padding-left: clamp(20px,4vw,60px); padding-right: clamp(20px,4vw,60px); max-width: var(--max); margin: 0 auto; border-bottom: 1px solid var(--border); }
.policy-eyebrow { display: flex; align-items: center; gap: 10px; font-family: var(--font-b); font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.policy-eyebrow-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); display: inline-block; flex-shrink: 0; }
.policy-h1 { font-family: var(--font-d); font-size: clamp(32px,5vw,56px); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; margin-bottom: 20px; }
.policy-meta { font-size: 13px; color: var(--muted); }
.policy-layout { max-width: var(--max); margin: 0 auto; padding: 64px clamp(20px,4vw,60px) var(--pad); display: grid; grid-template-columns: 220px 1fr; gap: 80px; align-items: start; }
.policy-toc { position: sticky; top: calc(var(--nav-h) + 28px); }
.toc-label { font-family: var(--font-b); font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.toc-list a { font-size: 13px; color: var(--muted); padding: 5px 0 5px 12px; border-left: 2px solid transparent; display: block; transition: color 0.2s ease, border-color 0.2s ease; }
.toc-list a:hover { color: var(--white); border-left-color: var(--gold); }
.policy-content section { margin-bottom: 56px; }
.policy-content section:last-child { margin-bottom: 0; }
.section-anchor { scroll-margin-top: calc(var(--nav-h) + 24px); }
.policy-content h2 { font-family: var(--font-d); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.section-num { width: 28px; height: 28px; border-radius: 50%; background: var(--gold-glow); border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-b); font-size: 11px; font-weight: 600; color: var(--gold); flex-shrink: 0; }
.policy-content p { font-size: 15px; line-height: 1.8; color: var(--white); margin-bottom: 16px; text-wrap: pretty; }
.policy-content p:last-child { margin-bottom: 0; }
.policy-content ul, .policy-content ol { padding-left: 20px; margin-bottom: 16px; }
.policy-content li { font-size: 15px; line-height: 1.8; color: var(--white); margin-bottom: 6px; }
.policy-content li::marker { color: var(--gold); }
.policy-content strong { color: var(--white); font-weight: 600; }
.policy-content a { color: var(--gold); }
.policy-content a:hover { color: var(--gold-bright); }
.policy-callout { background: var(--gold-glow); border: 1px solid var(--border); border-left: 3px solid var(--gold); border-radius: var(--r); padding: 18px 22px; margin: 24px 0; font-size: 14px; line-height: 1.75; color: var(--white); }
.policy-callout strong { color: var(--gold); }
.policy-table-wrap { overflow-x: auto; margin: 24px 0; }
.policy-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.policy-table th { font-family: var(--font-b); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 10px 16px; border-bottom: 1px solid var(--border); background: var(--bg2); }
.policy-table td { padding: 13px 16px; border-bottom: 1px solid var(--border-sub); color: var(--white); vertical-align: top; }
.policy-table tr:last-child td { border-bottom: none; }
.policy-table tr:hover td { background: var(--surface); }
.td-highlight { color: var(--gold); font-weight: 500; }
.contact-card { display: flex; align-items: flex-start; gap: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 24px 28px; margin-top: 24px; }
.contact-card-icon { width: 42px; height: 42px; border-radius: 50%; background: var(--gold-glow); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card-icon svg { color: var(--gold); }
.contact-card-title { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.contact-card-body { font-size: 13px; color: var(--muted); line-height: 1.7; }
.contact-card-body a { color: var(--gold); }

/* ─── FOOTER ──────────────────────────────────────────────────────────────── */
footer { background: var(--void); border-top: 1px solid var(--border); padding: 70px clamp(20px,4vw,60px) 36px; transition: background 0.35s ease; }
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand .logo-mark { font-size: 26px; }
.footer-desc { font-size: 14px; font-weight: 300; color: var(--muted); line-height: 1.85; margin-top: 18px; max-width: 260px; text-wrap: pretty; }
.col-title { font-family: var(--font-d); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin-bottom: 22px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.footer-links a { font-size: 14px; font-weight: 300; color: var(--muted); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid var(--border-sub); padding-top: 30px; display: flex; align-items: center; justify-content: space-between; }
.footer-copy { font-size: 12px; color: var(--footer-copy-color); }
.footer-social { display: flex; gap: 22px; }
.footer-social a { font-size: 13px; color: var(--muted); transition: color 0.2s ease; }
.footer-social a:hover { color: var(--gold); }

/* ─── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .policy-layout { grid-template-columns: 1fr; gap: 48px; }
  .policy-toc { position: static; }
  .toc-list { flex-direction: row; flex-wrap: wrap; gap: 0; }
  .toc-list a { border-left: none; border-bottom: 2px solid transparent; padding: 4px 12px 4px 0; }
  .toc-list a:hover { border-bottom-color: var(--gold); border-left-color: transparent; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .featured-layout { grid-template-columns: 1fr; gap: 40px; }
  .cats-grid { grid-template-columns: 1fr; }
  .cat-card { aspect-ratio: 16/9; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .products-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-card-float { display: none; }
  .products-hdr { flex-direction: column; align-items: flex-start; gap: 20px; }
  .shop-title-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .filter-bar { flex-direction: column; align-items: flex-start; }
  .story-layout { grid-template-columns: 1fr; }
  .story-visual { aspect-ratio: 16/9; }
  .values-grid { grid-template-columns: repeat(2,1fr); }
  .stats-bar-inner { grid-template-columns: repeat(2,1fr); gap: 30px; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  :root { --pad: 48px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .products-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .nl-form { flex-direction: column; border-radius: 0; }
  .nl-input { border-radius: var(--r) var(--r) 0 0; }
  .nl-btn { border-radius: 0 0 var(--r) var(--r); width: 100%; }
  .feat-actions { flex-direction: column; }
  .feat-actions .btn { width: 100%; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .filter-pills { gap: 6px; }
  .filter-pill { font-size: 10px; padding: 8px 14px; }
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-bar-inner { grid-template-columns: repeat(2,1fr); }
}

/* ─── SINGLE PRODUCT PAGE (PDP) ──────────────────────────────────────────── */
.pdp-breadcrumb { padding: 24px var(--pad) 0; }
.pdp-breadcrumb-inner { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.pdp-breadcrumb-inner a { color: var(--muted); text-decoration: none; }
.pdp-breadcrumb-inner a:hover { color: var(--fg); }

.pdp-wrap { max-width: 1360px; margin: 0 auto; padding: 48px var(--pad) 80px; }
.pdp-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

/* Gallery */
.pdp-gallery { position: sticky; top: 100px; }
.pdp-main-img { position: relative; background: var(--surface); border-radius: 16px; overflow: hidden; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.pdp-img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.pdp-img-placeholder { width: 100%; aspect-ratio: 1; background: var(--surface-alt); border-radius: 16px; }
.pdp-main-img .prod-badge { position: absolute; top: 16px; left: 16px; }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pdp-thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; opacity: .6; transition: opacity .2s, border-color .2s; }
.pdp-thumb:hover, .pdp-thumb--active { opacity: 1; border-color: var(--accent); }

/* Details */
.pdp-details { display: flex; flex-direction: column; gap: 20px; }
.pdp-cat { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.pdp-title { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.15; color: var(--fg); margin: 0; text-wrap: balance; }
.pdp-meta { font-size: 14px; color: var(--muted); }

.pdp-price-wrap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pdp-price { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--fg); font-variant-numeric: tabular-nums; }
.pdp-price-orig { font-size: 1.2rem; color: var(--muted); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.pdp-price-orig .woocommerce-Price-currencySymbol { font-size: inherit; }
.pdp-price .woocommerce-Price-currencySymbol { font-size: inherit; }
.pdp-save-badge { background: #16a34a22; color: #4ade80; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; }

.pdp-stock { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; }
.pdp-stock-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.pdp-stock--in { color: #4ade80; }
.pdp-stock--in .pdp-stock-dot { background: #4ade80; box-shadow: 0 0 0 3px #4ade8022; }
.pdp-stock--out { color: var(--muted); }
.pdp-stock--out .pdp-stock-dot { background: var(--muted); }

.pdp-qty-row { display: flex; align-items: center; gap: 12px; }
.pdp-qty-row .quantity { display: flex; }
.pdp-qty-row .qty { background: var(--surface); border: 1px solid var(--border); color: var(--fg); border-radius: 10px; padding: 14px 20px; font-size: 16px; font-family: var(--font-body); width: 80px; text-align: center; outline: none; }
.pdp-qty-row .qty:focus { border-color: var(--accent); }
.pdp-atc-btn { flex: 1; background: var(--accent); color: #000; font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border: none; border-radius: 10px; padding: 16px 32px; cursor: pointer; transition: opacity .2s, transform .1s; }
.pdp-atc-btn:hover { opacity: .9; }
.pdp-atc-btn:active { transform: scale(.97); }
.pdp-atc-btn--disabled { background: var(--surface); color: var(--muted); cursor: not-allowed; text-align: center; padding: 16px 32px; border-radius: 10px; font-size: 14px; font-weight: 600; }

.pdp-trust { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--surface); border-radius: 12px; border: 1px solid var(--border); }
.pdp-trust-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.pdp-trust-item svg { color: var(--accent); flex-shrink: 0; }

/* Description section */
.pdp-desc-section { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--border); }
.pdp-desc-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--fg); margin: 0 0 24px; }
.pdp-desc-body { font-size: 15px; color: var(--muted); line-height: 1.8; max-width: 720px; }
.pdp-desc-body p { margin: 0 0 16px; }

/* Product image link (no underline) */
a.prod-img-link { display: block; text-decoration: none; color: inherit; }

/* PDP responsive */
@media (max-width: 900px) {
  .pdp-inner { grid-template-columns: 1fr; gap: 32px; }
  .pdp-gallery { position: static; }
}
@media (max-width: 600px) {
  .pdp-qty-row { flex-direction: column; }
  .pdp-atc-btn { width: 100%; }
}

/* ─── WOOCOMMERCE — THEME TOKEN OVERRIDES ─────────────────────────────────── */
/* Ensures WooCommerce-generated pages (checkout, cart, account) respect
   the active light/dark theme instead of defaulting to browser defaults.    */

.woocommerce,
.woocommerce-page {
  color: var(--white);
  background-color: var(--bg);
}

/* Headings and labels */
.woocommerce h1, .woocommerce h2, .woocommerce h3,
.woocommerce h4, .woocommerce h5, .woocommerce h6,
.woocommerce-page h1, .woocommerce-page h2, .woocommerce-page h3 {
  color: var(--white);
}

/* Body text, descriptions, and small metadata */
.woocommerce p,
.woocommerce label,
.woocommerce .woocommerce-checkout-review-order-table td,
.woocommerce .cart-collaterals .cart_totals table td,
.woocommerce .cart-collaterals .cart_totals table th,
.woocommerce table.shop_table td,
.woocommerce table.shop_table th,
.woocommerce .order-review td,
.woocommerce .order-review th,
.wc-block-components-product-details,
.wc-block-components-product-name,
.wc-block-components-order-summary-item__description,
.wc-block-components-totals-item,
.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item,
.wc-block-checkout__sidebar,
.wc-block-components-sidebar {
  color: var(--white);
}

/* Muted/secondary text */
.woocommerce .woocommerce-Price-amount,
.woocommerce small,
.woocommerce .description,
.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table .product-name a,
.wc-block-components-product-metadata,
.wc-block-components-order-summary-item__quantity {
  color: var(--white);
}

/* Input fields */
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="tel"],
.woocommerce input[type="password"],
.woocommerce input[type="number"],
.woocommerce select,
.woocommerce textarea,
.wc-block-components-text-input input,
.wc-block-components-select select,
.wc-block-components-country-input input {
  background-color: var(--surface);
  border: 1px solid var(--border);
  color: var(--white);
  border-radius: var(--r);
}

.woocommerce input::placeholder,
.wc-block-components-text-input input::placeholder {
  color: var(--muted);
}

/* Order summary sidebar (block checkout) */
.wc-block-checkout__sidebar,
.wc-block-order-confirmation-summary-list-item,
.wp-block-woocommerce-checkout-order-summary-block {
  background-color: var(--surface);
  border-color: var(--border-sub);
  color: var(--white);
}

/* Product description text in order summary */
.wc-block-components-order-summary-item__description,
.wc-block-components-order-summary-item__individual-prices,
.wc-block-checkout__sidebar p,
.wc-block-checkout__sidebar span {
  color: var(--white) !important;
  opacity: 0.85;
}

/* Cart table */
.woocommerce table.shop_table,
.woocommerce-cart table.cart {
  background: var(--surface);
  border-color: var(--border-sub);
}

/* Notices */
.woocommerce-info,
.woocommerce-message {
  border-top-color: var(--gold);
  color: var(--white);
  background: var(--surface);
}

/* Links inside WooCommerce */
.woocommerce a,
.woocommerce-page a {
  color: var(--gold);
}
.woocommerce a:hover,
.woocommerce-page a:hover {
  color: var(--gold-bright);
}