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

:root {
  --bg: #0E0B09;
  --bg-2: #15110E;
  --card: #1B1612;
  --line: rgba(243, 235, 226, 0.09);
  --line-2: rgba(243, 235, 226, 0.18);
  --ink: #F3EBE2;
  --muted: #A3968A;
  --dim: #6F655C;
  --accent: #FF8A2B;
  --accent-2: #FFB067;
  --glow: rgba(255, 138, 43, 0.35);
  --radius: 22px;
  --display: 'Unbounded', system-ui, sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
  --pad: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }

/* subtle grain */
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px; border-radius: 100px;
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s;
  white-space: nowrap;
}
.btn-accent { background: var(--accent); color: #1A0D03; box-shadow: 0 10px 40px -10px var(--glow); }
.btn-accent:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 16px 50px -10px var(--glow); }
.btn-ghost { border: 1px solid var(--line-2); }
.btn-ghost:hover { background: rgba(243,235,226,.06); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.header.solid { background: rgba(14, 11, 9, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.header-in { max-width: var(--max); margin: 0 auto; padding: 14px var(--pad); display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark { width: 42px; height: 42px; border-radius: 50%; flex: none; }
.logo-text { font-family: var(--display); font-weight: 500; font-size: 15px; letter-spacing: .02em; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a {
  padding: 8px 14px; border-radius: 100px; font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color .2s, background .2s; display: inline-flex; align-items: center; gap: 6px;
}
.nav a:hover, .nav a.active { color: var(--ink); background: rgba(243,235,226,.07); }
.nav .soon-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--dim); }
.cart-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: background .2s; }
.cart-btn:hover { background: rgba(243,235,226,.07); }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--accent); color: #1A0D03; font-size: 11px; font-weight: 700; display: grid; place-items: center;
}
.cart-count[hidden] { display: none; }
.cart-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.burger span:first-child { top: 19px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ---------- hero (scroll: lamp turns on) ---------- */
.hero { position: relative; height: 150vh; }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform: scale(1.06); transition: transform 1.6s var(--ease), opacity .9s ease; }
.hero-off { filter: brightness(1.35); }
.hero-on { opacity: 0; }
.hero.lit .hero-on { opacity: 1; }
.hero.lit .hero-img { transform: scale(1); }
.hero.lit h1 .warm { text-shadow: 0 0 40px rgba(255,138,43,.6); }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,11,9,.92) 0%, rgba(14,11,9,.55) 42%, rgba(14,11,9,0) 70%),
              linear-gradient(0deg, var(--bg) 0%, rgba(14,11,9,0) 30%);
}
.hero-content {
  position: absolute; left: 0; right: 0; bottom: clamp(48px, 12vh, 120px);
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
}
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.kicker::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.hero h1 {
  font-family: var(--display); font-weight: 500; font-size: clamp(38px, 6.4vw, 92px);
  line-height: 1.02; letter-spacing: -.035em; max-width: 11ch;
}
.hero h1 .warm { color: var(--accent); text-shadow: 0 0 40px rgba(255,138,43,0); transition: text-shadow .9s; }
.hero-sub { margin-top: 22px; max-width: 420px; color: var(--muted); font-size: 17px; }
.hero-actions { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-hint {
  position: absolute; right: var(--pad); bottom: clamp(48px, 12vh, 120px);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.hero-hint i { width: 1px; height: 56px; background: linear-gradient(var(--ink), transparent); animation: hint 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 11vw, 140px) 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); flex-wrap: wrap; }
.sec-title { font-family: var(--display); font-weight: 500; font-size: clamp(28px, 4vw, 52px); line-height: 1.08; letter-spacing: -.03em; max-width: 16ch; }
.sec-title .warm { color: var(--accent); }
.sec-lead { color: var(--muted); max-width: 420px; }

