/* Vanta. Brand colours and fonts are the variables at the top. */

@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded-latin.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --black: #050506;
  --char: #0e0f11;
  --char-2: #16171a;
  --line: #2a2c31;
  --text: #f3f3f1;
  --soft: #a9adb4;
  --silver: linear-gradient(100deg, #8f949c 0%, #f4f5f7 34%, #a5aab2 56%, #e8eaed 80%, #8f949c 100%);
  --silver-solid: #c9ccd2;
  --danger: #ff8f86;
  --ok: #8fe3b4;
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1320px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html.is-loading { overflow: hidden; }
html:has(dialog[open]) { overflow: hidden; }
body { margin: 0; background: var(--black); color: var(--text); font: 17px/1.6 var(--body); }
img, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
a, button, select, summary, label:has(input) { cursor: pointer; }
button:disabled, input:disabled + span { cursor: not-allowed; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--silver-solid); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 90; padding: 10px 16px; background: var(--text); color: var(--black); font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.wrap.narrow { max-width: 820px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.stack { display: grid; gap: 10px; }
.muted { color: var(--soft); }
.small { font-size: 14px; }
.pad-y { padding: 18px 0; }

/* Type */
.display, .display-sm, .h1, .h2, .logo, .num, .price-lg, .code { font-family: var(--display); }
.display { font-weight: 800; font-size: clamp(46px, 9vw, 150px); line-height: .88; letter-spacing: -0.035em; text-transform: uppercase; }
.display-sm { font-weight: 800; font-size: clamp(36px, 6vw, 92px); line-height: .92; letter-spacing: -0.03em; text-transform: uppercase; }
.h1 { font-weight: 800; font-size: clamp(34px, 5vw, 72px); line-height: .95; letter-spacing: -0.03em; text-transform: uppercase; }
.h2 { font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.01em; margin-bottom: 22px; }
.kicker { font-size: 15px; font-weight: 600; color: var(--soft); margin-bottom: 14px; }
.lead { font-size: 19px; color: var(--soft); max-width: 46ch; }
/* Metallic silver: the single accent */
.silver { background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border: 1px solid var(--text); background: var(--text); color: var(--black); font-weight: 600; font-size: 16px; text-decoration: none; transition: background .2s, color .2s; }
.btn:hover { background: transparent; color: var(--text); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; }
.btn-line { background: transparent; color: var(--text); border-color: #6b7078; }
.btn-line:hover { background: var(--text); color: var(--black); border-color: var(--text); }
.btn.wide { width: 100%; }
.btn.grow { flex: 1; }
.link { border: 0; background: none; padding: 4px 0; color: var(--text); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #6b7078; }
.link:hover { text-decoration-color: var(--text); }
.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 1px solid #6b7078; padding-bottom: 2px; }
.link-arrow:hover { border-color: var(--text); }
.link-arrow::after { content: " →"; }
.icon { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: var(--text); }
.icon svg { fill: none; stroke: currentColor; stroke-width: 1.6; }
.icon:hover { color: var(--silver-solid); }
.count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--text); color: var(--black); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.pop { animation: pop .4s var(--ease); }
@keyframes pop { 40% { transform: scale(1.15); } }

/* Loader */
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; gap: 18px; justify-items: center; background: var(--black); transition: opacity .6s var(--ease), visibility .6s; }
.loader.done { opacity: 0; visibility: hidden; }
.loader-brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: .02em; }
.loader-track { width: 220px; height: 2px; background: var(--line); overflow: hidden; }
.loader-track span { display: block; height: 100%; background: var(--silver); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.loader-p { color: var(--soft); font-size: 14px; font-variant-numeric: tabular-nums; }

/* Header */
.announce { position: relative; z-index: 31; padding: 8px 16px; background: var(--text); color: var(--black); text-align: center; font-size: 14px; font-weight: 600; }
.top { position: sticky; top: 0; z-index: 30; transition: background .3s, border-color .3s; border-bottom: 1px solid var(--line); background: rgba(5, 5, 6, .92); backdrop-filter: blur(10px); }
.top.over-hero:not(.is-solid) { background: transparent; border-color: transparent; backdrop-filter: none; }
.hd { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-weight: 800; font-size: 18px; letter-spacing: .02em; text-decoration: none; }
.logo-mark { width: 22px; height: 22px; background: var(--silver); clip-path: polygon(0 0, 30% 0, 50% 62%, 70% 0, 100% 0, 62% 100%, 38% 100%); }
.nav { display: flex; gap: 4px; }
.nav a { padding: 10px 14px; text-decoration: none; font-weight: 500; color: var(--soft); }
.nav a:hover { color: var(--text); }
.hd-actions { display: flex; align-items: center; gap: 2px; }
.burger { display: none; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 900px) {
  .burger { display: grid; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 12px 20px 24px; background: var(--black); border-bottom: 1px solid var(--line); }
  .menu-open .nav { display: flex; }
  .nav a { min-height: 54px; display: flex; align-items: center; font-family: var(--display); font-size: 22px; color: var(--text); text-transform: uppercase; }
  .logo span:last-child { font-size: 14px; }
  .logo { gap: 8px; }
}

/* Scroll scenes: a tall section with a pinned canvas */
.scene { position: relative; }
.hero { height: 420vh; margin-top: -73px; }
.look { height: 320vh; }
.pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.pin canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,6,.55) 0%, rgba(5,5,6,0) 28%, rgba(5,5,6,0) 52%, rgba(5,5,6,.85) 100%); pointer-events: none; }
.veil-b { background: linear-gradient(90deg, rgba(5,5,6,.82) 0%, rgba(5,5,6,.2) 45%, rgba(5,5,6,0) 70%), linear-gradient(0deg, rgba(5,5,6,.7) 0%, rgba(5,5,6,0) 35%); }
.beats { position: absolute; inset: 0; max-width: var(--wrap); margin: 0 auto; pointer-events: none; }
.beat { position: absolute; left: 32px; right: 32px; bottom: 12vh; opacity: 0; transform: translateY(28px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.beat.on { opacity: 1; transform: none; pointer-events: auto; }
.beat .lead { margin-top: 18px; color: #d4d6da; }
.beat .row { margin-top: 26px; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font-size: 13px; color: var(--soft); }
.scroll-cue i { width: 1px; height: 38px; background: linear-gradient(var(--text), transparent); }
.hero-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.08); }
.hero-progress span { display: block; height: 100%; background: var(--silver); transform: scaleX(0); transform-origin: left; }
/* Reduced motion: the scene becomes a still image with all its text below it */
.scene.is-static { height: auto; margin-top: 0; }
.scene.is-static .pin { position: relative; height: auto; overflow: visible; }
.scene.is-static .pin canvas { position: relative; height: 70vh; }
.scene.is-static .veil, .scene.is-static .scroll-cue, .scene.is-static .hero-progress { display: none; }
.scene.is-static .beats { position: relative; inset: auto; display: grid; gap: 40px; padding: 40px 32px 0; pointer-events: auto; }
.scene.is-static .beat { position: static; opacity: 1; transform: none; pointer-events: auto; }
.scene.is-static .pins { bottom: auto; height: 70vh; }

/* Lookbook pins */
.pins { position: absolute; inset: 0; }
.look-pin { position: absolute; display: flex; align-items: center; gap: 10px; transform: translate(-9px, -50%) scale(.85); opacity: 0; pointer-events: none; text-decoration: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.look-pin.on { opacity: 1; transform: translate(-9px, -50%); pointer-events: auto; }
.look-pin i { width: 18px; height: 18px; border-radius: 50%; background: var(--text); box-shadow: 0 0 0 6px rgba(243,243,241,.22); flex: none; }
.look-pin span { display: grid; padding: 8px 12px; background: rgba(5,5,6,.82); border: 1px solid var(--line); font-size: 14px; white-space: nowrap; }
.look-pin b { font-weight: 600; }
.look-pin:hover span, .look-pin:focus-visible span { border-color: var(--text); }
.look-pin.flip { flex-direction: row-reverse; transform: translate(calc(-100% + 9px), -50%) scale(.85); }
.look-pin.flip.on { transform: translate(calc(-100% + 9px), -50%); }

/* Spin viewer */
.spin { position: relative; aspect-ratio: 16 / 9; background: var(--char); border: 1px solid var(--line); overflow: hidden; touch-action: pan-y; }
.spin canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
.spin .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s; }
.spin.is-ready .poster { opacity: 0; }
.spin.is-dragging canvas { cursor: grabbing; }
.spin-range { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--soft); }
.spin-range input { flex: 1; accent-color: var(--silver-solid); min-height: 24px; }
.spin-hint { position: absolute; top: 16px; left: 18px; font-size: 13px; color: var(--soft); pointer-events: none; }
.hotspots { position: absolute; inset: 0; pointer-events: none; }
.hs { position: absolute; display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.hs.on { opacity: 1; transform: none; }
.hs i { width: 12px; height: 12px; border-radius: 50%; background: var(--text); box-shadow: 0 0 0 5px rgba(243,243,241,.2); }
.hs b { padding: 6px 10px; background: rgba(5,5,6,.85); border: 1px solid var(--line); font-weight: 500; font-size: 14px; white-space: nowrap; }

/* Sections */
.sec { padding: 110px 0; }
.sec-sm { padding: 72px 0 0; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 36px; }
.load-error { margin: 24px auto; padding: 14px 18px; border: 1px solid var(--danger); color: var(--danger); }
.spin-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.spin-copy .h1 { font-size: clamp(30px, 3.4vw, 52px); }
.spin-copy .lead { margin: 22px 0 28px; }
.specs { list-style: none; margin: 0 0 32px; padding: 0; display: flex; gap: 32px; border-top: 1px solid var(--line); padding-top: 22px; }
.specs b { display: block; font-family: var(--display); font-size: 30px; }
.specs span { color: var(--soft); font-size: 14px; }
.price-lg { font-size: 26px; font-weight: 700; margin-left: 10px; }

/* Product grid and cards */
.grid { display: grid; gap: 28px 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { position: relative; display: grid; gap: 14px; align-content: start; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--char); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform .8s var(--ease); }
.card-media .alt { opacity: 0; }
.card:hover .card-media .alt { opacity: 1; }
.card:hover .card-media img:first-child { transform: scale(1.04); }
.badge { position: absolute; left: 12px; top: 12px; padding: 4px 10px; background: var(--text); color: var(--black); font-size: 13px; font-weight: 600; }
.is-out .badge { background: var(--char-2); color: var(--text); border: 1px solid var(--line); }
.heart { position: absolute; right: 8px; top: 8px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(5,5,6,.6); color: var(--text); }
.heart svg { fill: none; stroke: currentColor; stroke-width: 1.6; }
.heart.on svg { fill: currentColor; }
.heart:hover { background: rgba(5,5,6,.9); }
.card-body { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.card-name { margin: 0; font-size: inherit; font-weight: 500; }
.card-name a { text-decoration: none; }
.card-name a:hover { text-decoration: underline; text-underline-offset: 4px; }
.price { font-weight: 600; white-space: nowrap; }
.price s { color: var(--soft); font-weight: 400; margin-left: 6px; }
.locked .card-media img { filter: blur(16px) grayscale(1) brightness(.6); transform: scale(1.15); }
.lock { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--text); font-size: 14px; font-weight: 500; text-align: center; padding: 16px; }
.lock svg { fill: none; stroke: currentColor; stroke-width: 1.6; }

/* Craft, next drop, FAQ */
.craft { border-top: 1px solid var(--line); }
.craft-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 56px; }
.craft-grid article { padding-top: 22px; border-top: 1px solid var(--line); }
.num { display: block; margin-bottom: 18px; font-size: 14px; color: var(--soft); }
.craft-grid h3 { font-family: var(--display); font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.craft-grid p { color: var(--soft); }
.next { background: var(--char); border-block: 1px solid var(--line); }
.next-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 56px; align-items: center; }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 28px 0; max-width: 460px; }
.countdown div { padding: 14px 8px; border: 1px solid var(--line); text-align: center; background: var(--black); }
.countdown b { display: block; font-family: var(--display); font-size: 34px; font-variant-numeric: tabular-nums; }
.countdown span { color: var(--soft); font-size: 13px; }
.countdown .live { grid-column: 1 / -1; font-family: var(--display); font-size: 24px; }
.notify { display: flex; gap: 8px; max-width: 460px; }
.notify input { flex: 1; min-width: 0; min-height: 52px; padding: 0 14px; background: var(--black); border: 1px solid #6b7078; color: var(--text); }
.notify input:focus { outline: 2px solid var(--silver-solid); outline-offset: 0; }
.note { margin-top: 12px; color: var(--soft); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 64px; padding: 12px 0; font-size: 19px; font-weight: 500; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; color: var(--soft); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 22px; color: var(--soft); max-width: 64ch; }
.faq .h1 { margin-bottom: 36px; }

/* Reveal on scroll */
.pre { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.pre.in { opacity: 1; transform: none; }

/* Shop */
.page-head { padding: 64px 0 28px; border-bottom: 1px solid var(--line); }
.shop { padding-top: 24px; padding-bottom: 96px; }
.toolbar { position: sticky; top: 73px; z-index: 10; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 14px 0; background: var(--black); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { min-height: 42px; padding: 0 16px; border: 1px solid var(--line); background: none; color: var(--soft); font-weight: 500; }
.chips button:hover { color: var(--text); border-color: #6b7078; }
.chips button[aria-pressed="true"] { background: var(--text); color: var(--black); border-color: var(--text); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.select select { min-height: 42px; padding: 0 12px; background: var(--black); border: 1px solid #6b7078; color: var(--text); }
.check { display: flex; align-items: center; gap: 8px; min-height: 42px; color: var(--soft); }
.check input { width: 18px; height: 18px; accent-color: var(--silver-solid); }
.count { margin: 6px 0 22px; }
.empty { grid-column: 1 / -1; display: grid; gap: 16px; justify-items: start; padding: 48px 0; color: var(--soft); }

/* Product page */
.pdp-wrap { padding-top: 32px; padding-bottom: 96px; }
.pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.stage { position: relative; aspect-ratio: 4 / 5; background: var(--char); overflow: hidden; }
.shot { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .4s var(--ease); overflow: hidden; }
.shot.on { opacity: 1; z-index: 1; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.shot.zoom img { transform: scale(1.8); cursor: zoom-in; }
.pdp-spin { position: absolute; inset: 0; z-index: 2; aspect-ratio: auto; border: 0; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs button { flex: none; width: 76px; padding: 0; border: 1px solid var(--line); background: var(--char); opacity: .7; }
.thumbs button[aria-pressed="true"], .thumbs button:hover { opacity: 1; border-color: var(--text); }
.thumbs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.thumb-360 { min-height: 95px; font-family: var(--display); font-weight: 700; color: var(--text); }
.buy { position: sticky; top: 100px; display: grid; gap: 16px; }
.buy h1 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.4vw, 46px); line-height: 1; letter-spacing: -0.02em; text-transform: uppercase; }
.buy .price { font-size: 22px; }
.buy .kicker { margin: 0; }
.sizes { margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.sizes legend { display: flex; justify-content: space-between; width: 100%; margin-bottom: 10px; padding: 0; font-weight: 600; }
.size input { position: absolute; opacity: 0; }
.size span { display: grid; place-items: center; min-height: 50px; border: 1px solid #6b7078; font-weight: 600; }
.size:hover span { border-color: var(--text); }
.size input:checked + span { background: var(--text); color: var(--black); border-color: var(--text); }
.size input:focus-visible + span { outline: 2px solid var(--silver-solid); outline-offset: 2px; }
.size.out span { color: #8a8e95; border-color: var(--line); text-decoration: line-through; }
.stock { min-height: 1.6em; color: var(--silver-solid); font-weight: 500; }
.buy-row { display: flex; gap: 10px; align-items: center; }
.buy-row .heart { position: static; flex: none; width: 52px; height: 52px; border-radius: 0; border: 1px solid #6b7078; background: none; }
.qty { display: inline-flex; align-items: center; border: 1px solid #6b7078; }
.qty button { width: 44px; height: 50px; border: 0; background: none; font-size: 20px; }
.qty button:hover:not(:disabled) { background: var(--char-2); }
.qty output { min-width: 28px; text-align: center; font-weight: 600; }
.acc details { border-top: 1px solid var(--line); }
.acc details:last-child { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; justify-content: space-between; min-height: 54px; align-items: center; font-weight: 600; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; color: var(--soft); font-size: 22px; }
.acc details[open] summary::after { content: "−"; }
.acc ul, .acc p { margin: 0 0 18px; color: var(--soft); }
.buy > .link { justify-self: start; }
.acc ul { padding-left: 20px; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: none; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 20px; background: rgba(5,5,6,.96); border-top: 1px solid var(--line); transform: translateY(100%); transition: transform .3s var(--ease); }
.sticky-buy span { display: grid; font-size: 15px; }
.sticky-buy.show { transform: none; }
.err { color: var(--danger); font-size: 15px; font-weight: 500; }
.err.big { padding: 10px 12px; border: 1px solid var(--danger); }
.ok { color: var(--ok); }

/* Dialogs: bag and wishlist drawer, search, size guide */
.dlg { padding: 0; border: 0; background: var(--char); color: var(--text); max-height: none; }
.dlg::backdrop { background: rgba(0,0,0,.72); }
.dlg.side { margin: 0 0 0 auto; width: min(460px, 100%); height: 100%; border-left: 1px solid var(--line); }
.dlg:not(.side):not(.top-dlg) { width: min(620px, calc(100% - 24px)); border: 1px solid var(--line); }
.dlg.top-dlg { margin: 70px auto auto; width: min(680px, calc(100% - 24px)); border: 1px solid var(--line); }
.dlg[open] { animation: rise .25s var(--ease); }
.dlg.side[open] { animation: slide .3s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.drawer-in { position: relative; display: grid; gap: 18px; align-content: start; padding: 28px; min-height: 100%; }
.drawer-in h2 { font-family: var(--display); font-weight: 800; font-size: 28px; text-transform: uppercase; padding-right: 48px; }
.drawer-in h2:focus { outline: none; }
.x { position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; border: 1px solid var(--line); background: none; font-size: 24px; line-height: 1; }
.x:hover { border-color: var(--text); }
.back { justify-self: start; }
.lines, .wish { list-style: none; margin: 0; padding: 0; display: grid; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line-img img, .wish img { width: 76px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--black); }
.line-main { display: grid; gap: 4px; align-content: start; }
.line-name { font-weight: 600; text-decoration: none; }
.line-row { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.line .qty button { width: 36px; height: 36px; font-size: 18px; }
.line-price { font-weight: 600; }
.wish li { position: relative; display: grid; grid-template-columns: 76px 1fr 44px; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.wish .heart { position: static; }
.wish div { display: grid; gap: 4px; }
.freebar p { font-size: 15px; margin-bottom: 8px; }
.track { display: block; height: 3px; background: var(--line); }
.track span { display: block; height: 100%; background: var(--silver); }
.sum { display: grid; gap: 8px; padding-top: 6px; }
.sum div { display: flex; justify-content: space-between; gap: 12px; color: var(--soft); }
.sum .disc { color: var(--ok); }
.sum .tot { padding-top: 12px; border-top: 1px solid var(--line); color: var(--text); font-weight: 700; font-size: 19px; }
.co { display: grid; gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: grid; gap: 6px; }
.field.wide { grid-column: 1 / -1; }
.field > span:first-child, .field > label { font-size: 15px; font-weight: 500; }
.field input, .field select, .field textarea, .promo input { width: 100%; min-height: 48px; padding: 10px 12px; background: var(--black); border: 1px solid #6b7078; color: var(--text); }
.field :focus, .promo input:focus { outline: 2px solid var(--silver-solid); outline-offset: 0; }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.choices { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; }
.choices legend { margin-bottom: 8px; font-weight: 500; font-size: 15px; }
.choice { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 8px 14px; border: 1px solid var(--line); }
.choice:has(input:checked) { border-color: var(--text); }
.choice input { width: 18px; height: 18px; accent-color: var(--silver-solid); margin: 0; }
.choice span { flex: 1; }
.promo { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.promo .btn { min-height: 48px; }
.search-field input { width: 100%; min-height: 60px; padding: 0 16px; font-size: 20px; background: var(--black); border: 1px solid #6b7078; }
.results { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.results a { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; padding: 8px; text-decoration: none; }
.results a:hover, .results a:focus-visible { background: var(--char-2); }
.results img { width: 52px; aspect-ratio: 4 / 5; object-fit: cover; }
.results span { display: grid; }
.results small { color: var(--soft); }
.seg { display: inline-flex; border: 1px solid #6b7078; justify-self: start; }
.seg button { min-height: 40px; padding: 0 16px; border: 0; background: none; }
.seg button[aria-pressed="true"] { background: var(--text); color: var(--black); }
.table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.table th, .table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.table thead th { color: var(--soft); font-weight: 500; }

/* Toast and footer */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 95; translate: -50% 20px; opacity: 0; pointer-events: none; padding: 12px 20px; background: var(--text); color: var(--black); font-weight: 600; transition: opacity .25s, translate .25s; max-width: calc(100% - 24px); }
.toast.show { opacity: 1; translate: -50% 0; }
.foot { border-top: 1px solid var(--line); padding-top: 56px; }
.ft { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.ft-brand { display: grid; gap: 8px; align-content: start; }
.ft-links { display: grid; gap: 6px; align-content: start; }
.ft-links a { text-decoration: none; color: var(--soft); padding: 4px 0; }
.ft-links a:hover { color: var(--text); }
.ft-side { display: grid; gap: 12px; align-content: start; }
.social { display: flex; flex-wrap: wrap; gap: 16px; }
.social a { color: var(--soft); }
.social a:hover { color: var(--text); }
.lang { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--soft); }
.lang select { min-height: 42px; padding: 0 10px; background: var(--black); border: 1px solid #6b7078; color: var(--text); }
.legal { padding-top: 40px; padding-bottom: 32px; color: var(--soft); font-size: 14px; }

/* 404 */
.lost { min-height: 100dvh; display: grid; place-items: center; }
.lost-in { display: grid; gap: 20px; justify-items: start; padding-block: 60px; }
.code { font-weight: 800; font-size: clamp(90px, 18vw, 200px); line-height: .9; }

@media (max-width: 960px) {
  .wrap { padding: 0 20px; }
  .beat { left: 20px; right: 20px; bottom: 14vh; }
  .spin-grid, .pdp, .next-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .spin { aspect-ratio: 4 / 5; }
  .craft-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .grid-3 .card-name { font-size: 14px; }
  .grid-3 .card-body { display: grid; }
  .buy { position: static; }
  .sticky-buy { display: flex; }
  .ft { grid-template-columns: minmax(0, 1fr); }
  .sec { padding: 80px 0; }
  .toolbar { top: 73px; }
}
@media (max-width: 400px) {
  .top .logo span:last-child { display: none; }
  .wrap { padding: 0 16px; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 10px; }
  .card-body { display: grid; gap: 2px; }
  .card-name { font-size: 15px; }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-3 .lock { font-size: 0; }
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .specs { gap: 20px; }
  .notify { flex-direction: column; }
  .drawer-in { padding: 22px 18px; }
  .look-pin span { display: none; }
  .hs b { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
