/* АКБ-Центр — демо-витрина. Цвета только через переменные, светлая и тёмная тема. */
:root {
  --bg: #f4f6f9;
  --surface: #ffffff;
  --surface-2: #eef2f7;
  --text: #0e1a2b;
  --muted: #5a6779;
  --line: #dde3eb;
  --brand: #0e1a2b;
  --brand-ink: #ffffff;
  --accent: #ffc21a;
  --accent-2: #ffb000;
  --accent-ink: #1d1500;
  --plus: #e2453b;
  --minus: #2a6fdb;
  --ok: #13965a;
  --ok-bg: #e7f6ee;
  --warn-bg: #fff6dc;
  --chip: #eef2f7;
  --shadow: 0 1px 2px rgba(14, 26, 43, .06), 0 10px 30px rgba(14, 26, 43, .07);
  --shadow-lg: 0 20px 60px rgba(14, 26, 43, .18);
  --radius: 16px;
  --radius-sm: 10px;
  --hero-a: #0e1a2b;
  --hero-b: #1b3352;
  --hero-text: #ffffff;
  --hero-muted: #b7c4d6;
  --bat-body: #1f2a38;
  --bat-top: #2c3a4c;
  --bat-label: #ffffff;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1017;
    --surface: #131a23;
    --surface-2: #1a2330;
    --text: #e8edf4;
    --muted: #9aa8b9;
    --line: #253142;
    --brand: #e8edf4;
    --brand-ink: #0b1017;
    --accent: #ffc933;
    --accent-2: #ffb81a;
    --accent-ink: #1d1500;
    --plus: #ff6a5f;
    --minus: #5b95ff;
    --ok: #3fcf8e;
    --ok-bg: #12301f;
    --warn-bg: #2d2610;
    --chip: #1d2735;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px rgba(0, 0, 0, .35);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, .6);
    --hero-a: #0f1a29;
    --hero-b: #16263b;
    --hero-text: #f2f5f9;
    --hero-muted: #9fb0c6;
    --bat-body: #2a3747;
    --bat-top: #3a4a5e;
    --bat-label: #ffffff;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1017;
  --surface: #131a23;
  --surface-2: #1a2330;
  --text: #e8edf4;
  --muted: #9aa8b9;
  --line: #253142;
  --brand: #e8edf4;
  --brand-ink: #0b1017;
  --accent: #ffc933;
  --accent-2: #ffb81a;
  --accent-ink: #1d1500;
  --plus: #ff6a5f;
  --minus: #5b95ff;
  --ok: #3fcf8e;
  --ok-bg: #12301f;
  --warn-bg: #2d2610;
  --chip: #1d2735;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px rgba(0, 0, 0, .35);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, .6);
  --hero-a: #0f1a29;
  --hero-b: #16263b;
  --hero-text: #f2f5f9;
  --hero-muted: #9fb0c6;
  --bat-body: #2a3747;
  --bat-top: #3a4a5e;
  --bat-label: #ffffff;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(26px, 5.4vw, 44px); font-weight: 800; }
h2 { font-size: clamp(21px, 3.6vw, 30px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.section { padding: 36px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.link-more { color: var(--muted); text-decoration: none; font-weight: 600; white-space: nowrap; }
.link-more:hover { color: var(--text); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- демо-полоса ---------- */
.demo-bar { background: var(--accent); color: var(--accent-ink); font-size: 13px; text-align: center; padding: 6px 16px; font-weight: 600; }

/* ---------- шапка ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 14px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; white-space: nowrap; }
.logo-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--accent); display: grid; place-items: center; flex: none; }
.logo-mark svg { width: 22px; height: 22px; }
.logo small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.nav { display: flex; gap: 2px; margin-left: 8px; }
.nav a { white-space: nowrap; text-decoration: none; padding: 8px 10px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--muted); }
.nav a:hover, .nav a.on { color: var(--text); background: var(--surface-2); }
.hdr-r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.hdr-phone { text-decoration: none; font-weight: 800; white-space: nowrap; text-align: right; line-height: 1.15; }
.hdr-phone small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }
.icon-btn { position: relative; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; text-decoration: none; flex: none; }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 20px; height: 20px; }
.badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.badge[hidden] { display: none; }
.burger { display: none; }
.mnav { display: none; }
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: grid; }
  .hdr-phone { display: none; }
  .mnav { position: fixed; inset: 64px 0 auto 0; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 10px 16px 18px; z-index: 49; }
  .mnav.on { display: block; }
  .mnav a { display: block; padding: 12px 4px; text-decoration: none; font-weight: 700; font-size: 17px; border-bottom: 1px solid var(--line); }
  .mnav .mnav-phone { border: none; margin-top: 8px; font-size: 20px; }
  .mnav .muted { font-size: 14px; }
}
@media (max-width: 420px) { .logo small { display: none; } .logo { font-size: 17px; } }

/* ---------- кнопки, поля ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 18px; border-radius: 12px; border: 1px solid transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .06s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-accent:hover { background: var(--accent-2); }
.btn-dark { background: var(--brand); color: var(--brand-ink); }
.btn-dark:hover { opacity: .92; }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-soft { background: var(--surface-2); color: var(--text); }
.btn-soft:hover { background: var(--line); }
.btn-sm { min-height: 38px; padding: 7px 12px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.field { display: block; margin-bottom: 12px; }
.field > span { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 5px; }
.input, select.input, textarea.input { width: 100%; min-height: 46px; padding: 10px 13px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 16px; }
textarea.input { min-height: 90px; resize: vertical; }
.input:focus { outline: 2px solid color-mix(in srgb, var(--accent) 70%, transparent); outline-offset: 1px; border-color: var(--accent-2); }
.input::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
.note { font-size: 12.5px; color: var(--muted); margin-top: 8px; }

/* ---------- главный экран ---------- */
.hero { background: radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%), linear-gradient(135deg, var(--hero-a), var(--hero-b)); color: var(--hero-text); }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: center; padding: 44px 16px 48px; }
.hero h1 { color: var(--hero-text); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lead { color: var(--hero-muted); font-size: clamp(16px, 2.2vw, 19px); max-width: 600px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 18px; }
.hero .btn-ghost { background: transparent; color: var(--hero-text); border-color: color-mix(in srgb, var(--hero-text) 30%, transparent); }
.hero .btn-ghost:hover { background: color-mix(in srgb, var(--hero-text) 10%, transparent); }
.hero-search { display: flex; gap: 8px; max-width: 560px; }
.hero-search .input { background: color-mix(in srgb, #fff 96%, transparent); color: #0e1a2b; border: none; }
.hero-hint { font-size: 13px; color: var(--hero-muted); margin-top: 8px; }
.hero-hint a { color: var(--hero-text); }
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art svg { width: min(100%, 380px); height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
.hero-facts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.hero-facts span { background: color-mix(in srgb, var(--hero-text) 9%, transparent); border: 1px solid color-mix(in srgb, var(--hero-text) 14%, transparent); padding: 6px 11px; border-radius: 999px; font-size: 13.5px; font-weight: 600; }
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; padding: 28px 16px 32px; gap: 8px; }
  .hero-art { display: none; }
  .hero-search .btn span { display: none; }
}

/* ---------- преимущества ---------- */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: -26px; position: relative; }
.perk { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.perk-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--warn-bg); color: var(--text); display: grid; place-items: center; margin-bottom: 10px; }
.perk-ic svg { width: 22px; height: 22px; }
.perk b { display: block; font-size: 16px; margin-bottom: 4px; }
.perk span { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .perks { grid-template-columns: 1fr 1fr; margin-top: 18px; } }
@media (max-width: 480px) { .perks { gap: 10px; } .perk { padding: 14px; } .perk span { font-size: 13px; } }

/* ---------- категории ---------- */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.cat { display: flex; flex-direction: column; gap: 10px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; transition: transform .12s, box-shadow .15s, border-color .15s; min-width: 0; }
.cat:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); }
.cat-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--surface-2); display: grid; place-items: center; }
.cat-ic svg { width: 32px; height: 32px; }
.cat b { font-size: 15px; line-height: 1.25; }
.cat small { color: var(--muted); font-size: 13px; }
@media (max-width: 1000px) { .cats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .cats { grid-template-columns: 1fr 1fr; gap: 10px; } .cat { padding: 13px; } }

