:root {
  --bg: #f6f5f2;
  --surface: #ffffff;
  --ink: #111113;
  --ink-2: #3a3a40;
  --muted: #74747c;
  --line: #e4e2dc;
  --dark: #0d0d0f;
  --dark-2: #17171b;
  --accent: #4f7cff;
  --accent-2: #9f6bff;
  --ok: #1d7a46;
  --err: #c0392b;
  --xmas: #b3261e;
  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(17, 17, 19, .25);
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: 'Space Grotesk', var(--font);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; line-height: 1.55; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.08; margin: 0; }
h2 { font-size: clamp(30px, 4.2vw, 50px); }
h3 { font-size: 22px; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container.narrow { width: min(800px, 100% - 40px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ------- xmas bar ------- */
.xmas-bar { background: var(--xmas); color: #fff; font-size: 13px; text-align: center; padding: 8px 16px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.xmas-bar b { font-weight: 700; }
@media (max-width: 640px) { .xmas-sep, .xmas-bar span:last-child { display: none; } }

/* ------- nav ------- */
.nav { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px max(20px, calc((100% - 1200px) / 2)); background: rgba(13, 13, 15, .82); backdrop-filter: blur(14px) saturate(1.4); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 19px; letter-spacing: .07em; font-family: var(--font); font-weight: 300; }
.logo svg { width: 22px; height: 29px; }
.logo b { font-weight: 700; letter-spacing: .07em; }
.logo b { font-weight: 700; }
.nav-links { display: flex; gap: 24px; font-size: 14px; white-space: nowrap; }
.nav-links a { text-decoration: none; opacity: .75; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-actions { display: flex; gap: 6px; align-items: center; }
.icon-btn { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border: 0; background: transparent; border-radius: 50%; cursor: pointer; transition: background .2s; }
.icon-btn:hover { background: rgba(127, 127, 127, .15); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; transform: scale(0); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.cart-count.show { transform: scale(1); }
.cart-count.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.4); } }
.burger { display: none; }
.burger span { position: absolute; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s; }
.burger span:first-child { transform: translateY(-4px); }
.burger span:last-child { transform: translateY(4px); }
.nav.open .burger span:first-child { transform: rotate(45deg); }
.nav.open .burger span:last-child { transform: rotate(-45deg); }
@media (max-width: 1080px) {
  .burger { display: grid; }
  .nav-links { position: absolute; inset: 100% 0 auto 0; flex-direction: column; gap: 0; background: var(--dark); padding: 8px 20px 20px; display: none; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); opacity: 1; }
  .nav.open .nav-links { display: flex; }
}

/* ------- buttons ------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s, opacity .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { box-shadow: 0 0 0 6px rgba(255, 255, 255, .15); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .25); }
.btn-ghost:hover { border-color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2a30; }
.btn-outline { border-color: var(--line); background: var(--surface); }
.btn-outline:hover { border-color: var(--ink); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn.block { width: 100%; }
.link-btn { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 13px; margin: 6px auto 0; display: block; }

/* ------- hero ------- */
.hero { position: relative; background: radial-gradient(1200px 600px at 75% 30%, #1d2340 0%, transparent 60%), radial-gradient(800px 500px at 10% 90%, #2a1840 0%, transparent 60%), var(--dark); color: #fff; overflow: hidden; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%); }
.hero-inner { position: relative; width: min(1200px, 100% - 40px); margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 80px 0 70px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin: 0 0 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } }
.hero h1 { font-size: clamp(44px, 6.4vw, 84px); font-weight: 700; letter-spacing: -.035em; line-height: .98; }
.grad { background: linear-gradient(100deg, #fff 10%, #a9bcff 45%, #c7a6ff 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: rgba(255, 255, 255, .72); max-width: 520px; margin: 24px 0 34px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { list-style: none; padding: 0; margin: 46px 0 0; display: flex; gap: 40px; }
.hero-stats b { display: block; font-family: var(--display); font-size: 28px; }
.hero-stats span { font-size: 13px; color: rgba(255, 255, 255, .55); }
.hero-visual { perspective: 1400px; }
.hero-card { position: relative; border-radius: 22px; transform: rotateY(-12deg) rotateX(4deg); transform-style: preserve-3d; transition: transform .25s ease-out; box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); }
.hero-card img { border-radius: 22px; width: 100%; height: auto; }
.hero-card::after { content: ''; position: absolute; inset: -40px; z-index: -1; background: radial-gradient(closest-side, rgba(79, 124, 255, .45), transparent); filter: blur(40px); }
.hero-tag { position: absolute; transform: translateZ(60px); font-size: 12px; font-weight: 600; }
.hero-tag span { display: inline-block; padding: 7px 12px; background: rgba(255, 255, 255, .92); color: var(--ink); border-radius: 999px; box-shadow: 0 10px 25px -8px rgba(0, 0, 0, .5); white-space: nowrap; }
.hero-tag::before { content: ''; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(79, 124, 255, .3); }
.t1 { top: 46%; left: 54%; } .t1::before { left: -16px; top: 10px; }
.t2 { top: 24%; left: -6%; } .t2::before { right: -16px; top: 10px; }
.t3 { bottom: 14%; left: 22%; } .t3::before { left: -16px; top: 10px; }
.hero-tag { animation: float 5s ease-in-out infinite; }
.t2 { animation-delay: -1.6s; } .t3 { animation-delay: -3.2s; }
@keyframes float { 50% { margin-top: -8px; } }
.marquee { position: relative; border-top: 1px solid rgba(255, 255, 255, .08); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: marquee 32s linear infinite; font-family: var(--display); font-size: 20px; color: rgba(255, 255, 255, .55); }
.marquee i { font-style: normal; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding: 48px 0 40px; gap: 40px; }
  .hero-card { transform: none; }
  .t2 { left: 4%; }
  .hero-stats { gap: 24px; }
}

/* ------- sections ------- */
.section { padding: 110px 0; }
.section.dark { background: var(--dark); color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 48px; }
.section-head > p { max-width: 400px; margin: 0; }
.kicker { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); font-weight: 600; margin: 0 0 14px; }
.kicker.light { color: #ffd2cf; }
@media (max-width: 760px) { .section { padding: 72px 0; } .section-head { flex-direction: column; align-items: flex-start; gap: 16px; } }

/* ------- products ------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 980px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .products { grid-template-columns: 1fr; } }
.skeleton { aspect-ratio: 4/5; border-radius: var(--radius); background: linear-gradient(90deg, #ecebe6, #f6f5f1, #ecebe6); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--line); transition: transform .3s, box-shadow .3s; cursor: pointer; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #eceae5; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s, transform .8s; }
.card-media img.alt { opacity: 0; }
.card:hover .card-media img.main { opacity: 0; }
.card:hover .card-media img.alt { opacity: 1; transform: scale(1.04); }
.badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(17, 17, 19, .85); color: #fff; font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: 999px; backdrop-filter: blur(6px); }
.badge.sold { background: var(--err); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.card h3 { font-size: 24px; }
.year { font-size: 13px; color: var(--muted); font-family: var(--display); }
.variant { color: var(--ink-2); font-size: 14px; margin: 0; }
.meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 14px; }
.chip { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: #f1f0ec; color: var(--ink-2); }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.price { font-family: var(--display); font-size: 24px; font-weight: 700; }
.stock-low { font-size: 12px; color: var(--xmas); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.stock-low::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse-red 1.6s infinite; }
@keyframes pulse-red { 50% { opacity: .3; } }
.card-custom { background: var(--dark); color: #fff; justify-content: center; align-items: flex-start; padding: 34px; gap: 14px; min-height: 100%; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 28px 28px; }
.card-custom p { color: rgba(255, 255, 255, .7); margin: 0; }
.card-custom .plus { width: 54px; height: 54px; border: 1.5px dashed rgba(255, 255, 255, .5); border-radius: 14px; display: grid; place-items: center; font-size: 26px; }

/* ------- catalog ------- */
.catalog-section { padding-top: 0; }
.cat-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips button { border: 1.5px solid var(--line); background: var(--surface); padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .2s; }
.chips button:hover { border-color: #bdbbb3; }
.chips button.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.search { position: relative; flex: 0 1 300px; }
.search svg { position: absolute; left: 13px; top: 50%; width: 17px; transform: translateY(-50%); color: var(--muted); }
.search input { padding-left: 38px !important; border-radius: 999px !important; }
.catalog .card-media { background: #e9e8e3; }
.card-media img.main { object-fit: contain; }
.dots { display: flex; gap: 7px; flex-wrap: wrap; margin: 8px 0 14px; }
.cdot { width: 22px; height: 22px; border-radius: 50%; border: 0; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); transition: transform .15s, box-shadow .15s; padding: 0; }
.cdot:hover { transform: scale(1.12); }
.cdot.active { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18), 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); }
.color-name { font-size: 13px; color: var(--muted); min-height: 1.3em; }
.mto { font-size: 12px; color: var(--muted); }
.cat-empty { grid-column: 1 / -1; text-align: center; padding: 50px; color: var(--muted); }
.pm-art { aspect-ratio: 4/3; width: 100%; display: block; }
.opt-label { font-size: 13px; color: var(--muted); margin: 4px 0 -4px; }
.pm-info .dots { margin: 4px 0; }
.pm-info .swatches { margin-bottom: 4px; }

/* ------- trade-in ------- */
.tradein { background: radial-gradient(900px 500px at 85% 10%, #1d2340 0%, transparent 60%), var(--dark); }
.muted-l { color: rgba(255, 255, 255, .62); }
.ti-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 960px) { .ti-grid { grid-template-columns: 1fr; } }
.ti-opt { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ti-opt > span { font-size: 26px; width: 52px; height: 52px; border-radius: 14px; background: rgba(255, 255, 255, .07); display: grid; place-items: center; flex-shrink: 0; }
.ti-opt b { font-family: var(--display); font-size: 19px; }
.ti-opt p { margin: 4px 0 0; color: rgba(255, 255, 255, .62); font-size: 15px; }
.ti-steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ti-steps li { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; padding: 14px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.ti-steps b { display: block; font-family: var(--display); color: var(--accent); margin-bottom: 4px; }
.ti-form { color: var(--ink); }
.ti-label { font-family: var(--display); font-weight: 600; font-size: 16px; margin: 4px 0 10px; }
.choice-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 620px) { .choice-grid.three { grid-template-columns: 1fr; } }
.ti-form .chips { margin-bottom: 16px; }
.ti-estimate { background: #f3f6ff; border: 1.5px solid #d6e0ff; border-radius: 14px; padding: 14px 16px; margin: 6px 0 16px; font-size: 14px; }
.ti-estimate b { font-family: var(--display); font-size: 22px; display: block; margin-top: 2px; }
.upload { position: relative; border: 1.5px dashed #c9c7bf; border-radius: 14px; padding: 18px; text-align: center; color: var(--muted); font-size: 14px; transition: border-color .2s, background .2s; }
.upload:hover, .upload.drag { border-color: var(--ink); background: #fafaf8; }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; }
.thumbs div { position: relative; }
.thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.thumbs button { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 12px; cursor: pointer; }

/* ------- steps ------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .1); border-radius: var(--radius); overflow: hidden; }
.steps li { background: var(--dark-2); padding: 34px 28px 38px; transition: background .3s; }
.steps li:hover { background: #1f1f25; }
.step-n { font-family: var(--display); font-size: 14px; color: var(--accent); }
.steps h3 { margin: 30px 0 10px; }
.steps p { color: rgba(255, 255, 255, .62); margin: 0; font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ------- configurator ------- */
.configurator { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 960px) { .configurator { grid-template-columns: 1fr; } }
.cfg-preview-wrap { position: sticky; top: 100px; }
@media (max-width: 960px) { .cfg-preview-wrap { position: static; } }
.cfg-preview { position: relative; padding: 40px 30px 50px; border-radius: 26px; background: linear-gradient(180deg, #e9e7e1 0%, #e9e7e1 72%, #d9cdb9 72%, #cdbfa6 100%); }
.pv-frame { --frame: #17171a; position: relative; padding: 18px; background: var(--frame); border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 40px -20px rgba(0, 0, 0, .55), 0 6px 10px -4px rgba(0, 0, 0, .3); transition: background .4s; }
.pv-frame::after { content: ''; position: absolute; inset: 18px; pointer-events: none; background: linear-gradient(125deg, rgba(255, 255, 255, .25) 0%, transparent 32%); box-shadow: inset 0 0 18px rgba(0, 0, 0, .25); }
.pv-frame.oak { background: linear-gradient(90deg, #c49a61, #d2ad77 40%, #c39963 60%, #cfa872); }
.pv-bg { --bgc: #fbfbf9; --ink: #1b1b1f; background: var(--bgc); color: var(--ink); aspect-ratio: 4/3; padding: 7% 7% 5%; display: flex; flex-direction: column; transition: background .4s, color .4s; }
.pv-title { font-family: var(--display); font-size: clamp(14px, 2vw, 20px); display: flex; align-items: center; gap: 6px; margin-bottom: 4%; }
.pv-apple { width: 10px; height: 12px; border: 1.5px solid currentColor; border-radius: 3px; }
.pv-parts { width: 100%; flex: 1; }
.ink-stroke { stroke: var(--ink); opacity: .8; }
.ink-fill-soft { fill: var(--ink); fill-opacity: .1; }
.ink-text { fill: var(--ink); opacity: .55; }
.pv-engraving { font-family: var(--display); text-align: center; font-size: clamp(11px, 1.4vw, 14px); letter-spacing: .12em; text-transform: uppercase; min-height: 1.4em; opacity: .85; }
.pv-shadow { position: absolute; left: 14%; right: 14%; bottom: 30px; height: 14px; background: radial-gradient(closest-side, rgba(0, 0, 0, .25), transparent); }
.pv-note { font-size: 12px; color: var(--muted); text-align: center; margin: 12px 0 0; }
.cfg-form { background: var(--surface); border-radius: 24px; padding: 30px; box-shadow: 0 1px 0 var(--line); }
fieldset { border: 0; padding: 0 0 26px; margin: 0 0 26px; border-bottom: 1px solid var(--line); }
legend { font-family: var(--display); font-size: 19px; font-weight: 600; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 0; }
legend span { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; display: grid; place-items: center; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.choice { position: relative; text-align: left; padding: 14px 14px 12px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.choice:hover { border-color: #bdbbb3; }
.choice.active { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17, 17, 19, .08); background: #fafaf8; }
.choice b { display: block; font-size: 15px; }
.choice small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; line-height: 1.35; }
.choice .c-price { display: block; margin-top: 8px; font-weight: 600; font-size: 14px; }
.swatch-row { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.swatch-label { width: 56px; font-size: 14px; color: var(--muted); }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; font-size: 13px; transition: border-color .2s; }
.swatch i { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.swatch.active { border-color: var(--ink); }
.swatch em { font-style: normal; color: var(--muted); }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--ink-2); }
.field em, .check em { font-style: normal; color: var(--muted); font-weight: 400; }
input:not([type=checkbox]), select, textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fcfcfb; transition: border-color .2s, box-shadow .2s; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(17, 17, 19, .07); background: #fff; }
input.invalid { border-color: var(--err); }
textarea { resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; margin-bottom: 12px; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex-shrink: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .row2, .choice-grid { grid-template-columns: 1fr; } .cfg-form { padding: 22px; } }
.coupon-row { display: flex; gap: 8px; margin-bottom: 18px; }
.coupon-row input { text-transform: uppercase; }
.coupon-row.applied input { border-color: var(--ok); color: var(--ok); font-weight: 600; }
.cfg-total { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.price-big { font-family: var(--display); font-size: 34px; font-weight: 700; }
.price-big s { font-size: 18px; color: var(--muted); font-weight: 500; }
.form-msg { min-height: 1.2em; margin: 12px 0 0; font-size: 14px; color: var(--err); }
.form-msg.ok { color: var(--ok); }
.secure { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; flex-wrap: wrap; }
.secure.center { justify-content: center; }
.secure svg { width: 15px; height: 15px; }

/* ------- gift ------- */
.gift { background: linear-gradient(120deg, #7d1a14, #b3261e 60%, #c9452f); color: #fff; padding: 90px 0; overflow: hidden; }
.gift-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.gift p { color: rgba(255, 255, 255, .85); font-size: 17px; max-width: 480px; margin: 18px 0 28px; }
.gift img { border-radius: 20px; transform: rotate(3deg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
@media (max-width: 860px) { .gift-inner { grid-template-columns: 1fr; } .gift img { transform: none; } }

/* ------- faq ------- */
.faq { margin-top: 40px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 300; transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { margin: 0 0 22px; color: var(--ink-2); }

/* ------- footer ------- */
.footer { background: var(--dark); color: #fff; padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1fr; gap: 40px; }
.footer h4 { font-family: var(--font); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .45); margin-bottom: 16px; }
.footer-grid a:not(.logo) { display: block; text-decoration: none; color: rgba(255, 255, 255, .78); margin-bottom: 10px; font-size: 14px; }
.footer-grid a:hover { color: #fff; }
.footer .muted { color: rgba(255, 255, 255, .5); max-width: 300px; }
.fine { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12px; color: rgba(255, 255, 255, .4); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ------- drawer / modal ------- */
.overlay { position: fixed; inset: 0; background: rgba(10, 10, 12, .55); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 60; }
.overlay.show { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--bg); z-index: 70; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-body { flex: 1; overflow: auto; padding: 10px 22px; }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); background: var(--surface); max-height: 65vh; overflow: auto; }
.drawer-foot textarea { margin-bottom: 12px; }
.cart-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 76px; height: 60px; object-fit: cover; border-radius: 10px; }
.cart-item b { display: block; font-size: 15px; }
.cart-item small { color: var(--muted); }
.cart-item .rm { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 13px; text-decoration: underline; padding: 0; }
.empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.empty .big { font-size: 46px; margin-bottom: 8px; }
.totals { font-size: 14px; margin-bottom: 16px; }
.totals div { display: flex; justify-content: space-between; padding: 3px 0; }
.totals .disc { color: var(--ok); }
.totals .grand { font-size: 19px; font-weight: 700; font-family: var(--display); padding-top: 10px; margin-top: 6px; border-top: 1px dashed var(--line); }

.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(10, 10, 12, .6); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-card { position: relative; background: var(--surface); border-radius: 24px; width: min(460px, 100%); max-height: calc(100vh - 40px); overflow: auto; transform: translateY(20px) scale(.97); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.modal.open .modal-card { transform: none; }
.modal-card.wide { width: min(1000px, 100%); }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 3; background: rgba(255, 255, 255, .9); }
.pm { display: grid; grid-template-columns: 1.2fr 1fr; }
.pm-gallery { background: #eceae5; }
.pm-main { aspect-ratio: 4/3; width: 100%; object-fit: cover; }
.pm-thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; }
.pm-thumbs img { width: 70px; height: 54px; object-fit: cover; border-radius: 8px; cursor: pointer; opacity: .55; transition: opacity .2s; border: 2px solid transparent; }
.pm-thumbs img.active { opacity: 1; border-color: var(--ink); }
.pm-info { padding: 36px 32px; display: flex; flex-direction: column; gap: 12px; }
.pm-info h2 { font-size: 36px; }
.pm-info dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 14px; margin: 6px 0; }
.pm-info dt { color: var(--muted); }
.pm-info dd { margin: 0; }
.pm-perks { list-style: none; padding: 0; margin: 4px 0 0; font-size: 13px; color: var(--ink-2); display: grid; gap: 6px; }
@media (max-width: 760px) { .pm { grid-template-columns: 1fr; } .pm-info { padding: 24px; } }

.nl-card { width: min(780px, 100%); display: grid; grid-template-columns: .9fr 1.1fr; }
.nl-visual { position: relative; background: var(--dark); }
.nl-visual img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.nl-badge { position: absolute; left: 20px; bottom: 20px; background: var(--xmas); color: #fff; border-radius: 16px; padding: 14px 18px; transform: rotate(-4deg); box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .6); }
.nl-badge b { display: block; font-family: var(--display); font-size: 40px; line-height: 1; }
.nl-badge span { font-size: 12px; }
.nl-body { padding: 34px 30px 24px; }
.nl-body h3 { font-size: 28px; margin-bottom: 10px; }
.nl-body > .muted { font-size: 14px; margin: 0 0 18px; }
.nl-body .field { margin-bottom: 10px; }
.nl-body .check { font-size: 12px; color: var(--muted); }
.coupon-box { margin: 18px 0; border: 2px dashed var(--ink); border-radius: 14px; padding: 18px; text-align: center; font-family: var(--display); font-size: 28px; letter-spacing: .12em; font-weight: 700; cursor: pointer; }
.coupon-box small { display: block; font-family: var(--font); font-size: 12px; letter-spacing: 0; color: var(--muted); font-weight: 400; margin-top: 4px; }
@media (max-width: 680px) { .nl-card { grid-template-columns: 1fr; } .nl-visual { height: 150px; } .nl-body { padding: 24px 22px 20px; } }

.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 30px); background: var(--ink); color: #fff; padding: 13px 20px; border-radius: 999px; font-size: 14px; opacity: 0; pointer-events: none; transition: all .35s cubic-bezier(.2, .8, .2, 1); z-index: 100; box-shadow: var(--shadow); max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.demo-pill { position: fixed; left: 16px; bottom: 16px; z-index: 50; background: #ffb020; color: #3d2600; font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 7px 12px; border-radius: 999px; box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .3); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

/* ------- simple pages (success / tracking / admin) ------- */
.page { min-height: 70vh; padding: 70px 0; }
.panel { background: var(--surface); border-radius: 24px; padding: 36px; box-shadow: 0 1px 0 var(--line); }
.timeline { list-style: none; padding: 0; margin: 24px 0 0; position: relative; }
.timeline li { position: relative; padding: 0 0 22px 34px; }
.timeline li::before { content: ''; position: absolute; left: 7px; top: 18px; bottom: -2px; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--line); }
.timeline li.done::after { background: var(--ink); }
.timeline li.done::before { background: var(--ink); }
.timeline li.current::after { background: var(--accent); box-shadow: 0 0 0 5px rgba(79, 124, 255, .2); }
.timeline b { display: block; }
.timeline small { color: var(--muted); }
.check-anim { width: 76px; height: 76px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; margin-bottom: 20px; animation: pop .5s cubic-bezier(.3, 1.6, .5, 1); }
.check-anim svg { width: 38px; }
@keyframes pop { from { transform: scale(0); } }