/* categories */
.cats { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: repeat(2, minmax(200px, 1fr)); gap: 14px; }
.cat {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--card);
  border: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 200px; isolation: isolate; transition: border-color .3s, transform .4s var(--ease);
}
.cat:hover { border-color: var(--line-2); }
.cat-main { grid-row: span 2; }
.cat-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.cat-main:hover img { transform: scale(1.04); }
.cat-main::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,11,9,.92), rgba(14,11,9,0) 55%); }
.cat-name { font-family: var(--display); font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: -.02em; }
.cat-main .cat-name { font-size: clamp(28px, 3vw, 40px); }
.cat-note { color: var(--muted); font-size: 14px; margin-top: 4px; }
.cat-go { position: absolute; top: 22px; right: 22px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .3s, color .3s, transform .3s var(--ease); }
.cat:hover .cat-go { background: var(--accent); color: #1A0D03; border-color: var(--accent); transform: rotate(-45deg); }
.badge { display: inline-block; align-self: flex-start; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 100px; background: rgba(243,235,226,.08); color: var(--muted); margin-bottom: auto; }
.cat-soon .cat-glyph { position: absolute; right: -10px; bottom: -24px; font-family: var(--display); font-size: 140px; line-height: 1; color: rgba(243,235,226,.035); z-index: -1; pointer-events: none; }

/* product cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.p-card { display: block; position: relative; }
.p-media { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--card); }
.p-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease), transform .9s var(--ease); }
.p-media .p-off { filter: brightness(1.9) saturate(.6); }
.p-media .p-on { opacity: 1; }
.p-card:hover .p-on { transform: scale(1.04); }
.p-media::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.p-info { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 4px 0; }
.p-name { font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: .02em; }
.p-tag { color: var(--muted); font-size: 14px; }
.p-price { font-weight: 600; white-space: nowrap; }
.p-price small { color: var(--muted); font-weight: 500; font-size: 13px; }

/* texture / feature band */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.feature-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; position: relative; }
.feature-img img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.facts { margin-top: 36px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.fact { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.fact-n { font-family: var(--display); color: var(--accent); font-size: 14px; padding-top: 3px; }
.fact b { display: block; font-weight: 600; font-size: 17px; margin-bottom: 2px; }
.fact span { color: var(--muted); font-size: 15px; }

/* marquee */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--display); font-size: clamp(22px, 3vw, 38px); font-weight: 500; letter-spacing: -.02em; padding: 0 28px; white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee span::after { content: '✦'; color: var(--accent); font-size: .6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.stagger > * { transition-delay: calc(var(--i, 0) * 80ms); }

/* ---------- page head (catalog/cart) ---------- */
.page { padding-top: 120px; min-height: 80vh; }
.crumbs { font-size: 13px; color: var(--dim); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.page-title { font-family: var(--display); font-weight: 500; font-size: clamp(32px, 5vw, 64px); letter-spacing: -.035em; line-height: 1.05; }
.tabs { display: flex; gap: 8px; margin: 32px 0 40px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; height: 44px; padding: 0 20px; border-radius: 100px; border: 1px solid var(--line-2);
  font-size: 14px; font-weight: 500; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; transition: all .2s;
}
.tab:hover { color: var(--ink); }
.tab.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tab small { font-size: 11px; opacity: .7; }
.empty { border: 1px dashed var(--line-2); border-radius: var(--radius); padding: clamp(40px, 8vw, 90px) 24px; text-align: center; }
.empty h3 { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 3vw, 32px); margin: 14px 0 8px; letter-spacing: -.02em; }
.empty p { color: var(--muted); max-width: 420px; margin: 0 auto 26px; }
.pulse { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); margin: 0 auto; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,138,43,.5); } 100% { box-shadow: 0 0 0 18px rgba(255,138,43,0); } }