.quick { display: flex; gap: 8px; flex-wrap: wrap; }
.quick a { text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 14px; }
.quick a:hover { border-color: var(--accent-2); background: var(--warn-bg); }

/* ---------- подбор по авто (блок) ---------- */
.pick { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 26px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 26px; align-items: center; }
.pick-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pick-form .field { margin: 0; }
.pick-form .full { grid-column: 1 / -1; }
.pick-steps { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pick-steps li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 15px; }
.pick-steps li b { color: var(--text); }
.step-n { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 800; display: grid; place-items: center; }
@media (max-width: 860px) { .pick { grid-template-columns: 1fr; padding: 18px; } }
@media (max-width: 420px) { .pick-form { grid-template-columns: 1fr; } }

/* ---------- бренды ---------- */
.brands { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.brand { text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 10px; text-align: center; font-weight: 800; letter-spacing: .02em; font-size: 15px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand small { display: block; font-weight: 600; color: var(--muted); font-size: 12px; letter-spacing: 0; }
.brand:hover { border-color: var(--accent-2); }
@media (max-width: 900px) { .brands { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 420px) { .brands { grid-template-columns: 1fr 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 16px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* ---------- полоса CTA ---------- */
.cta { background: var(--brand); color: var(--brand-ink); border-radius: 22px; padding: 26px; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.cta p { margin: 0; opacity: .8; }
.cta .btn-ghost { background: transparent; color: var(--brand-ink); border-color: color-mix(in srgb, var(--brand-ink) 35%, transparent); }
@media (max-width: 700px) { .cta { grid-template-columns: 1fr; padding: 20px; } .cta-btns { display: grid; gap: 8px; } }
.cta-btns { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- хлебные крошки ---------- */
.crumbs { font-size: 13.5px; color: var(--muted); padding: 16px 0 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.page-h { padding: 4px 0 14px; }
.page-h p { color: var(--muted); max-width: 760px; }

/* ---------- каталог ---------- */
.cat-layout { display: grid; grid-template-columns: 280px 1fr; gap: 22px; align-items: start; padding-bottom: 40px; }
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; position: sticky; top: 80px; max-height: calc(100vh - 96px); overflow: auto; }
.f-group { border-bottom: 1px solid var(--line); padding: 12px 0; }
.f-group:last-child { border-bottom: none; }
.f-group > b { display: block; font-size: 14px; margin-bottom: 8px; }
.f-list { display: grid; gap: 2px; max-height: 220px; overflow: auto; }
.chk { display: flex; align-items: center; gap: 9px; padding: 5px 2px; cursor: pointer; font-size: 14.5px; border-radius: 8px; }
.chk input { width: 18px; height: 18px; accent-color: var(--accent-2); flex: none; margin: 0; }
.chk em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 12.5px; }
.range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.range .input { min-height: 40px; padding: 7px 10px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--surface-2); border-radius: 12px; padding: 3px; gap: 3px; }
.seg label { text-align: center; padding: 7px 4px; border-radius: 9px; font-size: 13.5px; font-weight: 700; cursor: pointer; color: var(--muted); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg input:checked + span { color: var(--text); }
.seg label:has(input:checked) { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.f-brand-q { min-height: 38px !important; margin-bottom: 8px; font-size: 14px !important; }
.toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.toolbar .search { flex: 1 1 260px; position: relative; }
.toolbar .search .input { padding-left: 40px; }
.toolbar .search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.toolbar select.input { width: auto; min-width: 180px; }
.found { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.active-f { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.active-f button { border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: 999px; padding: 5px 10px; font: inherit; font-size: 13px; cursor: pointer; }
.active-f button::after { content: " ×"; color: var(--muted); }
.f-open { display: none; }
.f-head { display: none; }
@media (max-width: 900px) {
  .cat-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0; top: 0; max-height: none; z-index: 80; border-radius: 0; transform: translateX(-102%); transition: transform .2s; padding-bottom: 90px; }
  .filters.on { transform: none; }
  .f-open { display: inline-flex; }
  .f-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
  .f-apply { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px; background: var(--surface); border-top: 1px solid var(--line); z-index: 81; display: none; }
  .filters.on + .f-apply { display: block; }
  .toolbar select.input { flex: 1 1 140px; min-width: 0; }
}
@media (min-width: 901px) { .f-apply { display: none !important; } }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr 1fr; gap: 10px; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .15s, transform .12s; min-width: 0; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-img { display: grid; place-items: center; background: var(--surface-2); aspect-ratio: 4 / 3; padding: 14px; text-decoration: none; }
.card-img svg { width: 82%; height: auto; max-height: 100%; }
.card-b { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-t { font-weight: 700; font-size: 15px; line-height: 1.3; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-t:hover { text-decoration: underline; text-decoration-color: var(--accent-2); }
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.chip { background: var(--chip); border-radius: 7px; padding: 2px 7px; font-size: 12.5px; font-weight: 600; color: var(--text); white-space: nowrap; }
.chip-plus { color: var(--plus); }
.chip-minus { color: var(--minus); }
.price-q { margin-top: auto; font-weight: 800; font-size: 15px; }
.price-q small { display: block; font-weight: 500; font-size: 12px; color: var(--ok); }
.card-a { display: grid; grid-template-columns: 1fr auto; gap: 6px; }
.card-a .btn { min-height: 40px; padding: 7px 10px; font-size: 14px; }
@media (max-width: 560px) {
  .card-b { padding: 10px; gap: 6px; }
  .card-t { font-size: 13.5px; }
  .chip { font-size: 11.5px; padding: 2px 6px; }
  .card-a { grid-template-columns: 1fr; }
  .card-a .btn { min-height: 38px; font-size: 13px; }
  .card-a .btn-soft span { display: inline; }
}
.more { display: flex; justify-content: center; margin: 22px 0 6px; }
.empty { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 30px 20px; text-align: center; }

/* ---------- карточка товара ---------- */
.pp { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 28px; }
.pp-img { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; display: grid; place-items: center; padding: 30px; aspect-ratio: 4 / 3; }
.pp-img svg { width: 86%; height: auto; }
.pp-legend { display: flex; gap: 14px; justify-content: center; font-size: 13px; color: var(--muted); margin-top: 10px; flex-wrap: wrap; }
.pp-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; vertical-align: 0; }
.pp h1 { font-size: clamp(22px, 3.4vw, 32px); }
.pp .chips { margin-bottom: 14px; }
.pp .chip { font-size: 14px; padding: 4px 10px; border-radius: 9px; }
.buy { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); }
.buy-price { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.buy-price b { font-size: 24px; }
.stock { color: var(--ok); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.buy-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 8px; }
.buy-btns .wide { grid-column: 1 / -1; }
.buy-perks { list-style: none; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 7px; font-size: 14px; color: var(--muted); }
.buy-perks li { display: flex; gap: 8px; }
.buy-perks svg { width: 18px; height: 18px; color: var(--ok); flex: none; margin-top: 2px; }
.fit { margin-top: 14px; background: var(--warn-bg); border-radius: 18px; padding: 16px; }
.fit b { display: block; margin-bottom: 8px; }
.fit-row { display: flex; gap: 8px; }
.fit-row .input { flex: 1; min-width: 0; }
.specs { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.specs th, .specs td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; }
.specs th { width: 42%; color: var(--muted); font-weight: 600; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: none; }
.specs td { word-break: break-word; }
.pp-sticky { display: none; }
@media (max-width: 860px) {
  .pp { grid-template-columns: 1fr; gap: 16px; }
  .pp-img { padding: 16px; }
  .pp-sticky { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(0, 0, 0, .08); padding-right: 96px; }
  body.has-sticky { padding-bottom: 76px; }
}
.two { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.box h3 { margin-bottom: 8px; }
.box ul { margin: 0; padding-left: 18px; color: var(--muted); }
.box li { margin: 4px 0; }

/* ---------- услуги, страницы ---------- */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.svc-card .perk-ic { margin: 0; }
.svc-card p { color: var(--muted); margin: 0; font-size: 15px; }
.svc-price { margin-top: auto; padding-top: 6px; font-weight: 800; display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.tag-free { background: var(--ok-bg); color: var(--ok); border-radius: 8px; padding: 3px 9px; font-size: 13px; font-weight: 800; }
@media (max-width: 900px) { .svc { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc { grid-template-columns: 1fr; } }
.prose { max-width: 820px; }
.prose h2 { margin-top: 26px; font-size: 22px; }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; }
.kv dt { color: var(--muted); font-weight: 600; }
.kv dd { margin: 0; font-weight: 700; }
.map-ph { border-radius: 18px; border: 1px dashed var(--line); background: repeating-linear-gradient(45deg, var(--surface-2) 0 12px, var(--surface) 12px 24px); min-height: 260px; display: grid; place-items: center; color: var(--muted); text-align: center; padding: 20px; }

/* ---------- корзина ---------- */
.cart-list { display: grid; gap: 10px; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.cart-item .ci-img { width: 64px; height: 48px; background: var(--surface-2); border-radius: 10px; display: grid; place-items: center; }
.cart-item .ci-img svg { width: 52px; height: auto; }
.cart-item a { font-weight: 700; text-decoration: none; font-size: 14.5px; line-height: 1.3; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.qty button { width: 34px; height: 34px; border: none; background: var(--surface-2); color: var(--text); font-size: 18px; cursor: pointer; }
.qty span { min-width: 30px; text-align: center; font-weight: 700; }
.ci-r { display: flex; align-items: center; gap: 8px; }
.ci-del { border: none; background: none; color: var(--muted); cursor: pointer; font-size: 13px; text-decoration: underline; }
@media (max-width: 560px) { .cart-item { grid-template-columns: 52px 1fr; } .cart-item .ci-img { width: 52px; } .ci-r { grid-column: 2; } }

/* ---------- окно заявки ---------- */
.modal { position: fixed; inset: 0; z-index: 2147483100; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(5, 10, 18, .55); }
.modal.on { display: flex; }
.modal-c { background: var(--surface); color: var(--text); border-radius: 20px; width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow: auto; padding: 22px; box-shadow: var(--shadow-lg); position: relative; }
.modal-x { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 10px; border: none; background: var(--surface-2); color: var(--text); font-size: 22px; cursor: pointer; }
.modal h3 { font-size: 21px; padding-right: 40px; }
.done { text-align: center; padding: 10px 0; }
.done-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; margin: 0 auto 12px; }
.done-ic svg { width: 34px; height: 34px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--brand); color: var(--brand-ink); padding: 11px 16px; border-radius: 12px; font-weight: 600; font-size: 14px; opacity: 0; pointer-events: none; transition: .2s; z-index: 2147483200; max-width: calc(100vw - 32px); }
.toast.on { opacity: 1; transform: translateX(-50%); }

/* ---------- подвал ---------- */
.ftr { background: var(--surface); border-top: 1px solid var(--line); margin-top: 30px; padding: 30px 0 90px; font-size: 14.5px; }
.ftr-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; }
.ftr a { color: var(--muted); text-decoration: none; display: block; padding: 3px 0; }
.ftr a:hover { color: var(--text); }
.ftr b { display: block; margin-bottom: 8px; }
.ftr-bottom { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 14px; color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
@media (max-width: 760px) { .ftr-in { grid-template-columns: 1fr 1fr; } .ftr-in > div:first-child { grid-column: 1 / -1; } }

/* ---------- значок аккумулятора ---------- */
.bat-body { fill: var(--bat-body); }
.bat-top { fill: var(--bat-top); }
.bat-stripe { fill: var(--accent); }
.bat-lbl { fill: var(--bat-label); font: 800 15px system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.bat-sub { fill: color-mix(in srgb, var(--bat-label) 70%, transparent); font: 700 8px system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; letter-spacing: .04em; }
.t-plus { fill: var(--plus); }
.t-minus { fill: var(--minus); }
.t-sign { fill: #fff; font: 900 9px system-ui, sans-serif; }
.ic-line { fill: none; stroke: var(--text); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ic-acc { fill: var(--accent); }
