/* www.ibalance.ltd — язык слайдов карточек iBalance: белое поле, один синий,
   огромные цифры, товар крупно. Токены — здесь, в начале файла. */

@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/manrope-cyrillic.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/manrope-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue: #026DED;        /* синий карточек: плашки, цифры, кнопка */
  --blue-ink: #0A4FC2;    /* синий для мелкого текста и наведения */
  --blue-soft: #E7F0FE;
  --ink: #0D1320;
  --ink-2: #3A4354;
  --muted: #5D6677;
  --line: #DCE2EA;
  --field: #F2F4F7;       /* поле под товаром, как атлас на слайдах */
  --field-2: #E8ECF2;
  --bg: #FFFFFF;

  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;
  --gut: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow-panel: 0 1px 2px rgba(13, 19, 32, .06), 0 28px 60px -24px rgba(13, 19, 32, .28);

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: #C3CBD7 var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 450;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-weight: 800; line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
b, strong { font-weight: 700; }

a { color: var(--blue-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue); }

::selection { background: var(--blue-soft); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gut); }

.i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.i--port { stroke-width: 2.25; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; }
.skip:focus, .skip:hover { top: 12px; color: #fff; }

.section-h { font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -.035em; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* --- шапка --------------------------------------------------------------- */

.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(1px)) {
  .top { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.4) blur(14px); }
}
.top__in { display: flex; align-items: center; gap: 24px; height: 68px; }

.logo {
  display: inline-block; flex: none;
  font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15;
  color: var(--ink); text-decoration: none;
  border: 2px solid var(--ink); border-radius: 11px; padding: 3px 11px 4px;
}
.logo:hover { color: var(--ink); background: var(--field); }
.logo--sm { font-size: 18px; }

.nav { margin-left: auto; }
.nav ul, .menu ul { list-style: none; margin: 0; padding: 0; }
.nav ul { display: flex; gap: 2px; }
.nav a, .menu a {
  display: block; padding: 9px 14px; border-radius: 999px;
  color: var(--ink-2); font-size: 15px; font-weight: 650; text-decoration: none;
  transition: background-color .15s, color .15s;
}
.nav a:hover, .menu a:hover { background: var(--field); color: var(--ink); }
.nav a[aria-current], .menu a[aria-current] { background: var(--blue-soft); color: var(--blue-ink); }

.menu { display: none; margin-left: auto; }
.menu summary {
  list-style: none; cursor: pointer; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px; color: var(--ink);
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover { background: var(--field); }
.menu .i { width: 24px; height: 24px; }
.menu__close, .menu[open] .menu__open { display: none; }
.menu[open] .menu__close { display: block; }
.menu nav {
  position: absolute; left: 0; right: 0; top: 68px;
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 8px var(--gut) 20px; box-shadow: 0 24px 40px -28px rgba(13, 19, 32, .35);
}
.menu nav a { font-size: 18px; padding: 13px 14px; }

/* --- первый экран -------------------------------------------------------- */

.stage { position: relative; overflow: hidden; background: var(--field); padding: clamp(36px, 5vw, 72px) 0 clamp(150px, 15vw, 210px); }
.stage__in { position: relative; min-height: clamp(400px, 40vw, 560px); }
.stage__copy { position: relative; z-index: 2; max-width: 760px; }
.stage h1 { font-size: clamp(36px, 4.8vw, 66px); line-height: 1.02; letter-spacing: -.04em; }
.stage__sub { margin-top: 20px; max-width: 42ch; font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-2); }

.stage__num {
  position: absolute; left: calc(var(--gut) - .05em); bottom: -.17em; z-index: 1; margin: 0;
  font-size: clamp(150px, 25vw, 380px); font-weight: 800; line-height: 1; letter-spacing: -.04em;
  color: var(--blue); user-select: none;
}
.stage__num span { font-size: .4em; letter-spacing: -.03em; margin-left: .08em; }

.stage__product {
  position: absolute; z-index: 3; right: calc(var(--gut) + 3%); bottom: calc(-1 * clamp(120px, 13vw, 190px));
  width: auto; height: calc(100% + clamp(150px, 15vw, 230px));
  filter: drop-shadow(0 28px 36px rgba(13, 19, 32, .16));
}

/* --- подбор по разъёму --------------------------------------------------- */

.picker { position: relative; z-index: 5; margin-top: calc(-1 * clamp(110px, 11vw, 160px)); }
.picker__panel {
  position: relative; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-panel);
  padding: clamp(20px, 3vw, 36px);
}
.picker__radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }

