/* ===========================================================================
   South Metro Music — RETROWAVE design system (standalone).
   Styleguide synthwave palette + 80s Outrun treatment (skewed striped extrude,
   neon, perspective grid). Light + dark via html.dark.
   Fonts: Fugaz One (display), Space Grotesk (body), Space Mono (meta).
   =========================================================================== */

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{ margin:0; font-family:var(--font-body); color:var(--text); background:var(--bg);
  font-size:16px; line-height:1.55; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; color:inherit; cursor:pointer; background:none; border:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ margin:0; font-family:var(--font-display); font-weight:400; line-height:1; }
:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; border-radius:4px; }
@media (prefers-reduced-motion: reduce){ *{ animation:none !important; transition:none !important; scroll-behavior:auto !important; } }

/* ---- tokens : LIGHT (cream) ---- */
:root{
  --font-display:'Fugaz One',sans-serif;
  --font-body:'Space Grotesk',sans-serif;
  --font-mono:'Space Mono',monospace;

  --ink:#0E1430; --vinyl:#0A1024; --paper:#F6F7FB;
  --sunset:linear-gradient(135deg,#3B63E0 0%,#5B4FE0 38%,#8C46C8 68%,#C9508A 100%);

  --bg:#F6F7FB; --surface:#FFFFFF; --surface-2:#E9EDF7;
  --text:#0E1430; --text-muted:rgba(14,20,48,.62); --text-faint:rgba(14,20,48,.42);
  --border:rgba(14,20,48,.12); --border-strong:rgba(14,20,48,.22);
  --link:#2747C0; --accent:#2747C0;
  --brand:#2A49B8; --brand-btn:#3B63E0; --brand-btn-press:#2440AE;
  --teal:#1FB6B6; --teal-ink:#0E7C7C; --teal-neon:#3FE0DE; --gold:#2747C0;
  --eyebrow:#2747C0;
  --shadow-sm:0 1px 2px rgba(14,11,20,.06),0 2px 8px rgba(14,11,20,.05);
  --shadow:0 8px 28px rgba(14,11,20,.12);

  --r-sm:8px; --r:12px; --r-lg:18px; --r-pill:999px;
  --container:1240px; --gutter:clamp(16px,4vw,28px); --nav-h:108px;
}

/* ---- tokens : DARK (plum-black night) ---- */
html.dark{
  --bg:#0E1430; --surface:#172143; --surface-2:#1E2A52;
  --text:#EAF0FF; --text-muted:rgba(234,240,255,.72); --text-faint:rgba(234,240,255,.45);
  --border:rgba(255,255,255,.10); --border-strong:rgba(255,255,255,.18);
  --link:#7FA8FF; --accent:#7FA8FF;
  --brand:#3B63E0; --brand-btn:#3B63E0; --brand-btn-press:#2A49B8;
  --teal:#1FB6B6; --teal-ink:#3FE0DE; --teal-neon:#3FE0DE; --gold:#EDE39B;
  --eyebrow:#7FA8FF;
  --shadow-sm:0 1px 2px rgba(0,0,0,.4); --shadow:0 18px 50px rgba(0,0,0,.55);
}

/* ---- layout ---- */
.container{ max-width:var(--container); margin-inline:auto; padding-inline:var(--gutter); }
.section{ padding-block:clamp(48px,7vw,96px); }
.skip{ position:absolute; left:-9999px; top:0; z-index:200; background:var(--ink); color:var(--paper);
  padding:10px 16px; border-radius:0 0 var(--r-sm) 0; font-family:var(--font-mono); font-size:13px; }
.skip:focus{ left:0; }

/* ---- type + retro treatment ---- */
.eyebrow{ font-family:var(--font-mono); font-weight:700; font-size:12px; letter-spacing:.28em;
  text-transform:uppercase; color:var(--eyebrow); margin:0 0 14px; }
.h1{ font-family:var(--font-display); text-transform:uppercase; line-height:.92;
  font-size:clamp(2.8rem,8.5vw,7rem); }
.h2{ font-family:var(--font-display); text-transform:uppercase; line-height:1;
  font-size:clamp(1.9rem,4.5vw,3.3rem); transform:skewX(-7deg); }
.h2 > *{ display:inline-block; }
.lead{ color:var(--text-muted); font-size:clamp(1rem,1.4vw,1.18rem); max-width:46ch; }
.mono{ font-family:var(--font-mono); } .muted{ color:var(--text-muted); }
/* striped sunset extrude (Outrun) + skew — apply to hero/feature headlines */
.retro{ transform:skewX(-9deg); color:#EAF0FF;
  text-shadow:3px 3px 0 #3B63E0,6px 6px 0 #5B4FE0,9px 9px 0 #7A4FD0,12px 12px 0 #8C46C8,15px 15px 0 #3A2A6E; }
.neon-teal{ text-shadow:0 0 10px rgba(63,224,222,.6),0 0 26px rgba(63,224,222,.35); }
.neon-magenta{ text-shadow:0 0 10px rgba(206,76,124,.6),0 0 26px rgba(206,76,124,.35); }
.sunset-text{ background:var(--sunset); -webkit-background-clip:text; background-clip:text; color:transparent; }

/* ---- buttons ---- */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:.5em;
  font-family:var(--font-display); text-transform:uppercase; letter-spacing:.04em; font-size:.82rem;
  padding:.95em 1.7em; border-radius:var(--r-sm); border:1px solid transparent;
  transition:background-color .2s,color .2s,border-color .2s,transform .15s; white-space:nowrap; }
.btn:active{ transform:translateY(1px); }
.btn--primary{ background:var(--brand-btn); color:#fff; }
.btn--primary:hover{ background:var(--brand-btn-press); }
.btn--dark{ background:var(--ink); color:var(--paper); }
html.dark .btn--dark{ background:var(--paper); color:var(--ink); }
.btn--dark:hover{ background:var(--brand-btn); color:#fff; }
.btn--ghost{ border-color:var(--border-strong); color:var(--text); }
.btn--ghost:hover{ border-color:var(--accent); color:var(--accent); }
.btn--block{ width:100%; } .btn--sm{ padding:.6em 1.1em; font-size:.72rem; }
.link-arrow{ font-family:var(--font-mono); font-weight:700; text-transform:uppercase; letter-spacing:.08em;
  font-size:.74rem; color:var(--link); display:inline-flex; align-items:center; gap:.4em; }
.link-arrow:hover{ color:var(--brand); }
.link-arrow svg{ transition:transform .15s; } .link-arrow:hover svg{ transform:translateX(3px); }

/* ---- badges / rating ---- */
.badge{ font-family:var(--font-mono); font-size:10.5px; text-transform:uppercase; letter-spacing:.05em;
  padding:3px 9px; border-radius:var(--r-pill); font-weight:700; line-height:1.4; }
.badge--new{ background:rgba(31,182,182,.14); color:var(--teal-ink); }
.badge--used{ background:rgba(176,45,99,.12); color:var(--brand); }
.badge--preorder{ background:rgba(122,46,85,.12); color:#7A2E55; }
.badge--rsd{ background:var(--brand-btn); color:#fff; }
.badge--sale{ background:#C2410C; color:#fff; }
html.dark .badge--new{ background:rgba(63,224,222,.16); color:var(--teal-neon); }
html.dark .badge--used{ background:rgba(206,76,124,.22); color:#F3A6C4; }
html.dark .badge--preorder{ background:rgba(237,227,155,.16); color:var(--gold); }
.stars{ display:inline-flex; align-items:center; gap:2px; color:#C99A12; }
html.dark .stars{ color:#EDE39B; }
.stars svg{ width:13px; height:13px; }
.rating{ display:inline-flex; align-items:center; gap:6px; font-family:var(--font-mono); font-size:11px; color:var(--text-faint); }

/* ---- announcement + trust ---- */
.announce{ background:var(--sunset); color:#0E0B14; text-align:center; padding:7px 16px;
  font-family:var(--font-mono); font-weight:700; font-size:11px; letter-spacing:.05em; text-transform:uppercase; }
.trust{ border-block:1px solid var(--border); background:var(--surface); }
.trust__row{ display:flex; flex-wrap:wrap; justify-content:center; gap:8px 34px; padding:14px var(--gutter); }
.trust__item{ display:inline-flex; align-items:center; gap:9px; font-family:var(--font-mono);
  font-size:12px; color:var(--text-muted); text-transform:uppercase; }
.trust__item svg{ width:17px; height:17px; color:var(--accent); flex:none; }

/* ---- header / nav ---- */
.header{ position:sticky; top:0; z-index:80; background:#FFFFFF; border-bottom:1px solid rgba(14,11,20,.10); }
/* header stays a clean white bar in both themes — scope its contents dark */
.header .nav__links a{ color:#13111C; }
.header .nav__links a:hover{ color:var(--brand-btn); }
.header .nav__links a[aria-current="page"]::after{ background:var(--brand-btn); }
.header .icon-btn{ color:#13111C; }
.header .icon-btn:hover{ background:#F2ECE2; color:var(--brand-btn); }
.header .menu__inner{ background:#FFFFFF; border-color:rgba(14,11,20,.1); box-shadow:0 10px 30px rgba(14,11,20,.14); }
.header .menu__inner a{ color:#13111C; }
.header .menu__inner a:hover{ background:#F2ECE2; color:var(--brand-btn); }
.header .search input{ background:#F7F3EC; color:#13111C; border-color:rgba(14,11,20,.18); }
.header .search input::placeholder{ color:rgba(14,11,20,.4); }
.nav{ display:flex; align-items:center; gap:18px; height:var(--nav-h); }
.brand{ position:relative; display:inline-flex; align-items:center; flex:none; }
.brand img{ height:88px; width:auto; }
.brand__glow{ display:none; }
.nav__links{ display:flex; align-items:center; gap:22px; margin-inline:auto;
  font-family:var(--font-display); text-transform:uppercase; font-size:.8rem; letter-spacing:.03em; }
.nav__links a{ display:inline-flex; align-items:center; gap:5px; padding:6px 0; position:relative; color:var(--text); }
.nav__links a:hover{ color:var(--accent); }
.nav__links a[aria-current="page"]::after{ content:""; position:absolute; left:0; right:0; bottom:-2px; height:2px; background:var(--accent); }
.has-menu{ position:relative; }
.menu{ position:absolute; left:50%; transform:translateX(-50%); top:100%; padding-top:12px; display:none; }
.has-menu:hover .menu,.has-menu:focus-within .menu{ display:block; }
.menu__inner{ background:var(--surface); border:1px solid var(--border); border-radius:var(--r);
  box-shadow:var(--shadow); padding:10px; min-width:230px; display:grid; gap:2px; }
.menu__inner a{ padding:9px 12px; border-radius:var(--r-sm); font-size:.72rem; }
.menu__inner a:hover{ background:var(--surface-2); color:var(--accent); }
.nav__actions{ display:flex; align-items:center; gap:4px; flex:none; }
.icon-btn{ width:42px; height:42px; display:inline-flex; align-items:center; justify-content:center;
  border-radius:var(--r-sm); color:var(--text); position:relative; }
.icon-btn:hover{ background:var(--surface-2); color:var(--accent); }
.icon-btn svg{ width:21px; height:21px; }
.cart-count{ position:absolute; top:3px; right:3px; min-width:17px; height:17px; padding:0 4px;
  background:var(--brand-btn); color:#fff; border-radius:var(--r-pill); font-family:var(--font-mono);
  font-size:10px; font-weight:700; display:grid; place-items:center; line-height:1; }
.theme-toggle .ic-sun{ display:none; } .theme-toggle .ic-moon{ display:inline-flex; }
html.dark .theme-toggle .ic-sun{ display:inline-flex; } html.dark .theme-toggle .ic-moon{ display:none; }
.menu-toggle{ display:none; }
.search{ flex:1; max-width:560px; position:relative; }
.search input{ width:100%; height:44px; padding:0 14px 0 42px; border-radius:var(--r-sm);
  border:1px solid var(--border-strong); background:var(--surface); color:var(--text); font-size:.92rem; }
.search input::placeholder{ color:var(--text-faint); }
.search svg{ position:absolute; left:15px; top:50%; transform:translateY(-50%); width:18px; height:18px; color:var(--text-faint); }

/* ---- section header ---- */
.sec-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin-bottom:28px; flex-wrap:wrap; }
.sortbar{ display:flex; align-items:center; gap:14px; font-family:var(--font-mono); font-size:12px; color:var(--text-muted); }
.sortbar select{ font-family:var(--font-mono); font-size:12px; padding:6px 10px; border-radius:var(--r-sm);
  border:1px solid var(--border-strong); background:var(--surface); color:var(--text); }

/* ---- product card ---- */
.grid{ display:grid; gap:clamp(14px,2vw,22px); grid-template-columns:repeat(2,minmax(0,1fr)); }
@media(min-width:680px){ .grid{ grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(min-width:980px){ .grid--4{ grid-template-columns:repeat(4,minmax(0,1fr)); } }
.pc{ min-width:0; display:flex; flex-direction:column; background:var(--surface); border:1px solid var(--border);
  border-radius:var(--r); padding:10px; transition:border-color .2s,transform .2s,box-shadow .2s; position:relative; }
.pc:hover{ border-color:var(--teal); transform:translateY(-3px); box-shadow:var(--shadow); }
.pc__media{ position:relative; aspect-ratio:1; border-radius:var(--r-sm); overflow:hidden; display:block; background:var(--surface-2); }
.pc__media img{ width:100%; height:100%; object-fit:cover; }
.pc__badges{ position:absolute; top:8px; left:8px; display:flex; flex-direction:column; gap:5px; align-items:flex-start; }
.pc__wish{ position:absolute; top:8px; right:8px; width:34px; height:34px; border-radius:var(--r-pill);
  background:rgba(255,255,255,.92); color:#0E0B14; display:grid; place-items:center; box-shadow:var(--shadow-sm);
  opacity:0; transform:translateY(-4px); transition:.2s; }
.pc:hover .pc__wish,.pc__wish:focus-visible{ opacity:1; transform:none; }
.pc__wish svg{ width:17px; height:17px; }
.pc__wish[aria-pressed="true"]{ color:var(--brand-btn); }
.pc__wish[aria-pressed="true"] svg{ fill:currentColor; }
.pc__quick{ position:absolute; left:8px; right:8px; bottom:8px; background:var(--ink); color:var(--paper);
  font-family:var(--font-display); text-transform:uppercase; letter-spacing:.04em; font-size:.66rem;
  padding:.85em 1em; border-radius:var(--r-sm); opacity:0; transform:translateY(8px); transition:.22s; }
.pc:hover .pc__quick,.pc__quick:focus-visible{ opacity:1; transform:none; }
.pc__quick:hover{ background:var(--brand-btn); }
.pc__body{ padding:12px 4px 4px; display:flex; flex-direction:column; gap:3px; flex:1; }
.pc__format{ font-family:var(--font-mono); font-size:10.5px; text-transform:uppercase; letter-spacing:.05em; color:var(--text-faint); }
.pc__title{ font-family:var(--font-display); text-transform:uppercase; font-size:.86rem; line-height:1.15;
  margin:3px 0 0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pc__artist{ font-size:.86rem; color:var(--text-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pc__foot{ display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:10px; }
.pc__price{ font-family:var(--font-mono); font-weight:700; font-size:.95rem; }
.pc__price del{ color:var(--text-faint); font-weight:400; margin-right:6px; }
.pc__price .sale{ color:var(--brand); }

/* ---- cart drawer + toast ---- */
.backdrop{ position:fixed; inset:0; background:rgba(10,8,16,.55); opacity:0; visibility:hidden; transition:.25s; z-index:90; }
.backdrop.open{ opacity:1; visibility:visible; }
.drawer{ position:fixed; top:0; right:0; height:100%; width:min(420px,92vw); background:var(--bg);
  border-left:1px solid var(--border); z-index:100; transform:translateX(100%); transition:transform .3s cubic-bezier(.2,.7,.2,1);
  display:flex; flex-direction:column; }
.drawer.open{ transform:none; }
.drawer__head{ display:flex; align-items:center; justify-content:space-between; padding:20px var(--gutter); border-bottom:1px solid var(--border); }
.drawer__title{ font-family:var(--font-display); text-transform:uppercase; font-size:1.1rem; }
.drawer__body{ flex:1; overflow:auto; padding:16px var(--gutter); display:flex; flex-direction:column; gap:14px; }
.drawer__empty{ color:var(--text-muted); text-align:center; padding:48px 0; font-family:var(--font-mono); font-size:13px; }
.line{ display:grid; grid-template-columns:56px 1fr auto; gap:12px; align-items:center; }
.line img{ width:56px; height:56px; object-fit:cover; border-radius:var(--r-sm); }
.line__t{ font-family:var(--font-display); text-transform:uppercase; font-size:.78rem; line-height:1.2; }
.line__a{ font-size:.78rem; color:var(--text-muted); }
.line__p{ font-family:var(--font-mono); font-weight:700; font-size:.85rem; }
.line__x{ font-family:var(--font-mono); font-size:11px; color:var(--text-faint); }
.line__x:hover{ color:var(--brand); }
.drawer__foot{ border-top:1px solid var(--border); padding:18px var(--gutter); display:grid; gap:12px; }
.drawer__sub{ display:flex; justify-content:space-between; align-items:baseline; font-family:var(--font-mono); }
.drawer__sub b{ font-size:1.1rem; }
.drawer__note{ font-family:var(--font-mono); font-size:11px; color:var(--text-faint); text-align:center; }
.toast{ position:fixed; left:50%; bottom:24px; transform:translate(-50%,20px); z-index:120;
  background:var(--ink); color:var(--paper); padding:13px 20px; border-radius:var(--r-pill); box-shadow:var(--shadow);
  font-family:var(--font-mono); font-size:13px; display:flex; align-items:center; gap:10px; opacity:0; visibility:hidden; transition:.25s; }
.toast.show{ opacity:1; visibility:visible; transform:translate(-50%,0); }
.toast svg{ width:16px; height:16px; color:var(--teal-neon); }

/* ---- events / reviews / hours ---- */
.events{ border-top:1px solid var(--border); }
.event{ display:flex; align-items:center; gap:18px; padding:22px 6px; border-bottom:1px solid var(--border); transition:background-color .15s; }
.event:hover{ background:var(--surface-2); }
.event__date{ width:150px; flex:none; }
.event__date b{ font-family:var(--font-mono); font-weight:700; color:var(--accent); display:block; font-size:.9rem; }
.event__date span{ font-family:var(--font-mono); font-size:11px; color:var(--text-faint); }
.event__t{ flex:1; font-family:var(--font-display); text-transform:uppercase; font-size:1rem; line-height:1.2; }
.event__tags{ display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.event__arr{ width:22px; height:22px; color:var(--text-faint); flex:none; }
.event:hover .event__arr{ color:var(--brand); }
@media(max-width:640px){ .event{ flex-wrap:wrap; } .event__date{ width:auto; } .event__arr{ display:none; } }
.reviews{ display:grid; gap:20px; grid-template-columns:1fr; }
@media(min-width:760px){ .reviews{ grid-template-columns:repeat(3,1fr); } }
.review{ margin:0; background:var(--surface); border:1px solid var(--border); border-radius:var(--r); padding:26px; }
.review blockquote{ margin:14px 0 18px; font-size:1.05rem; line-height:1.5; }
.review figcaption{ font-family:var(--font-mono); font-size:12px; color:var(--text-muted); }
.review figcaption span{ color:var(--text-faint); }
.hours{ font-family:var(--font-mono); font-size:.95rem; }
.hours div{ display:flex; justify-content:space-between; padding:11px 0; border-bottom:1px solid var(--border); }
.hours .closed{ color:var(--brand); }
html.dark .hours .closed{ color:#F3A6C4; }

/* ---- feature / newsletter / footer ---- */
.feature{ position:relative; overflow:hidden; }
.feature--dark{ background:var(--ink); color:var(--paper); }
.feature__glow{ position:absolute; border-radius:50%; background:var(--sunset); filter:blur(10px); pointer-events:none; }
.newsletter{ background:var(--sunset); }
.newsletter .container{ text-align:center; padding-block:clamp(44px,6vw,72px); }
.news-form{ display:flex; gap:10px; max-width:440px; margin:22px auto 10px; }
.news-form input{ flex:1; height:50px; padding:0 16px; border-radius:var(--r-sm); border:1px solid rgba(14,11,20,.25);
  background:var(--paper); color:var(--ink); font-size:.92rem; }
.news-consent{ font-family:var(--font-mono); font-size:10.5px; color:rgba(14,11,20,.6); }
.footer{ background:var(--ink); color:rgba(251,247,240,.72); }
.footer__grid{ display:grid; gap:34px 28px; grid-template-columns:1fr; padding-block:clamp(40px,5vw,64px); }
@media(min-width:760px){ .footer__grid{ grid-template-columns:1.5fr 1fr 1fr 1fr; } }
.footer img.logo{ height:72px; margin-bottom:16px; }
.footer h4{ font-family:var(--font-display); text-transform:uppercase; font-size:.8rem; letter-spacing:.04em; color:var(--gold); margin-bottom:14px; }
html.dark .footer h4{ color:#EDE39B; }
.footer a{ color:rgba(251,247,240,.64); } .footer a:hover{ color:var(--teal-neon); }
.footer__col li{ margin-bottom:10px; font-size:.92rem; }
.footer__np{ font-size:.82rem; color:rgba(251,247,240,.56); line-height:1.7; }
.footer__social{ display:flex; gap:10px; margin-top:16px; }
.footer__social a{ width:42px; height:42px; border:1px solid rgba(255,255,255,.16); border-radius:var(--r-sm); display:grid; place-items:center; }
.footer__social a:hover{ border-color:var(--teal-neon); color:var(--teal-neon); }
.footer__bar{ border-top:1px solid rgba(255,255,255,.1); padding-block:18px; display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; align-items:center; }
.footer__bar small{ color:rgba(251,247,240,.42); font-size:12px; }
.pay{ display:flex; gap:7px; align-items:center; }
.pay span{ font-family:var(--font-mono); font-size:9px; letter-spacing:.04em; text-transform:uppercase;
  border:1px solid rgba(255,255,255,.2); border-radius:5px; padding:4px 7px; color:rgba(251,247,240,.56); }

/* ---- decorative ---- */
.divider{ line-height:0; } .divider svg{ width:100%; height:46px; display:block; }
@keyframes spin{ to{ transform:rotate(360deg); } } .spin{ animation:spin 13s linear infinite; }

/* ---- mobile nav ---- */
.mobile{ position:fixed; inset:0; z-index:110; background:var(--bg); display:none; flex-direction:column; }
.mobile.open{ display:flex; }
.mobile__head{ display:flex; align-items:center; justify-content:space-between; height:var(--nav-h); padding-inline:var(--gutter); border-bottom:1px solid var(--border); }
.mobile__links{ display:flex; flex-direction:column; gap:4px; padding:18px var(--gutter); overflow:auto; }
.mobile__links a{ font-family:var(--font-display); text-transform:uppercase; font-size:1.4rem; padding:12px 0; border-bottom:1px solid var(--border); }
@media(max-width:980px){ body{ --nav-h:96px; } .nav__links,.search.desktop{ display:none; } .menu-toggle{ display:inline-flex; } .brand img{ height:72px; } }

/* ===== interior pages (breadcrumb, page header, PLP, PDP) ===== */
.breadcrumb{ background:#16224A; border-bottom:1px solid rgba(0,0,0,.25); }
.breadcrumb .container{ display:flex; gap:8px; align-items:center; padding-block:14px;
  font-family:var(--font-mono); font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:rgba(251,247,240,.55); }
.breadcrumb a{ color:rgba(251,247,240,.82); }
.breadcrumb a:hover{ color:var(--gold); }
.breadcrumb .container > span:last-child{ color:#FBF7F0; }
.breadcrumb .sep{ color:rgba(251,247,240,.4); }
/* dark zone — flips tokens so content renders light-on-dark in either theme */
.on-dark,.page-hero{
  --text:#EAF0FF; --text-muted:rgba(234,240,255,.74); --text-faint:rgba(234,240,255,.46);
  --border:rgba(255,255,255,.10); --border-strong:rgba(255,255,255,.20);
  --surface:#172143; --surface-2:#1E2A52; --accent:#7FA8FF; --link:#7FA8FF;
  --eyebrow:#7FA8FF; --gold:#EDE39B; color:#EAF0FF;
}
.on-dark{ background:#0E1430; }
.page-hero{ background:#0E1430; border-bottom:1px solid rgba(0,0,0,.3); position:relative; overflow:hidden; }
.page-hero .container{ padding-block:clamp(34px,5vw,60px); position:relative; z-index:2; }
.page-hero h1{ font-size:clamp(2.4rem,6vw,4.5rem); text-transform:uppercase; }
.page-hero .lead{ margin-top:14px; }
.page-hero__rays{ position:absolute; inset:0; opacity:.5;
  background:repeating-conic-gradient(from 0deg at 20% 120%, rgba(206,76,124,.08) 0deg 5deg, transparent 5deg 13deg); }

/* PLP */
.plp{ display:grid; grid-template-columns:1fr; gap:clamp(20px,3vw,40px); }
@media(min-width:900px){ .plp{ grid-template-columns:248px 1fr; } }
.filters{ align-self:start; }
@media(min-width:900px){ .filters{ position:sticky; top:calc(var(--nav-h) + 12px); } }
.filter-g{ border-bottom:1px solid var(--border); padding:18px 0; }
.filter-g:first-child{ padding-top:0; }
.filter-g summary{ display:flex; align-items:center; justify-content:space-between; gap:10px; cursor:pointer; list-style:none; }
.filter-g summary::-webkit-details-marker{ display:none; }
.filter-g summary:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; border-radius:var(--r-sm); }
.filter-g h3{ font-family:var(--font-display); text-transform:uppercase; font-size:.78rem; letter-spacing:.02em; margin:0; }
.filter-g[open] summary{ margin-bottom:14px; }
.filter-g__chev{ color:var(--text-faint); transition:transform .2s ease; flex:none; }
.filter-g[open] .filter-g__chev{ transform:rotate(180deg); }
/* Mobile filter toggle — rail collapses behind a button below 900px; always open on desktop */
.filters-toggle{ display:none; width:100%; justify-content:center; margin-bottom:18px; }
@media(max-width:899px){
  .filters-toggle{ display:inline-flex; }
  .filters{ display:none; }
  .filters.is-open{ display:block; margin-bottom:24px; }
}
.facet{ display:flex; align-items:center; gap:10px; padding:5px 0; font-size:.9rem; color:var(--text-muted); cursor:pointer; }
.facet:hover{ color:var(--text); }
.facet input{ accent-color:var(--brand-btn); width:16px; height:16px; }
.facet .count{ margin-left:auto; font-family:var(--font-mono); font-size:11px; color:var(--text-faint); }
.chips{ display:flex; flex-wrap:wrap; gap:8px; }
.chip{ font-family:var(--font-mono); font-size:11px; text-transform:uppercase; letter-spacing:.04em;
  border:1px solid var(--border-strong); border-radius:var(--r-pill); padding:6px 12px; color:var(--text-muted); }
.chip--on{ background:var(--brand-btn); color:#fff; border-color:transparent; }
.toolbar{ display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; margin-bottom:22px; }
.toolbar .count{ font-family:var(--font-mono); font-size:12px; color:var(--text-muted); }
.pager{ display:flex; justify-content:center; gap:6px; margin-top:40px; }
.pager a{ min-width:40px; height:40px; display:grid; place-items:center; border:1px solid var(--border); border-radius:var(--r-sm);
  font-family:var(--font-mono); font-size:13px; }
.pager a:hover{ border-color:var(--accent); color:var(--accent); }
.pager a[aria-current="page"]{ background:var(--ink); color:var(--paper); border-color:transparent; }
html.dark .pager a[aria-current="page"]{ background:var(--paper); color:var(--ink); }

/* PDP */
.pdp{ display:grid; grid-template-columns:1fr; gap:clamp(24px,4vw,52px); }
@media(min-width:880px){ .pdp{ grid-template-columns:1.05fr 1fr; align-items:start; } }
.pdp__media{ position:sticky; top:calc(var(--nav-h) + 16px); }
.pdp__cover{ aspect-ratio:1; border-radius:var(--r); overflow:hidden; border:1px solid var(--border); background:var(--surface-2); }
.pdp__cover img{ width:100%; height:100%; object-fit:cover; }
.pdp__thumbs{ display:flex; gap:10px; margin-top:12px; }
.pdp__thumbs img{ width:64px; height:64px; object-fit:cover; border-radius:var(--r-sm); border:1px solid var(--border); cursor:pointer; }
.pdp__thumbs img:hover{ border-color:var(--accent); }
.pdp__artist{ font-family:var(--font-mono); text-transform:uppercase; letter-spacing:.1em; font-size:.8rem; color:var(--accent); margin-bottom:8px; }
.pdp__title{ font-size:clamp(2rem,4.5vw,3.2rem); text-transform:uppercase; line-height:.95; }
.pdp__meta{ display:flex; flex-wrap:wrap; gap:8px 14px; align-items:center; margin:14px 0; }
.pdp__price{ font-family:var(--font-mono); font-weight:700; font-size:1.6rem; }
.pdp__opts{ display:flex; flex-direction:column; gap:14px; margin:22px 0; }
.opt label{ font-family:var(--font-mono); font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:var(--text-muted); display:block; margin-bottom:8px; }
.swatches{ display:flex; gap:8px; flex-wrap:wrap; }
.swatch{ border:1px solid var(--border-strong); border-radius:var(--r-sm); padding:9px 14px; font-family:var(--font-mono); font-size:12px; cursor:pointer; }
.swatch--on{ border-color:var(--brand-btn); background:color-mix(in srgb,var(--brand-btn) 12%,transparent); color:var(--brand); }
.qty{ display:inline-flex; align-items:center; border:1px solid var(--border-strong); border-radius:var(--r-sm); }
.qty button{ width:40px; height:44px; font-size:18px; } .qty span{ width:40px; text-align:center; font-family:var(--font-mono); }
.pdp__buy{ display:flex; gap:10px; margin:8px 0 22px; }
.pdp__ship{ display:flex; flex-direction:column; gap:8px; font-family:var(--font-mono); font-size:12px; color:var(--text-muted); margin-bottom:20px; }
.pdp__ship div{ display:flex; align-items:center; gap:9px; } .pdp__ship svg{ width:16px; height:16px; color:var(--accent); }
.acc{ border-top:1px solid var(--border); }
.acc details{ border-bottom:1px solid var(--border); }
.acc summary{ list-style:none; cursor:pointer; padding:16px 0; font-family:var(--font-display); text-transform:uppercase; font-size:.9rem; display:flex; justify-content:space-between; align-items:center; }
.acc summary::-webkit-details-marker{ display:none; }
.acc details[open] summary{ color:var(--brand); }
.acc .body{ padding-bottom:18px; color:var(--text-muted); font-size:.95rem; }
.tracklist{ font-family:var(--font-mono); font-size:.85rem; }
.tracklist li{ display:flex; justify-content:space-between; padding:7px 0; border-bottom:1px dashed var(--border); color:var(--text-muted); }
.tracklist li span:first-child{ color:var(--text); }
