/* DO — Perplexity Build
   Four switchable themes. Every colour in the UI comes from these tokens. */

:root { --radius: 4px; --radius-lg: 10px; }
:root,
[data-theme="frequency"] {
  --bg: #0a0a0a;
  --surface: #131313;
  --surface-2: #1b1b1b;
  --line: #2a2a2a;
  --text: #f2f0eb;
  --muted: #8f8c85;
  --accent: #c6ff1a;
  --accent-ink: #0a0a0a;
  --accent-soft: rgba(198, 255, 26, 0.12);
  --danger: #ff5a4f;
  --ok: #c6ff1a;
  --hero-overlay: linear-gradient(90deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.55) 55%, rgba(10,10,10,.1) 100%);
  --glow: 0 0 40px rgba(198, 255, 26, 0.25);
  color-scheme: dark;
}

[data-theme="studio"] {
  --bg: #f4f2ee;
  --surface: #ffffff;
  --surface-2: #ebe8e2;
  --line: #d9d5cd;
  --text: #111111;
  --muted: #6b675f;
  --accent: #111111;
  --accent-ink: #f4f2ee;
  --accent-soft: rgba(17, 17, 17, 0.06);
  --danger: #c2321f;
  --ok: #2f7d32;
  --hero-overlay: linear-gradient(90deg, rgba(244,242,238,.95) 0%, rgba(244,242,238,.6) 55%, rgba(244,242,238,0) 100%);
  --glow: none;
  color-scheme: light;
}

[data-theme="jaipur"] {
  --bg: #170c11;
  --surface: #221219;
  --surface-2: #2d1820;
  --line: #43242f;
  --text: #fbeee6;
  --muted: #b08f8a;
  --accent: #ff7aa2;
  --accent-ink: #170c11;
  --accent-soft: rgba(255, 122, 162, 0.12);
  --accent-2: #ffb020;
  --danger: #ff6a3d;
  --ok: #ffb020;
  --hero-overlay: linear-gradient(90deg, rgba(23,12,17,.94) 0%, rgba(23,12,17,.6) 55%, rgba(60,20,35,.15) 100%);
  --glow: 0 0 40px rgba(255, 122, 162, 0.25);
  color-scheme: dark;
}

[data-theme="chrome"] {
  --bg: #0f1115;
  --surface: #161a20;
  --surface-2: #1e232b;
  --line: #2c333d;
  --text: #e6ebf0;
  --muted: #8691a0;
  --accent: #46e0ff;
  --accent-ink: #0f1115;
  --accent-soft: rgba(70, 224, 255, 0.12);
  --danger: #ff5f6d;
  --ok: #46e0ff;
  --hero-overlay: linear-gradient(90deg, rgba(15,17,21,.94) 0%, rgba(15,17,21,.6) 55%, rgba(15,17,21,.1) 100%);
  --glow: 0 0 40px rgba(70, 224, 255, 0.22);
  color-scheme: dark;
}

[data-theme="diwali"] {
  --bg: #0e0b1f; --surface: #17132e; --surface-2: #211b3d; --line: #342b57;
  --text: #f6ecd8; --muted: #b3a88f; --accent: #f2b632; --accent-ink: #0e0b1f;
  --accent-soft: rgba(242, 182, 50, 0.13); --danger: #ff6b4a; --ok: #f2b632;
  --glow: 0 0 44px rgba(242, 182, 50, 0.3); color-scheme: dark;
}
[data-theme="monsoon"] {
  --bg: #0b1714; --surface: #11211d; --surface-2: #182c27; --line: #26413a;
  --text: #e3efe9; --muted: #8fa9a0; --accent: #6ff0bf; --accent-ink: #0b1714;
  --accent-soft: rgba(111, 240, 191, 0.12); --danger: #ff7a6b; --ok: #6ff0bf;
  --glow: 0 0 40px rgba(111, 240, 191, 0.22); color-scheme: dark;
}
[data-theme="holi"] {
  --bg: #fff7ec; --surface: #ffffff; --surface-2: #fdebd6; --line: #f0d9bf;
  --text: #1d1320; --muted: #76606e; --accent: #e0218a; --accent-ink: #ffffff;
  --accent-soft: rgba(224, 33, 138, 0.08); --danger: #c62828; --ok: #1f8a4c;
  --glow: 0 8px 30px rgba(224, 33, 138, 0.25); color-scheme: light;
}
[data-theme="concrete"] {
  --bg: #e2e0db; --surface: #eceae6; --surface-2: #d4d1ca; --line: #b9b5ac;
  --text: #141414; --muted: #5b5852; --accent: #ff5a1f; --accent-ink: #141414;
  --accent-soft: rgba(255, 90, 31, 0.1); --danger: #b3261e; --ok: #2e7d32;
  --glow: none; --radius: 0px; --radius-lg: 0px; color-scheme: light;
}
[data-theme="nightmarket"] {
  --bg: #120a24; --surface: #1b1133; --surface-2: #261944; --line: #3a2a63;
  --text: #f1eaff; --muted: #a596c7; --accent: #ff3df0; --accent-ink: #120a24;
  --accent-soft: rgba(255, 61, 240, 0.13); --danger: #ff6b8b; --ok: #4d7cff;
  --glow: 0 0 44px rgba(255, 61, 240, 0.35); color-scheme: dark;
}

:root {
  --font-display: "Clash Display", "Arial Narrow", sans-serif;
  --font-body: "Satoshi", "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --pad: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 20px;
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .4s var(--ease), color .4s var(--ease);
}
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.eyebrow {
  font-size: var(--text-xs);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: .9;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.accent { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border: 1px solid var(--text);
  border-radius: var(--radius);
  font-size: var(--text-sm); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--text); color: var(--bg); }
.btn:active { transform: translateY(1px); }
.btn.solid { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.solid:hover { box-shadow: var(--glow); background: var(--accent); color: var(--accent-ink); filter: brightness(1.05); }
.btn.ghost { border-color: var(--line); }
.btn.ghost:hover { border-color: var(--text); background: transparent; color: var(--text); }
.btn.small { min-height: 36px; padding: 0 14px; font-size: var(--text-xs); }
.btn.block { width: 100%; }
.btn:disabled { opacity: .4; cursor: not-allowed; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.wordmark { display: flex; align-items: baseline; gap: 10px; }
.wordmark b { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.wordmark b span { color: var(--accent); }
.wordmark small { font-size: 10px; letter-spacing: .28em; color: var(--muted); text-transform: uppercase; }
.nav { display: flex; gap: 22px; margin-left: 12px; }
.nav a { font-size: var(--text-sm); font-weight: 500; color: var(--muted); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; position: relative; transition: background .2s;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 20px; height: 20px; }
.bag-count {
  position: absolute; top: 2px; right: 0;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--accent); color: var(--accent-ink);
  font-size: 11px; font-weight: 700; display: grid; place-items: center;
}
.bag-count[data-empty="true"] { display: none; }
.theme-dots { display: flex; gap: 6px; padding: 0 8px; }
.theme-dot {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--line); transition: transform .2s, border-color .2s;
}
.theme-dot:hover { transform: scale(1.15); }
.theme-dot[aria-pressed="true"] { border-color: var(--text); }
.menu-btn { display: none; }

@media (max-width: 860px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--pad) 16px; margin: 0;
  }
  .nav.open a { padding: 12px 0; font-size: var(--text-base); border-bottom: 1px solid var(--line); }
  .menu-btn { display: grid; }
  .theme-dots { display: none; }
  .wordmark small { display: none; }
}

/* Ticker */
.ticker { border-bottom: 1px solid var(--line); overflow: hidden; background: var(--accent); color: var(--accent-ink); }
.ticker-track { display: flex; gap: 40px; width: max-content; padding: 10px 0; animation: tick 30s linear infinite; }
.ticker span { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } html { scroll-behavior: auto; } }

