:root {
  --bg: #f3f3ef;
  --surface: #ffffff;
  --ink: #111214;
  --ink-2: #2a2c31;
  --muted: #6b6f76;
  --line: #e3e3dd;
  --accent: #ff4d00;
  --accent-2: #ff7a3d;
  --accent-soft: #fff0e8;
  --dark: #0d0e11;
  --dark-2: #17191e;
  --ok: #138a4b;
  --ok-soft: #e7f6ee;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(17, 18, 20, .18);
  --head: "Unbounded", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1280px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 15px/1.5 var(--body); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; letter-spacing: -.01em; line-height: 1.15; margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.hide { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 13px 20px; font-weight: 800; font-size: 15px; background: var(--ink); color: #fff; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-accent { background: var(--accent); box-shadow: 0 8px 20px -8px rgba(255, 77, 0, .6); }
.btn-accent:hover { background: #ff5f1a; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 17px 26px; font-size: 16px; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 12px; border: 0; background: transparent; position: relative; }
.icon-btn:hover { background: rgba(0, 0, 0, .05); }
.icon-btn svg, .btn svg { width: 22px; height: 22px; }
.badge-count { position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }

/* ---------- header ---------- */
.topbar { background: var(--dark); color: #c9cbd1; font-size: 13px; }
.topbar .wrap { display: flex; gap: 22px; align-items: center; height: 36px; overflow: hidden; }
.topbar span { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.topbar b { color: #fff; }
.topbar .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 18px; height: 70px; }
.logo { font-family: var(--head); font-weight: 800; font-size: 22px; letter-spacing: .01em; display: flex; align-items: center; gap: 9px; color: var(--ink); white-space: nowrap; --logo-hub: #fff; }
.logo-mark { width: 34px; height: 34px; color: var(--accent); flex: none; transition: transform .5s ease; }
.logo:hover .logo-mark { transform: rotate(72deg); }
.logo-kz { font-weight: 600; font-size: 10px; letter-spacing: .06em; background: var(--accent); color: #fff; border-radius: 5px; padding: 3px 5px; line-height: 1; margin-left: -1px; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 9px 12px; border-radius: 10px; font-weight: 700; }
.nav a:hover, .nav a.on { background: var(--bg); }
.search { flex: 1; position: relative; max-width: 460px; }
.search input { width: 100%; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); padding: 0 14px 0 42px; outline: none; }
.search input:focus { border-color: var(--ink); background: #fff; }
.search svg { position: absolute; left: 13px; top: 12px; width: 20px; height: 20px; color: var(--muted); }
.suggest { position: absolute; top: 50px; left: 0; right: 0; background: #fff; border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; z-index: 60; }
.suggest a { display: flex; gap: 12px; align-items: center; padding: 9px 12px; }
.suggest a:hover, .suggest a.on { background: var(--bg); }
.suggest img { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 8px; }
.suggest .s-name { font-size: 14px; font-weight: 700; line-height: 1.3; }
.suggest .s-price { font-size: 13px; color: var(--accent); font-weight: 800; }
.suggest .s-all { justify-content: center; font-weight: 800; border-top: 1px solid var(--line); }
.head-phone { text-align: right; line-height: 1.2; }
.head-phone a { font-weight: 800; font-size: 16px; white-space: nowrap; }
.head-phone small { display: block; color: var(--muted); font-size: 12px; }
.head-actions { display: flex; gap: 2px; margin-left: auto; }
.burger { display: none; }

/* ---------- mobile menu ---------- */
.drawer-bg { position: fixed; inset: 0; background: rgba(13, 14, 17, .5); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .2s; }
.drawer-bg.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; bottom: 0; width: min(420px, 100%); background: var(--surface); z-index: 90; transition: transform .25s ease; display: flex; flex-direction: column; }
.drawer.left { left: 0; transform: translateX(-100%); }
.drawer.right { right: 0; transform: translateX(100%); }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 18px; }
.drawer-body { flex: 1; overflow: auto; padding: 16px; }
.drawer-foot { padding: 16px; border-top: 1px solid var(--line); }
.menu-list a { display: flex; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 17px; }

/* ---------- hero ---------- */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(255, 77, 0, .35), transparent 60%), radial-gradient(800px 400px at 0% 120%, rgba(255, 122, 61, .12), transparent 60%), var(--dark); color: #fff; overflow: hidden; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 64px; align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); font-size: 13px; font-weight: 700; color: #e6e7ea; }
.hero-kicker b { background: var(--accent); color: #fff; border-radius: 99px; padding: 2px 8px; font-size: 12px; }
.hero h1 { font-size: clamp(32px, 4.6vw, 58px); margin: 18px 0 16px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { color: #b9bcc4; font-size: 18px; max-width: 560px; margin: 0 0 28px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 34px; }
.hero-stats div { font-family: var(--head); font-size: 28px; font-weight: 700; }
.hero-stats small { display: block; font-family: var(--body); font-size: 13px; color: #9a9ea8; font-weight: 600; }

.picker { background: #fff; color: var(--ink); border-radius: 22px; padding: 22px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); }
.picker h3 { font-size: 20px; margin-bottom: 4px; }
.tabs { display: flex; gap: 6px; background: var(--bg); padding: 5px; border-radius: 12px; margin: 14px 0 16px; }
.tabs button { flex: 1; border: 0; background: transparent; padding: 10px 8px; border-radius: 9px; font-weight: 800; font-size: 14px; color: var(--muted); }
.tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.field select, .field input, .field textarea { height: 48px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 12px; background: #fff; outline: none; width: 100%; }
.field textarea { height: 90px; padding: 10px 12px; resize: vertical; }
.field select:focus, .field input:focus, .field textarea:focus { border-color: var(--ink); }
.field.err input, .field.err select, .field.err textarea { border-color: #b42318; background: #fff8f7; }
.err-text { color: #b42318; font-size: 12px; font-weight: 700; }
.err-text:empty { display: none; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.picker .btn { margin-top: 16px; }
.picker-note { font-size: 13px; color: var(--muted); margin-top: 12px; display: flex; gap: 8px; align-items: center; }
.picker-note svg { width: 18px; height: 18px; flex: none; color: var(--ok); }
.fit-result { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--ok-soft); color: var(--ok); font-weight: 700; font-size: 14px; }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 26px; }
.section-head h2 { font-size: clamp(24px, 3vw, 36px); }
.section-head p { margin: 8px 0 0; color: var(--muted); }
.link-more { font-weight: 800; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.link-more:hover { color: var(--accent); }

.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: -34px; position: relative; z-index: 2; }
.perk { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: flex-start; }
.perk-ico { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.perk-ico svg { width: 24px; height: 24px; }
.perk b { display: block; font-size: 15px; }
.perk span { font-size: 13px; color: var(--muted); }

.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat { background: #fff; border-radius: var(--radius); padding: 18px; min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat b { font-family: var(--head); font-size: 16px; position: relative; z-index: 1; }
.cat small { color: var(--muted); font-weight: 700; position: relative; z-index: 1; }
.cat img { position: absolute; right: -18px; bottom: -14px; width: 62%; aspect-ratio: 1; object-fit: contain; transition: transform .3s; }
.cat:hover img { transform: rotate(-8deg) scale(1.05); }
.cat.big { grid-column: span 2; background: var(--ink); color: #fff; }
.cat.big small { color: #9a9ea8; }

/* ---------- product card ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 12px; display: flex; flex-direction: column; position: relative; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-img { aspect-ratio: 1; border-radius: 10px; background: #fff; display: grid; place-items: center; overflow: hidden; position: relative; }
.card-img img { width: 88%; height: 88%; object-fit: contain; transition: transform .35s; }
.card:hover .card-img img { transform: scale(1.05) rotate(-4deg); }
.tags { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; z-index: 1; }
.tag { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 6px; background: var(--ink); color: #fff; text-transform: uppercase; letter-spacing: .03em; }
.tag.t-accent { background: var(--accent); }
.tag.t-ok { background: var(--ok); }
.tag.t-light { background: var(--bg); color: var(--ink); }
.fav { position: absolute; top: 14px; right: 14px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); display: grid; place-items: center; color: var(--muted); }
.fav svg { width: 20px; height: 20px; }
.fav.on { color: var(--accent); }
.fav.on svg { fill: currentColor; }
.card-title { font-weight: 800; font-size: 14px; line-height: 1.3; margin: 12px 2px 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 36px; }
.specs { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 2px 10px; }
.specs span { font-size: 12px; font-weight: 700; background: var(--bg); padding: 3px 7px; border-radius: 6px; color: var(--ink-2); }
.card-foot { margin-top: auto; padding: 0 2px; }
.price { font-family: var(--head); font-weight: 700; font-size: 20px; }
.price small { font-family: var(--body); font-size: 12px; color: var(--muted); font-weight: 700; }
.price-old { color: var(--muted); text-decoration: line-through; font-size: 14px; margin-left: 6px; font-weight: 600; }
.price-set { font-size: 13px; color: var(--muted); font-weight: 600; }
.price-set b { color: var(--ink); }
.split { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 800; color: var(--ink-2); background: var(--bg); padding: 4px 8px; border-radius: 8px; margin-top: 6px; }
.split i { width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(135deg, #ffd600, var(--accent)); display: inline-block; }
.card .btn { margin-top: 10px; }
.card .btn.in { background: var(--ok); }
.fit-ok { font-size: 12px; font-weight: 800; color: var(--ok); display: flex; gap: 4px; align-items: center; margin-bottom: 4px; }
.fit-ok svg { width: 14px; height: 14px; }

/* ---------- catalog page ---------- */
.crumbs { font-size: 13px; color: var(--muted); padding: 18px 0 6px; display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.page-title { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.page-title h1 { font-size: clamp(26px, 3.2vw, 40px); }
.page-title span { color: var(--muted); font-weight: 700; }
.catalog { display: grid; grid-template-columns: 280px 1fr; gap: 20px; align-items: start; padding-bottom: 60px; }
.filters { background: #fff; border-radius: var(--radius); padding: 6px 16px 16px; position: sticky; top: 86px; max-height: calc(100vh - 100px); overflow: auto; }
.f-group { border-bottom: 1px solid var(--line); padding: 14px 0; }
.f-group:last-of-type { border-bottom: 0; }
.f-group h4 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 9px; padding: 6px 10px; font-size: 13px; font-weight: 700; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip small { color: var(--muted); font-weight: 600; margin-left: 3px; }
.chip.on small { color: #aaa; }
.range { display: flex; gap: 8px; }
.range input { width: 100%; height: 40px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 10px; outline: none; }
.f-select { width: 100%; height: 42px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 10px; background: #fff; }
.toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.toolbar select { height: 42px; border: 0; border-radius: 10px; padding: 0 12px; background: #fff; font-weight: 700; }
.active-chips { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.active-chips button { border: 0; background: var(--ink); color: #fff; border-radius: 99px; padding: 6px 10px 6px 12px; font-size: 13px; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.active-chips .clear { background: transparent; color: var(--muted); text-decoration: underline; }
.filters-btn { display: none; }
.fit-banner { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 16px 18px; display: flex; gap: 14px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.fit-banner b { font-family: var(--head); font-size: 16px; }
.fit-banner span { color: #b9bcc4; font-size: 14px; }
.fit-banner button { margin-left: auto; }
.fit-banner select { color: var(--ink); }
.fit-banner select:disabled { background: #2a2c31; border-color: #2a2c31; color: #8a8e96; }
.fit-banner .field label { color: #9a9ea8; }
.empty { background: #fff; border-radius: var(--radius); padding: 40px 24px; text-align: center; }
.empty h3 { font-size: 20px; margin-bottom: 8px; }
.more-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 22px; }
.subnav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { white-space: nowrap; padding: 9px 14px; border-radius: 10px; background: #fff; font-weight: 700; font-size: 14px; }
.subnav a.on { background: var(--ink); color: #fff; }

/* ---------- product page ---------- */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; padding-bottom: 40px; }
.gallery { background: #fff; border-radius: 20px; aspect-ratio: 1; display: grid; place-items: center; position: relative; overflow: hidden; cursor: zoom-in; }
.gallery img { width: 86%; height: 86%; object-fit: contain; transition: transform .2s; }
.gallery.zoom img { transform: scale(1.9); cursor: zoom-out; }
.p-info h1 { font-size: clamp(22px, 2.6vw, 32px); margin-bottom: 10px; }
.p-sku { font-size: 13px; color: var(--muted); margin-bottom: 16px; display: flex; gap: 14px; flex-wrap: wrap; }
.p-sku .stock { color: var(--ok); font-weight: 800; }
.buybox { background: #fff; border-radius: 20px; padding: 20px; margin-bottom: 14px; }
.buybox .price { font-size: 32px; }
.qty { display: inline-flex; align-items: center; background: var(--bg); border-radius: 12px; }
.qty button { width: 44px; height: 48px; border: 0; background: transparent; font-size: 20px; font-weight: 800; }
.qty input { width: 48px; text-align: center; border: 0; background: transparent; font-weight: 800; font-size: 16px; outline: none; }
.buy-row { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.buy-row .btn-accent { flex: 1; }
.p-total { margin-top: 12px; font-size: 14px; color: var(--muted); font-weight: 600; }
.p-total b { color: var(--ink); font-size: 16px; }
.check-fit { background: #fff; border-radius: 20px; padding: 18px 20px; margin-bottom: 14px; }
.check-fit h3 { font-size: 16px; margin-bottom: 10px; }
.fit-msg { margin-top: 10px; padding: 10px 12px; border-radius: 10px; font-weight: 700; font-size: 14px; }
.fit-msg.ok { background: var(--ok-soft); color: var(--ok); }
.fit-msg.no { background: #fdecec; color: #b42318; }
.fit-msg.warn { background: #fff6e0; color: #8a5a00; }
.spec-table { background: #fff; border-radius: 20px; padding: 8px 20px; }
.spec-table div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.spec-table div:last-child { border: 0; }
.spec-table span { color: var(--muted); }
.spec-table b { text-align: right; }
.desc { font-size: 15px; line-height: 1.65; max-width: 900px; }
.desc p { margin: 0 0 12px; }
.desc h3 { font-size: 18px; margin: 4px 0 12px; }
.infos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.info { background: #fff; border-radius: 14px; padding: 14px; font-size: 13px; }
.info b { display: block; font-size: 14px; margin: 6px 0 2px; }
.info svg { width: 22px; height: 22px; color: var(--accent); }

/* ---------- blocks ---------- */
.kit { background: var(--ink); color: #fff; border-radius: 24px; padding: 40px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; overflow: hidden; position: relative; }
.kit h2 { font-size: clamp(24px, 3vw, 38px); margin-bottom: 14px; }
.kit p { color: #b9bcc4; margin: 0 0 22px; font-size: 16px; }
.kit ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.kit li { display: flex; gap: 10px; align-items: center; font-weight: 700; }
.kit li i { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-style: normal; font-size: 12px; flex: none; }
.kit-visual { position: relative; aspect-ratio: 1; }
.kit-visual img { position: absolute; width: 70%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); }
.kit-visual img:first-child { left: 0; top: 0; }
.kit-visual img:last-child { right: 0; bottom: 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.step { background: #fff; border-radius: var(--radius); padding: 22px; position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--head); font-size: 34px; color: var(--accent); font-weight: 700; display: block; margin-bottom: 10px; }
.step b { display: block; font-size: 16px; margin-bottom: 4px; }
.step span { color: var(--muted); font-size: 14px; }
.lead { background: linear-gradient(120deg, var(--accent), #ff7a3d); color: #fff; border-radius: 24px; padding: 36px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center; }
.lead h2 { font-size: clamp(24px, 3vw, 36px); margin-bottom: 10px; }
.lead p { margin: 0; opacity: .9; font-size: 16px; }
.lead form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lead input { height: 52px; border-radius: 12px; border: 0; padding: 0 14px; outline: none; }
.lead .btn { grid-column: span 2; background: var(--ink); }
.lead small { grid-column: span 2; opacity: .85; font-size: 12px; }
.faq details { background: #fff; border-radius: 14px; margin-bottom: 8px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 800; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--ink-2); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.review { background: #fff; border-radius: var(--radius); padding: 20px; }
.review .stars { color: #ffb400; letter-spacing: 2px; }
.brands { display: flex; gap: 10px; flex-wrap: wrap; }
.brands a { background: #fff; border-radius: 12px; padding: 12px 18px; font-weight: 800; font-family: var(--head); font-size: 14px; }
.brands a:hover { background: var(--ink); color: #fff; }
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 42px) / 4); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.scroller > * { scroll-snap-align: start; }

/* ---------- cart ---------- */
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line img { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 10px; border: 1px solid var(--line); }
.cart-line .t { font-weight: 700; font-size: 14px; line-height: 1.3; }
.cart-line .qty { margin-top: 6px; }
.cart-line .qty button { width: 34px; height: 34px; font-size: 16px; }
.cart-line .qty input { width: 34px; font-size: 14px; }
.cart-line .rm { border: 0; background: none; color: var(--muted); font-size: 12px; text-decoration: underline; padding: 0; margin-top: 4px; }
.cart-line .sum { font-weight: 800; white-space: nowrap; text-align: right; }
.totals { display: grid; gap: 6px; margin-bottom: 14px; }
.totals div { display: flex; justify-content: space-between; }
.totals .big { font-family: var(--head); font-size: 22px; font-weight: 700; }
.upsell { background: var(--accent-soft); border-radius: 14px; padding: 14px; margin-top: 16px; }
.upsell b { display: block; margin-bottom: 8px; }
.upsell a { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 10px; padding: 8px; margin-top: 6px; font-size: 13px; font-weight: 700; }
.upsell img { width: 40px; height: 40px; object-fit: contain; }
.checkout { display: grid; grid-template-columns: 1fr 380px; gap: 20px; align-items: start; padding-bottom: 60px; }
.panel { background: #fff; border-radius: 20px; padding: 22px; }
.panel h3 { font-size: 18px; margin-bottom: 14px; }
.panel + .panel { margin-top: 14px; }
.options { display: grid; gap: 8px; }
.opt { display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; }
.opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.opt input { accent-color: var(--accent); width: 18px; height: 18px; }
.opt small { display: block; color: var(--muted); font-size: 12px; }
.consent { display: flex; gap: 10px; font-size: 13px; color: var(--muted); align-items: flex-start; margin: 14px 0; }
.consent input { accent-color: var(--accent); margin-top: 3px; }
.success { text-align: center; padding: 60px 16px 80px; max-width: 560px; margin: 0 auto; }
.success .ok-ico { width: 80px; height: 80px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; margin: 0 auto 20px; }
.success .ok-ico svg { width: 40px; height: 40px; }
.success h1 { font-size: 30px; margin-bottom: 10px; }

/* ---------- modal / toast / float ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(13, 14, 17, .55); z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal { background: #fff; border-radius: 22px; padding: 26px; width: min(440px, 100%); position: relative; max-height: 92vh; overflow: auto; }
.modal h3 { font-size: 22px; margin-bottom: 6px; }
.modal p { margin: 0 0 16px; color: var(--muted); }
.modal .x { position: absolute; top: 12px; right: 12px; }
.modal form { display: grid; gap: 12px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px; font-weight: 700; z-index: 120; opacity: 0; transition: .25s; display: flex; gap: 12px; align-items: center; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translateX(-50%); }
.toast a { color: var(--accent-2); white-space: nowrap; }
.float { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: flex; flex-direction: column; gap: 10px; }
.float a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .4); transition: transform .15s; }
.float a:hover { transform: scale(1.06); }
.float svg { width: 26px; height: 26px; }
.float .tg { background: #229ed9; }
.float .wa { background: #25d366; }
.mbar { display: none; }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: #b9bcc4; padding: 50px 0 30px; margin-top: 40px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
.footer h4 { color: #fff; margin: 0 0 12px; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.footer a { display: block; padding: 4px 0; }
.footer a:hover { color: #fff; }
.footer .logo { color: #fff; margin-bottom: 12px; display: inline-flex; --logo-hub: var(--dark); }
.footer .copy { border-top: 1px solid #23262d; margin-top: 30px; padding-top: 18px; font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.loader { display: grid; place-items: center; padding: 80px 0; color: var(--muted); font-weight: 700; }
.spin { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; margin: 0 auto 12px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .head-phone small { display: none; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .cat.big { grid-column: span 1; }
}
@media (max-width: 1024px) {
  .nav, .head-phone { display: none; }
  .burger { display: inline-grid; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 36px; }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .scroller { grid-auto-columns: calc((100% - 28px) / 3); }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 auto 0 0; width: min(380px, 100%); max-height: none; border-radius: 0; z-index: 90; transform: translateX(-100%); transition: transform .25s; padding-top: 0; }
  .filters.open { transform: none; }
  .filters-btn { display: inline-flex; }
  .filters .drawer-head { margin: 0 -16px; position: sticky; top: 0; background: #fff; z-index: 1; }
  .product, .checkout, .kit, .lead { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr 1fr; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .gallery { aspect-ratio: 4 / 3; }
  .kit-visual { max-width: 320px; margin: 0 auto; width: 100%; }
}
@media (min-width: 1025px) { .filters .drawer-head, .filters .drawer-foot { display: none; } }
@media (max-width: 640px) {
  body { font-size: 14px; padding-bottom: 64px; }
  .topbar .wrap { gap: 16px; }
  .header .wrap { height: 60px; gap: 6px; }
  .logo { font-size: 18px; gap: 7px; }
  .logo-mark { width: 28px; height: 28px; }
  .search { position: absolute; left: 0; right: 0; top: 60px; max-width: none; padding: 8px 16px; background: #fff; border-bottom: 1px solid var(--line); }
  .search svg { left: 29px; top: 20px; }
  .suggest { left: 16px; right: 16px; top: 58px; }
  .header { margin-bottom: 60px; }
  .hero .wrap { padding-bottom: 54px; gap: 28px; }
  .hero-sub { font-size: 16px; }
  .hero-stats { gap: 20px; }
  .hero-stats div { font-size: 22px; }
  .picker { padding: 16px; border-radius: 18px; }
  .tabs button { font-size: 13px; padding: 9px 4px; }
  .perks { grid-template-columns: 1fr; gap: 10px; }
  .perk { padding: 14px; }
  .section { padding: 44px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .cats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat { min-height: 140px; padding: 14px; }
  .cat b { font-size: 14px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .scroller { grid-auto-columns: 46%; gap: 8px; }
  .card { padding: 8px; }
  .card-title { font-size: 13px; }
  .price { font-size: 17px; }
  .card .btn { padding: 10px; font-size: 13px; }
  .split { font-size: 11px; }
  .steps, .reviews, .infos { grid-template-columns: 1fr; }
  .kit, .lead { padding: 24px 18px; border-radius: 20px; }
  .lead form { grid-template-columns: 1fr; }
  .lead .btn, .lead small { grid-column: span 1; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer .cols { grid-template-columns: 1fr; }
  .float { bottom: 76px; right: 12px; }
  .float a { width: 48px; height: 48px; }
  .mbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; height: 64px; background: #fff; border-top: 1px solid var(--line); z-index: 45; }
  .mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; font-weight: 700; color: var(--muted); position: relative; }
  .mbar a.on { color: var(--ink); }
  .mbar svg { width: 22px; height: 22px; }
  .mbar .badge-count { top: 6px; right: calc(50% - 22px); }
  .buybox .price { font-size: 26px; }
  .toast { bottom: 80px; }
}