.picker__ask { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 24px; align-items: center; }
.picker__ask h2 { font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -.03em; }
.picker__opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

.picker__opt {
  display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: center;
  min-height: 72px; padding: 12px 16px; cursor: pointer; user-select: none;
  border-radius: var(--r-md); box-shadow: inset 0 0 0 1.5px var(--line);
  transition: box-shadow .18s var(--ease), background-color .18s var(--ease);
}
.picker__opt:hover { background: var(--field); }
.picker__opt .i--port { grid-row: span 2; width: 40px; height: 40px; color: var(--ink-2); transition: color .18s; }
.picker__label { font-weight: 750; line-height: 1.25; }
.picker__hint { font-size: 14px; line-height: 1.35; color: var(--muted); }

.picker__panel:has(#port-usbc:checked) [for="port-usbc"],
.picker__panel:has(#port-lightning:checked) [for="port-lightning"],
.picker__panel:has(#port-have:checked) [for="port-have"] {
  background: var(--blue-soft); box-shadow: inset 0 0 0 2px var(--blue);
}
.picker__panel:has(#port-usbc:checked) [for="port-usbc"] .i--port,
.picker__panel:has(#port-lightning:checked) [for="port-lightning"] .i--port,
.picker__panel:has(#port-have:checked) [for="port-have"] .i--port { color: var(--blue); }
.picker__panel:has(#port-usbc:focus-visible) [for="port-usbc"],
.picker__panel:has(#port-lightning:focus-visible) [for="port-lightning"],
.picker__panel:has(#port-have:focus-visible) [for="port-have"] { outline: 3px solid var(--blue); outline-offset: 3px; }

.picker__res {
  display: none; grid-template-columns: 220px minmax(0, 1fr) minmax(220px, 290px); gap: 32px; align-items: center;
  margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line);
}
.picker__panel:has(#port-usbc:checked) [data-port="usbc"],
.picker__panel:has(#port-lightning:checked) [data-port="lightning"],
.picker__panel:has(#port-have:checked) [data-port="have"] { display: grid; animation: pick .32s var(--ease); }
@supports not selector(:has(*)) {
  .picker__res { display: grid; }
}
@keyframes pick {
  from { opacity: 0; transform: translateY(8px); }
}

.picker__shot {
  height: 210px; display: flex; align-items: center; justify-content: center;
  background: var(--field); border-radius: var(--r-md); overflow: hidden; padding: 14px;
}
.picker__shot img { max-height: 100%; width: auto; height: auto; }
.picker__shot--bleed-right { justify-content: flex-end; padding-right: 0; }
.picker__model { margin: 0 0 4px; font-size: 13px; font-weight: 750; color: var(--blue-ink); letter-spacing: .02em; }
.picker__name { font-size: clamp(21px, 1.9vw, 26px); letter-spacing: -.03em; line-height: 1.15; }
.picker__name a { color: var(--ink); text-decoration: none; }
.picker__name a:hover { color: var(--blue-ink); }
.picker__stats { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; color: var(--ink-2); line-height: 1.3; }
.picker__stats b { color: var(--blue); font-size: 20px; font-weight: 800; letter-spacing: -.02em; margin-right: 2px; }
.picker__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.picker__also { align-self: stretch; border-left: 1px solid var(--line); padding-left: 28px; display: flex; flex-direction: column; justify-content: center; }
.picker__also > p { font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.picker__also ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.picker__also li { display: grid; line-height: 1.3; }
.picker__also a { font-weight: 700; text-decoration: none; }
.picker__also a:hover { text-decoration: underline; }
.picker__also span { font-size: 14px; color: var(--muted); }

/* --- кнопки -------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  font: inherit; font-size: 16px; font-weight: 750; text-decoration: none; line-height: 1;
  transition: background-color .15s, box-shadow .15s, transform .15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .i { width: 18px; height: 18px; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-ink); color: #fff; }
.btn--ghost { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { color: var(--ink); background: var(--field); }
.btn--big { width: 100%; min-height: 58px; font-size: 17px; }

/* --- каталог ------------------------------------------------------------- */

.catalog { padding-top: clamp(72px, 8vw, 120px); }
.group { margin-top: clamp(28px, 3vw, 44px); }
.group__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 16px; }
.group__head h2, .group__head h3 { font-size: 24px; letter-spacing: -.025em; }
.group__head p { margin: 0; color: var(--muted); }

.tiles { display: grid; gap: 16px; }
.tiles--chargers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles--cables { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles--related { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.tile { position: relative; display: flex; flex-direction: column; background: var(--field); border-radius: var(--r-lg); overflow: hidden; transition: background-color .2s; }
.tile:hover { background: var(--field-2); }
.tile__img { position: relative; display: grid; min-height: 0; aspect-ratio: 4 / 5; padding: 36px 28px 4px; }
.tile__img img { width: 100%; height: 100%; min-height: 0; object-fit: contain; transition: transform .45s var(--ease); }
.tile:hover .tile__img img { transform: translateY(-5px); }
.tile__img--bleed-right { padding-right: 0; }
.tile__img--bleed-right img { object-position: right center; }
.tiles--cables .tile__img { aspect-ratio: 16 / 8; padding: 40px 32px 0; }
.tiles--related .tile__img { aspect-ratio: 16 / 10; padding: 40px 28px 4px; }

.tile__body { padding: 16px 22px 22px; }
.tile__model { margin: 0 0 4px; font-size: 13px; font-weight: 750; color: var(--blue-ink); letter-spacing: .02em; }
.tile__name { font-size: 18px; font-weight: 750; line-height: 1.3; letter-spacing: -.015em; }
.stretch { color: var(--ink); text-decoration: none; }
.stretch::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.stretch:hover { color: var(--ink); }
.stretch:focus-visible { outline: none; }
.stretch:focus-visible::after { outline: 3px solid var(--blue); outline-offset: -3px; }
.tile__fits { margin: 6px 0 0; font-size: 15px; line-height: 1.4; color: var(--muted); }

.tile__ozon {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 11px 0 13px;
  border-radius: 999px; background: #fff; color: var(--ink);
  font-size: 13px; font-weight: 750; text-decoration: none;
  box-shadow: 0 1px 2px rgba(13, 19, 32, .1);
  transition: color .15s, box-shadow .15s;
}
.tile__ozon .i { width: 15px; height: 15px; }
.tile__ozon:hover { color: var(--blue-ink); box-shadow: 0 1px 2px rgba(13, 19, 32, .1), 0 0 0 1.5px var(--blue); }

/* --- цифры на синей ленте ------------------------------------------------ */

.ledger { margin-top: clamp(88px, 10vw, 150px); background: var(--blue); color: #fff; padding: clamp(56px, 7vw, 96px) 0; }
.ledger .section-h { max-width: 16ch; }
.ledger__rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(32px, 4vw, 56px); border-top: 1px solid rgba(255, 255, 255, .45); }
.ledger__row { padding: 26px 28px 4px 0; }
.ledger__row + .ledger__row { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .3); }
.ledger__num { margin: 0; font-size: clamp(52px, 6.4vw, 92px); font-weight: 800; line-height: .95; letter-spacing: -.04em; white-space: nowrap; }
.ledger__what { margin: 14px 0 6px; font-weight: 800; font-size: 18px; }
.ledger__how { font-size: 16px; line-height: 1.5; }

/* --- 80 % ---------------------------------------------------------------- */

.eighty { display: grid; grid-template-columns: minmax(220px, 400px) minmax(0, 1fr); gap: clamp(36px, 7vw, 112px); align-items: center; padding-block: clamp(88px, 10vw, 150px); }
.eighty__battery {
  position: relative; aspect-ratio: 2.15 / 1; margin-right: 22px;
  border: 7px solid var(--ink); border-radius: 30px; padding: 9px;
}
.eighty__battery::after {
  content: ''; position: absolute; right: -24px; top: 32%; width: 14px; height: 36%;
  background: var(--ink); border-radius: 0 8px 8px 0;
}
.eighty__fill { display: block; width: 80%; height: 100%; background: var(--blue); border-radius: 16px; }
.eighty__battery b {
  position: absolute; left: 9px; top: 9px; bottom: 9px; width: calc((100% - 18px) * .8);
  display: grid; place-items: center; color: #fff;
  font-size: clamp(44px, 5.4vw, 72px); font-weight: 800; letter-spacing: -.04em;
}
.eighty__text h2 { font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -.035em; margin-bottom: 14px; }
.eighty__text > p { font-size: 18px; color: var(--ink-2); max-width: 46ch; }

.path {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
  margin: 4px 0 22px; padding: 10px 16px; border-radius: var(--r-sm);
  background: var(--field); font-weight: 700; color: var(--ink); line-height: 1.4;
}
.path span { color: var(--blue-ink); font-weight: 800; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; text-decoration: none; }
.more .i { width: 20px; height: 20px; transition: transform .2s var(--ease); }
.more:hover .i { transform: translateX(4px); }

/* --- завершение главной -------------------------------------------------- */

.close { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 36px; padding-bottom: clamp(88px, 10vw, 140px); }
.close__item { position: relative; display: block; padding: 22px 40px 8px 0; border-top: 2px solid var(--ink); color: var(--ink); text-decoration: none; }
.close__item h2 { font-size: 24px; letter-spacing: -.025em; margin-bottom: 8px; transition: color .15s; }
.close__item p { margin: 0; color: var(--muted); max-width: 34ch; }
.close__item .i { position: absolute; top: 24px; right: 0; color: var(--blue); transition: transform .2s var(--ease); }
.close__item:hover { color: var(--ink); }
.close__item:hover h2 { color: var(--blue-ink); }
.close__item:hover .i { transform: translateX(4px); }

/* --- подвал -------------------------------------------------------------- */

.foot { background: var(--field); padding: 48px 0 40px; font-size: 15px; color: var(--ink-2); }
.foot__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 40px; align-items: start; }
.foot__brand p { margin-top: 12px; }
.foot__nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.foot__nav a { color: var(--ink); font-weight: 650; text-decoration: none; display: inline-block; padding: 6px 0; }
.foot__nav a:hover { color: var(--blue-ink); }
.foot__legal { grid-column: 1 / -1; margin: 0; max-width: 90ch; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 22px; }
.foot__copy { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--muted); }

/* --- текстовые разделы --------------------------------------------------- */

.page-head { padding-top: clamp(44px, 6vw, 88px); padding-bottom: clamp(28px, 3vw, 44px); }
.page-head h1 { font-size: clamp(38px, 5vw, 68px); letter-spacing: -.04em; line-height: 1.02; }
.lead { margin-top: 18px; max-width: 58ch; font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); line-height: 1.5; }
.page-head--404 { padding-bottom: clamp(88px, 10vw, 150px); }
.huge { margin: 0 0 8px; font-size: clamp(120px, 22vw, 300px); font-weight: 800; letter-spacing: -.04em; line-height: .9; color: var(--blue); }

.doc { display: grid; grid-template-columns: 250px minmax(0, 72ch); gap: clamp(32px, 6vw, 80px); padding-bottom: clamp(88px, 10vw, 140px); }
.doc--single { grid-template-columns: minmax(0, 72ch); }
.doc__toc { position: sticky; top: 92px; align-self: start; }
.doc__toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.doc__toc a { display: block; margin-left: -2px; padding: 7px 0 7px 16px; border-left: 2px solid transparent; color: var(--ink-2); font-size: 15px; font-weight: 600; line-height: 1.35; text-decoration: none; }
.doc__toc a:hover { color: var(--blue-ink); border-left-color: var(--blue); }

.doc__body > section { padding-top: 40px; margin-top: 40px; border-top: 1px solid var(--line); }
.doc__body > section:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
.doc__body h2 { font-size: clamp(25px, 2.4vw, 32px); letter-spacing: -.03em; margin-bottom: 16px; }
.doc__body h3 { font-size: 18px; letter-spacing: -.015em; margin-bottom: 8px; }
section[id] { scroll-margin-top: 96px; }

.table-scroll { overflow-x: auto; margin: 8px 0 1em; }
.fit-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.fit-table th, .fit-table td { text-align: left; vertical-align: top; padding: 12px 18px 12px 0; border-bottom: 1px solid var(--line); }
.fit-table thead th { font-size: 14px; font-weight: 700; color: var(--muted); border-bottom: 2px solid var(--ink); }
.fit-table tbody th { font-weight: 750; }

.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 20px; }
.steps__col { background: var(--field); border-radius: var(--r-md); padding: 20px 22px; }
.steps__col .path { background: #fff; margin: 4px 0 12px; }

.ticks, .notes ul, .faq-links { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 0 0 0 30px; margin-bottom: 12px; }
.ticks li::before {
  content: ''; position: absolute; left: 3px; top: .55em; width: 12px; height: 7px;
  border-left: 2.25px solid var(--blue); border-bottom: 2.25px solid var(--blue); transform: rotate(-45deg);
}
.numbered { list-style: none; counter-reset: n; margin: 0 0 1em; padding: 0; }
.numbered li { counter-increment: n; position: relative; padding: 2px 0 0 46px; margin-bottom: 16px; min-height: 32px; }
.numbered li::before {
  content: counter(n); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 800; font-size: 15px;
}

.ports { display: flex; flex-wrap: wrap; gap: 14px; margin: 8px 0 20px; }
.ports__item { display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px; border-radius: var(--r-md); background: var(--blue-soft); color: var(--blue-ink); font-weight: 750; }
.ports__item .i { width: 56px; height: 56px; }
.ports__item--no { background: var(--field); color: var(--muted); }

.contact { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 750; }
.contact .i { width: 26px; height: 26px; color: var(--blue); }

/* --- страница товара ----------------------------------------------------- */

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 22px 0; font-size: 14px; }
.crumbs li + li::before { content: '›'; margin-right: 8px; color: var(--muted); }
.crumbs a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--blue-ink); text-decoration: underline; }

.product { display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }

.gallery { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; }
.gallery__main { grid-column: 2; grid-row: 1; background: var(--field); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4; }
.gallery__img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs {
  grid-column: 1; grid-row: 1; list-style: none; margin: 0; padding: 2px;
  display: flex; flex-direction: column; gap: 10px; overflow-y: auto;
  height: 0; min-height: 100%;   /* высоту ряда задаёт большой слайд, а не столбик миниатюр */
  scrollbar-width: thin;
}
.gallery__thumbs a { display: block; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .15s; }
.gallery__thumbs a:hover { box-shadow: 0 0 0 2px var(--blue-line, #9DBEF8); }
.gallery__thumbs a[aria-current] { box-shadow: 0 0 0 2.5px var(--blue); }
.gallery__thumbs img { width: 72px; height: 96px; object-fit: cover; }

.pinfo { position: sticky; top: 92px; padding-top: 4px; }
.pinfo__model { margin: 0 0 8px; font-size: 14px; font-weight: 750; color: var(--blue-ink); letter-spacing: .02em; }
.pinfo h1 { font-size: clamp(30px, 3.2vw, 46px); letter-spacing: -.035em; line-height: 1.08; }
.pinfo__fits { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; font-weight: 700; color: var(--ink-2); }
.pinfo__fits .i--port { width: 34px; height: 34px; color: var(--blue); }
.pinfo__lead { margin-top: 14px; font-size: 18px; color: var(--ink-2); line-height: 1.55; }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 26px 0 28px; border-block: 1px solid var(--line); }
.stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 18px 14px 18px 0; }
.stats > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.stats dd { margin: 0; font-size: clamp(30px, 3vw, 42px); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--blue); white-space: nowrap; }
.stats dt { margin-top: 8px; font-size: 14px; line-height: 1.35; color: var(--muted); }
.pinfo__note { margin-top: 12px; text-align: center; font-size: 14px; color: var(--muted); }

.pdetail { padding-top: clamp(64px, 7vw, 104px); }
.points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; border-top: 2px solid var(--ink); }
.points li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; padding: 28px 0 8px; }
.points .i { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); }
.points h3 { font-size: 18px; letter-spacing: -.015em; margin: 10px 0 6px; }
.points p { color: var(--ink-2); font-size: 16px; line-height: 1.55; }

.pdetail__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 72px; margin-top: clamp(48px, 5vw, 72px); }
.pdetail h2 { font-size: 24px; letter-spacing: -.025em; margin-bottom: 18px; }
.specs { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.specs th { width: 44%; padding: 12px 16px 12px 0; text-align: left; vertical-align: top; font-weight: 500; color: var(--muted); border-bottom: 1px solid var(--line); }
.specs td { padding: 12px 0; font-weight: 650; border-bottom: 1px solid var(--line); }
.box { display: flex; align-items: flex-start; gap: 12px; margin-top: 20px; color: var(--ink-2); }
.box .i { color: var(--blue); margin-top: 2px; }

.notes li { position: relative; padding-left: 26px; margin-bottom: 14px; color: var(--ink-2); }
.notes li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 10px; height: 10px; border-radius: 50%; border: 2.25px solid var(--blue); }
.faq-links li { border-bottom: 1px solid var(--line); }
.faq-links a { display: block; padding: 13px 0; font-weight: 700; text-decoration: none; }
.faq-links a:hover { text-decoration: underline; }

