/* Veranda 2026 — уличные кухни и мебель из металла */
:root {
  --bg: #f4f2ee;
  --paper: #ebe7e0;
  --card: #fbfaf8;
  --ink: #141619;
  --ink-2: #3b4047;
  --muted: #747a82;
  --line: #dfdad2;
  --line-2: #cfc9bf;
  --steel: #1b1f23;
  --steel-2: #262b31;
  --steel-3: #343a41;
  --ember: #e4572e;
  --ember-2: #c8461f;
  --ember-soft: #fbe5dc;
  --ok: #2e7d4f;
  --r: 22px;
  --r-sm: 14px;
  --r-xs: 10px;
  --wrap: 1320px;
  --gut: clamp(16px, 4vw, 40px);
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Unbounded", "Onest", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(20,22,25,.05), 0 12px 32px -12px rgba(20,22,25,.14);
  --hdr: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.035em; }
h1 { font-size: clamp(32px, 5vw, 64px); line-height: 1.04; }
h2 { font-size: clamp(26px, 3.2vw, 42px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
::selection { background: var(--ember); color: #fff; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 680px; line-height: 1.55; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ember); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
svg { flex-shrink: 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--font); cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .15s var(--ease), box-shadow .2s; }
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: scale(.98); }
.btn-ember, .btn-accent { background: var(--ember); color: #fff; box-shadow: 0 8px 20px -10px rgba(228,87,46,.7); }
.btn-ember:hover, .btn-accent:hover { background: var(--ember-2); }
.btn-ember:hover svg:last-child { transform: translateX(3px); }
.btn svg { transition: transform .2s var(--ease); }
.btn-ink, .btn-dark { background: var(--ink); color: #fff; }
.btn-ink:hover, .btn-dark:hover { background: #000; }
.btn-ghost, .btn-line { border-color: var(--line-2); background: transparent; }
.btn-ghost:hover, .btn-line:hover { border-color: var(--ink); }
.section-dark .btn-ghost, .form-card-dark .btn-ghost, .ftr .btn-ghost { border-color: rgba(255,255,255,.25); color: #fff; }
.section-dark .btn-ghost:hover, .ftr .btn-ghost:hover { border-color: #fff; }
.btn-lg { height: 58px; padding: 0 30px; font-size: 16px; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-grow { flex: 1; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.ib { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid transparent; background: transparent; cursor: pointer; transition: background .2s, border-color .2s; }
.ib svg { width: 22px; height: 22px; }
.ib:hover { background: rgba(20,22,25,.06); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover svg, a:hover > .link-arrow svg { transform: translateX(4px); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--ink-2); background: rgba(255,255,255,.5); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 4px rgba(228,87,46,.18); }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(244,242,238,.82); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.hdr.scrolled { border-bottom-color: var(--line); background: rgba(244,242,238,.92); }
.hdr-in { display: flex; align-items: center; gap: 28px; height: var(--hdr); }
.logo img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.nav > a, .nav-drop > a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color .2s, background .2s; }
.nav > a:hover, .nav-drop > a:hover, .nav a[aria-current] { color: var(--ink); background: rgba(20,22,25,.05); }
.nav-drop { position: relative; }
.nav-drop svg { transition: transform .2s; }
.nav-drop:hover > a svg, .nav-drop:focus-within > a svg { transform: rotate(180deg); }
.mega { position: absolute; left: -12px; top: calc(100% + 10px); width: min(860px, 90vw); display: grid; grid-template-columns: 1fr 240px; gap: 8px; padding: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 30px 60px -20px rgba(20,22,25,.3);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-drop:hover .mega, .nav-drop:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--r-sm); transition: background .15s; }
.mega-item:hover { background: var(--bg); }
.mega-item b { display: block; font-size: 14px; font-weight: 600; }
.mega-item small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.mega-item em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--muted); }
.mega-ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--bg); color: var(--ink-2); flex-shrink: 0; }
.mega-ico svg { width: 30px; height: 30px; }
.mega-side { background: var(--steel); color: #e9e6e1; border-radius: var(--r-sm); padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; }
.mega-side p { font-size: 14px; color: #b9bcc0; }
.hdr-act { display: flex; align-items: center; gap: 4px; }
.hdr-phone { display: flex; flex-direction: column; line-height: 1.2; text-align: right; margin-right: 10px; }
.hdr-phone b { font-size: 15px; font-weight: 600; white-space: nowrap; }
.hdr-phone small { font-size: 12px; color: var(--muted); }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--ember); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--bg); }
.cart-count[data-n="0"] { display: none; }
.burger { display: none; }
.search-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s var(--ease); }
.search-panel > .wrap { overflow: hidden; }
.search-panel.open { grid-template-rows: 1fr; }
.search-panel form { position: relative; display: flex; gap: 10px; margin: 4px 0 18px; }
.search-panel input { flex: 1; height: 52px; padding: 0 18px 0 48px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); font: inherit; font-size: 16px; }
.search-panel .btn { height: 52px; }
.sp-ico { position: absolute; left: 16px; top: 15px; color: var(--muted); }
.sp-ico svg { width: 22px; height: 22px; }