/* Hero */
.hero { position: relative; min-height: min(86vh, 820px); display: flex; align-items: flex-end; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-media { position: absolute; top: 0; bottom: 0; right: 0; width: min(56%, 760px); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 40%, transparent) 30%, transparent 60%), linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
@media (max-width: 860px) {
  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-media { position: relative; width: 100%; height: 58vh; max-height: 520px; }
  .hero-media::after { background: linear-gradient(0deg, var(--bg) 0%, transparent 45%); }
  .hero .wrap { padding-top: 0; margin-top: -96px; }
}
.hero .wrap { position: relative; padding-top: 120px; padding-bottom: clamp(40px, 8vh, 88px); }
.hero h1 { font-size: clamp(56px, 11vw, 168px); max-width: 10ch; }
.hero p.lede { max-width: 42ch; margin: 24px 0 32px; font-size: var(--text-lg); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; gap: 32px; margin-top: 48px; flex-wrap: wrap; }
.hero-meta div b { display: block; font-family: var(--font-display); font-size: 28px; font-weight: 600; }
.hero-meta div span { font-size: var(--text-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* Sections */
.section { padding: clamp(56px, 9vw, 120px) 0; border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(40px, 6vw, 84px); }
.section-head p { max-width: 40ch; color: var(--muted); }

/* Shop toolbar */
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 28px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center;
  height: 36px; padding: 0 16px; border-radius: 18px;
  border: 1px solid var(--line); font-size: var(--text-sm); font-weight: 500; color: var(--muted);
  transition: all .2s var(--ease);
}
.chip:hover { color: var(--text); border-color: var(--text); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.search {
  margin-left: auto; display: flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 20px; min-width: 240px;
  background: var(--surface);
}
.search input { background: none; border: 0; outline: 0; flex: 1; font-size: var(--text-sm); }
.search svg { width: 16px; height: 16px; color: var(--muted); }
select.sort {
  height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 20px;
  background: var(--surface); font-size: var(--text-sm);
}
@media (max-width: 640px) { .search { margin-left: 0; min-width: 0; flex: 1 1 100%; order: -1; } }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .25s var(--ease), transform .25s var(--ease); }
.card:hover { border-color: var(--muted); transform: translateY(-3px); }
.card-media { position: relative; aspect-ratio: 4 / 5; background: var(--surface-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  padding: 4px 10px; border-radius: 12px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--accent); color: var(--accent-ink);
}
.badge.muted { background: var(--surface); color: var(--muted); border: 1px solid var(--line); }
.badge.right { top: auto; bottom: 12px; left: 12px; }
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body .eyebrow { font-size: 11px; }
.card-title { font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.05; text-transform: uppercase; }
.card-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 10px; }
.price { font-weight: 700; font-size: var(--text-base); font-variant-numeric: tabular-nums; }
.price small { font-weight: 500; color: var(--muted); font-size: var(--text-xs); margin-right: 4px; }
.quick-sizes { display: flex; gap: 4px; flex-wrap: wrap; }
.qs {
  min-width: 34px; height: 30px; padding: 0 6px; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 12px; font-weight: 600; transition: all .15s;
}
.qs:hover:not(:disabled) { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.qs:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.card-link { position: absolute; inset: 0; z-index: 1; }
.card .quick-sizes, .card button, .card .badge { position: relative; z-index: 2; }

.empty { padding: 64px 24px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius-lg); color: var(--muted); }
.empty b { display: block; color: var(--text); font-size: var(--text-lg); margin-bottom: 6px; }

.skeleton { background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius-lg); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Feature split */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.split img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); }
.split h2 { font-size: clamp(40px, 6vw, 80px); margin: 14px 0 20px; }
.split p { color: var(--muted); max-width: 46ch; margin-bottom: 28px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.pillars div { background: var(--bg); padding: 28px 22px; }
.pillars b { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 600; text-transform: uppercase; margin: 10px 0 6px; }
.pillars p { color: var(--muted); font-size: var(--text-sm); }
.pillars .num { color: var(--accent); font-weight: 700; font-size: var(--text-xs); letter-spacing: .2em; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .pillars { grid-template-columns: 1fr; } }

/* Product detail */
.pdp { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5vw, 64px); padding: 40px 0 80px; }
.pdp-media { display: grid; gap: 12px; }
.pdp-media .main { aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.pdp-media .main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info { position: sticky; top: 88px; align-self: start; display: flex; flex-direction: column; gap: 18px; }
.pdp-info h1 { font-size: clamp(40px, 5vw, 64px); }
.pdp-price { font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pdp-desc { color: var(--muted); max-width: 52ch; }
.size-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.size {
  height: 52px; border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-weight: 700; transition: all .15s;
}
.size small { font-size: 10px; font-weight: 500; color: var(--muted); letter-spacing: .04em; }
.size:hover:not(:disabled) { border-color: var(--text); }
.size[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.size[aria-pressed="true"] small { color: var(--accent-ink); opacity: .75; }
.size:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.size.low small { color: var(--danger); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); height: 48px; }
.qty button { width: 44px; height: 100%; font-size: 18px; }
.qty span { min-width: 32px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.buy-row { display: flex; gap: 12px; }
.buy-row .btn.solid { flex: 1; }
.fit-finder { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px; background: var(--surface); }
.fit-finder summary { cursor: pointer; font-weight: 700; font-size: var(--text-sm); list-style: none; display: flex; justify-content: space-between; }
.fit-finder summary::after { content: "+"; color: var(--accent); }
.fit-finder[open] summary::after { content: "–"; }
.fit-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; margin-top: 14px; }
.fit-result { margin-top: 10px; font-size: var(--text-sm); color: var(--muted); }
.fit-result b { color: var(--accent); }
.perks { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); font-size: var(--text-sm); color: var(--muted); }
.perks div { display: flex; gap: 10px; align-items: center; }
.perks svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.crumbs { font-size: var(--text-sm); color: var(--muted); padding-top: 24px; }
.crumbs a:hover { color: var(--text); }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; } .pdp-info { position: static; } }

/* Bag drawer */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); z-index: 61;
  background: var(--bg); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .35s var(--ease);
  display: flex; flex-direction: column;
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-family: var(--font-display); font-weight: 600; font-size: 24px; text-transform: uppercase; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line img { width: 72px; height: 90px; object-fit: cover; border-radius: var(--radius); background: var(--surface-2); }
.line b { display: block; font-size: var(--text-sm); text-transform: uppercase; letter-spacing: .02em; }
.line span { font-size: var(--text-xs); color: var(--muted); }
.line .qty { height: 32px; margin-top: 8px; }
.line .qty button { width: 30px; font-size: 14px; }
.line .remove { font-size: var(--text-xs); color: var(--muted); text-decoration: underline; margin-top: 6px; }
.total-row { display: flex; justify-content: space-between; font-weight: 700; font-size: var(--text-lg); }
.note { font-size: var(--text-xs); color: var(--muted); }

/* Forms */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: var(--text-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s; outline: 0;
}
.field textarea { min-height: 96px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field .err { font-size: var(--text-xs); color: var(--danger); min-height: 0; }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .two { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: center; font-size: var(--text-sm); color: var(--muted); }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }

/* Checkout */
.checkout { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 5vw, 64px); padding: 40px 0 80px; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; align-self: start; position: sticky; top: 88px; }
.summary h3 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; margin-bottom: 8px; }
@media (max-width: 860px) { .checkout { grid-template-columns: 1fr; } .summary { position: static; } }
.steps { display: flex; gap: 8px; margin-bottom: 28px; font-size: var(--text-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); flex-wrap: wrap; }
.steps span[aria-current="step"] { color: var(--accent); }

