/* Etchtone storefront — tokens */
:root {
  --ink: #17121f; --paper: #faf8ff; --card: #ffffff;
  --violet: #6a3bff; --violet-deep: #4a21d4; --violet-soft: #ece5ff;
  --coral: #ff5a7a; --coral-deep: #e8395b; --sun: #ffc947;
  --text: #221c33; --muted: #6b6480; --line: #e7e2f3; --ok: #1f9d6a; --err: #d63a5a;
  --display: 'Unbounded', 'Manrope', system-ui, sans-serif; --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-lg: 28px; --r: 16px; --r-sm: 10px; --shadow: 0 18px 50px -24px rgba(48, 22, 110, .35);
  --wrap: 1180px; --gutter: clamp(16px, 4vw, 32px);
}
@font-face { font-family: 'PlaquePoppins'; src: url('../fonts/Poppins-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: block; }
@font-face { font-family: 'PlaquePoppins'; src: url('../fonts/Poppins-Regular.ttf') format('truetype'); font-weight: 400; font-display: block; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font: 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--violet-deep); text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { max-width: 760px; }
.section { padding-block: clamp(44px, 7vw, 92px); }
.display { font-family: var(--display); font-weight: 900; font-size: clamp(1.9rem, 4.6vw, 3.4rem); line-height: 1.04; letter-spacing: -.02em; margin-bottom: .5em; }
.display-sm { font-family: var(--display); font-weight: 700; font-size: clamp(1.45rem, 3vw, 2.15rem); line-height: 1.1; letter-spacing: -.015em; margin-bottom: .6em; }
.h3 { font-size: 1.15rem; font-weight: 800; margin: 1.6em 0 .6em; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 42em; }
.muted { color: var(--muted); } .small { font-size: .88rem; } .err { color: var(--err); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; } .skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 22px; border-radius: 999px; border: 2px solid transparent; font: 700 1rem var(--body); text-decoration: none; cursor: pointer; transition: transform .12s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 10px 24px -12px rgba(255, 90, 122, .8); }
.btn-primary:hover { background: var(--coral-deep); }
.btn-primary:disabled { background: #d8d3e6; color: #8a84a0; box-shadow: none; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--violet-deep); border-color: var(--violet-soft); }
.btn-ghost:hover { background: var(--violet-soft); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-lg { min-height: 54px; padding: 12px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--violet-deep); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.icon-btn { background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--muted); padding: 4px 8px; }

/* Header */
.announce { background: var(--violet); color: #fff; text-align: center; font-size: .9rem; font-weight: 600; padding: 8px var(--gutter); }
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(250, 248, 255, .86); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 900; font-size: 1.2rem; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.logo-mark { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--violet), var(--coral)); position: relative; flex: none; }
.logo-mark::after { content: ''; position: absolute; inset: 7px 6px; border-radius: 3px; background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 4px); opacity: .95; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current] { background: var(--violet-soft); color: var(--violet-deep); }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.cart-btn { position: relative; background: none; border: 0; padding: 10px; color: var(--ink); cursor: pointer; border-radius: 999px; }
.cart-btn:hover { background: var(--violet-soft); }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--coral); color: #fff; font-size: .75rem; font-weight: 800; display: grid; place-items: center; }
.menu-btn { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.menu-btn span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); } .menu-btn.open span:nth-child(2) { opacity: 0; } .menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Flash */
.flash { margin: 14px 0 0; padding: 12px 16px; border-radius: var(--r-sm); background: var(--violet-soft); color: var(--violet-deep); font-weight: 600; transition: opacity .6s; }
.flash-ok { background: #e2f6ec; color: #146a45; } .flash-err { background: #ffe3e9; color: #a3213c; } .flash.fade { opacity: 0; }
.flash ul { margin: 0; padding-left: 18px; }

/* Hero */
.hero { padding-block: clamp(28px, 5vw, 72px) clamp(36px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero-copy .display { max-width: 12em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero-proof { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; color: var(--muted); font-weight: 600; }
.hero-proof li::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); margin-right: 10px; vertical-align: middle; }
.hero-stage, .preview-stage { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(120% 90% at 20% 10%, #8b63ff 0%, var(--violet) 32%, #3b1c9e 68%, #22124f 100%); box-shadow: var(--shadow); touch-action: pan-y; }
.stage-glow { position: absolute; inset: -20%; background: radial-gradient(40% 40% at 70% 80%, rgba(255, 90, 122, .75), transparent 70%), radial-gradient(35% 35% at 20% 20%, rgba(255, 201, 71, .45), transparent 70%); animation: glow 14s ease-in-out infinite alternate; pointer-events: none; }
@keyframes glow { to { transform: rotate(14deg) scale(1.08); } }
.hero-stage canvas, .preview-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; }
.hero-stage canvas:active, .preview-stage canvas:active { cursor: grabbing; }
.stage-hint { position: absolute; left: 0; right: 0; bottom: 14px; margin: 0; text-align: center; color: rgba(255, 255, 255, .8); font-size: .82rem; font-weight: 600; pointer-events: none; }
.hero-stage.failed .stage-hint { display: none; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.steps h3 { font-size: 1.1rem; margin: 14px 0 6px; }
.steps p { margin: 0; color: var(--muted); }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--violet); color: #fff; font-family: var(--display); font-weight: 700; font-size: .95rem; }

/* Sizes (ink section) */
.section-ink { background: var(--ink); color: #f4f0ff; }
.section-ink .display-sm { color: #fff; } .section-ink p { color: #c9c1e0; }
.sizes-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.sizes-visual { display: flex; align-items: flex-end; justify-content: center; gap: clamp(20px, 4vw, 48px); }
.size-card { display: grid; justify-items: center; gap: 12px; }
.size-shape { width: calc(var(--w) * 1.5px); height: calc(var(--h) * 1.5px); border-radius: 8px; background: linear-gradient(160deg, #2a2340, #0d0a14); border: 1px solid rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 20px 40px -20px #000; display: grid; place-items: end center; padding-bottom: 10px; color: #bdb3dd; font-size: .8rem; font-weight: 600; }
.size-meta { text-align: center; display: grid; gap: 2px; } .size-meta strong { color: #fff; } .size-meta span { color: var(--sun); font-weight: 700; }

/* Split / spec */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.spec-list { list-style: none; padding: 0; margin: 0; display: grid; }
.spec-list li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec-list li strong { color: var(--violet-deep); } .spec-list li span { color: var(--muted); }
.spec-list.compact li { padding: 8px 0; font-size: .95rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gal-item { margin: 0; }
.gal-item img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--r); background: var(--ink); box-shadow: var(--shadow); }
.gal-item figcaption { margin-top: 10px; font-weight: 700; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--violet); font-weight: 800; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details > div { padding: 0 0 16px; color: var(--muted); max-width: 60em; }

.cta-band { background: linear-gradient(120deg, var(--violet), var(--coral)); color: #fff; padding-block: clamp(40px, 6vw, 72px); text-align: center; }
.cta-band .display-sm { color: #fff; max-width: 18em; margin-inline: auto; }
.cta-band .btn-primary { background: #fff; color: var(--violet-deep); box-shadow: none; }

/* Footer */
.site-foot { background: var(--ink); color: #c9c1e0; padding-block: 48px 24px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.foot-grid h3 { color: #fff; font-size: .95rem; margin-bottom: 10px; }
.foot-grid a { display: block; color: #c9c1e0; text-decoration: none; padding: 4px 0; } .foot-grid a:hover { color: #fff; }
.foot-brand .logo { color: #fff; margin-bottom: 10px; } .foot-brand p { max-width: 34em; font-size: .95rem; }
.foot-brand a { display: inline-block; margin-right: 12px; }
.foot-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; }
.pay-marks { display: flex; gap: 8px; } .pay-marks span { border: 1px solid rgba(255, 255, 255, .25); border-radius: 6px; padding: 2px 8px; font-weight: 700; }

/* Forms */
.form { display: grid; gap: 4px; max-width: 640px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 700; font-size: .95rem; }
.field small { color: var(--muted); font-size: .85rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], input[type="number"], input:not([type]), select, textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font: inherit; color: var(--text); }
input:focus, select:focus, textarea:focus { border-color: var(--violet); outline: none; box-shadow: 0 0 0 4px rgba(106, 59, 255, .15); }
textarea { resize: vertical; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; } .grid-3 { display: grid; grid-template-columns: 1.3fr 1fr .8fr; gap: 0 14px; }
fieldset { border: 0; padding: 0; margin: 0 0 22px; }
legend { font-weight: 800; font-size: 1.1rem; padding: 0; margin-bottom: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; margin: 10px 0; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--violet); flex: none; }
.choice-list { display: grid; gap: 10px; margin-bottom: 14px; }
.choice { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(106, 59, 255, .12); }
.choice input { width: 20px; height: 20px; accent-color: var(--violet); flex: none; }
.choice-body { flex: 1; display: grid; } .choice-body small { color: var(--muted); }
.choice-price { font-weight: 800; white-space: nowrap; }
.slider-row { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 12px; margin: 10px 0; font-weight: 600; font-size: .95rem; }
input[type="range"] { width: 100%; accent-color: var(--violet); }
.seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; margin: 6px 0 12px; background: #fff; }
.seg label { position: relative; } .seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: .9rem; cursor: pointer; }
.seg input:checked + span { background: var(--violet); color: #fff; }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.product-card { display: block; text-decoration: none; color: inherit; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.product-card img { aspect-ratio: 2 / 3; object-fit: cover; width: 100%; background: var(--ink); }
.pc-body { padding: 16px; } .pc-body h2 { font-size: 1.1rem; margin-bottom: 4px; } .pc-body p { color: var(--muted); margin-bottom: 8px; font-size: .95rem; }
.price { font-weight: 800; color: var(--violet-deep); }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 56px); }
.product-media img:first-child { border-radius: var(--r-lg); background: var(--ink); box-shadow: var(--shadow); }
.thumbs { display: flex; gap: 12px; margin-top: 12px; } .thumbs img { width: 30%; border-radius: var(--r-sm); background: var(--ink); }
.variant-list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.variant { display: flex; justify-content: space-between; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; text-decoration: none; color: inherit; font-weight: 600; }
.variant:hover { border-color: var(--violet); }
.addon-list { list-style: none; padding: 0; margin: 0; } .addon-list li { padding: 10px 0; border-bottom: 1px solid var(--line); } .addon-list p { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.prose h2 { font-size: 1.3rem; margin-top: 1.6em; } .prose p, .prose li { max-width: 68ch; }

/* Designer */
.designer-page main { background: var(--paper); }
.designer { display: grid; grid-template-columns: minmax(320px, 1fr) minmax(360px, 560px); gap: clamp(20px, 4vw, 56px); width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; padding-block: 24px 60px; align-items: start; }
.preview-pane { position: sticky; top: 80px; }
.preview-empty { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .85); text-align: center; padding: 24px; font-weight: 600; pointer-events: none; }
.preview-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0 0; }
.price-big { font-family: var(--display); font-size: 1.5rem; display: block; line-height: 1; }
.steps-pane .step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; margin-bottom: 18px; }
.steps-pane .step h2 { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; margin-bottom: 14px; }
.dropzone { border: 2px dashed #c9bdf0; border-radius: 14px; padding: 28px 18px; text-align: center; cursor: pointer; background: #fbfaff; }
.dropzone:hover, .dropzone.over { border-color: var(--violet); background: var(--violet-soft); }
.dz-idle { display: grid; gap: 4px; } .dz-idle span { color: var(--muted); font-size: .9rem; }
.crop-box { position: relative; width: 100%; border-radius: 12px; overflow: hidden; background: #111; cursor: grab; touch-action: none; user-select: none; }
.crop-box canvas { width: 100%; height: 100%; display: block; }
.crop-box::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); border-radius: 12px; pointer-events: none; }
.track-results { list-style: none; padding: 0; margin: -6px 0 12px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; max-height: 340px; overflow-y: auto; }
.track-results li.muted { padding: 12px 14px; }
.track-results button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; background: none; border: 0; border-bottom: 1px solid var(--line); text-align: left; font: inherit; cursor: pointer; }
.track-results button:hover { background: var(--violet-soft); }
.track-results img { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; background: #eee; flex: none; }
.track-results span { display: grid; } .track-results small { color: var(--muted); }
.track-selected { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1.5px solid var(--violet); border-radius: 14px; margin-bottom: 14px; background: #fff; }
.track-selected img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: #eee; flex: none; }
.track-selected > div { flex: 1; display: grid; }
.qty-field { max-width: 140px; }

/* Cart */
.drawer-back { position: fixed; inset: 0; background: rgba(23, 18, 31, .5); z-index: 50; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); z-index: 51; transform: translateX(105%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; box-shadow: -20px 0 60px -30px rgba(0, 0, 0, .4); }
.cart-drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 10px; } .drawer-head h2 { margin: 0; font-size: 1.2rem; }
.drawer-body { padding: 0 20px 24px; overflow-y: auto; flex: 1; }
.cart-lines { list-style: none; padding: 0; margin: 0; }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 64px; height: 90px; object-fit: cover; border-radius: 8px; background: var(--ink); }
.cl-info { display: grid; gap: 2px; align-content: start; font-size: .95rem; } .cl-info span { color: var(--muted); font-size: .9rem; }
.cl-side { display: grid; justify-items: end; align-content: start; gap: 8px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; }
.qty button { width: 32px; height: 32px; border: 0; background: none; font-size: 1.1rem; cursor: pointer; color: var(--violet-deep); } .qty span { min-width: 24px; text-align: center; font-weight: 700; }
.cart-sum { padding-top: 16px; display: grid; gap: 10px; } .cart-sum > div { display: flex; justify-content: space-between; }
.empty { text-align: center; padding: 40px 0; display: grid; gap: 14px; justify-items: center; }

/* Checkout */
.checkout { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.checkout-summary { position: sticky; top: 84px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.checkout-summary .h3 { margin-top: 0; }
.discount-form { display: flex; gap: 8px; margin: 14px 0 6px; } .discount-form input { flex: 1; }
.totals { margin: 12px 0 0; display: grid; gap: 6px; } .totals > div { display: flex; justify-content: space-between; } .totals dt { color: var(--muted); } .totals dd { margin: 0; font-weight: 700; }
.totals .grand { border-top: 1px solid var(--line); padding-top: 10px; font-size: 1.15rem; } .totals .grand dt { color: var(--text); font-weight: 800; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; margin: 18px 0; }
.bank { background: var(--violet-soft); border-radius: 10px; padding: 14px; white-space: pre-wrap; font: 600 .95rem/1.5 var(--body); }
.timeline { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.timeline li { text-align: center; font-size: .9rem; font-weight: 600; color: var(--muted); position: relative; padding-top: 26px; }
.timeline li::before { content: ''; position: absolute; top: 6px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: #d9d3ea; z-index: 1; }
.timeline li::after { content: ''; position: absolute; top: 13px; left: -50%; right: 50%; height: 3px; background: #d9d3ea; }
.timeline li:first-child::after { display: none; }
.timeline li.done { color: var(--text); } .timeline li.done::before, .timeline li.done::after { background: var(--violet); }
.timeline li.current::before { box-shadow: 0 0 0 5px rgba(106, 59, 255, .2); }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .sizes-grid, .split, .product, .checkout { grid-template-columns: 1fr; }
  .hero-grid { gap: 28px; } .hero-copy { order: 0; } .hero-stage { order: 1; max-width: 520px; margin-inline: auto; width: 100%; }
  .steps { grid-template-columns: 1fr; } .gallery { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .checkout-summary { position: static; order: -1; }
  .designer { grid-template-columns: 1fr; gap: 16px; padding-top: 0; width: 100%; }
  .preview-pane { position: sticky; top: 64px; z-index: 30; background: var(--paper); padding: 10px var(--gutter) 10px; margin: 0; }
  .preview-stage { aspect-ratio: auto; height: 34vh; min-height: 220px; border-radius: 20px; }
  .preview-bar { padding: 8px 0 0; } .preview-bar .btn-lg { min-height: 46px; padding: 8px 22px; font-size: 1rem; }
  .preview-bar { padding-top: 10px; }
  .steps-pane { padding-inline: var(--gutter); }
  .size-shape { width: calc(var(--w) * 1.1px); height: calc(var(--h) * 1.1px); }
}
@media (max-width: 680px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 16px; flex-direction: column; margin: 0; }
  .nav.open { display: flex; } .nav a { padding: 12px 14px; font-size: 1.05rem; }
  .menu-btn { display: flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; } .gal-item:last-child { grid-column: span 2; max-width: 50%; }
  .spec-list li { grid-template-columns: 1fr; gap: 2px; }
  .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: span 2; }
  .timeline li { font-size: .78rem; }
  .btn-lg { min-height: 50px; padding-inline: 22px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .preview-stage { height: 32vh; }
  .price-big { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) { .stage-glow { animation: none; } html { scroll-behavior: auto; } .cart-drawer { transition: none; } }
body.drawer-open { overflow: hidden; }