/* ---------- product page ---------- */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.gallery { position: sticky; top: 96px; }
.g-main { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--card); }
.g-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s var(--ease); }
.g-main .g-off { opacity: 0; }
.g-main.dark .g-off { opacity: 1; }
.g-main .g-combo { opacity: 0; z-index: 1; }
.g-main.combo .g-combo.top { opacity: 1; z-index: 3; transition: opacity .45s var(--ease); }
.g-main.combo .g-combo.prev { opacity: 1; z-index: 2; transition: none; }
.g-main.combo .switch { opacity: 0; pointer-events: none; }
.combo-tag { position: absolute; left: 14px; bottom: 14px; z-index: 4; padding: 8px 14px; border-radius: 999px; background: rgba(14,11,9,.62); backdrop-filter: blur(8px); font-size: 13px; color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease); pointer-events: none; }
.g-main.combo .combo-tag { opacity: 1; transform: none; }
.g-main.dark .g-on { opacity: 0; }
.switch {
  position: absolute; left: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 16px 0 8px; border-radius: 100px; background: rgba(14,11,9,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-2); font-size: 13px; font-weight: 600;
}
.switch i { width: 40px; height: 24px; border-radius: 12px; background: var(--accent); position: relative; transition: background .3s; }
.switch i::after { content: ''; position: absolute; top: 3px; left: 19px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .3s var(--ease); }
.g-main.dark .switch i { background: #4a4440; }
.g-main.dark .switch i::after { left: 3px; }
.g-main .g-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 5; opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); background: var(--card); }
.g-main.video .g-video { opacity: 1; }
.g-main.video .switch { opacity: 0; pointer-events: none; }
.g-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.g-thumbs::-webkit-scrollbar { display: none; }
.g-thumbs .t-video { position: relative; }
.g-thumbs .t-video::before { content: ''; position: absolute; inset: 0; margin: auto; width: 28px; height: 28px; border-radius: 50%; background: rgba(14,11,9,.6); }
.g-thumbs .t-video::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-35%, -50%); border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #fff; }
.g-thumbs button { flex: none; width: 76px; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; border: 2px solid transparent; opacity: .6; transition: all .2s; }
.g-thumbs button.active { border-color: var(--accent); opacity: 1; }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.g-thumbs .t-combo { position: relative; }
.g-thumbs .t-combo span { position: absolute; left: 0; right: 0; bottom: 0; padding: 3px 0; font-size: 10px; text-align: center; color: #fff; background: rgba(14,11,9,.65); }

.pd-name { font-family: var(--display); font-weight: 500; font-size: clamp(40px, 5vw, 68px); letter-spacing: -.02em; line-height: 1; }
.pd-tag { color: var(--muted); font-size: 18px; margin-top: 10px; }
.pd-price { display: flex; align-items: baseline; gap: 10px; margin: 26px 0 30px; }
.pd-price b { font-family: var(--display); font-weight: 500; font-size: 36px; letter-spacing: -.02em; transition: color .3s; }
.pd-price b.flash { color: var(--accent); }
.pd-price span { color: var(--muted); }
.opt-label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.opt-label em { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--ink); font-weight: 500; }
.opt-group { margin-bottom: 28px; }
.power { display: grid; gap: 10px; }
.power label {
  display: grid; grid-template-columns: 22px 1fr auto; column-gap: 14px; row-gap: 0; align-items: center; cursor: pointer;
  padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line-2); transition: border-color .2s, background .2s;
  position: relative;
}
.power label:hover { background: rgba(243,235,226,.03); }
.power input { position: absolute; opacity: 0; pointer-events: none; }
.power .dot { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: border-color .2s; }
.power .dot::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .25s var(--ease); }
.power input:checked + .dot { border-color: var(--accent); }
.power input:checked + .dot::after { transform: scale(1); }
.power label:has(input:checked) { border-color: var(--accent); background: rgba(255,138,43,.06); }
.power input:focus-visible + .dot { outline: 2px solid var(--accent); outline-offset: 3px; }
.power b { display: block; font-weight: 600; }
.power small { color: var(--muted); font-size: 13.5px; }
.power .pr { font-weight: 600; white-space: nowrap; }
.power .feat { grid-column: 2 / -1; display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--ink); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s var(--ease), opacity .3s, margin .3s; }
.power .feat li { position: relative; padding-left: 20px; }
.power .feat li::before { content: ''; position: absolute; left: 2px; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(255,138,43,.7); }
.power label:has(input:checked) .feat { max-height: 320px; opacity: 1; margin-top: 4px; }
.swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.swatch { width: 40px; height: 40px; border-radius: 50%; position: relative; border: 1px solid rgba(255,255,255,.15); }
.swatch::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid transparent; transition: border-color .2s; }
.swatch[aria-checked="true"]::after { border-color: var(--accent); }
.buy-row { display: flex; gap: 12px; margin-top: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 100px; height: 52px; flex: none; }
.qty button { width: 44px; height: 100%; font-size: 20px; color: var(--muted); }
.qty button:hover { color: var(--ink); }
.qty output { min-width: 26px; text-align: center; font-weight: 600; }
.buy-row .btn { flex: 1; }
.pd-desc { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); }
.pd-desc p { color: #D9CFC4; margin-bottom: 14px; }
.specs { margin-top: 26px; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--muted); }
.info-cards { display: grid; gap: 12px; margin-top: 30px; }
.info-card { padding: 18px 20px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); }
.info-card h3 { font-size: 15px; font-weight: 600; margin: 0 0 6px; color: var(--ink); }
.info-card p { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0; }
.notes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.note { padding: 16px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.note b { display: block; color: var(--ink); font-size: 14.5px; margin-bottom: 2px; }

/* ---------- cart ---------- */
.cart { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; margin-top: 40px; }
.c-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: center; }
.c-item:first-child { border-top: 1px solid var(--line); }
.c-item img { width: 96px; aspect-ratio: 3/4; object-fit: cover; border-radius: 14px; }
.c-name { font-family: var(--display); font-weight: 500; font-size: 18px; }
.c-meta { color: var(--muted); font-size: 14px; margin: 2px 0 12px; }
.c-meta i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: middle; margin: -2px 4px 0 0; border: 1px solid rgba(255,255,255,.2); }
.c-row { display: flex; align-items: center; gap: 16px; }
.c-row .qty { height: 40px; }
.c-row .qty button { width: 36px; font-size: 17px; }
.c-del { color: var(--dim); font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; }
.c-del:hover { color: var(--ink); }
.c-sum { font-weight: 600; white-space: nowrap; align-self: start; padding-top: 4px; }
.summary { position: sticky; top: 96px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.summary h3 { font-family: var(--display); font-weight: 500; font-size: 20px; margin-bottom: 18px; }
.s-row { display: flex; justify-content: space-between; padding: 8px 0; color: var(--muted); font-size: 15px; }
.s-total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 22px; margin-top: 10px; border-top: 1px solid var(--line); }
.s-total b { font-family: var(--display); font-weight: 500; font-size: 28px; }
.s-hint { color: var(--dim); font-size: 13px; text-align: center; margin-top: 14px; }