.related { padding-block: clamp(80px, 9vw, 130px); }
.related .section-h { margin-bottom: 24px; }

/* --- адаптивность -------------------------------------------------------- */

@media (max-width: 1120px) {
  .picker__ask { grid-template-columns: 1fr; gap: 16px; }
  .picker__res { grid-template-columns: 200px minmax(0, 1fr); }
  .picker__also { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 18px; }
  .picker__also ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .picker__ask { grid-template-columns: 1fr; gap: 16px; }
  .product { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .gallery__main { grid-column: 1; }
  .gallery__thumbs { grid-column: 1; grid-row: 2; flex-direction: row; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; height: auto; min-height: 0; }
  .gallery__thumbs li { flex: none; scroll-snap-align: start; }
  .pinfo { position: static; }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .doc__toc { position: static; }
  .points { grid-template-columns: minmax(0, 1fr); }
  .points li + li { border-top: 1px solid var(--line); }
  .pdetail__cols { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .menu { display: block; }
  .top__in { height: 60px; }
  .menu nav { top: 60px; }

  /* на телефоне цифра и товар — одной строкой под текстом, без наложения на текст */
  .stage { padding-bottom: 0; }
  .stage__in {
    min-height: 0; display: grid; align-items: end;
    grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "copy copy" "num prod" "pad pad";
  }
  .stage__copy { grid-area: copy; max-width: none; }
  .stage__num { grid-area: num; position: relative; left: auto; bottom: auto; margin: 20px 0 0 -.05em; font-size: clamp(116px, 32vw, 250px); line-height: .8; }
  .stage__product { grid-area: prod; position: relative; right: auto; bottom: auto; width: clamp(130px, 36vw, 270px); height: auto; margin: 20px 0 0 -16vw; }
  .stage__in::after { content: ''; grid-area: pad; display: block; height: clamp(76px, 15vw, 110px); }

  .picker { margin-top: calc(-1 * clamp(60px, 12vw, 100px)); }
  .picker__opts { grid-template-columns: minmax(0, 1fr); }
  .tiles--chargers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles--related { grid-template-columns: minmax(0, 1fr); }
  .eighty { grid-template-columns: minmax(0, 1fr); }
  .eighty__battery { max-width: 340px; }
  .close { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .close__item { padding-bottom: 22px; border-top-width: 1px; }
  .close__item:first-child { border-top-width: 2px; }
  .foot__in { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .picker__panel { padding: 18px 16px 20px; border-radius: 20px; }
  .picker__res { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .picker__shot { height: 190px; }
  .picker__also ul { grid-template-columns: minmax(0, 1fr); }
  .picker__cta .btn { flex: 1 1 auto; }

  .tiles--chargers { grid-template-columns: minmax(0, 1fr); }
  .tiles--chargers .tile { flex-direction: row; align-items: stretch; min-height: 168px; }
  .tiles--chargers .tile__img { width: 40%; aspect-ratio: auto; padding: 16px 8px 16px 14px; }
  .tiles--chargers .tile__img--bleed-right { padding-right: 0; }
  .tiles--chargers .tile__img img { max-height: 150px; }
  .tiles--chargers .tile__body { flex: 1; align-self: center; padding: 18px 16px 18px 6px; }
  .tiles--chargers .tile__ozon { top: auto; bottom: 12px; right: 12px; }
  .tiles--chargers .tile__fits { padding-bottom: 34px; }
  .tiles--cables { grid-template-columns: minmax(0, 1fr); }

  .ledger__rows { grid-template-columns: minmax(0, 1fr); }
  .ledger__row, .ledger__row + .ledger__row { padding: 22px 0 6px; border-left: 0; margin-top: 0; }
  .ledger__row + .ledger__row { border-top: 1px solid rgba(255, 255, 255, .3); }

  /* таблицы «Помощи» на телефоне — строка становится блоком с подписями */
  .table-scroll { overflow: visible; }
  .fit-table { min-width: 0; }
  .fit-table thead { display: none; }
  .fit-table tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .fit-table tbody th, .fit-table td { display: block; padding: 0; border: 0; }
  .fit-table tbody th { font-size: 17px; margin-bottom: 6px; }
  .fit-table td + td { margin-top: 6px; }
  .fit-table td[data-label]::before { content: attr(data-label) ': '; color: var(--muted); font-weight: 500; }

  .stats dd { font-size: 30px; }
  .stats > div + div { padding-left: 12px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .foot__nav { gap: 0 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