.success { text-align: center; padding: 96px 0; max-width: 560px; margin: 0 auto; }
.success .tick { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; margin: 0 auto 24px; box-shadow: var(--glow); }
.success h1 { font-size: clamp(40px, 6vw, 72px); margin-bottom: 16px; }
.success p { color: var(--muted); margin-bottom: 8px; }
.order-id { display: inline-block; margin: 16px 0 28px; padding: 10px 18px; border: 1px dashed var(--accent); border-radius: var(--radius); font-family: ui-monospace, monospace; font-size: var(--text-lg); letter-spacing: .06em; }

/* Themes page */
.theme-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 860px) { .theme-grid { grid-template-columns: 1fr; } }
.theme-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.theme-card .tc-top { padding: 28px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.theme-card h3 { font-family: var(--font-display); font-size: 44px; font-weight: 600; line-height: .9; text-transform: uppercase; }
.theme-card .tc-mood { font-size: var(--text-sm); max-width: 42ch; opacity: .75; }
.swatches { display: flex; }
.swatches div { flex: 1; height: 56px; display: flex; align-items: flex-end; padding: 6px 8px; font-size: 10px; font-family: ui-monospace, monospace; letter-spacing: .02em; }
.theme-card .tc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; background: var(--surface); border-top: 1px solid var(--line); font-size: var(--text-sm); color: var(--muted); }
.tc-pill { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.ideas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .ideas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ideas { grid-template-columns: 1fr; } }
.idea { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; background: var(--surface); display: flex; flex-direction: column; gap: 8px; }
.idea b { font-family: var(--font-display); font-size: 22px; font-weight: 600; text-transform: uppercase; line-height: 1.05; }
.idea p { font-size: var(--text-sm); color: var(--muted); }
.idea .status { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.idea .status.next { background: var(--surface-2); color: var(--muted); }

/* Footer */
.site-footer { padding: 56px 0 40px; }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer .big { font-family: var(--font-display); font-weight: 700; font-size: clamp(64px, 12vw, 160px); line-height: .8; letter-spacing: -.03em; }
.site-footer .big span { color: var(--accent); }
.site-footer h4 { font-size: var(--text-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.site-footer ul { list-style: none; display: grid; gap: 8px; font-size: var(--text-sm); }
.site-footer ul a:hover { color: var(--accent); }
.foot-note { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: var(--text-xs); color: var(--muted); }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .site-footer .wrap > :first-child { grid-column: 1 / -1; } }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--text); color: var(--bg); padding: 12px 20px; border-radius: var(--radius);
  font-size: var(--text-sm); font-weight: 600; transition: all .3s var(--ease);
  max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.mode-banner { font-size: 12px; text-align: center; padding: 6px var(--pad); background: var(--surface-2); color: var(--muted); border-bottom: 1px solid var(--line); }
.mode-banner b { color: var(--text); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ===== Header additions ===== */
.acct-wrap { position: relative; }
.avatar { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; object-fit: cover; flex: none; }
.acct-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 264px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 8px; display: grid; z-index: 50; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.acct-menu a, .acct-menu button { padding: 10px 12px; border-radius: var(--radius); font-size: var(--text-sm); text-align: left; width: 100%; }
.acct-menu a:hover, .acct-menu button:hover { background: var(--surface-2); }
.am-head { display: flex; gap: 12px; align-items: center; padding: 8px 8px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.am-head b { display: block; font-size: var(--text-sm); }
.am-head > div span { font-size: 12px; color: var(--muted); word-break: break-all; }
.am-head > div { min-width: 0; }
.am-out { color: var(--danger); border-top: 1px solid var(--line) !important; margin-top: 6px; border-radius: 0 !important; }
.nav-auth { display: none; }
@media (max-width: 860px) {
  .nav.open .nav-auth { display: grid; padding-top: 8px; }
  .nav-auth button { text-align: left; padding: 12px 0; font-size: var(--text-base); font-weight: 600; color: var(--accent); }
  .nav-auth .nav-signout { color: var(--danger); }
  .hide-sm { display: none; }
}
.link { color: var(--accent); text-decoration: underline; font-weight: 600; }

/* ===== Style drawer ===== */
.drawer { left: auto; }
#styleDrawer .drawer-body { padding: 16px 24px 32px; }
.sw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sw-btn { display: grid; gap: 2px; justify-items: start; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius-lg); text-align: left; transition: border-color .2s; }
.sw-btn:hover { border-color: var(--muted); }
.sw-btn[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.sw-chip { width: 100%; height: 40px; border-radius: 6px; display: flex; align-items: flex-end; gap: 3px; padding: 5px; margin-bottom: 6px; border: 1px solid rgba(128,128,128,.25); }
.sw-chip i { width: 12px; height: 12px; border-radius: 50%; }
.sw-btn b { font-size: 12px; }
.sw-btn span { font-size: 10px; color: var(--muted); letter-spacing: .04em; }
.ly-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ly-grid.big { grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 860px) { .ly-grid.big { grid-template-columns: 1fr 1fr; } }
.ly-btn { display: grid; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-lg); text-align: left; align-content: start; transition: border-color .2s; background: var(--surface); }
.ly-btn:hover { border-color: var(--muted); }
.ly-btn svg { width: 100%; height: auto; color: var(--muted); margin-bottom: 6px; }
.ly-btn[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.ly-btn[aria-pressed="true"] svg { color: var(--accent); }
.ly-btn b { font-size: var(--text-sm); }
.ly-btn span { font-size: 12px; color: var(--muted); line-height: 1.4; }
.ly-btn em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-top: 6px; }
.ly-grid.big .ly-btn { padding: 18px; }
.ly-grid.big .ly-btn b { font-size: var(--text-lg); font-family: var(--font-display); text-transform: uppercase; }
.ly-grid.big .ly-btn span { font-size: var(--text-sm); }
.tc-btn { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 4px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.theme-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px) { .theme-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .theme-grid { grid-template-columns: 1fr; } }
.theme-card h3 { font-size: 36px; }

/* ===== Modal / sign-in ===== */
.modal { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.6); display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none !important; }
.modal-card { position: relative; width: min(440px, 100%); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 14px; max-height: 92vh; overflow-y: auto; }
.modal-x { position: absolute; top: 10px; right: 10px; }
.si-brand { display: flex; align-items: baseline; gap: 10px; }
.si-brand b { font-family: var(--font-display); font-size: 32px; font-weight: 700; line-height: 1; }
.si-brand b span { color: var(--accent); }
.btn.google { background: #fff; color: #1f1f1f; border-color: #dadce0; text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 600; }
.btn.google:hover { background: #f3f4f6; color: #1f1f1f; }
.si-perks { list-style: none; display: grid; gap: 8px; font-size: var(--text-sm); color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.si-perks li::before { content: "✳"; color: var(--accent); margin-right: 8px; }
.signed-as { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); font-size: var(--text-sm); color: var(--muted); margin-bottom: 20px; }
.signed-as b { color: var(--text); }

/* ===== Account ===== */
.account { padding-top: 32px; padding-bottom: 80px; }
.acct-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.acct-head h1 { font-size: clamp(36px, 5vw, 60px); }
.acct-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 28px; overflow-x: auto; scrollbar-width: none; }
.acct-tabs a { padding: 12px 14px; font-size: var(--text-sm); font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.acct-tabs a[aria-current="page"] { color: var(--text); border-color: var(--accent); }
.acct-grid { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .acct-grid { grid-template-columns: 1fr; } }
.id-card { position: relative; aspect-ratio: 1.586; border-radius: 16px; padding: 22px; overflow: hidden; color: var(--accent-ink); background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--accent) 100%, white 15%) 0%, var(--accent) 45%, color-mix(in srgb, var(--accent) 60%, black) 100%); display: flex; flex-direction: column; box-shadow: var(--glow); }
.id-card::after { content: "DO"; position: absolute; right: -10px; bottom: -40px; font-family: var(--font-display); font-weight: 700; font-size: 180px; line-height: 1; opacity: .09; }
.idc-top { display: flex; justify-content: space-between; align-items: center; }
.idc-logo { font-family: var(--font-display); font-size: 30px; line-height: 1; }
.idc-logo span { opacity: .55; }
.id-card .pill { background: color-mix(in srgb, var(--accent-ink) 14%, transparent); color: var(--accent-ink); }
.idc-name { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 3vw, 30px); text-transform: uppercase; margin-top: auto; line-height: 1; }
.idc-row { display: flex; gap: 28px; margin-top: 12px; }
.idc-row span { display: block; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.idc-row b { font-family: ui-monospace, monospace; font-size: 14px; letter-spacing: .04em; }
.idc-bars { position: absolute; right: 22px; top: 64px; display: flex; align-items: flex-end; gap: 2px; height: 34px; opacity: .55; }
.idc-bars i { width: 3px; background: currentColor; display: block; }
.acct-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat-tile { display: grid; gap: 2px; text-align: left; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); transition: border-color .2s; }
.stat-tile:hover { border-color: var(--accent); }
.stat-tile span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.stat-tile b { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat-tile em { font-style: normal; font-size: 12px; color: var(--muted); }
.pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 12px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.pill.ok { background: var(--accent-soft); color: var(--accent); }
.pill.warn { background: color-mix(in srgb, #ffb020 16%, transparent); color: #e09a10; }
.pill.bad { background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--danger); }
.olist { display: grid; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.orow { display: grid; grid-template-columns: 1.4fr 1fr auto auto; gap: 16px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); background: var(--surface); }
.orow:last-child { border-bottom: 0; }
.orow b { display: block; }
.orow span { font-size: 12px; color: var(--muted); }
.orow-mid { display: flex; gap: 6px; flex-wrap: wrap; }
.mono { font-family: ui-monospace, monospace; letter-spacing: .04em; }
@media (max-width: 640px) { .orow { grid-template-columns: 1fr auto; } .orow-mid { grid-column: 1 / -1; order: 3; } .orow > :last-child { grid-column: 1 / -1; order: 4; justify-self: start; } }
.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.plan { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px; background: var(--surface); display: grid; gap: 2px; }
.plan b { font-size: 24px; }
.plan em { font-style: normal; font-size: 12px; color: var(--muted); }
.h3 { font-family: var(--font-display); font-weight: 600; font-size: 24px; text-transform: uppercase; line-height: 1.05; }
.panel-box { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; background: var(--surface); }
.dl { display: grid; grid-template-columns: 90px 1fr; gap: 8px 12px; margin-top: 10px; font-size: var(--text-sm); }
.dl dt { color: var(--muted); }
.dl dd { word-break: break-all; }
.auth-gate { max-width: 520px; margin: 0 auto; padding: 96px 0; text-align: center; display: grid; gap: 16px; justify-items: center; }
.auth-gate h1 { font-size: clamp(36px, 5vw, 56px); }
.section.slim { padding: 48px 0; }
.ed-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn.danger { color: var(--danger); border-color: var(--line); }
.btn.danger:hover { background: var(--danger); color: #fff; border-color: var(--danger); }
.drop-timer { border-bottom: 1px solid var(--line); background: var(--surface); }
.drop-timer .wrap { display: flex; align-items: center; gap: 16px; height: 56px; }
.drop-timer b { font-family: ui-monospace, monospace; font-size: 20px; color: var(--accent); margin-right: auto; }

/* ===== Layout: Editorial ===== */
[data-layout="editorial"] { --font-display: "Zodiak", Georgia, serif; }
[data-layout="editorial"] .display, [data-layout="editorial"] .card-title, [data-layout="editorial"] .h3, [data-layout="editorial"] .theme-card h3 { text-transform: none; font-weight: 500; letter-spacing: -.02em; line-height: .98; }
[data-layout="editorial"] .display .accent, [data-layout="editorial"] .hero h1 .accent { font-style: italic; }
[data-layout="editorial"] .hero h1 { font-size: clamp(56px, 10vw, 150px); }
[data-layout="editorial"] .grid { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 48px 32px; }
[data-layout="editorial"] .card { background: transparent; border: 0; border-radius: 0; }
[data-layout="editorial"] .card:hover { transform: none; }
[data-layout="editorial"] .card-media { aspect-ratio: 3 / 4; border-radius: 0; }
[data-layout="editorial"] .card-body { padding: 16px 0 0; }
[data-layout="editorial"] .card-title { font-size: 28px; }
[data-layout="editorial"] .ticker { background: transparent; color: var(--text); border-top: 1px solid var(--line); }
[data-layout="editorial"] .ticker span { font-family: "Zodiak", serif; font-style: italic; text-transform: none; font-weight: 400; font-size: 18px; letter-spacing: 0; }
[data-layout="editorial"] .section-head { flex-direction: column; align-items: flex-start; }
[data-layout="editorial"] .pillars div { background: transparent; }
[data-layout="editorial"] .badge { border-radius: 0; }

/* ===== Layout: Hype grid ===== */
[data-layout="hype"] .grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0; }
[data-layout="hype"] .card { border: 0; border-radius: 0; box-shadow: 0 0 0 1px var(--line); }
[data-layout="hype"] .card:hover { transform: none; background: var(--surface-2); }
[data-layout="hype"] .card-media { aspect-ratio: 1; }
[data-layout="hype"] .card-body { padding: 10px 12px 12px; gap: 4px; }
[data-layout="hype"] .card-title { font-size: 15px; font-family: ui-monospace, monospace; font-weight: 700; letter-spacing: -.01em; }
[data-layout="hype"] .eyebrow { font-family: ui-monospace, monospace; letter-spacing: .08em; }
[data-layout="hype"] .qs { min-width: 28px; height: 26px; font-size: 11px; }
[data-layout="hype"] .badge { border-radius: 0; font-family: ui-monospace, monospace; }
[data-layout="hype"] .hero { min-height: min(70vh, 640px); }
[data-layout="hype"] .section { padding: 48px 0; }
@media (max-width: 520px) { [data-layout="hype"] .grid { grid-template-columns: 1fr 1fr; } }

/* ===== Layout: Swipe ===== */
[data-layout="swipe"] .grid:not(.lookbook-grid) { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 38%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; gap: 16px; scrollbar-width: thin; }
[data-layout="swipe"] .grid:not(.lookbook-grid) .card { scroll-snap-align: start; }
[data-layout="swipe"] .card { border-radius: 22px; }
[data-layout="swipe"] .card-media { aspect-ratio: 3 / 4; }
[data-layout="swipe"] .btn { border-radius: 999px; }
[data-layout="swipe"] .chip { height: 42px; padding: 0 20px; }
@media (max-width: 640px) { [data-layout="swipe"] .grid:not(.lookbook-grid) { grid-auto-columns: 78%; } }

/* ===== v3: saved, search, share, plans ===== */
.heart { position: absolute; top: 10px; right: 10px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(6px); color: var(--text); border: 1px solid color-mix(in srgb, var(--line) 80%, transparent); transition: transform .15s var(--ease), color .2s; }
.heart svg { width: 18px; height: 18px; fill: none; }
.heart:hover { transform: scale(1.08); }
.heart[aria-pressed="true"] { color: var(--accent); }
.heart[aria-pressed="true"] svg { fill: currentColor; }
.heart[aria-pressed="true"] svg { animation: pop .35s var(--ease); }
@keyframes pop { 50% { transform: scale(1.3); } }
.heart.big { position: static; width: auto; height: 40px; padding: 0 16px; border-radius: 20px; display: inline-flex; gap: 8px; align-items: center; font-size: var(--text-sm); font-weight: 600; background: transparent; }
.pdp-social { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp-social .chip { height: 40px; gap: 8px; }
.search-pop { position: fixed; inset: 0; z-index: 95; background: rgba(0,0,0,.55); backdrop-filter: blur(4px); display: grid; justify-items: center; align-items: start; padding: 10vh 16px 16px; }
.search-pop[hidden] { display: none !important; }
.sp-card { width: min(640px, 100%); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45); max-height: 80vh; display: flex; flex-direction: column; }
.sp-bar { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.sp-bar svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.sp-bar input { flex: 1; min-width: 0; height: 60px; background: transparent; border: 0; outline: 0; color: var(--text); font-size: 18px; font-family: inherit; }
kbd { font-family: ui-monospace, monospace; font-size: 11px; padding: 2px 6px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); }
.sp-body { padding: 16px 18px 20px; overflow-y: auto; }
.sp-body .eyebrow { margin-bottom: 8px; }
.sp-list { display: grid; gap: 2px; }
.sp-row { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; padding: 8px; border-radius: var(--radius); }
.sp-row:hover, .sp-row:focus-visible { background: var(--surface-2); }
.sp-row img { width: 48px; height: 56px; object-fit: cover; border-radius: 4px; }
.sp-row b { display: block; font-size: var(--text-sm); }
.sp-row span { font-size: 12px; color: var(--muted); }
.sp-row .price { color: var(--text); font-weight: 700; text-align: right; }
.sp-row .price small { display: block; font-weight: 500; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.plan { position: relative; }
.plan.best { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.plan-tag { position: absolute; top: -10px; right: 10px; background: var(--accent); color: var(--accent-ink); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 10px; }
.plan .save { color: var(--accent); font-weight: 700; }
.plans { padding-top: 8px; }

/* ---------- v3: checkout notices + UPI payment ---------- */
.co-notice { padding: 12px 14px; border-radius: var(--radius); font-size: 14px; line-height: 1.5; border: 1px solid var(--line); background: var(--surface-2); }
.co-notice.bad { border-color: color-mix(in srgb, var(--danger) 40%, transparent); color: var(--danger); background: color-mix(in srgb, var(--danger) 8%, transparent); }
.co-notice.warn { border-color: color-mix(in srgb, #ffb020 45%, transparent); color: #c98a0c; }
.ts-slot:empty { display: none; }
.pay { max-width: 960px; margin: 0 auto; padding: 48px 0 96px; }
.pay-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 16px; }
.pay-head .order-id { margin: 6px 0 0; font-size: 15px; word-break: break-all; }
.pay-amt { text-align: right; } .pay-amt span { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pay-amt b { font-family: var(--font-display, inherit); font-size: clamp(32px, 5vw, 48px); line-height: 1; }
.hold { margin: 0 0 24px; padding: 10px 14px; border-radius: var(--radius); background: var(--accent-soft); color: var(--text); font-size: 14px; }
.hold b { font-family: ui-monospace, monospace; color: var(--accent); }
.hold.bad { background: color-mix(in srgb, var(--danger) 10%, transparent); color: var(--danger); }
.pay-grid { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 40px; align-items: start; }
.pay-qr-card { display: grid; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.pay-qr-card .qr { background: #fff; border-radius: var(--radius); padding: 8px; display: grid; place-items: center; }
.pay-qr-card .qr svg { width: 100%; max-width: 240px; height: auto; }
.note.center { text-align: center; margin: 0; }
.upirow { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.upirow code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--text); font-size: 13px; }
.pay-steps { margin: 0 0 24px; padding-left: 20px; display: grid; gap: 10px; color: var(--muted); line-height: 1.55; }
.pay-steps b { color: var(--text); }
.field.ok input { border-color: var(--accent); }
.pay-sum { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 16px; }
.pay-sum summary { cursor: pointer; font-weight: 600; }
.pay-line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pay-line em { color: var(--muted); font-style: normal; }
.pay-done { display: flex; gap: 20px; align-items: flex-start; margin: 16px 0 24px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.pay-done .tick { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.pay-done p { margin: 10px 0 0; color: var(--muted); line-height: 1.55; }
@media (max-width: 760px) { .pay { padding-top: 28px; } .pay-grid { grid-template-columns: 1fr; gap: 24px; } .pay-amt { text-align: left; } }
.field .err.hint { color: var(--muted); } .field.invalid .err.hint { color: var(--danger); } .field.ok .err.hint { color: var(--accent); }
.pay .hero-actions { margin-top: 28px; }

/* ---------- Front-page menu (01–09, 09 = Classic DO store) ---------- */
.menu-btn { display: grid; }
.drawer.drawer-left { left: 0; right: auto; border-left: 0; border-right: 1px solid var(--line); transform: translateX(-100%); }
.drawer.drawer-left.open { transform: none; }
.mlist { display: grid; padding: 8px 0; }
.mlist a { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); transition: color .2s, padding .25s var(--ease); }
.mlist a:hover, .mlist a[aria-current="page"] { padding-left: 6px; }
.mlist a:hover b, .mlist a[aria-current="page"] b { color: var(--accent); }
.mlist em { font-style: normal; font-family: ui-monospace, monospace; font-size: 12px; color: var(--muted); min-width: 22px; }
.mlist span { display: grid; gap: 2px; }
.mlist b { font-family: var(--font-display); font-weight: 600; font-size: 22px; text-transform: uppercase; letter-spacing: .01em; line-height: 1.1; }
.mlist small { color: var(--muted); font-size: 13px; }
.m-user { display: flex; gap: 12px; align-items: center; } .m-user div { display: grid; min-width: 0; } .m-user span { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 860px) { .nav.open { display: none; } }
@media (max-width: 600px) { .mlist { padding: 0; } .mlist a { padding: 9px 0; gap: 12px; } .mlist b { font-size: 18px; } .mlist small { font-size: 12px; } #menuDrawer .drawer-head { padding: 14px 24px; } #menuDrawer .drawer-foot { padding: 14px 24px; } }

/* ---------- DO logo (your uploaded logo as a mask, so it takes each theme's accent colour) ---------- */
.logo-mark, .logo-full { display: block; background: var(--accent); -webkit-mask: url(img/do-mark-mask.png) center / contain no-repeat; mask: url(img/do-mark-mask.png) center / contain no-repeat; }
.logo-full { -webkit-mask-image: url(img/do-logo-mask.png); mask-image: url(img/do-logo-mask.png); aspect-ratio: 900 / 366; }
.wordmark { align-items: center; }
.wordmark .logo-mark { width: 68px; height: 28px; }
.foot-logo { width: min(340px, 70vw); }
.idc-logo { width: 54px; height: 22px; background: var(--accent-ink); }
.menu-logo { width: 62px; height: 26px; }

/* ---------- Entry screen ---------- */
.splash { position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 28px; background: var(--bg); transition: opacity .6s var(--ease), visibility .6s; }
.splash[hidden] { display: none; }
.splash.out { opacity: 0; visibility: hidden; }
.splash-glow { position: absolute; inset: 0; background: radial-gradient(40% 35% at 50% 45%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); animation: sp-pulse 2.4s ease-in-out infinite; pointer-events: none; }
.splash-logo { position: relative; width: min(560px, 78vw); animation: sp-in 1s var(--ease) both; filter: drop-shadow(0 0 24px color-mix(in srgb, var(--accent) 45%, transparent)); }
.splash-bar { position: relative; width: min(220px, 50vw); height: 2px; background: color-mix(in srgb, var(--accent) 18%, transparent); overflow: hidden; border-radius: 2px; }
.splash-bar i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; animation: sp-bar 1.5s var(--ease) both; }
.splash-enter { position: relative; animation: sp-fade .6s .9s both; }
@keyframes sp-in { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes sp-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes sp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sp-pulse { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .splash-logo, .splash-bar i, .splash-enter, .splash-glow { animation: none; } }

/* ---------- Menu follows the active theme ---------- */
#menuDrawer { background: radial-gradient(120% 55% at 0% 0%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 62%), linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, var(--bg)), var(--bg) 70%); border-right-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
#menuDrawer .drawer-head, #menuDrawer .drawer-foot { border-color: color-mix(in srgb, var(--accent) 22%, var(--line)); }
.m-theme { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 4px; padding: 4px 10px; border-radius: 99px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.m-theme i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.mlist a { border-bottom-color: color-mix(in srgb, var(--accent) 14%, var(--line)); border-radius: var(--radius); padding-left: 4px; padding-right: 4px; }
.mlist em { color: var(--accent); opacity: .85; }
.mlist a:hover, .mlist a[aria-current="page"] { background: color-mix(in srgb, var(--accent) 10%, transparent); padding-left: 12px; }
.mlist a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); }
.m-join { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0 8px; padding: 16px 18px; border-radius: var(--radius-lg); background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--accent) 70%, transparent); transition: transform .2s var(--ease); }
.m-join:hover { transform: translateY(-2px); }
.m-join span { display: grid; gap: 2px; } .m-join small { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.m-join b { font-family: var(--font-display); font-size: 20px; text-transform: uppercase; line-height: 1.1; } .m-join em { font-style: normal; font-size: 24px; }
@media (max-width: 600px) { .m-join { padding: 12px 14px; margin-top: 10px; } .m-join b { font-size: 16px; } .m-theme { margin-top: 8px; } }

/* ---------- Membership: Join The DO + selectable plans ---------- */
button.plan { text-align: left; cursor: pointer; color: inherit; font: inherit; transition: border-color .2s, transform .2s var(--ease); }
button.plan:hover { transform: translateY(-2px); border-color: var(--accent); }
.plan.join { background: color-mix(in srgb, var(--accent) 10%, var(--surface)); border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.plan.picked { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.m-pay { display: grid; grid-template-columns: minmax(200px, 260px) 1fr; gap: 24px; margin-top: 22px; align-items: start; }
@media (max-width: 760px) { .m-pay { grid-template-columns: 1fr; } }
/* Compact menu on shorter desktop screens so the Join The DO card stays in view */
@media (min-width: 601px) and (max-height: 960px) { .mlist a { padding-top: 10px; padding-bottom: 10px; } .mlist b { font-size: 20px; } .m-theme { margin-top: 10px; } .m-join { margin-top: 12px; padding: 13px 16px; } .m-join b { font-size: 18px; } }
@media (min-width: 601px) and (max-height: 800px) { .mlist small { display: none; } }

/* ---------- Unique DO bid stage (7.gif) ---------- */
.u-stage { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; aspect-ratio: 379 / 508; max-height: 82vh; background: radial-gradient(70% 55% at 50% 60%, color-mix(in srgb, var(--accent) 26%, #050505), #050505 72%); border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: 0 30px 80px -40px color-mix(in srgb, var(--accent) 70%, transparent); }
.u-media, .u-media img { display: block; width: 100%; height: 100%; }
.u-media img { object-fit: cover; }
.u-ring { position: absolute; inset: auto 12% 5% 12%; height: 9%; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--accent) 80%, transparent); box-shadow: 0 0 30px var(--accent), inset 0 0 22px color-mix(in srgb, var(--accent) 60%, transparent); opacity: .55; pointer-events: none; mix-blend-mode: screen; animation: uRing 2.8s ease-in-out infinite; }
@keyframes uRing { 50% { opacity: .9; transform: scaleX(1.04); } }
.u-hud { position: absolute; inset: 14px 14px auto 14px; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; pointer-events: none; }
.u-live { display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; border-radius: 99px; background: rgba(0,0,0,.6); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; backdrop-filter: blur(6px); }
.u-live i { width: 8px; height: 8px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 0 0 rgba(255,59,59,.7); animation: uPulse 1.4s infinite; }
.u-live.off i { background: #999; animation: none; }
@keyframes uPulse { 70% { box-shadow: 0 0 0 9px rgba(255,59,59,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,59,0); } }
.u-price { display: grid; text-align: right; padding: 7px 12px; border-radius: 12px; background: rgba(0,0,0,.6); color: #fff; font-family: var(--font-display); font-size: 20px; line-height: 1.1; backdrop-filter: blur(6px); }
.u-price small { font-family: inherit; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.u-thumbs { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 6px; padding: 4px; border-radius: 99px; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); }
.u-thumbs button { border: 0; background: transparent; color: #fff; padding: 7px 14px; border-radius: 99px; font-size: 12px; font-weight: 600; cursor: pointer; }
.u-thumbs button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.unique-home .u-stage { max-height: 640px; justify-self: center; width: min(100%, 480px); }
.bid-box { display: grid; gap: 14px; padding: 18px; border-radius: var(--radius-lg); border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 10%, var(--surface)), var(--surface)); }
.bid-box form { display: grid; gap: 10px; }
.bid-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bid-stats div { display: grid; gap: 2px; padding: 10px; border-radius: var(--radius); background: color-mix(in srgb, var(--bg) 70%, transparent); border: 1px solid var(--line); }
.bid-stats span { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.bid-stats b { font-family: var(--font-display); font-size: 18px; }
.bid-row { display: flex; align-items: center; gap: 8px; }
.bid-cur { font-family: var(--font-display); font-size: 24px; color: var(--accent); }
.bid-row .input { font-size: 20px; font-weight: 700; }
.bid-chips { flex-wrap: wrap; }
#bidMsg.err { color: var(--danger); }
.sold-by { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.sold-by.big { font-size: 13px; margin: -4px 0 4px; } .sold-by b { color: var(--text); }
.price .mrp { color: var(--muted); font-weight: 400; font-size: .85em; }
.price .off, .pdp-price .off { font-style: normal; color: var(--ok); font-size: .8em; font-weight: 700; }
@media (max-width: 600px) { .bid-stats b { font-size: 15px; } .u-price { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .u-ring, .u-live i { animation: none; } }

/* ---------- Terms, backup QR, seller plan card, seller collab shop pages ---------- */
.terms-check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.terms-check input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--accent); }
.terms-check a { color: var(--text); text-decoration: underline; }
.alt-qr { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; font-size: 13.5px; }
.alt-qr summary { cursor: pointer; color: var(--muted); font-weight: 600; list-style: none; text-align: center; }
.alt-qr summary::-webkit-details-marker { display: none; }
.alt-qr summary::after { content: " ↓"; } .alt-qr[open] summary::after { content: " ↑"; }
.alt-qr img { width: min(100%, 260px); height: auto; margin: 12px auto 0; border-radius: 14px; background: #fff; }
.seller-plan-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .2s; }
.seller-plan-card:hover { border-color: var(--accent); }
.seller-plan-card span { display: grid; gap: 2px; } .seller-plan-card small { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.seller-plan-card em { font-style: normal; color: var(--muted); font-size: 13.5px; } .seller-plan-card i { font-style: normal; font-size: 20px; }
.sold-by a { color: inherit; }
.collab { position: relative; overflow: hidden; margin-top: 24px; padding: clamp(28px, 5vw, 64px); border-radius: var(--radius-lg); background: var(--c-bg); color: var(--c-ink); isolation: isolate; }
.collab::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 100% 0, color-mix(in srgb, var(--c-acc) 35%, transparent), transparent 70%); }
.collab-lock { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: clamp(18px, 2.4vw, 26px); letter-spacing: .04em; text-transform: uppercase; }
.collab-do { display: inline-block; width: clamp(64px, 8vw, 96px); aspect-ratio: 2.4; background: var(--c-acc); -webkit-mask: url(/img/do-mark-mask.png) center / contain no-repeat; mask: url(/img/do-mark-mask.png) center / contain no-repeat; }
.collab-x { color: var(--c-acc); font-weight: 300; }
.collab-h { font-family: var(--font-display); font-weight: 600; margin: 22px 0 10px; font-size: clamp(38px, 7vw, 88px); line-height: .95; letter-spacing: -.02em; text-transform: uppercase; max-width: 14ch; overflow-wrap: anywhere; }
.collab-t { margin: 0 0 18px; font-size: clamp(16px, 1.6vw, 19px); max-width: 52ch; opacity: .85; }
.collab-meta { margin: 0; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.collab-legal { display: block; margin-top: 20px; font-size: 11px; opacity: .55; }
.collab-studio::before { background: linear-gradient(90deg, transparent 60%, color-mix(in srgb, var(--c-acc) 22%, transparent)); }
.collab-studio .collab-h { font-weight: 500; }
.collab-heritage::before { background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--c-acc) 14%, transparent) 0 2px, transparent 2px 18px), radial-gradient(70% 90% at 0 100%, color-mix(in srgb, var(--c-acc) 30%, transparent), transparent 70%); }
.collab-chrome::before { background: linear-gradient(135deg, color-mix(in srgb, var(--c-acc) 30%, transparent), transparent 45%, color-mix(in srgb, #ffffff 10%, transparent) 70%, transparent); }

/* DO homepage cover image — scoped to the hero only */
.hero.do-cover { min-height:min(86vh,820px); background:#050505; color:#f5f5f2; }
.hero.do-cover .hero-media { inset:0; width:100%; max-width:none; }
.hero.do-cover .hero-media img { object-position:center center; }
.hero.do-cover .hero-media::after {
  background:linear-gradient(90deg,rgba(0,0,0,.08) 0%,rgba(0,0,0,.12) 38%,transparent 72%),
             linear-gradient(0deg,rgba(0,0,0,.58) 0%,transparent 42%);
}
.hero.do-cover .wrap { z-index:1; width:100%; }
.hero.do-cover .eyebrow { color:#baff24; }
.hero.do-cover h1 .accent { color:#baff24; }
.hero.do-cover p.lede { color:rgba(245,245,242,.86); }
.hero.do-cover .hero-meta div span { color:rgba(245,245,242,.72); }
@media(max-width:860px) {
  .hero.do-cover { min-height:0; display:flex; flex-direction:column; align-items:stretch; }
  .hero.do-cover .hero-media {
    position:relative; inset:auto; width:100%; height:auto; max-height:none;
    aspect-ratio:16 / 9; flex:none;
  }
  .hero.do-cover .hero-media img { width:100%; height:100%; object-fit:cover; object-position:center center; }
  .hero.do-cover .hero-media::after { background:linear-gradient(0deg,#050505 0%,transparent 38%); }
  .hero.do-cover .wrap { margin:0; padding:28px var(--pad) 38px; background:#050505; }
  .hero.do-cover h1 { font-size:clamp(48px,12vw,76px); }
  .hero.do-cover p.lede { margin:16px 0 22px; font-size:15px; }
  .hero.do-cover .hero-meta { margin-top:24px; gap:22px; }
}

.u-media img[data-stage-main]{filter:hue-rotate(var(--do-jacket-hue,0deg)) saturate(1.18);transition:filter .35s ease}

/* Extended DO palettes: themes 10–21. Keep all UI colours on shared design tokens. */
[data-theme="rose"] { --bg:#24151b; --surface:#302029; --surface-2:#412a36; --line:#593b49; --text:#fff0f2; --muted:#c5a0ad; --accent:#f08aa8; --accent-ink:#24151b; --accent-soft:rgba(240,138,168,.13); --danger:#ff6b72; --ok:#9dd9ad; --glow:0 0 38px rgba(240,138,168,.24); color-scheme:dark; }
[data-theme="ocean"] { --bg:#071b2b; --surface:#0d293c; --surface-2:#15374c; --line:#24516a; --text:#e6f6ff; --muted:#91b4c8; --accent:#31c5e8; --accent-ink:#071b2b; --accent-soft:rgba(49,197,232,.13); --danger:#ff7272; --ok:#72d9bd; --glow:0 0 38px rgba(49,197,232,.22); color-scheme:dark; }
[data-theme="forest"] { --bg:#102019; --surface:#182b21; --surface-2:#22392c; --line:#355642; --text:#edf4e9; --muted:#a6b9a6; --accent:#91c96b; --accent-ink:#102019; --accent-soft:rgba(145,201,107,.13); --danger:#ed776b; --ok:#91c96b; --glow:0 0 36px rgba(145,201,107,.2); color-scheme:dark; }
[data-theme="lavender"] { --bg:#171326; --surface:#211c35; --surface-2:#30294a; --line:#494064; --text:#f4efff; --muted:#b3a9ce; --accent:#b69aff; --accent-ink:#171326; --accent-soft:rgba(182,154,255,.14); --danger:#ff758d; --ok:#82d9b4; --glow:0 0 38px rgba(182,154,255,.24); color-scheme:dark; }
[data-theme="ember"] { --bg:#1d100d; --surface:#2b1914; --surface-2:#3d241b; --line:#5a3427; --text:#fff0e6; --muted:#c4a18f; --accent:#ff7548; --accent-ink:#1d100d; --accent-soft:rgba(255,117,72,.14); --danger:#ff6464; --ok:#a9d18e; --glow:0 0 40px rgba(255,117,72,.23); color-scheme:dark; }
[data-theme="arctic"] { --bg:#eaf3f7; --surface:#f8fcff; --surface-2:#dceaf0; --line:#c5d9e3; --text:#14232d; --muted:#58717e; --accent:#2499c7; --accent-ink:#ffffff; --accent-soft:rgba(36,153,199,.1); --danger:#bd3d4b; --ok:#247b5b; --glow:0 8px 28px rgba(36,153,199,.16); color-scheme:light; }
[data-theme="cobalt"] { --bg:#0c1230; --surface:#151d43; --surface-2:#202d5c; --line:#344477; --text:#f0f3ff; --muted:#a4b0d5; --accent:#7893ff; --accent-ink:#0c1230; --accent-soft:rgba(120,147,255,.14); --danger:#ff7184; --ok:#6dd7b0; --glow:0 0 40px rgba(88,123,255,.28); color-scheme:dark; }
[data-theme="cocoa"] { --bg:#211711; --surface:#302219; --surface-2:#443126; --line:#604737; --text:#f6eee4; --muted:#bda995; --accent:#c88c54; --accent-ink:#211711; --accent-soft:rgba(200,140,84,.14); --danger:#e36b5c; --ok:#a8c18a; --glow:0 0 34px rgba(200,140,84,.2); color-scheme:dark; }
[data-theme="sand"] { --bg:#eee3d2; --surface:#f8f0e4; --surface-2:#e4d4bd; --line:#c8b397; --text:#2b2119; --muted:#75614f; --accent:#c36e43; --accent-ink:#ffffff; --accent-soft:rgba(195,110,67,.1); --danger:#b53b32; --ok:#347650; --glow:0 8px 28px rgba(120,82,52,.13); color-scheme:light; }
[data-theme="cyber"] { --bg:#090f0b; --surface:#101b13; --surface-2:#1c2c20; --line:#304b37; --text:#efffe9; --muted:#a4b9a4; --accent:#b8ff00; --accent-ink:#090f0b; --accent-soft:rgba(184,255,0,.13); --danger:#ff6c61; --ok:#b8ff00; --glow:0 0 44px rgba(184,255,0,.27); color-scheme:dark; }
[data-theme="ruby"] { --bg:#250c17; --surface:#351321; --surface-2:#4a1c2d; --line:#672a42; --text:#fff0f0; --muted:#c49aa8; --accent:#ef4567; --accent-ink:#250c17; --accent-soft:rgba(239,69,103,.14); --danger:#ff786b; --ok:#8bd3a9; --glow:0 0 40px rgba(239,69,103,.25); color-scheme:dark; }
[data-theme="jade"] { --bg:#0d211c; --surface:#153029; --surface-2:#1f4035; --line:#315c4c; --text:#e9f5ed; --muted:#a0c1b1; --accent:#63c6a2; --accent-ink:#0d211c; --accent-soft:rgba(99,198,162,.13); --danger:#f07470; --ok:#b9954b; --glow:0 0 38px rgba(99,198,162,.22); color-scheme:dark; }


/* Additional storefront layouts. All layouts reuse the same product data and purchase controls. */
[data-layout="split"] .hero { display:grid; grid-template-columns:1fr 1fr; align-items:stretch; min-height:68vh; }
[data-layout="split"] .hero-media { position:relative; inset:auto; width:100%; min-height:100%; }
[data-layout="split"] .hero .wrap { align-self:center; padding-top:64px; padding-bottom:64px; }
[data-layout="split"] .hero-media::after { background:linear-gradient(90deg,var(--bg),transparent 28%); }
[data-layout="mosaic"] .grid { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:14px; }
[data-layout="mosaic"] .card { grid-column:span 4; }
[data-layout="mosaic"] .card:nth-child(5n+1) { grid-column:span 6; }
[data-layout="mosaic"] .card:nth-child(5n+1) .card-media { aspect-ratio:5/4; }
[data-layout="catalog"] .grid { grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:0 18px; }
[data-layout="catalog"] .card { display:grid; grid-template-columns:112px minmax(0,1fr); border:0; border-bottom:1px solid var(--line); border-radius:0; background:transparent; }
[data-layout="catalog"] .card-media { aspect-ratio:3/4; }
[data-layout="catalog"] .card-body { padding:12px; align-content:center; }
[data-layout="catalog"] .card-title { font-size:16px; }
[data-layout="gallery"] .grid { grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:28px; }
[data-layout="gallery"] .card { border:0; background:transparent; box-shadow:none; }
[data-layout="gallery"] .card-media { aspect-ratio:4/5; border-radius:0; }
[data-layout="gallery"] .card-body { padding:14px 0; }
[data-layout="minimal"] .card { border:0; background:transparent; box-shadow:none; }
[data-layout="minimal"] .card-media { border-radius:2px; }
[data-layout="minimal"] .card-body { padding:12px 2px; }
[data-layout="minimal"] .section { border-color:color-mix(in srgb,var(--line) 55%,transparent); }
[data-layout="brutal"] { --radius:0px; --radius-lg:0px; }
[data-layout="brutal"] .card { border:2px solid var(--text); box-shadow:4px 4px 0 var(--accent); }
[data-layout="brutal"] .btn { border-width:2px; text-transform:uppercase; }
[data-layout="brutal"] .card-title { font-weight:900; letter-spacing:-.04em; }
[data-layout="soft"] { --radius:18px; --radius-lg:28px; }
[data-layout="soft"] .card { border-radius:24px; overflow:hidden; box-shadow:0 12px 36px color-mix(in srgb,var(--text) 8%,transparent); }
[data-layout="soft"] .card-media { border-radius:18px; margin:8px; width:calc(100% - 16px); }
[data-layout="soft"] .btn { border-radius:999px; }
[data-layout="luxe"] { --font-display:"Zodiak",Georgia,serif; }
[data-layout="luxe"] .display,[data-layout="luxe"] .card-title { text-transform:none; font-weight:500; letter-spacing:-.035em; }
[data-layout="luxe"] .card { border:0; border-bottom:1px solid var(--line); border-radius:0; background:transparent; }
[data-layout="luxe"] .card-media { aspect-ratio:3/4; border-radius:0; }
[data-layout="sport"] .display,[data-layout="sport"] .card-title { font-style:italic; font-weight:900; letter-spacing:-.055em; }
[data-layout="sport"] .card { border-radius:2px; }
[data-layout="sport"] .card-media { aspect-ratio:4/5; }
[data-layout="sport"] .btn { transform:skewX(-4deg); }
[data-layout="mono"] { --font-display:ui-monospace,SFMono-Regular,monospace; --font-body:ui-monospace,SFMono-Regular,monospace; }
[data-layout="mono"] .eyebrow,[data-layout="mono"] .card-title { letter-spacing:.04em; text-transform:uppercase; }
[data-layout="mono"] .card { border-radius:0; border:1px dashed var(--line); }
[data-layout="neon"] .card { border-color:color-mix(in srgb,var(--accent) 65%,var(--line)); box-shadow:0 0 0 1px color-mix(in srgb,var(--accent) 22%,transparent),0 8px 28px color-mix(in srgb,var(--accent) 12%,transparent); }
[data-layout="neon"] .card:hover { box-shadow:0 0 22px color-mix(in srgb,var(--accent) 28%,transparent); }
[data-layout="neon"] .hero h1 { text-shadow:0 0 28px color-mix(in srgb,var(--accent) 24%,transparent); }
[data-layout="archive"] .card { border:0; border-top:1px solid var(--line); border-radius:0; background:transparent; }
[data-layout="archive"] .card-body::before { content:"DO / ARCHIVE"; color:var(--muted); font:10px ui-monospace,monospace; letter-spacing:.18em; }
[data-layout="archive"] .card-title { font-family:ui-monospace,monospace; font-size:15px; }
[data-layout="runway"] .hero { min-height:92vh; }
[data-layout="runway"] .hero-media { width:68%; }
[data-layout="runway"] .hero h1 { font-size:clamp(64px,13vw,190px); max-width:8ch; }
[data-layout="runway"] .card-media { aspect-ratio:2/3; }
[data-layout="story"] .grid:not(.lookbook-grid) { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(230px,30%); grid-template-columns:none; overflow-x:auto; scroll-snap-type:x mandatory; gap:18px; padding-bottom:16px; }
[data-layout="story"] .card { scroll-snap-align:start; border-radius:16px; }
[data-layout="story"] .card-media { aspect-ratio:3/4; }
[data-layout="compact"] .grid { grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:10px; }
[data-layout="compact"] .card { border-radius:2px; }
[data-layout="compact"] .card-body { padding:9px; gap:4px; }
[data-layout="compact"] .card-title { font-size:14px; }
[data-layout="compact"] .card-media { aspect-ratio:1; }
[data-layout="showcase"] .grid { grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:32px; }
[data-layout="showcase"] .card-media { aspect-ratio:3/4; }
[data-layout="showcase"] .card-body { padding:18px 4px; }
[data-layout="showcase"] .card-title { font-size:20px; }
[data-layout="asym"] .grid { grid-template-columns:repeat(6,minmax(0,1fr)); gap:22px; }
[data-layout="asym"] .card { grid-column:span 2; }
[data-layout="asym"] .card:nth-child(4n+1) { grid-column:span 4; }
[data-layout="asym"] .card:nth-child(4n+1) .card-media { aspect-ratio:16/9; }
@media (max-width:700px) {
  [data-layout="split"] .hero { display:flex; }
  [data-layout="split"] .hero-media { width:100%; min-height:42vh; }
  [data-layout="mosaic"] .card,[data-layout="mosaic"] .card:nth-child(5n+1) { grid-column:span 6; }
  [data-layout="catalog"] .grid { grid-template-columns:1fr; }
  [data-layout="asym"] .grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  [data-layout="asym"] .card,[data-layout="asym"] .card:nth-child(4n+1) { grid-column:span 1; }
  [data-layout="asym"] .card:nth-child(4n+1) .card-media { aspect-ratio:3/4; }
  [data-layout="story"] .grid:not(.lookbook-grid) { grid-auto-columns:78%; }
}

/* Theme-linked colour tint for the Unique DO GIF and campaign cover image. */
.u-media img[data-stage-main],
.hero.do-cover .hero-media img {
  filter:hue-rotate(var(--do-jacket-hue,0deg)) saturate(1.18);
  transition:filter .35s ease;
}
@media(prefers-reduced-motion:reduce) {
  .u-media img[data-stage-main],
  .hero.do-cover .hero-media img { transition:none; }
}