.mnav { position: fixed; inset: 0; z-index: 80; background: var(--bg); display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; }
.mnav.open { transform: none; visibility: visible; }
.mnav-head { display: flex; align-items: center; justify-content: space-between; height: 68px; padding: 0 var(--gut); border-bottom: 1px solid var(--line); }
.mnav-body { flex: 1; overflow: auto; padding: 12px var(--gut) 20px; }
.mnav-big { display: block; padding: 12px 0; font-family: var(--display); font-size: 24px; letter-spacing: -.03em; border-bottom: 1px solid var(--line); }
.mnav-cats { display: grid; gap: 2px; padding: 8px 0 14px; border-bottom: 1px solid var(--line); }
.mnav-cats a { display: flex; justify-content: space-between; padding: 8px 0; color: var(--ink-2); }
.mnav-cats em { font-style: normal; color: var(--muted); font-size: 13px; }
.mnav-foot { padding: 16px var(--gut) calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 8px; text-align: center; }
.mnav-foot small { color: var(--muted); }

/* ---------- hero ---------- */
.hero { padding: clamp(24px, 4vw, 56px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { margin: 22px 0 22px; font-size: clamp(40px, 6.4vw, 92px); line-height: .98; letter-spacing: -.05em; }
.hero h1 em { font-style: normal; color: var(--ember); position: relative; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .09em; background: currentColor; opacity: .25; border-radius: 4px; }
.hero .lead { margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px clamp(20px, 3vw, 44px); margin: 44px 0 0; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-facts dt { font-family: var(--display); font-size: clamp(20px, 2vw, 26px); letter-spacing: -.03em; }
.hero-facts dd { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
.hero-visual { position: relative; padding: 0 0 56px 36px; }
.hero-main { margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4/4.4; box-shadow: 0 40px 80px -40px rgba(20,22,25,.45); }
.hero-main img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; animation: heroZoom 18s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-sub { position: absolute; left: 0; bottom: 0; width: 38%; margin: 0; border-radius: 20px; overflow: hidden; border: 6px solid var(--bg); aspect-ratio: 1; box-shadow: var(--shadow); }
.hero-sub img { width: 100%; height: 100%; object-fit: cover; }
.hero-chip { position: absolute; right: 18px; top: 22px; display: flex; align-items: center; gap: 12px; max-width: 320px; padding: 12px 16px 12px 12px; border-radius: 18px; background: rgba(251,250,248,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow); font-size: 13px; line-height: 1.3; transition: transform .25s var(--ease); }
.hero-chip:hover { transform: translateY(-3px); }
.hero-chip b { display: block; font-size: 14px; }
.hero-chip small { color: var(--muted); }
.hero-chip > svg { width: 18px; height: 18px; color: var(--ember); }
.hero-chip-ico { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--ember); color: #fff; }
.hero-chip-ico svg { width: 22px; height: 22px; }
.ticker { margin-top: clamp(40px, 6vw, 72px); background: var(--ink); color: #f1eee9; overflow: hidden; padding: 16px 0; }
.ticker-track { display: flex; gap: 28px; width: max-content; animation: tick 40s linear infinite; font-family: var(--display); font-size: clamp(14px, 1.3vw, 17px); letter-spacing: -.01em; white-space: nowrap; }
.ticker-track i { font-style: normal; color: var(--ember); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-sm { padding: clamp(40px, 5vw, 64px) 0; }
.section-paper { background: var(--paper); }
.section-dark { background: var(--steel); color: #eceae6; }
.section-dark .sh p { color: #a9aeb4; }
.sh { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.sh h2 { margin: 0; }
.sh p { margin: 14px 0 0; color: var(--ink-2); max-width: 620px; font-size: 17px; }

/* ---------- bento categories ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 14px; }
.bento-tile { position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: var(--card); overflow: hidden; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; isolation: isolate; }
.bento-tile:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(20,22,25,.35); }
.bento-big { grid-column: span 2; grid-row: span 2; }
.bento-tile:nth-child(2) { grid-column: span 2; }
.bento-media { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; background: #f1efeb; overflow: hidden; }
.bento-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.bento-tile:hover .bento-media img { transform: scale(1.05); }
.bento-media > svg { width: 64px; height: 64px; color: var(--ink-2); }
.bento-body { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 16px 18px 18px; }
.bento-body h3 { margin: 0 0 2px; font-size: 17px; }
.bento-body small { font-size: 13px; color: var(--muted); line-height: 1.35; display: block; }
.bento-n { flex-shrink: 0; min-width: 40px; height: 32px; padding: 0 10px; border-radius: 999px; background: var(--bg); display: grid; place-items: center; font-size: 13px; font-weight: 600; transition: background .2s, color .2s; }
.bento-tile:hover .bento-n { background: var(--ember); color: #fff; }
.bento-big .bento-body { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 18px 20px; border-radius: var(--r-sm); background: rgba(251,250,248,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.bento-big .bento-body h3 { font-family: var(--display); font-weight: 500; font-size: clamp(20px, 2vw, 26px); letter-spacing: -.03em; }
.bento-big .bento-media img { object-position: 50% 40%; }

/* ---------- blueprint (чертёж вместо фото) ---------- */
.bp { position: relative; width: 100%; height: 100%; display: block; color: var(--ink-2);
  background-color: #eef0f0; background-image: linear-gradient(rgba(60,80,95,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(60,80,95,.07) 1px, transparent 1px); background-size: 16px 16px; background-position: center; }
.bp svg { position: absolute; left: 7%; top: 8%; width: 86%; height: 78%; overflow: visible; }
.bp-lg svg { left: 8%; top: 8%; width: 84%; height: 80%; }
.bp .draw { fill: rgba(255,255,255,.55); stroke: #3a4651; stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.bp .draw * { vector-effect: non-scaling-stroke; }
.bp .draw .smoke { fill: none; stroke: var(--ember); opacity: .8; }
.bp .draw .leaf { fill: rgba(98,130,86,.18); stroke: #5d7a52; }
.bp .dim { stroke: #8a96a0; stroke-width: 1; fill: #66727c; font-family: var(--font); }
.bp .dim line { vector-effect: non-scaling-stroke; }
.bp .dim text { stroke: none; font-weight: 500; }
.bp-note { position: absolute; left: 12px; bottom: 10px; font-size: 11px; letter-spacing: .04em; color: #6d7881; text-transform: uppercase; font-weight: 600; }
.bp-ico { display: grid; place-items: center; }
.bp-ico svg { position: static; width: 38%; height: auto; color: #5f6b75; }
.bp-lg { border-radius: var(--r); background-size: 22px 22px; }
.bp-lg .draw { stroke-width: 1.6; }
.bp-lg .bp-note { left: 20px; bottom: 16px; font-size: 12px; }

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(20,22,25,.3); border-color: var(--line-2); }
.card-media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #f1efeb; }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; gap: 6px; }
.card-dims { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.card-title { font-weight: 600; font-size: 15.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title::after { content: ""; position: absolute; inset: 0; }
.card-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-family: var(--display); font-weight: 500; font-size: 18px; letter-spacing: -.03em; white-space: nowrap; }
.price-req { font-family: var(--font); font-size: 14px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.add-btn { position: relative; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .2s var(--ease); }
.add-btn svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.add-btn:hover { background: var(--ember); }
.add-btn:hover svg { transform: rotate(90deg); }
.add-btn.added { background: var(--ok); }

.rail { position: relative; }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, calc((100% - 48px) / 4)); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; margin: -4px -2px 0; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-track > * { scroll-snap-align: start; }
.rail-nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; }
.rail-nav .ib { border-color: var(--line-2); }
.rail-nav .ib:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.rail-nav .ib[disabled] { opacity: .35; pointer-events: none; }

/* ---------- constructor ---------- */
.kit { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; }
.kit-stage, .kit-palette { border-radius: var(--r); background: var(--steel-2); border: 1px solid rgba(255,255,255,.07); }
.kit-stage { display: flex; flex-direction: column; overflow: hidden; }
.kit-canvas { position: relative; padding: 28px 24px 8px; min-height: 280px; display: grid; place-items: center;
  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: 20px 20px; }
#kit-svg { width: 100%; height: 260px; overflow: visible; }
#kit-svg .draw { fill: rgba(255,255,255,.05); stroke: #e7e3dd; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
#kit-svg .draw * { vector-effect: non-scaling-stroke; }
#kit-svg .draw .smoke { fill: none; stroke: var(--ember); }
#kit-svg .mod { transition: transform .4s var(--ease); }
#kit-svg .mod.new .draw { animation: popIn .5s var(--ease); transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes popIn { from { opacity: 0; transform: translateY(14px); } }
#kit-svg .dim line { stroke: #8d949b; vector-effect: non-scaling-stroke; }
#kit-svg .dim text { fill: #c2c6ca; font-family: var(--font); font-weight: 500; }
#kit-svg .lbl { fill: #8d949b; font-family: var(--font); font-weight: 600; }
#kit-svg .floor { stroke: #59616a; vector-effect: non-scaling-stroke; }
.kit-empty { fill: #8d949b; font-family: var(--font); }
.kit-line { display: flex; gap: 8px; flex-wrap: wrap; padding: 8px 20px 16px; min-height: 52px; }
.kit-item { display: inline-flex; align-items: center; gap: 2px; padding: 3px 3px 3px 12px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: 13px; color: #e7e3dd; animation: popIn .35s var(--ease); }
.kit-item b { font-weight: 600; margin-right: 6px; }
.kit-item button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: transparent; color: #aab0b6; cursor: pointer; display: grid; place-items: center; }
.kit-item button:hover { background: rgba(255,255,255,.12); color: #fff; }
.kit-item button svg { width: 15px; height: 15px; }
.kit-item button[disabled] { opacity: .25; pointer-events: none; }
.kit-sum { display: grid; grid-template-columns: auto auto 1fr; gap: 18px 28px; align-items: end; padding: 20px 20px 22px; border-top: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.14); }
.kit-k { display: block; font-size: 12px; color: #9aa0a6; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.kit-sum b { font-family: var(--display); font-weight: 500; font-size: clamp(20px, 2vw, 26px); letter-spacing: -.03em; color: #fff; white-space: nowrap; }
.kit-sum > div:nth-child(3) b { color: #ffb08f; }
.kit-actions { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; }
.kit-actions .btn svg { width: 18px; height: 18px; }
.kit-palette { padding: 18px; display: flex; flex-direction: column; }
.kit-pal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; color: #fff; }
.kit-reset { background: none; border: 0; color: #9aa0a6; cursor: pointer; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.kit-reset:hover { color: #fff; }
.kit-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kit-opt { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 10px; padding: 8px 10px 8px 8px; border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.03); color: #e7e3dd; text-align: left; cursor: pointer; position: relative; transition: background .2s, border-color .2s, transform .15s; }
.kit-opt:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.kit-opt:active { transform: scale(.97); }
.kit-opt svg { width: 48px; height: 48px; overflow: visible; }
.kit-opt .draw { fill: none; stroke: #cfcac3; stroke-width: 1.2; }
.kit-opt .draw * { vector-effect: non-scaling-stroke; }
.kit-opt .draw .smoke { stroke: var(--ember); }
.kit-opt-t b { display: block; font-size: 13px; font-weight: 600; line-height: 1.25; }
.kit-opt-t small { display: block; font-size: 12px; color: #9aa0a6; margin-top: 2px; }
.kit-plus { position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--ember); color: #fff; opacity: 0; transform: scale(.6); transition: .2s var(--ease); }
.kit-plus svg { width: 12px; height: 12px; }
.kit-opt:hover .kit-plus { opacity: 1; transform: none; }
.kit-note { margin: 14px 0 0; font-size: 13px; color: #9aa0a6; line-height: 1.5; }
.page-hero + .section-sm .kit, .section-sm > .wrap > .kit { --x: 0; }
.section-sm .kit { background: var(--steel); padding: 16px; border-radius: calc(var(--r) + 8px); }

/* ---------- materials ---------- */
.mats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mat { display: flex; flex-direction: column; padding: 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
a.mat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mat h3 { margin: 0 0 8px; font-size: 19px; }
.mat p { font-size: 14.5px; color: var(--ink-2); flex: 1; }
.mat .link-arrow { font-size: 14px; }
.mat-k { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; margin: 18px 0 6px; }
.mat-sw { display: block; height: 120px; border-radius: var(--r-sm); position: relative; overflow: hidden; }
.mat-sw::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.45) 48%, transparent 60%); transform: translateX(-60%); transition: transform .9s var(--ease); }
.mat:hover .mat-sw::after { transform: translateX(60%); }
.m-steel { background: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 1px, transparent 1px 3px), linear-gradient(135deg, #c9ced2, #9ea5ab 40%, #e2e5e7 55%, #a9afb4); }
.m-zinc { background: radial-gradient(circle at 20% 30%, rgba(255,255,255,.5) 0 8%, transparent 9%), radial-gradient(circle at 70% 60%, rgba(255,255,255,.35) 0 12%, transparent 13%), radial-gradient(circle at 45% 85%, rgba(0,0,0,.08) 0 10%, transparent 11%), radial-gradient(circle at 85% 15%, rgba(0,0,0,.06) 0 9%, transparent 10%), linear-gradient(135deg, #b9c0c4, #8f989e 50%, #c4cacd); background-size: 60px 60px, 80px 80px, 70px 70px, 90px 90px, 100% 100%; }
.m-powder { background: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.2px) 0 0/4px 4px, linear-gradient(135deg, #34393e, #24282c); }
.mat-colors { background: var(--steel); color: #eceae6; border-color: transparent; }
.mat-colors p { color: #b5b9bd; }
.mat-colors .mat-k { margin-top: 0; color: #9aa0a6; }
.sws { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 12px; }
.sw { width: 34px; height: 34px; border-radius: 50%; background: var(--c); border: 2px solid rgba(255,255,255,.2); box-shadow: inset 0 -4px 8px rgba(0,0,0,.18); transition: transform .2s var(--ease); }
.sw:hover { transform: scale(1.15); }
.mat-colors small { font-size: 12px; color: #8d949b; }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.steps li { position: relative; padding: 26px 22px 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: -14px; width: 14px; height: 1px; background: var(--line-2); }
.step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--display); font-size: 14px; margin-bottom: 26px; }
.steps li:hover .step-n { background: var(--ember); }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

/* ---------- mosaic & masonry ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; }
.mosaic a { border-radius: var(--r-sm); overflow: hidden; background: #fff; }
.mosaic a.g0 { grid-column: span 2; grid-row: span 2; }
.mosaic a.g5 { grid-column: span 2; }
.mosaic img, .masonry img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mosaic a:hover img, .masonry a:hover img { transform: scale(1.05); }
.masonry { columns: 4 240px; column-gap: 12px; margin-top: 20px; }
.masonry a { display: block; margin-bottom: 12px; border-radius: var(--r-sm); overflow: hidden; break-inside: avoid; background: #fff; }
.masonry img { height: auto; }

/* ---------- FAQ & forms ---------- */
.faq-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq details, .acc { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary, .acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker, .acc summary::-webkit-details-marker { display: none; }
.faq-i { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .3s var(--ease), background .2s, color .2s, border-color .2s; }
.faq-i svg { width: 16px; height: 16px; }
details[open] > summary .faq-i { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq details p { margin: 0 0 22px; color: var(--ink-2); max-width: 640px; }
.form-card { padding: clamp(22px, 3vw, 34px); border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.form-card-dark { background: var(--steel); color: #eceae6; border: 0; position: sticky; top: calc(var(--hdr) + 20px); overflow: hidden; }
.form-card-dark::before { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(228,87,46,.45), transparent 65%); pointer-events: none; }
.form-card-dark h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.03em; font-size: 24px; }
.form-card-dark .muted { color: #a9aeb4; }
.form-card-dark .field input, .form-card-dark .field textarea { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; }
.form-card-dark .field span, .form-card-dark .check { color: #b5b9bd; }
.form-card-dark a { color: #fff; }
.cb-form { position: relative; }
.cb-form h3 { margin-bottom: 8px; }
.fields2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: block; margin-top: 14px; }
.field span { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea, input[type=search]#search-q { width: 100%; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r-xs); background: #fff; font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus, #search-q:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 4px rgba(228,87,46,.15); }
.field textarea { resize: vertical; min-height: 92px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 18px; font-size: 13.5px; color: var(--muted); }
.check input { margin-top: 3px; accent-color: var(--ember); width: 16px; height: 16px; }
.check a { text-decoration: underline; text-underline-offset: 2px; }
.form-result:not(:empty) { margin-top: 14px; }
.form-ok { padding: 14px 16px; border-radius: var(--r-xs); background: #e3f2e8; color: #1f5c38; font-weight: 500; }
.form-err { padding: 14px 16px; border-radius: var(--r-xs); background: var(--ember-soft); color: #8a2f13; }
.form-err a { text-decoration: underline; }
.split-cta { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.ticks svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--ember-soft); color: var(--ember); }

/* ---------- articles ---------- */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.article-card { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.article-card .m { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--steel); }
.article-card .m img { width: 100%; height: 100%; object-fit: cover; }
.ac-pattern { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 4px), linear-gradient(135deg, #2c3238, #1b1f23 60%, #3a2a22); }
.article-card:nth-child(3n+2) .ac-pattern { background: repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 1px, transparent 1px 3px), linear-gradient(135deg, #b9c0c4, #8f989e 55%, #c9ced2); }
.article-card:nth-child(3n) .ac-pattern { background: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1.3px) 0 0/5px 5px, linear-gradient(135deg, #e4572e, #a63a1a); }
.ac-tag { position: absolute; left: 16px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.9); font-size: 12px; font-weight: 600; }
.article-card .b { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.article-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.article-card p { font-size: 14.5px; color: var(--ink-2); flex: 1; }
.article-card .more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.article-card .more svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.article-card:hover .more svg { transform: translateX(4px); }

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: #c9ccd0; padding: clamp(56px, 7vw, 96px) 0 28px; overflow: hidden; }
.ftr a:hover { color: #fff; }
.ftr-cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid rgba(255,255,255,.1); }
.ftr-cta h2 { color: #fff; margin: 0; max-width: 760px; font-size: clamp(26px, 3.4vw, 46px); }
.ftr-cta h2 span { color: var(--ember); }
.ftr-cta-row { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; padding: 48px 0 24px; }
.ftr-brand p { margin-top: 18px; font-size: 14.5px; max-width: 320px; color: #9aa0a6; }
.ftr h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; font-weight: 600; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; }
.ftr-contacts li { display: flex; gap: 10px; align-items: flex-start; }
.ftr-contacts svg { width: 18px; height: 18px; margin-top: 3px; color: var(--ember); }
.ftr-contacts small { color: #8d949b; }
.ftr-word { display: block; width: 100%; height: auto; margin: 20px 0 28px; user-select: none; }
.ftr-word text { font-family: var(--display); font-weight: 600; font-size: 168px; letter-spacing: -.04em; fill: none; stroke: rgba(255,255,255,.13); stroke-width: 1; }
.ftr-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #7d848b; }

/* ---------- inner pages ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 22px; padding-bottom: 4px; font-size: 13.5px; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { opacity: .5; }
.page-hero { padding-top: clamp(18px, 3vw, 36px); padding-bottom: clamp(22px, 3vw, 36px); }
.page-hero h1 { max-width: 980px; }
.page-hero .lead { margin: 6px 0 0; }
.page-head { padding: 24px 0 20px; }
.page-head h1 { font-size: clamp(30px, 4vw, 52px); }
.page { padding-bottom: 60px; }

.catalog { padding-bottom: 80px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.chips-scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: calc(var(--gut) * -1); margin-right: calc(var(--gut) * -1); padding: 2px var(--gut); }
.chips-scroll::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14.5px; font-weight: 500; white-space: nowrap; background: transparent; transition: background .2s, color .2s, border-color .2s; }
.chip em { font-style: normal; font-size: 12px; color: var(--muted); }
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.active em { color: #9aa0a6; }
.chip-sm { height: 34px; padding: 0 14px; font-size: 13.5px; background: var(--card); border-color: var(--line); }
.chip-sm.active { background: var(--ember); border-color: var(--ember); }
.promo-kit { display: flex; align-items: center; gap: 16px; margin: 18px 0 6px; padding: 14px 20px 14px 14px; border-radius: var(--r); background: var(--steel); color: #eceae6; transition: transform .25s var(--ease); }
.promo-kit:hover { transform: translateY(-2px); }
.promo-kit b { display: block; font-size: 16px; color: #fff; }
.promo-kit small { color: #a9aeb4; font-size: 14px; }
.promo-kit > svg { margin-left: auto; width: 22px; height: 22px; color: var(--ember); }
.promo-ico { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.06); color: #fff; }
.promo-ico svg { width: 38px; height: 38px; }
.promo-kit-sm { margin-top: 22px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0; margin-bottom: 6px; }
.tb-count { color: var(--muted); font-size: 14.5px; }
.tb-count b { color: var(--ink); }
.tb-right { display: flex; gap: 16px; align-items: center; }
.switch { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; }
.switch span { width: 40px; height: 24px; border-radius: 12px; background: var(--line-2); position: relative; transition: background .2s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--ember); }
.switch input:checked + span::after { transform: translateX(16px); }
.switch input:focus-visible + span { outline: 2px solid var(--ember); outline-offset: 2px; }
.select { position: relative; }
.select select { appearance: none; height: 42px; padding: 0 40px 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); font: inherit; font-size: 14.5px; cursor: pointer; }
.select svg { position: absolute; right: 14px; top: 14px; pointer-events: none; }
.card.hide { display: none; }
.cat-intro { margin-top: 56px; padding: clamp(22px, 3vw, 40px); border-radius: var(--r); background: var(--card); border: 1px solid var(--line); max-width: 920px; }
.cat-intro.collapsed { max-height: 280px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.more-btn { margin-top: 12px; background: none; border: 0; font-weight: 600; color: var(--ember); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }

.rich { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
.rich h2 { font-size: clamp(22px, 2.4vw, 30px); margin: 1.6em 0 .6em; color: var(--ink); }
.rich h3 { margin: 1.4em 0 .5em; color: var(--ink); }
.rich > :first-child { margin-top: 0; }
.rich a { color: var(--ember); text-decoration: underline; text-underline-offset: 3px; }
.rich img { border-radius: var(--r-sm); margin: 1.2em 0; }
.rich ul, .rich ol { padding-left: 1.3em; }
.rich li { margin: .3em 0; }
.rich table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 15px; }
.rich td, .rich th { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.rich blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--ember); color: var(--ink); }

/* product */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 64px); padding: 18px 0 40px; align-items: start; }
.p-media { position: sticky; top: calc(var(--hdr) + 16px); }
.gallery-main { position: relative; border-radius: var(--r); overflow: hidden; background: #f1efeb; aspect-ratio: 1; cursor: zoom-in; border: 1px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 6%; mix-blend-mode: multiply; }
.zoom-hint { position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; box-shadow: var(--shadow); }
.zoom-hint svg { width: 20px; height: 20px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; margin-top: 10px; }
.thumbs button { aspect-ratio: 1; border-radius: var(--r-xs); border: 2px solid transparent; background: #f1efeb; padding: 0; cursor: pointer; overflow: hidden; }
.thumbs button img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.thumbs button.active { border-color: var(--ember); }
.gallery-bp .bp { aspect-ratio: 1; border: 1px solid var(--line); }
.bp-cap { display: flex; gap: 10px; align-items: flex-start; margin: 12px 4px 0; font-size: 14px; color: var(--muted); }
.bp-cap svg { width: 20px; height: 20px; margin-top: 1px; }
.p-meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; font-size: 13.5px; color: var(--muted); }
.sku { padding: 4px 10px; border-radius: 6px; background: var(--paper); font-weight: 600; color: var(--ink-2); }
.stock { display: inline-flex; align-items: center; gap: 8px; }
.stock i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(46,125,79,.15); }
.p-info h1 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.12; margin-bottom: 14px; }
.p-short { color: var(--ink-2); font-size: 17px; }
.p-short p { margin: 0 0 .6em; }
.p-dims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 22px 0; }
.p-dims div { padding: 14px 16px; border-radius: var(--r-sm); background: var(--card); border: 1px solid var(--line); }
.p-dims span { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.p-dims b { font-family: var(--display); font-weight: 500; font-size: 26px; letter-spacing: -.03em; }
.p-dims small { margin-left: 4px; color: var(--muted); }
.p-buy { padding: 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 12px; }
.p-price .price { font-size: clamp(30px, 3vw, 40px); }
.price-old { margin-left: 12px; text-decoration: line-through; color: var(--muted); }
.p-buy-row { display: flex; gap: 10px; }
.p-buy-row .btn svg { width: 20px; height: 20px; }
.qty { display: inline-flex; align-items: center; height: 50px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; }
.qty button { width: 40px; height: 100%; border: 0; background: transparent; font-size: 20px; cursor: pointer; color: var(--ink-2); }
.qty input { width: 40px; border: 0; text-align: center; font: inherit; font-weight: 600; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.p-note { margin: 0; font-size: 13.5px; color: var(--muted); }
.p-perks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.p-perks li { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--ink-2); line-height: 1.35; }
.p-perks svg { width: 38px; height: 38px; padding: 8px; border-radius: 10px; background: var(--paper); color: var(--ink); }
.p-details { max-width: 920px; padding-bottom: 24px; }
.acc summary h2 { margin: 0; font-size: clamp(20px, 2vw, 26px); }
.acc-b { padding-bottom: 28px; }
.p-specs { width: 100%; border-collapse: collapse; max-width: 640px; font-size: 15px; }
.p-specs th, .p-specs td { padding: 12px 0; border-bottom: 1px dashed var(--line-2); text-align: left; vertical-align: top; }
.p-specs th { font-weight: 500; color: var(--muted); width: 40%; }
.m-buybar { display: none; }

/* generic page */
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: 40px; }
.page-body { max-width: 760px; }
.page-cover { border-radius: var(--r); overflow: hidden; margin-bottom: 28px; }
.aside-card { position: sticky; top: calc(var(--hdr) + 20px); padding: 26px; border-radius: var(--r); background: var(--steel); color: #d8d6d2; }
.aside-card h3 { color: #fff; font-size: 20px; }
.aside-card p { font-size: 14.5px; color: #a9aeb4; }
.aside-tel { display: block; font-family: var(--display); font-size: 22px; letter-spacing: -.03em; color: #fff; margin-bottom: 6px; }
.aside-small a { color: #fff; }

/* contacts */
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 80px; }
.c-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.c-card { display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.c-card svg { width: 26px; height: 26px; color: var(--ember); margin-bottom: 12px; }
.c-card span { font-size: 13px; color: var(--muted); }
.c-card b { font-size: 18px; font-weight: 600; line-height: 1.3; }
.c-card small { font-size: 13.5px; color: var(--muted); }
.c-accent { background: var(--ember); border-color: var(--ember); color: #fff; }
.c-accent svg, .c-accent span, .c-accent small { color: rgba(255,255,255,.85); }
.c-accent b { font-family: var(--display); font-weight: 500; font-size: 22px; letter-spacing: -.03em; }
.c-map { display: flex; flex-direction: column; gap: 10px; }
.c-map iframe { flex: 1; min-height: 360px; width: 100%; border: 0; border-radius: var(--r); background: var(--paper); }
.c-warn { display: flex; gap: 10px; align-items: center; margin: 0; font-size: 14px; color: var(--ink-2); padding: 12px 16px; border-radius: var(--r-sm); background: var(--ember-soft); }
.c-warn svg { width: 20px; height: 20px; color: var(--ember); }
.c-req { padding: 26px; border-radius: var(--r); background: var(--paper); }
.c-req dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 0; font-size: 15px; }
.c-req dt { color: var(--muted); }
.c-req dd { margin: 0; font-weight: 500; }

/* cart (разметка основного сайта) */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; padding-bottom: 80px; }
.cart-list { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 8px 22px; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto auto 32px; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border-bottom: 0; }
.cart-item .im { width: 72px; height: 72px; border-radius: 12px; background: #eef0f0; overflow: hidden; display: grid; place-items: center; }
.cart-item .im img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cart-item .im .ph svg { width: 32px; height: 32px; color: var(--muted); }
.cart-item .t a { font-weight: 600; line-height: 1.3; display: block; }
.cart-item .t small { color: var(--muted); }
.cart-item .qty { height: 40px; }
.cart-item .qty button { width: 32px; }
.cart-item .lt { font-size: 16px; }
.cart-item .rm { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--paper); cursor: pointer; font-size: 18px; color: var(--muted); }
.cart-item .rm:hover { background: var(--ember); color: #fff; }
.cart-empty { padding: 40px 0; text-align: center; }
.summary { position: sticky; top: calc(var(--hdr) + 16px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); }
.summary .row { display: flex; justify-content: space-between; padding: 6px 0; }
.summary .total { font-family: var(--display); font-size: 22px; letter-spacing: -.03em; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.summary .p-note { margin-top: 12px; }

/* 404 */
.nf { text-align: center; padding: clamp(60px, 10vw, 140px) var(--gut); }
.nf-code { display: block; font-family: var(--display); font-size: clamp(90px, 18vw, 220px); line-height: .9; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px var(--ember); margin-bottom: 20px; }
.nf .lead { margin: 0 auto 28px; }
.nf .hero-cta { justify-content: center; }

/* toast & lightbox */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 14px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14.5px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.4); transition: .3s var(--ease); max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: #ffb08f; font-weight: 600; margin-left: 6px; }
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(12,13,15,.94); display: none; place-items: center; padding: 40px; }
.lb.open { display: grid; }
.lb img { max-width: 100%; max-height: calc(100vh - 80px); border-radius: 12px; }
.lb button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; font-size: 28px; cursor: pointer; }
.lb button:hover { background: var(--ember); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; }
.lb-next { right: 20px; top: 50%; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav > a:not([aria-current]):nth-last-child(-n+2) { display: none; }
  .hdr-phone { display: none; }
  .mats { grid-template-columns: 1fr 1fr; }
  .kit { grid-template-columns: 1fr; }
  .kit-opts { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  :root { --hdr: 64px; }
  .nav { display: none; }
  .burger { display: inline-grid; }
  .hdr-in { gap: 12px; justify-content: space-between; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { padding: 0 0 40px 24px; }
  .hero-main { aspect-ratio: 4/3; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 210px; }
  .bento-tile:nth-child(2) { grid-column: span 1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li::after { display: none; }
  .faq-grid, .split-cta, .product, .page-grid, .contacts, .cart-layout { grid-template-columns: 1fr; }
  .p-media, .aside-card, .summary, .form-card-dark { position: static; }
  .articles { grid-template-columns: 1fr 1fr; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .ftr-cta { flex-direction: column; align-items: flex-start; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .rail-track { grid-auto-columns: minmax(240px, 42%); }
  .m-buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: rgba(251,250,248,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(100%); transition: transform .3s var(--ease); }
  .m-buybar.show { transform: none; }
  .m-buybar div { min-width: 0; }
  .m-buybar b { font-family: var(--display); font-weight: 500; font-size: 18px; letter-spacing: -.03em; display: block; }
  .m-buybar small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .hero h1 { font-size: clamp(38px, 11.5vw, 56px); }
  .hero-facts { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero-facts dd { font-size: 12.5px; }
  .hero-chip { right: 10px; top: 10px; left: 34px; max-width: none; }
  .hero-cta .btn { flex: 1; }
  .sh { flex-direction: column; align-items: flex-start; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 180px; }
  .bento-big { grid-column: auto; grid-row: span 2; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card { border-radius: 16px; }
  .card-body { padding: 10px 12px 12px; }
  .card-title { font-size: 14px; }
  .card-dims { font-size: 11px; }
  .price { font-size: 16px; }
  .add-btn { width: 36px; height: 36px; }
  .bp-note { display: none; }
  .rail-track { grid-auto-columns: 72%; }
  .mats, .steps, .articles, .c-cards { grid-template-columns: 1fr; }
  .fields2 { grid-template-columns: 1fr; gap: 0; }
  .kit-opts { grid-template-columns: 1fr 1fr; }
  .kit-canvas { min-height: 200px; padding: 18px 10px 4px; }
  #kit-svg { height: 190px; }
  .kit-sum { grid-template-columns: 1fr 1fr; gap: 14px; }
  .kit-sum > div:nth-child(3) { grid-column: 1 / -1; }
  .kit-actions { flex-direction: column; }
  .kit-actions .btn { width: 100%; }
  .section-sm .kit { padding: 8px; }
  .p-dims b { font-size: 20px; }
  .p-perks { grid-template-columns: 1fr; }
  .ftr-grid { grid-template-columns: 1fr; }
  .tb-right { width: 100%; justify-content: space-between; }
  .cart-item { grid-template-columns: 56px 1fr 32px; }
  .cart-item .im { width: 56px; height: 56px; }
  .cart-item .qty { grid-column: 2; }
  .cart-item .lt { grid-column: 2; }
  .cart-item .rm { grid-row: 1; grid-column: 3; }
  .lb { padding: 12px; }
}