/* checkout */
.checkout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; margin-top: 40px; }
.fs { border: 0; margin-bottom: 36px; }
.fs legend { font-family: var(--display); font-weight: 500; font-size: 20px; margin-bottom: 18px; display: flex; gap: 12px; align-items: center; }
.fs legend span { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #1A0D03; font-size: 13px; display: grid; place-items: center; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; color: var(--muted); font-weight: 500; }
.field input, .field textarea {
  height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-2);
  color: var(--ink); font: inherit; font-size: 16px; transition: border-color .2s;
}
.field textarea { height: 96px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field.err input { border-color: #E5484D; }
.field .msg { font-size: 12.5px; color: #F17D80; display: none; }
.field.err .msg { display: block; }
.pay-opt { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 16px; border: 1px solid var(--accent); background: rgba(255,138,43,.06); }
.pay-opt .dot { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--accent); display: grid; place-items: center; margin-top: 2px; }
.pay-opt .dot::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.pay-opt small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.mini { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; font-size: 14px; }
.mini img { width: 52px; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; }
.mini small { display: block; color: var(--muted); font-size: 12.5px; }

.done { max-width: 620px; margin: 0 auto; text-align: center; padding: 40px 0 80px; }
.done-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--accent); color: #1A0D03; display: grid; place-items: center; margin: 0 auto 28px; box-shadow: 0 0 60px var(--glow); }
.done p { color: var(--muted); margin-top: 14px; }
.done .iban { margin: 32px 0; padding: 22px; border-radius: 18px; border: 1px dashed var(--line-2); text-align: left; color: var(--muted); font-size: 14.5px; }
.done .iban b { color: var(--ink); display: block; margin-bottom: 4px; }

/* ---------- footer & toast ---------- */
.footer { border-top: 1px solid var(--line); margin-top: 40px; }
.footer-in { max-width: var(--max); margin: 0 auto; padding: 56px var(--pad) 40px; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-note { color: var(--muted); max-width: 320px; margin-top: 16px; font-size: 14.5px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-h { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; font-weight: 600; }
.footer-cols li { margin-bottom: 8px; font-size: 14.5px; color: var(--muted); }
.footer-cols a:hover { color: var(--ink); }
.footer-bottom { max-width: var(--max); margin: 0 auto; padding: 20px var(--pad) 32px; color: var(--dim); font-size: 13px; border-top: 1px solid var(--line); }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 140%);
  background: var(--ink); color: var(--bg); padding: 14px 22px; border-radius: 100px; font-weight: 600; font-size: 14.5px;
  box-shadow: 0 20px 50px rgba(0,0,0,.4); transition: transform .45s var(--ease), visibility 0s .45s; display: flex; gap: 14px; align-items: center; white-space: nowrap;
  visibility: hidden;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .45s var(--ease); }
.toast a { color: #B8540C; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .cats { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .cat-main { grid-column: 1 / -1; grid-row: auto; min-height: 380px; }
  .product, .cart, .checkout { grid-template-columns: 1fr; }
  .gallery, .summary { position: static; }
}
@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 74px 12px auto 12px; flex-direction: column; gap: 2px; padding: 10px;
    background: rgba(21,17,14,.97); border: 1px solid var(--line-2); border-radius: 20px; backdrop-filter: blur(14px);
    opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease);
  }
  .nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav a { padding: 14px 16px; font-size: 16px; justify-content: space-between; }
  .burger { display: block; }
  .cart-btn { margin-left: auto; }
  .header-in { gap: 10px; }
  .feature { grid-template-columns: 1fr; }
  .hero-hint { display: none; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .p-info { flex-direction: column; gap: 2px; padding-top: 10px; }
  .p-name { font-size: 16px; }
  .p-tag { font-size: 13px; }
  .cats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat { padding: 18px; min-height: 150px; }
  .cat-go { top: 14px; right: 14px; width: 34px; height: 34px; }
  .cat-name { font-size: 17px; }
  .cat-note { font-size: 12.5px; }
  .logo-text { display: none; }
  .hero-shade { background: linear-gradient(0deg, var(--bg) 30%, rgba(14,11,9,.55) 50%, rgba(14,11,9,0) 70%); }
  .hero-img { inset: -22% 0 auto 0; height: 100%; object-position: 50% 50%; }
  .hero-actions .btn { flex: 1; }
  .fields, .notes { grid-template-columns: 1fr; }
  .c-item { grid-template-columns: 76px 1fr; }
  .c-item img { width: 76px; }
  .c-sum { grid-column: 2; padding: 0; }
  .buy-row { flex-direction: column; }
  .buy-row .qty { align-self: flex-start; }
  .toast { white-space: normal; width: calc(100% - 32px); justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Стрічка відео на головній ---------- */
.reels-nav { display: flex; gap: 10px; }
.reels-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink); font-size: 18px; transition: border-color .2s, background .2s; }
.reels-btn:hover { border-color: var(--accent); background: rgba(255,138,43,.08); }
.reels {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); scroll-padding: 0 max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
}
.reels::-webkit-scrollbar { display: none; }
.reel { position: relative; flex: none; width: clamp(200px, 22vw, 280px); aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: var(--card); scroll-snap-align: start; isolation: isolate; }
.reel video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.reel:hover video { transform: scale(1.04); }
.reel::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(14,11,9,.85)); pointer-events: none; }
.reel-info { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; display: grid; gap: 2px; color: #fff; }
.reel-info b { font-family: var(--display); font-weight: 500; font-size: 17px; letter-spacing: .02em; }
.reel-info span { font-size: 14px; color: rgba(255,255,255,.8); }
@media (max-width: 560px) { .reels-nav { display: none; } .reel { width: 62vw; } }

/* ---------- Вибір оплати ---------- */
.pay-opts { display: grid; gap: 10px; }
.pay-opt { position: relative; cursor: pointer; align-items: center; border-color: var(--line-2); background: none; transition: border-color .2s, background .2s; }
.pay-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pay-opt > div { flex: 1; }
.pay-opt .dot { border-color: var(--line-2); align-self: flex-start; }
.pay-opt .dot::after { transform: scale(0); transition: transform .25s var(--ease); }
.pay-opt:has(input:checked) { border-color: var(--accent); background: rgba(255,138,43,.06); }
.pay-opt:has(input:checked) .dot { border-color: var(--accent); }
.pay-opt:has(input:checked) .dot::after { transform: scale(1); }
.pay-opt input:focus-visible + .dot { outline: 2px solid var(--accent); outline-offset: 3px; }
.pay-sum { font-weight: 600; white-space: nowrap; }
.pay-icons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pay-icons span { padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
.s-rows[hidden] { display: none; }
.s-fee { color: var(--dim); font-size: 12.5px; line-height: 1.5; text-align: right; margin: 2px 0 4px; }
.s-rows { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 8px; }

/* Безкоштовна доставка — підказка в кошику */
.ship-free { color: var(--accent); font-weight: 600; }
.ship-left { font-size: 12.5px; color: var(--dim); margin: 2px 0 8px; line-height: 1.45; }
.ship-left b { color: var(--ink); font-weight: 600; }
.ship-left.ok { color: var(--accent); }
.ship-bar { display: block; height: 3px; border-radius: 3px; background: var(--line); margin-top: 7px; overflow: hidden; }
.ship-bar i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }

/* Інформаційні сторінки */
.doc { max-width: 760px; margin-top: 28px; padding-bottom: 80px; color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.doc h2 { color: var(--ink); font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: -.01em; margin: 34px 0 10px; }
.doc p { margin: 0 0 10px; }
.doc b { color: var(--ink); font-weight: 600; }
.doc ul, .doc ol { margin: 0 0 10px; padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc li::marker { color: var(--accent); }
.doc .doc-meta { color: var(--dim); font-size: 14px; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 10px; }
.contact-card { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; transition: border-color .2s; }
.contact-card:hover { border-color: var(--accent); }
.contact-card small { display: block; color: var(--dim); font-size: 12.5px; margin-bottom: 4px; }
.contact-card b { color: var(--ink); font-weight: 600; word-break: break-word; }
.s-hint a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

/* Оплата: помилка і статуси */
.pay-err { color: #ff8a73; font-size: 13.5px; margin: 0 0 10px; text-align: center; }
#payBtn:disabled { opacity: .7; cursor: progress; }
.done-icon.wait { background: transparent; color: var(--accent); border: 2px solid var(--accent); box-shadow: none; animation: donePulse 1.6s ease-in-out infinite; }
.done-icon.fail { background: transparent; color: #ff8a73; border: 2px solid #ff8a73; box-shadow: none; }
@keyframes donePulse { 50% { opacity: .45; } }
.done-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
