/* шрифты сайта — свои файлы (./fonts.sh → site/assets/fonts, версия ?v= — build.mjs): TT Hoves Pro VF — текст (вариативный, веса 400–700),
   TT Hoves Pro Expanded — заголовки и суммы. Expanded в 1,14 раза шире прежнего TT Hoves (замер по файлам на заголовках сайта): size-adjust 87.8%
   возвращает строкам прежнюю длину — кегли, «не больше двух строк» и «Альтаир» по ширине колонки остаются верными, буквы — широкими. Пути — от страниц и CSS в корне site/. Сборка вставляет этот блок вместо FONTS в shop.css, лендинг и просмотрщик. */
@font-face { font-family: "TT Hoves Pro"; src: url(assets/fonts/hoves-vf.woff2?v=e3f816ca) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "TT Hoves Pro Expanded"; src: url(assets/fonts/hoves-exp-400.woff2?v=dc6feaa0) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; size-adjust: 87.8%; }
@font-face { font-family: "TT Hoves Pro Expanded"; src: url(assets/fonts/hoves-exp-500.woff2?v=21d230a8) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; size-adjust: 87.8%; }
@font-face { font-family: "TT Hoves Pro Expanded"; src: url(assets/fonts/hoves-exp-600.woff2?v=318c06c5) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; size-adjust: 87.8%; }
@font-face { font-family: "TT Hoves Pro Expanded"; src: url(assets/fonts/hoves-exp-700.woff2?v=abd86ae7) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; size-adjust: 87.8%; }

/* ===================== магазин «Альтаир» =====================
   Светлая и темная тема на токенах. Цвета — design-system/vue/tokens.json (раздел theme): сборка вставляет их в конец файла (THEME).
   Здесь — только то, что не цвет: тени, радиусы, шрифт, сетка, color-scheme. */
:root {
  --shadow-s: 0 1px 2px rgba(31, 23, 17, .05), 0 2px 8px rgba(31, 23, 17, .04);
  --shadow-m: 0 10px 30px rgba(31, 23, 17, .08), 0 2px 6px rgba(31, 23, 17, .04);
  --shadow-l: 0 30px 90px rgba(31, 23, 17, .22), 0 6px 18px rgba(31, 23, 17, .08);
  --r-xl: 0px; --r-l: 0px; --r-m: 0px; --r-s: 0px;
  --font: "TT Hoves Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "TT Hoves Pro Expanded", "TT Hoves Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;   /* заголовки */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --w: 1360px; --m: 32px; --hd-h: 68px;
  color-scheme: light;
}
/* темная — только по выбору в подвале (#themeBtn), системная настройка не влияет */
:root[data-theme="dark"] {
  --shadow-s: 0 1px 2px rgba(0, 0, 0, .4); --shadow-m: 0 10px 30px rgba(0, 0, 0, .45); --shadow-l: 0 30px 90px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

/* ---------- основа ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html:has(dialog[open]) { overflow: hidden; }
html::-webkit-scrollbar { display: none; }   /* страница прокручивается, полосы прокрутки не видно */
html { scrollbar-width: none; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd-h) + 64px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 max(15px, var(--md))/1.5 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background-color .3s ease, color .3s ease; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; text-align: inherit; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--on-accent); }
kbd { font: 500 max(13px, var(--sm))/1 var(--font); padding: 4px 4px; border-radius: 6px; background: var(--surface); color: var(--muted); }
.wrap { width: calc(100% - 2 * var(--m)); max-width: var(--w); margin-inline: auto; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 200; background: var(--btn); color: var(--on-btn); padding: 8px 16px; border-radius: var(--r-s); }
.skip:focus { top: 16px; }
.count { font-size: .55em; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 4px; font-variant-numeric: tabular-nums; vertical-align: .2em; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; font-size: max(15px, var(--md)); font-weight: 600;
  letter-spacing: -0.005em; white-space: nowrap; transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }
.btn:active { transform: scale(.97); }
.btn .i { width: 18px; height: 18px; }
.btn-ink { background: var(--btn); color: var(--on-btn); }
.btn-ink:hover { background: var(--btn-h); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-h); }
.btn-soft { background: var(--surface-2); color: var(--ink); }
.btn-soft:hover { background: var(--surface-3); }
.btn:disabled { opacity: .45; cursor: default; }
.btn:disabled:active { transform: none; }
.btn-s { height: 36px; padding: 0 16px; font-size: max(13px, var(--sm)); }
.btn-block { width: 100%; }
.btn-soft .i:last-child, .btn-ink .i:last-child, .btn-accent .i:last-child { transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }
.btn:hover .i:last-child:not(:first-child) { transform: translateX(3px); }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; color: var(--ink); transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn-inv { color: #fff; } .icon-btn-inv:hover { background: rgba(255, 255, 255, .14); }
.link-btn { font-size: max(13px, var(--sm)); font-weight: 500; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--ink); }
.round { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; background: var(--surface); transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }
.round:hover { background: var(--surface-2); }
.round:disabled { opacity: .35; cursor: default; }

/* ---------- знак ---------- */
/* логотип №93 «Сечение, уклон 1:2»: --mark — высота знака, ширина знака 5/4 высоты, надпись .5625, зазор .275 (пропорции брендбука); цвет — currentColor */
.logo { --mark: 34px; display: flex; align-items: center; gap: 8px; flex: none; color: var(--logo); }
.logo-mark { width: calc(var(--mark) * 5 / 4); height: var(--mark); flex: none; }
.logo-word { height: calc(var(--mark) * .5625); width: auto; flex: none; }

/* ---------- шапка ---------- */
.hd { position: sticky; top: 0; z-index: 50; background: var(--surface);   transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }
.hd.scrolled { box-shadow: 0 8px 24px rgba(31, 23, 17, .07); } /* taste-skill-ignore: парит, фокус или таблица */
.hd-in { height: var(--hd-h); display: flex; align-items: center; gap: 16px; }
.hd-nav { display: flex; align-items: center; gap: 2px; }
.hd-nav > a, .nav-cat { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 16px; border-radius: 999px; font-size: max(15px, var(--md)); font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }
.hd-nav > a:hover { background: var(--surface-2); color: var(--ink); }
.nav-cat { background: var(--btn); color: var(--on-btn); }   /* «Каталог» — всегда зеленая, при наведении и открытом меню чуть темнее */
.nav-cat:hover, .nav-cat[aria-expanded="true"] { background: var(--btn-h); color: var(--on-btn); }
.nav-cat .i:last-child { width: 16px; height: 16px; transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }
.nav-cat[aria-expanded="true"] .i:last-child { transform: rotate(180deg); }
.search-pill { flex: 1; max-width: 440px; height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 8px 0 16px; border-radius: 999px; background: var(--surface-2); min-width: 0;
  color: var(--muted); font-size: max(13px, var(--sm)); transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }
.search-pill:hover { background: var(--surface-3); color: var(--ink-2); }
.search-pill span { flex: 1; min-width: 0; padding-top: .2em; /* вне ряда: поправка шрифта */ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }   /* у шрифта буквы сидят выше середины строки: опускаем на 0.2em — по оси иконки */
.hd-tools { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.hd-phone { display: flex; flex-direction: column; line-height: 1.2; margin-right: 8px; }
.hd-phone b { font-size: max(15px, var(--md)); font-weight: 600; white-space: nowrap; }
.hd-icon { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 999px; color: var(--ink-2); transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }
.hd-icon:hover { background: var(--surface-2); color: var(--ink); }
.cnt { position: absolute; top: 4px; right: 2px; min-width: 20px; height: 20px; padding: 0 4px; display: grid; place-items: center; border-radius: 9px;
  background: var(--accent); color: var(--on-accent); font-size: max(13px, var(--sm)); font-weight: 700; font-variant-numeric: tabular-nums; }
.cart-pill { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 16px; margin-left: 4px; border-radius: 999px;
  background: var(--btn); color: var(--on-btn); font-size: max(13px, var(--sm)); font-weight: 600; transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }
.cart-pill:hover { background: var(--btn-h); }
.cart-pill .cnt { top: -4px; right: -4px; }
.cart-sum { font-variant-numeric: tabular-nums; white-space: nowrap; }
.cart-pill.bump { animation: bump .45s var(--ease); }
@keyframes bump { 35% { transform: scale(1.08); } }

/* ---------- меню каталога ---------- */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); box-shadow: var(--shadow-l); animation: drop .22s var(--ease); } /* taste-skill-ignore: парит, фокус или таблица */
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
.mega-in { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; padding: 16px 0 24px; }
.mega-cats { display: grid; gap: 2px; align-content: start; }
.mega-cat { width: 100%; display: flex; align-items: center; gap: 8px; padding: 16px 16px 16px 16px; border-radius: 0; font-size: max(15px, var(--md)); font-weight: 500; color: var(--ink-2); }
.mega-cat .n { margin-left: auto; color: var(--muted); font-size: max(13px, var(--sm)); font-variant-numeric: tabular-nums; }
.mega-cat .i { width: 16px; height: 16px; color: var(--muted); }
.mega-cat:hover, .mega-cat.on { background: var(--surface-2); color: var(--ink); }
.mega-cat.on { font-weight: 600; }
.mega-all { margin-top: 4px; } .mega-all span:first-child { color: var(--blue); font-weight: 600; }
.mega-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.mega-head b { font-size: var(--lg); font-weight: 700; letter-spacing: -0.02em; }
.mega-head a { display: inline-flex; align-items: center; gap: 4px; color: var(--blue); font-size: max(13px, var(--sm)); font-weight: 600; }
.mega-head a .i { width: 16px; height: 16px; }
.mega-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mega-items a { width: 100%; display: flex; align-items: center; gap: 16px; padding: 8px; border-radius: var(--r-m); background: var(--surface-2); transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }
.mega-items a:hover { background: var(--surface-3); }
.mi-pic { width: 72px; height: 54px; flex: none; object-fit: cover; border-radius: 0; background: var(--surface-2); }
.mi-pic.pic-none svg { width: 26px; } .mi-pic.pic-none small { display: none; }
.mega-items span { display: grid; gap: 2px; min-width: 0; }
.mega-items b { font-size: max(13px, var(--sm)); font-weight: 600; line-height: 1.3; }
.mega-items small { font-size: max(13px, var(--sm)); color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- вступление ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; padding-top: 32px; }
.intro h1 { font-size: clamp(34px, 3.2vw + 10px, 60px); line-height: 1; font-weight: 700; letter-spacing: -0.04em; text-wrap: balance; }
.intro p { color: var(--muted); font-size: max(15px, var(--md)); max-width: 52ch; }

/* ---------- бенто ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.b-hero { grid-column: 1 / 9; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: 540px; background: var(--surface); border-radius: var(--r-xl); overflow: hidden; }
.b-media { position: relative; background: var(--stage); overflow: hidden; }
.b-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }   /* кадр = первый кадр 3D (общий ракурс) */
.b-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--stage); }
.b-media-tools { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 8px; }
.glass-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 16px; border-radius: 999px; background: var(--dk); color: #ffffff;
  font-size: max(13px, var(--sm)); font-weight: 600; transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }
.glass-btn:hover { background: var(--dk-2); }
.glass-btn:active { transform: scale(.97); }
.b-text { display: flex; flex-direction: column; gap: 16px; padding: 32px 32px 24px; }
.badges { display: flex; flex-wrap: wrap; gap: 4px; }
.badge { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: max(13px, var(--sm)); font-weight: 600; }
.badge .i { width: 14px; height: 14px; }
.badge .i + span { padding-top: .3em; /* вне ряда: поправка шрифта */ }   /* буквы шрифта сидят выше середины строки: «3D» — по оси иконки (центр прописных) */
.b-text h2 { font-size: clamp(26px, 1.2vw + 14px, 32px); line-height: 1.08; font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
.b-sub { color: var(--muted); font-size: max(15px, var(--md)); }
.b-specs { display: grid; }
.b-specs li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 8px 0; }
.b-specs b { order: 2; font-size: max(15px, var(--md)); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.b-specs span { font-size: max(13px, var(--sm)); color: var(--muted); }
.b-buy { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 8px; }
.price { font-size: var(--lg); font-weight: 700; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price small { font-size: max(13px, .62em); font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-xl { font-size: var(--xxl); width: 100%; }

.b-pick { grid-column: 9 / 13; display: flex; flex-direction: column; gap: 16px; padding: 24px; background: var(--surface); border-radius: var(--r-xl); }
.pick-head { display: flex; gap: 16px; align-items: flex-start; }
.pick-ico { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: var(--r-m); background: var(--accent-soft); color: var(--accent-text); }
.pick-ico .i { width: 22px; height: 22px; }
.pick-ico-dark { background: rgba(151, 188, 98, .16); color: var(--pistachio-300); }
.pick-head h2 { font-size: var(--lg); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.pick-head p { font-size: max(13px, var(--sm)); color: var(--muted); margin-top: 2px; }
.mchips { display: flex; flex-wrap: wrap; gap: 4px; }
.mchip { height: 32px; padding: 0 16px; border-radius: 999px; background: var(--surface-2); font-size: max(13px, var(--sm)); font-weight: 500; color: var(--ink-2); transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }
.mchip:hover { background: var(--surface-3); color: var(--ink); }
.mchip.on { background: var(--chip-on); color: var(--on-chip-on); border-color: var(--chip-on); }
.seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface-2); }
.seg button { height: 34px; border-radius: 999px; font-size: max(13px, var(--sm)); font-weight: 500; color: var(--muted); transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); white-space: nowrap; }
.seg button[aria-checked="true"] { background: var(--surface); color: var(--ink); }
.pick-count { font-size: max(13px, var(--sm)); color: var(--muted); }
.pick-count b { color: var(--ink); font-weight: 600; }
.pick-list { display: grid; gap: 4px; }
.pick-list a { width: 100%; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 8px; border-radius: var(--r-m); transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); animation: rise .35s var(--ease) both; }
.pick-list li:nth-child(2) a { animation-delay: 40ms; } .pick-list li:nth-child(3) a { animation-delay: 80ms; }
.pick-list a:hover { background: var(--surface-2); }
.pick-list .pick-pic { width: 56px; height: 42px; object-fit: cover; border-radius: 0; background: var(--surface-2); }
.pick-list .pick-pic.pic-none svg { width: 22px; } .pick-list .pick-pic.pic-none small { display: none; }
.pick-list b { display: block; font-size: max(13px, var(--sm)); font-weight: 600; line-height: 1.25; }
.pick-list small { font-size: max(13px, var(--sm)); color: var(--muted); }
.pick-list .price { font-size: max(13px, var(--sm)); }
.pick-all { margin-top: auto; width: 100%; }
.pick-empty { padding: 16px; border-radius: var(--r-m); background: var(--surface-2); color: var(--muted); font-size: max(13px, var(--sm)); }
.pick-empty a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }

/* ---------- почему мы ---------- */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.trust-item { display: flex; gap: 16px; align-items: flex-start; padding: 16px; background: var(--surface); border-radius: var(--r-l); }
.trust-item > .i { width: 24px; height: 24px; color: var(--accent); margin-top: 1px; }
.trust-item b { display: block; font-size: max(15px, var(--md)); font-weight: 600; }
.trust-item span { font-size: max(13px, var(--sm)); color: var(--muted); }

/* ---------- секции ---------- */
.sec { margin-top: 64px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.sec-head h2, .about h2, .cb h2, .promo3d h2 { font-size: var(--xxl); line-height: 1.08; font-weight: 700; letter-spacing: -0.03em; }
.rail-nav { display: flex; gap: 8px; }

/* ---------- лента категорий ---------- */
.rail { display: grid; grid-auto-flow: column; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 4px; margin: -2px; scroll-behavior: smooth; }
.rail::-webkit-scrollbar { display: none; }
.cats { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
.cat { scroll-snap-align: start; display: grid; gap: 8px; padding: 8px 8px 16px; background: var(--surface); border-radius: var(--r-l);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }
.cat-img { aspect-ratio: 4 / 3; border-radius: var(--r-m); overflow: hidden; background: var(--surface-2); }
.cat-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-name { font-size: max(15px, var(--md)); font-weight: 650; letter-spacing: -0.015em; padding: 0 8px; }
.cat-meta { font-size: max(13px, var(--sm)); color: var(--muted); padding: 0 8px; margin-top: -8px; font-variant-numeric: tabular-nums; }

/* ---------- каталог ---------- */
.tools { display: flex; align-items: center; gap: 8px; }
.select { position: relative; display: block; }
.select select { height: 40px; padding: 0 32px 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: 500 max(13px, var(--sm)) var(--font); /* taste-skill-ignore: парит, фокус или таблица */
  -webkit-appearance: none; appearance: none; cursor: pointer; }
.select .i { position: absolute; right: 16px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.view { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--surface-2); }
.view button { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 999px; color: var(--muted); transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }
.view button .i { width: 18px; height: 18px; }
.view button[aria-pressed="true"] { background: var(--surface); color: var(--ink); }
.chips-bar { position: sticky; top: var(--hd-h); z-index: 20; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 8px 0 16px; margin-bottom: 4px; background: var(--bg);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }
.chips-bar::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; background: var(--surface);
  font-size: max(13px, var(--sm)); font-weight: 500; color: var(--ink-2); transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }
.chip span { font-size: max(13px, var(--sm)); color: var(--muted); font-variant-numeric: tabular-nums; }
.chip:hover { background: var(--surface-2); color: var(--ink); }
.chip.on { background: var(--chip-on); color: var(--on-chip-on); border-color: var(--chip-on); }
.chip.on span { color: inherit; opacity: .65; }
.chip-pick { background: var(--accent-soft); color: var(--accent-text); border-color: transparent; }
.chip-pick .i { width: 16px; height: 16px; }
.chip-pick:hover { border-color: var(--accent); color: var(--accent-text); }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; padding: 8px; background: var(--surface); border-radius: var(--r-l);
  transition: background-color .4s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }   /* наведение — только плавная смена фона */
.card-media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-m); overflow: hidden; background: var(--surface-2); }
.card-img { display: block; width: 100%; height: 100%; }
.pic { width: 100%; height: 100%; object-fit: cover; transition: opacity .4s ease; }
.ready img.pic:not(.ok) { opacity: 0; }
.pic-none { display: grid; place-items: center; align-content: center; gap: 8px; width: 100%; height: 100%; color: var(--muted); }
.pic-none svg { width: 54px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pic-none small { font-size: max(13px, var(--sm)); }
.card .badges { position: absolute; left: 8px; top: 8px; }
.card-tools { position: absolute; right: 8px; top: 8px; display: grid; gap: 4px; }
.tool { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--dk);
  opacity: 0; transform: translateX(6px); transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }
.tool .i { width: 18px; height: 18px; }
.card:hover .tool, .card:focus-within .tool, .tool[aria-pressed="true"] { opacity: 1; transform: none; }
.tool:hover { background: #ffffff; }
.tool[data-fav][aria-pressed="true"] { color: var(--accent); }
.tool[data-fav][aria-pressed="true"] .i { fill: currentColor; animation: pop .35s var(--ease); }
.tool[data-cmp][aria-pressed="true"] { background: var(--dk); color: #ffffff; }
@keyframes pop { 40% { transform: scale(1.3); } }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 8px 4px; flex: 1; }
.card-meta { display: flex; justify-content: space-between; gap: 8px; font-size: max(13px, var(--sm)); color: var(--muted); }
.card-name { font-size: max(15px, var(--md)); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; text-wrap: balance; }
.card-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.card-chips li { display: inline-flex; align-items: center; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: max(13px, var(--sm)); font-weight: 500; font-variant-numeric: tabular-nums; }
.card-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding-top: 4px; }
.buy { flex: none; }
.btn-add { height: 40px; padding: 0 16px 0 16px; }
.stepper { display: inline-flex; align-items: center; height: 40px; border-radius: 999px; background: var(--btn); color: var(--on-btn); animation: rise .25s var(--ease); }
.stepper button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; }
.stepper button:hover { background: rgba(127, 127, 127, .18); }
.stepper .i { width: 16px; height: 16px; }
.stepper output { min-width: 22px; text-align: center; font-size: max(13px, var(--sm)); font-weight: 700; font-variant-numeric: tabular-nums; }
.stepper-s { height: 34px; background: var(--surface-2); color: var(--ink); animation: none; }
.stepper-s button { width: 32px; height: 34px; }
.empty .btn { margin-top: 16px; }
.empty { padding: 32px 16px; text-align: center; color: var(--muted); background: var(--surface); border-radius: var(--r-l); }
.js .grid:not(.ready) .card.more, html:not(.js) #moreBtn { display: none; }
.grid-more { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 24px; }
.grid-more span { color: var(--muted); font-variant-numeric: tabular-nums; }
/* список */
.grid.list { grid-template-columns: minmax(0, 1fr); }
.grid.list .card { flex-direction: row; gap: 8px; }
.grid.list .card-media { width: min(300px, 34%); flex: none; aspect-ratio: auto; min-height: 200px; }
.grid.list .card-body { padding: 16px 16px 8px; }
.grid.list .card-name { font-size: var(--lg); }
.grid.list .card-foot { justify-content: flex-start; gap: 16px; }

/* ---------- вы смотрели ---------- */
.recent { grid-auto-columns: calc((100% - 5 * 16px) / 6); }
.mini { scroll-snap-align: start; display: grid; gap: 8px; padding: 8px 8px 16px; background: var(--surface); border-radius: var(--r-l); text-align: left;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }
.mini .pic, .mini .pic-none { aspect-ratio: 4 / 3; height: auto; border-radius: var(--r-m); background: var(--surface-2); }
.mini .pic-none svg { width: 36px; } .mini .pic-none small { display: none; }
.mini b { font-size: max(13px, var(--sm)); font-weight: 600; line-height: 1.3; padding: 0 4px; }
.mini .price { font-size: max(15px, var(--md)); padding: 0 4px; }

/* ---------- 3D ---------- */
.promo3d { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: center; padding: 16px; background: var(--dk); color: #ffffff; border-radius: var(--r-xl); overflow: hidden; }
.promo3d-text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 16px 24px 24px; }
.promo3d p { color: var(--choco-300); max-width: 46ch; }
.promo3d img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 45% 55%; border-radius: var(--r-l); }

/* ---------- как купить ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.steps li { position: relative; counter-increment: s; display: grid; gap: 4px; align-content: start; padding-top: 48px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  background: var(--btn); color: var(--on-btn); font-size: max(13px, var(--sm)); font-weight: 700; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 46px; /* вне ряда: линия от края кружка */ right: 0; top: 16px; height: 2px; border-radius: 2px; background: var(--line-2); }
.steps b { font-size: max(15px, var(--md)); font-weight: 600; }
.steps span { font-size: max(13px, var(--sm)); color: var(--muted); }
.info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.sec-head + .info { margin-top: 0; }
.info-card { display: grid; gap: 8px; align-content: start; padding: 24px; background: var(--surface); border-radius: var(--r-l); }
.info-card > .i { width: 26px; height: 26px; color: var(--accent); margin-bottom: 4px; }
.info-card h3 { font-size: var(--lg); font-weight: 700; letter-spacing: -0.015em; }
.info-card p { font-size: max(15px, var(--md)); color: var(--muted); }
.pay { display: flex; gap: 4px; margin-top: 4px; }
.pay li { height: 28px; padding: 0 8px; display: grid; place-items: center; border-radius: 999px; background: var(--surface-2); font-size: max(13px, var(--sm)); font-weight: 600; color: var(--ink-2); }

/* ---------- о компании ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.about-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-xl); }
.about-pic figcaption { margin-top: 8px; font-size: max(13px, var(--sm)); color: var(--muted); }
.about-text { display: grid; gap: 16px; }
.about-lead { font-size: var(--lg); line-height: 1.45; letter-spacing: -0.01em; }
.about-text > p:not(.about-lead) { color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
.facts li { display: flex; align-items: center; gap: 8px; padding: 16px 16px; background: var(--surface); border-radius: var(--r-m); font-size: max(15px, var(--md)); font-weight: 500; }
.facts .i { width: 18px; height: 18px; color: var(--ok); stroke-width: 2.2; }

/* ---------- вопросы ---------- */
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.faq-list details { background: var(--surface); border-radius: var(--r-l); transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 16px; font-size: max(15px, var(--md)); font-weight: 600; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .i { width: 20px; height: 20px; color: var(--muted); transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }
.faq-list details[open] summary .i { transform: rotate(45deg); }
.faq-list details p { padding: 0 16px 16px; color: var(--muted); font-size: max(15px, var(--md)); }

/* ---------- консультация ---------- */
.cb { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px; align-items: center; padding: 32px; background: var(--surface); border-radius: var(--r-xl); }
.cb-text { display: grid; gap: 8px; }
.cb-text p { color: var(--muted); max-width: 46ch; }
.cb-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px; align-items: start; }
.cb-form .btn { height: 54px; }
.field { position: relative; display: block; }
.field input { width: 100%; height: 54px; padding: 24px 16px 8px; border-radius: var(--r-m); border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: 400 max(15px, var(--md)) var(--font); /* taste-skill-ignore: парит, фокус или таблица */
  outline: none; transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); -webkit-appearance: none; appearance: none; }
.field span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: max(15px, var(--md)); color: var(--muted); pointer-events: none; transition: top .15s var(--ease), font-size .15s var(--ease); }
.field input:focus + span, .field input:not(:placeholder-shown) + span { top: 16px; font-size: max(13px, var(--sm)); }
.field input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(127, 127, 127, .16); } /* taste-skill-ignore: парит, фокус или таблица */
.field input.invalid { border-color: var(--danger); }
.check { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: max(13px, var(--sm)); color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); flex: none; }
.check input.invalid { outline: 2px solid var(--danger); outline-offset: 2px; }
.form-msg { grid-column: 1 / -1; min-height: 20px; font-size: max(13px, var(--sm)); color: var(--ok); }
.form-msg.err { color: var(--danger); }

/* ---------- подвал — src/app/footer.css (один на магазин и лендинги) ---------- */

/* ---------- сравнение: панель ---------- */
.cmp-bar { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 45; transform: translateX(-50%); display: flex; align-items: center; gap: 16px;
  padding: 8px 8px 8px 16px; border-radius: 999px; background: var(--dk); color: #ffffff; font-size: max(13px, var(--sm)); font-weight: 500; box-shadow: var(--shadow-l); animation: rise .3s var(--ease); white-space: nowrap; } /* taste-skill-ignore: парит, фокус или таблица */

/* ---------- диалоги и панели ---------- */
/* вход и выход окон: @starting-style + allow-discrete, где не поддерживается — просто без анимации */
dialog { color: var(--ink); overscroll-behavior: contain; }
dialog::backdrop { background: rgba(10, 11, 14, 0); transition: background-color .3s ease, display .3s allow-discrete, overlay .3s allow-discrete; }
dialog[open]::backdrop { background: rgba(10, 11, 14, .5); }
@starting-style { dialog[open]::backdrop { background: rgba(10, 11, 14, 0); } }
.drawer { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(460px, 100vw); height: 100%; max-height: 100%; max-width: 100vw; padding: 0; border: 0; background: var(--surface); box-shadow: var(--shadow-l); /* taste-skill-ignore: парит, фокус или таблица */
  transform: translateX(100%); transition: transform .4s var(--ease), display .4s allow-discrete, overlay .4s allow-discrete; }
.drawer[open] { display: flex; flex-direction: column; transform: none; }
@starting-style { .drawer[open] { transform: translateX(100%); } }
.qv, .cmp, .pal { opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .22s ease, transform .3s var(--ease), display .3s allow-discrete, overlay .3s allow-discrete; }
.qv[open], .cmp[open], .pal[open] { opacity: 1; transform: none; }
@starting-style { .qv[open], .cmp[open], .pal[open] { opacity: 0; transform: translateY(14px) scale(.985); } }
.dr-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: calc(16px + env(safe-area-inset-top)) 16px 16px 24px; }
.dr-head h2 { font-size: var(--lg); font-weight: 700; letter-spacing: -0.02em; }
.dr-head .count { font-size: max(15px, var(--md)); vertical-align: baseline; }
.dr-list { flex: 1; overflow: auto; overscroll-behavior: contain; padding: 4px 24px; }
.dr-item { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 16px; padding: 16px 0; animation: rise .25s var(--ease); }
.dr-item .pic, .dr-item .pic-none { width: 84px; height: 63px; border-radius: var(--r-s); background: var(--surface-2); }
.dr-item .pic-none svg { width: 28px; } .dr-item .pic-none small { display: none; }
.dr-item h3 { font-size: max(13px, var(--sm)); font-weight: 600; line-height: 1.3; }
.dr-item h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ci-price { font-size: max(13px, var(--sm)); color: var(--muted); margin-top: 2px; font-variant-numeric: tabular-nums; }
.ci-paint { font-size: max(13px, var(--sm)); color: var(--muted); margin-top: 2px; }
.dr-item .buy { margin-top: 8px; }
.dr-item .stepper { animation: none; }
.ci-sum { font-size: max(15px, var(--md)); font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ci-del { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 999px; color: var(--muted); }
.ci-del:hover { background: var(--surface-2); color: var(--danger); }
.ci-del .i { width: 18px; height: 18px; }
.dr-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 32px 32px; text-align: center; color: var(--muted); }
.dr-empty > .i { width: 44px; height: 44px; color: var(--line-2); stroke-width: 1.4; }
.dr-foot { display: grid; gap: 8px; padding: 16px 24px calc(16px + env(safe-area-inset-bottom)); background: var(--surface-2); }
.totals { display: grid; gap: 4px; margin-bottom: 4px; }
.totals div { display: flex; justify-content: space-between; gap: 16px; font-size: max(13px, var(--sm)); color: var(--muted); }
.totals dd { font-variant-numeric: tabular-nums; text-align: right; }
.totals .tot { color: var(--ink); font-size: max(15px, var(--md)); font-weight: 600; margin-top: 4px; align-items: baseline; }
.totals .tot dd { font-size: var(--xxl); font-weight: 700; letter-spacing: -0.02em; }
.dr-note { font-size: max(13px, var(--sm)); color: var(--muted); text-align: center; }

.qv { width: min(1040px, calc(100vw - 32px)); max-height: calc(100svh - 48px); padding: 0; border: 0; border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-l); overflow: auto; } /* taste-skill-ignore: парит, фокус или таблица */
.qv-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.qv-media { position: relative; background: var(--surface-2); min-height: 440px; }
.qv-media .pic, .qv-media .pic-none { position: absolute; inset: 0; }
.qv-media .badges { position: absolute; left: 16px; top: 16px; }
.qv-text { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 24px 24px 24px; }
.qv-close { position: absolute; right: 16px; top: 16px; }
.qv-text h2 { font-size: var(--xxl); font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; padding-right: 32px; text-wrap: balance; }
.qv-desc { color: var(--muted); font-size: max(15px, var(--md)); }
.qv-specs { width: 100%; border-collapse: collapse; font-size: max(13px, var(--sm)); }
.qv-specs th, .qv-specs td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; } /* taste-skill-ignore: парит, фокус или таблица */
.qv-specs th { font-weight: 400; color: var(--muted); padding-right: 16px; }
.qv-specs td { font-weight: 500; font-variant-numeric: tabular-nums; }
.qv-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
.qv-buy .price { font-size: var(--xxl); width: 100%; }
.qv-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.qv-links button { display: inline-flex; align-items: center; gap: 4px; font-size: max(13px, var(--sm)); font-weight: 500; color: var(--muted); padding: 4px 0; }
.qv-links button:hover, .qv-links button[aria-pressed="true"] { color: var(--ink); }
.qv-links button[data-fav][aria-pressed="true"] .i { fill: var(--accent); color: var(--accent); }
.qv-links .i { width: 18px; height: 18px; }
.qv-note { font-size: max(13px, var(--sm)); color: var(--muted); }

.cmp { width: min(1200px, calc(100vw - 32px)); max-height: calc(100svh - 48px); padding: 0; border: 0; border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-l); } /* taste-skill-ignore: парит, фокус или таблица */
.cmp[open] { display: flex; flex-direction: column; }
.cmp-scroll { overflow: auto; padding: 0 24px 24px; }
.cmp table { border-collapse: separate; border-spacing: 0; font-size: max(13px, var(--sm)); }
.cmp th, .cmp td { padding: 16px 16px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; min-width: 220px; } /* taste-skill-ignore: парит, фокус или таблица */
.cmp tbody th { position: sticky; left: 0; z-index: 1; min-width: 170px; background: var(--surface); color: var(--muted); font-weight: 400; }
.cmp thead td { padding-top: 16px; }
.cmp-prod { display: grid; gap: 8px; }
.cmp-prod .pic, .cmp-prod .pic-none { aspect-ratio: 4 / 3; height: auto; border-radius: var(--r-m); background: var(--surface-2); }
.cmp-prod .pic-none small { display: none; } .cmp-prod .pic-none svg { width: 40px; }
.cmp-prod b { font-size: max(15px, var(--md)); font-weight: 600; line-height: 1.3; }
.cmp-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cmp td.dash { color: var(--muted); }
.cmp table.diff tr[data-same] { display: none; }
.cmp-prod b a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cmp-prod > a { display: block; border-radius: var(--r-m); overflow: hidden; }
.cmp-diff { font-size: max(13px, var(--sm)); font-weight: 500; color: var(--ink-2); white-space: nowrap; }

.pal { width: min(680px, calc(100vw - 32px)); margin: 12vh auto auto; padding: 0; border: 0; border-radius: var(--r-l); background: var(--surface); box-shadow: var(--shadow-l); overflow: hidden; } /* taste-skill-ignore: парит, фокус или таблица */
.pal-input { display: flex; align-items: center; gap: 16px; padding: 16px 16px 16px 16px; color: var(--muted); }
.pal-input input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: 400 max(15px, var(--md)) var(--font); -webkit-appearance: none; appearance: none; }
.pal-input input::-webkit-search-cancel-button { display: none; }
.pal-list { max-height: min(56vh, 520px); overflow: auto; overscroll-behavior: contain; padding: 8px; }
.pal-group { padding: 8px 16px 4px; font-size: max(13px, var(--sm)); font-weight: 600; color: var(--muted); }
.pal-item { width: 100%; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 8px 8px; border-radius: 0; }
.pal-item[aria-selected="true"] { background: var(--surface-2); }
.pal-item .pic, .pal-item .pic-none { width: 52px; height: 39px; border-radius: 0; background: var(--surface-2); }
.pal-item .pic-none svg { width: 22px; } .pal-item .pic-none small { display: none; }
.pal-item b { display: block; font-size: max(13px, var(--sm)); font-weight: 600; line-height: 1.3; }
.pal-item small { font-size: max(13px, var(--sm)); color: var(--muted); }
.pal-item .price { font-size: max(13px, var(--sm)); }
.pal-item > .i { width: 18px; height: 18px; color: var(--muted); }
.pal-item mark { background: var(--accent-soft); color: inherit; border-radius: 3px; padding: 0 1px; }
.pal-ico { width: 52px; height: 39px; display: grid; place-items: center; border-radius: 0; background: var(--surface-2); color: var(--muted); }
.pal-empty { padding: 24px 16px; text-align: center; color: var(--muted); font-size: max(13px, var(--sm)); }
.pal-foot { display: flex; background: var(--surface-2); gap: 16px; padding: 8px 16px; font-size: max(13px, var(--sm)); color: var(--muted); }
.pal-foot kbd { margin-right: 4px; }

/* ---------- телефон: нижняя панель, наверх, уведомление ---------- */
.tabbar { display: none; }
.to-top { position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 40; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 999px;
  background: var(--surface); box-shadow: var(--shadow-m); animation: rise .25s var(--ease); } /* taste-skill-ignore: парит, фокус или таблица */
.toast { position: fixed; inset: auto auto calc(24px + env(safe-area-inset-bottom)) 50%; margin: 0; border: 0; overflow: visible; z-index: 300; display: flex; align-items: center; gap: 16px; max-width: calc(100vw - 32px);
  padding: 16px 16px 16px 16px; border-radius: var(--r-m); background: var(--dk); color: #ffffff; font-size: max(13px, var(--sm)); box-shadow: var(--shadow-l); /* taste-skill-ignore: парит, фокус или таблица */
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none; transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }
.toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { flex: none; height: 32px; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #ffffff; font-size: max(13px, var(--sm)); font-weight: 600; }
.toast button:hover { background: rgba(255, 255, 255, .2); }
.cmp-on .toast { margin-bottom: 48px; }
.tabbar .bump { animation: bump .45s var(--ease); }
.fly { position: fixed; z-index: 400; pointer-events: none; border-radius: 0; object-fit: cover; box-shadow: var(--shadow-m); } /* taste-skill-ignore: парит, фокус или таблица */
.print-frame { position: fixed; width: 0; height: 0; border: 0; visibility: hidden; }

/* ---------- переходы каталога и темы (View Transitions) ---------- */
::view-transition-group(*) { animation-duration: .35s; animation-timing-function: var(--ease); }
.vt-theme .card { view-transition-name: none !important; }
.vt-theme::view-transition-old(root), .vt-theme::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

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

dialog:focus-visible { outline: none; }
@media (max-width: 1480px) { .hd-phone { display: none; } }
@media (max-width: 1180px) { .hd-nav > a:not(:first-of-type) { display: none; } }
/* ---------- ноутбук ---------- */
@media (max-width: 1240px) {
  .b-hero { grid-column: 1 / -1; }
  .b-pick { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 16px 24px; }
  .b-pick .pick-head, .b-pick .mchips, .b-pick .seg, .b-pick .pick-count { grid-column: 1; }
  .b-pick .pick-list { grid-column: 2; grid-row: 1 / 5; }
  .b-pick .pick-all { grid-column: 2; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cats { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
  .recent { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
}
/* ---------- планшет ---------- */
@media (max-width: 960px) {
  .hd-nav > a { display: none; }
  .intro { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .b-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .b-media { aspect-ratio: 16 / 10; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info, .faq-list { grid-template-columns: minmax(0, 1fr); }
  .about, .cb, .promo3d { grid-template-columns: minmax(0, 1fr); }
  .promo3d-text { padding: 16px 8px 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(2)::after { display: none; }
  .mega-in { grid-template-columns: 240px minmax(0, 1fr); }
  .mega-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.list .card-media { width: 40%; }
}
/* ---------- телефон ---------- */
@media (max-width: 760px) {
  :root { --hd-h: 58px; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .hd-in { gap: 8px; }
  .hd-nav, #favBtn, #cmpBtn, .search-pill, .ac-header-link { display: none; }   /* поиск — в нижней панели, кабинет — в подвале */
  .logo { --mark: 28px; }
  .hd-tools { margin-left: auto; }
  .hd-phone { display: flex; align-items: flex-end; margin-right: 16px; }   /* телефон — ссылка tel: рядом с корзиной, по правому краю */
  .cart-pill { padding: 0 16px 0 8px; }
  .cart-sum { display: none; }
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 46; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); background: var(--surface); }
  .tabbar a, .tabbar button { position: relative; display: grid; justify-items: center; gap: 2px; padding: 4px 0; font-size: max(13px, var(--sm)); font-weight: 500; color: var(--muted); }
  .tabbar .i { width: 23px; height: 23px; }
  .tabbar .cnt { top: 0; right: auto; left: calc(50% + 6px); /* вне ряда: счетчик у края значка */ }
  .tabbar [aria-expanded="true"] { color: var(--ink); }
  .to-top { bottom: calc(var(--tab-h) + 16px + env(safe-area-inset-bottom)); right: 16px; }   /* над нижней панелью */
  .toast { bottom: calc(var(--tab-h) + 16px + env(safe-area-inset-bottom)); }
  .cmp-bar { bottom: calc(var(--tab-h) + 16px + env(safe-area-inset-bottom)); }
  .cmp-on .to-top { bottom: calc(var(--tab-h) + 16px + 64px + env(safe-area-inset-bottom)); }   /* и над панелью сравнения */
  .mega { position: fixed; top: var(--hd-h); bottom: calc(64px + env(safe-area-inset-bottom)); overflow: auto; }
  .mega-in { grid-template-columns: minmax(0, 1fr); padding: 16px 0 16px; }
  .mega-panes { display: none; }
  .bento { margin-top: 16px; gap: 16px; }
  .b-text { padding: 16px; }
  .b-pick { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .b-pick .pick-list, .b-pick .pick-all { grid-column: 1; grid-row: auto; }
  .trust { gap: 8px; }
  .trust-item { padding: 16px; gap: 8px; flex-direction: column; }
  .cats { grid-auto-columns: 62%; }
  .recent { grid-auto-columns: 44%; }
  .rail-nav { display: none; }
  .sec-head { align-items: center; }
  .grid { gap: 8px; }
  .card { padding: 4px; border-radius: var(--r-m); }
  .card .badges { left: 8px; top: 8px; }
  .card .badge { height: 22px; padding: 0 8px; font-size: max(13px, var(--sm)); }
  .card .badge { display: none; }
  .card-body { padding: 8px 4px 4px; gap: 4px; }
  .card-name { font-size: max(13px, var(--sm)); }
  .card-chips li:nth-child(2) { display: none; }
  .card-foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .price { font-size: max(15px, var(--md)); }
  .price-xl { font-size: var(--xxl); }   /* крупная цена (первый экран, товар) — крупной и на телефоне */
  .btn-add { width: 100%; height: 38px; }
  .stepper { width: 100%; justify-content: space-between; height: 38px; }
  .tool { width: 32px; height: 32px; }
  .grid.list .card { flex-direction: column; }
  .grid.list .card-media { width: 100%; min-height: 0; aspect-ratio: 16 / 10; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .steps li { padding: 0 0 0 48px; min-height: 34px; }
  .steps li::after { display: none; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .cb-form { grid-template-columns: minmax(0, 1fr); }
  .drawer { width: 100vw; }
  .qv { width: 100vw; max-width: 100vw; max-height: 100svh; height: 100svh; margin: 0; border-radius: 0; }
  .qv-in { grid-template-columns: minmax(0, 1fr); }
  .qv-media { min-height: 0; aspect-ratio: 4 / 3; }
  .qv-close { position: fixed; right: 16px; top: calc(16px + env(safe-area-inset-top)); background: var(--surface-2); z-index: 2; }
  .pal { width: 100vw; max-width: 100vw; height: 100svh; max-height: 100svh; margin: 0; border-radius: 0; }
  .pal[open] { display: flex; flex-direction: column; }
  .pal-list { flex: 1; max-height: none; }
  .pal-foot { display: none; }
  .cmp { width: 100vw; max-width: 100vw; height: 100svh; max-height: 100svh; margin: 0; border-radius: 0; }
}

/* ===================== каталог и страница товара ===================== */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 4px; padding-top: 24px; font-size: max(13px, var(--sm)); color: var(--muted); }
.crumbs a { transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); } .crumbs a:hover { color: var(--ink); }
.crumbs .i { width: 14px; height: 14px; }
.crumbs [aria-current] { color: var(--ink-2); }

/* ---------- каталог ---------- */
.cat-head { display: grid; gap: 8px; margin: 16px 0 24px; }
.cat-head h1 { font-size: clamp(32px, 2.4vw + 12px, 52px); line-height: 1.02; font-weight: 700; letter-spacing: -0.035em; }
.cat-sub { max-width: 64ch; color: var(--muted); }
.cat-layout { display: grid; grid-template-columns: 288px minmax(0, 1fr); gap: 32px; align-items: start; }
/* на компьютере фильтр всегда раскрыт целиком и прокручивается вместе со страницей; своя прокрутка — только у шторки на телефоне */
.filters { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-l); }
.f-head { display: none; }
.f-body { padding: 4px 16px; }
.f-group { min-width: 0; margin: 0; padding: 16px 0; border: 0; }
.f-group legend { float: left; width: 100%; margin-bottom: 8px; padding: 0; font-size: max(15px, var(--md)); font-weight: 650; }
.f-opt { clear: both; display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: max(13px, var(--sm)); color: var(--ink-2); cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }
.f-opt input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--ink); cursor: pointer; }
.f-opt span { flex: 1; min-width: 0; }
.f-opt small { font-size: max(13px, var(--sm)); color: var(--muted); font-variant-numeric: tabular-nums; }
.f-opt:hover span { color: var(--ink); }
.f-opt.off { opacity: .38; }
.f-seg { clear: both; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.f-seg label { position: relative; }
.f-seg input { position: absolute; opacity: 0; pointer-events: none; }
.f-seg span { display: grid; place-items: center; height: 36px; border-radius: 999px; background: var(--surface-2); font-size: max(13px, var(--sm)); font-weight: 500; color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }
.f-seg span:hover { background: var(--surface-3); color: var(--ink); }
.f-seg input:checked + span { background: var(--chip-on); border-color: var(--chip-on); color: var(--on-chip-on); }
.f-seg input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.f-note { margin-top: 8px; font-size: max(13px, var(--sm)); line-height: 1.4; color: var(--muted); }
/* цена: гистограмма — мягкая плотность, шкала прямо под ней, белые ручки с тенью */
.f-hist { clear: both; display: flex; align-items: flex-end; gap: 4px; height: 48px; padding: 0 8px; cursor: pointer; }
.f-hist i { flex: 1; border-radius: 0; background: var(--line-2); transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }
.f-hist i.in { background: color-mix(in srgb, var(--ink) 48%, var(--surface)); }
.range { --a: 0; --b: 1; position: relative; height: 24px; margin-top: -16px; cursor: pointer; }
.range::before, .range::after { content: ""; position: absolute; top: 50%; height: 2px; margin-top: -1px; border-radius: 1px; pointer-events: none; }
.range::before { left: 8px; right: 8px; background: var(--line-2); }
.range::after { left: calc(var(--a) * (100% - 20px) + 10px); /* вне ряда: центр ползунка 20 */ right: calc((1 - var(--b)) * (100% - 20px) + 10px); /* вне ряда: центр ползунка 20 */ background: var(--ink); }
.range input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 24px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.range input::-webkit-slider-runnable-track { height: 2px; background: transparent; }
.range input::-webkit-slider-thumb { -webkit-appearance: none; box-sizing: border-box; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; border: 1px solid rgba(31, 23, 17, .14); background: #ffffff; /* taste-skill-ignore: парит, фокус или таблица */
  box-shadow: 0 1px 3px rgba(31, 23, 17, .2), 0 3px 10px rgba(31, 23, 17, .08); cursor: grab; pointer-events: auto; transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); } /* taste-skill-ignore: парит, фокус или таблица */
.range input::-webkit-slider-thumb:hover { transform: scale(1.1); }
.range input:active::-webkit-slider-thumb { cursor: grabbing; transform: scale(1.12); box-shadow: 0 2px 12px rgba(31, 23, 17, .28); } /* taste-skill-ignore: парит, фокус или таблица */
.range input::-moz-range-track { background: transparent; }
.range input::-moz-range-thumb { box-sizing: border-box; width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(31, 23, 17, .14); background: #ffffff; box-shadow: 0 1px 3px rgba(31, 23, 17, .2); cursor: grab; pointer-events: auto; } /* taste-skill-ignore: парит, фокус или таблица */
.range input:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--blue); outline-offset: 2px; }
.range input:focus-visible::-moz-range-thumb { outline: 2px solid var(--blue); outline-offset: 2px; }
.f-prices { display: grid; grid-template-columns: minmax(0, 1fr) 8px minmax(0, 1fr); align-items: center; gap: 4px; margin-top: 16px; }
.f-dash { height: 2px; border-radius: 1px; background: var(--line-2); }
.f-num { display: grid; gap: 1px; padding: 8px 8px 8px; border-radius: 0; border: 1px solid var(--line-2); cursor: text; transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); } /* taste-skill-ignore: парит, фокус или таблица */
.f-num:hover { border-color: var(--muted); }
.f-num:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(127, 127, 127, .16); } /* taste-skill-ignore: парит, фокус или таблица */
.f-num small { font-size: max(13px, var(--sm)); color: var(--muted); }
.f-num input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; background: none; color: var(--ink); font: 600 max(13px, var(--sm)) var(--font); font-variant-numeric: tabular-nums; }
.f-foot { display: flex; gap: 8px; padding: 16px 16px; }
.f-foot .btn { flex: 1; }
.f-foot [data-filters-close] { display: none; }
.results { min-width: 0; }
.results .chips-bar { display: none; }
.r-bar { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.r-count { margin-right: auto; font-size: max(15px, var(--md)); color: var(--muted); font-variant-numeric: tabular-nums; }
.f-open { display: none; }
.f-badge { min-width: 20px; height: 20px; padding: 0 4px; display: grid; place-items: center; border-radius: 10px; background: var(--accent); color: var(--on-accent); font-size: max(13px, var(--sm)); font-weight: 700; }
.active { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -4px 0 16px; }
.chip-x { height: 34px; padding: 0 8px 0 16px; border-color: transparent; background: var(--surface-2); font-size: max(13px, var(--sm)); }
.chip-x .i { width: 16px; height: 16px; color: var(--muted); }
.chip-x:hover .i { color: var(--ink); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.js [data-page="catalog"] #grid:not(.ready) { visibility: hidden; }
.scrim { position: fixed; inset: 0; z-index: 59; background: rgba(10, 11, 14, .5); opacity: 0; pointer-events: none; visibility: hidden; transition: opacity .3s ease, visibility 0s .3s; }
.scrim.on { opacity: 1; pointer-events: auto; visibility: visible; transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }
html.lock { overflow: hidden; }

/* ---------- товар ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 16px; }
.pd-gallery { position: sticky; top: calc(var(--hd-h) + 16px); display: grid; gap: 8px; }
.pd-main { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-xl); overflow: hidden; background: var(--surface-2); }
.pd-main .pic { position: absolute; inset: 0; }
.pd-main .pic-none svg { width: 96px; }
.pd-main iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--stage); }
.pd-main .badges { position: absolute; left: 16px; top: 16px; }
.pd-thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.pd-thumb { flex: none; width: 92px; aspect-ratio: 4 / 3; display: grid; place-items: center; align-content: center; gap: 2px; border-radius: var(--r-m); overflow: hidden; border: 2px solid transparent; background: var(--surface-2); color: var(--ink-2); font-size: max(13px, var(--sm)); font-weight: 600; transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb:hover { border-color: var(--line-2); }
.pd-thumb[aria-current="true"] { border-color: var(--ink); }
.pd-thumb .i { width: 22px; height: 22px; }
.pd-info { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pd-cat { display: flex; justify-content: space-between; gap: 16px; font-size: max(13px, var(--sm)); color: var(--muted); }
.pd-cat a:hover { color: var(--ink); }
.pd-info h1 { font-size: clamp(28px, 1.6vw + 14px, 42px); line-height: 1.06; font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
.pd-desc { font-size: max(15px, var(--md)); color: var(--muted); }
.pd-buy { display: grid; gap: 16px; padding: 16px; border-radius: var(--r-l); background: var(--surface); }
.pd-buy .price-xl { font-size: var(--xxl); }
.pd-note { margin-top: -8px; font-size: max(13px, var(--sm)); color: var(--muted); }
/* цвет машины под заказ (PaintPicker, design-system/vue/paints.json): кружки RAL — круг, выбранный — обводка */
/* свернуто: «Цвет машины», «Изменить» и текущие цвета одной строкой; раскрыто — палитры по ролям */
.paint-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; padding-block: 8px; list-style: none; cursor: pointer; }
.paint-head::-webkit-details-marker { display: none; }
.paint-title { font-size: max(15px, var(--md)); font-weight: 650; }
.paint-more { display: inline-flex; align-items: center; gap: 4px; font-size: max(15px, var(--md)); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.paint-more .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.paint-close, .paint[open] .paint-open { display: none; }
.paint[open] .paint-close { display: inline; }
.paint[open] .paint-more .i { transform: rotate(180deg); }
.paint-sum { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: max(15px, var(--md)); color: var(--muted); }
.paint-sum-item { display: inline-flex; align-items: center; gap: 8px; }
.paint-sum-item i { flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px var(--rule); }
.paint[open] .paint-sum { display: none; }
.paint-body { display: grid; gap: 16px; margin-top: 8px; }
.paint-role { min-width: 0; margin: 0; padding: 0; border: 0; }
.paint-role legend { float: left; width: 100%; display: flex; flex-wrap: wrap; gap: 0 8px; margin-bottom: 8px; padding: 0; font-size: max(15px, var(--md)); }
.paint-role legend b { font-weight: 500; }
.paint-role legend span { color: var(--muted); }
.paint-list { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.paint-sw { position: relative; flex: none; width: 32px; height: 32px; padding: 0; cursor: pointer; }
/* кружок — <i> после поля: обводка выбранного через input:checked + i, без :has() (Firefox до 121); край — var(--rule), чтобы белый и черный RAL были видны на любом фоне */
.paint-sw i { position: absolute; inset: 0; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px var(--rule); transition: transform .15s var(--ease); }
.paint-sw input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; border-radius: 50%; opacity: 0; cursor: pointer; }
.paint-sw input:checked + i, .paint-sw input:focus-visible + i { box-shadow: inset 0 0 0 1px var(--rule), 0 0 0 2px var(--bg), 0 0 0 4px var(--ink); }   /* кольцо тенью: outline у круга в Safari до 16.4 квадратный */
@media (hover: hover) { .paint-sw:hover i { transform: scale(1.08); } }
@media (pointer: coarse) { .paint-sw { width: 36px; height: 36px; } }
.pd-actions { display: flex; gap: 8px; }
.pd-actions .buy { flex: 1; }
.pd-actions .btn-add, .pd-actions .stepper { width: 100%; height: 50px; justify-content: center; }
.pd-actions .stepper { justify-content: space-between; padding: 0 4px; }
.pd-tool { width: 50px; height: 50px; padding: 0; flex: none; }
.pd-tool[data-fav][aria-pressed="true"] { color: var(--accent); }
.pd-tool[data-fav][aria-pressed="true"] .i { fill: currentColor; animation: pop .35s var(--ease); }
.pd-tool[data-cmp][aria-pressed="true"] { background: var(--btn); color: var(--on-btn); }
.pd-service li { display: flex; align-items: flex-start; gap: 16px; padding: 8px 0; font-size: max(15px, var(--md)); color: var(--ink-2); }   /* условия — текст, а не сноска: размер основного текста */
.pd-service li:last-child { border-bottom: 0; }
.pd-service .i { flex: none; color: var(--accent); margin-top: calc((1.5em - 20px) / 2); /* вне ряда: центр первой строки */ }   /* иконка по центру первой строки */
.pd-service b { color: var(--ink); font-weight: 600; }
.pd-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.pd-links a, .pd-links button { display: inline-flex; align-items: center; gap: 4px; padding: 4px 0; font-size: max(13px, var(--sm)); font-weight: 500; color: var(--muted); transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }
.pd-links a:hover, .pd-links button:hover { color: var(--ink); }
.pd-links .i { width: 18px; height: 18px; }
.pd-land { display: flex; align-items: center; gap: 16px; padding: 16px 16px; border-radius: var(--r-l); background: var(--dk); color: #ffffff; transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }
.pd-land:hover { transform: translateY(-2px); }
.pd-land > .i:first-child { width: 26px; height: 26px; color: var(--accent); }
.pd-land span { flex: 1; display: grid; }
.pd-land small { color: var(--choco-300); font-size: max(13px, var(--sm)); }
.pd-bar { position: fixed; left: 0; right: 0; top: var(--hd-h); z-index: 44; background: var(--surface); 
  transform: translateY(-100%); opacity: 0; visibility: hidden; transition: transform .3s var(--ease), opacity .2s ease, visibility 0s .3s; }
.pd-bar.on { transform: none; opacity: 1; visibility: visible; transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }
.pd-bar-in { display: flex; align-items: center; gap: 16px; height: 60px; }
.pd-bar-nav { display: flex; gap: 2px; margin-right: auto; overflow-x: auto; scrollbar-width: none; }
.pd-bar-nav a { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; font-size: max(13px, var(--sm)); font-weight: 500; color: var(--muted); white-space: nowrap; transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }
.pd-bar-nav a:hover { color: var(--ink); }
.pd-bar-nav a.on { background: var(--surface-2); color: var(--ink); }
.pd-bar-name { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: max(13px, var(--sm)); font-weight: 600; }
.pd-bar .price { font-size: max(15px, var(--md)); }
.pd-sec { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.pd-sec h2 { margin-bottom: 16px; font-size: var(--xxl); line-height: 1.08; font-weight: 700; letter-spacing: -0.03em; }
.pd-text { display: grid; gap: 16px; padding: 24px; border-radius: var(--r-l); background: var(--surface); }
.pd-text h3 { font-size: max(15px, var(--md)); font-weight: 650; }
.mat-list { display: flex; flex-wrap: wrap; gap: 4px; }
.mat-list a { display: inline-flex; align-items: center; height: 32px; padding: 0 16px; border-radius: 999px; background: var(--surface-2); font-size: max(13px, var(--sm)); font-weight: 500; transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }
.mat-list a:hover { background: var(--surface-3); }
.pd-text .facts { margin-top: 0; }
.spec-table { width: 100%; border-collapse: collapse; font-size: max(15px, var(--md)); }
.spec-table th, .spec-table td { padding: 16px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; } /* taste-skill-ignore: парит, фокус или таблица */
.spec-table th { width: 46%; padding-right: 16px; font-weight: 400; color: var(--muted); }
.spec-table td { font-weight: 500; font-variant-numeric: tabular-nums; }

@media (max-width: 1100px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-layout { grid-template-columns: 264px minmax(0, 1fr); gap: 24px; }
  .pd { gap: 24px; }
}
@media (max-width: 960px) {
  .cat-layout { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; inset: auto 0 0 0; z-index: 60; max-height: 86svh; border: 0; border-radius: var(--r-xl) var(--r-xl) 0 0; box-shadow: var(--shadow-l); /* taste-skill-ignore: парит, фокус или таблица */
    transform: translateY(105%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; }
  .filters.open { transform: none; visibility: visible; transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }
  .f-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 16px 4px 16px; }
  .f-head h2 { font-size: var(--lg); font-weight: 700; letter-spacing: -0.02em; }
  .f-body { overflow: auto; overscroll-behavior: contain; padding: 0 16px; scrollbar-width: thin; }
  .f-foot { padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); }
  .f-foot [data-filters-close] { display: inline-flex; }
  .f-open { display: inline-flex; }
  .results .chips-bar { display: flex; }
  .pd { grid-template-columns: minmax(0, 1fr); }
  .pd-gallery { position: static; }
  .pd-sec { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 760px) {
  .cat-head { margin: 8px 0 16px; }
  .cat-sub { font-size: max(15px, var(--md)); }
  .r-bar { flex-wrap: wrap; gap: 8px; }
  .r-count { order: 3; width: 100%; margin: 0; font-size: max(13px, var(--sm)); }
  .r-bar .tools { margin-left: auto; }
  .r-bar .select select { width: 168px; }
  .pd-thumb { width: 76px; }
  .pd-buy { padding: 16px; }
  .pd-buy .price-xl { font-size: var(--xxl); }
  .pd-bar-in { height: 56px; }
  .pd-bar-nav, .pd-bar-name { display: none; }
  .pd-bar .price { margin-right: auto; }
  .pd-text { padding: 16px; }
}

/* ===================== ревью по tasteskill: одна доминанта на экран, крупный шрифт, без коробок и линий ===================== */
/* первый экран главной: заголовок на дисплейном размере, шредер во всю ширину и медленно дышит */
.intro { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 32px; }
.intro h1 { font-size: clamp(34px, 6.4vw, 104px); line-height: .95; letter-spacing: -0.045em; }
.intro p { max-width: 56ch; font-size: var(--lg); color: var(--ink-2); }
.bento { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
.b-hero { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); min-height: 620px; }
.b-media img { animation: drift 22s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.09) translate(-1.5%, -1%); } }
.b-text { gap: 16px; padding: 32px; }
.b-text h2 { font-size: var(--xxl); }
.b-buy { margin-top: 8px; padding-top: 0; }
.b-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; margin-top: auto; }
.b-specs li { display: grid; align-content: start; gap: 4px; padding: 16px 16px; background: var(--surface-2); }
.b-specs b { order: 0; font-size: max(15px, var(--md)); font-weight: 700; text-align: left; }
.b-specs span { font-size: max(13px, var(--sm)); color: var(--muted); }
/* почему мы: темная полоса, четыре утверждения крупным текстом */
.trust-band { margin-top: 64px; background: var(--band); color: var(--on-band); }
.trust { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; margin-top: 0; padding-block: 48px; }
.trust-item { display: grid; align-content: start; gap: 8px; padding: 0; background: none; }
.trust-item b { font-size: var(--xxl); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; }
.trust-item span { font-size: max(15px, var(--md)); color: var(--on-band-2); }
/* подбор — отдельная секция: условия слева, подходящие модели справа */
.pick-sec .b-pick { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 16px 48px; padding: 32px; }
.b-pick .pick-head, .b-pick .mchips, .b-pick .seg, .b-pick .pick-count { grid-column: 1; }
.b-pick .pick-list { grid-column: 2; grid-row: 1 / 5; }
.b-pick .pick-all { grid-column: 2; }
.pick-head h2 { font-size: var(--xxl); line-height: 1.08; }
.pick-head p { margin-top: 8px; font-size: max(15px, var(--md)); }
.pick-list b { font-size: max(15px, var(--md)); }
.seg button[aria-checked="true"] { background: var(--chip-on); color: var(--on-chip-on); }
/* категории: сетка 3×2 без коробок и без ленты за край */
.cats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 16px; }
.cat { gap: 16px; padding: 0; background: none; }
.cat-img { aspect-ratio: 16 / 10; }
.cats-grid .cat-img { background: none; }   /* картинки — вырезки на прозрачном фоне: машина стоит прямо на странице */
.cats-grid .cat-img img { object-fit: contain; }
/* рендеры товаров с 3D-моделью (<модель>-3d.webp, в разборке — -explode.webp) — вырезки 4:3 на прозрачном фоне: целиком в любом окне, без обрезки */
img:is([src$="-3d.webp"], [src$="-explode.webp"]) { object-fit: contain; }
.cat-name { padding: 0; font-size: var(--lg); }
.cat-meta { margin-top: -4px; padding: 0; font-size: max(15px, var(--md)); }
/* как купить: четыре глагола крупно, порядок — позицией */
.steps { gap: 32px; }
.steps li { gap: 8px; padding: 0; }
.steps li::before, .steps li:not(:last-child)::after { content: none; }
.steps b { font-size: var(--xxl); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; }
.steps span { font-size: max(15px, var(--md)); }
/* оплата, доставка, гарантия: строки — заголовок слева, текст справа */
.info { grid-template-columns: minmax(0, 1fr); gap: 2px; margin-top: 32px; }
.info-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px 32px; padding: 24px; background: var(--surface); }
.info-row h3 { font-size: var(--xxl); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; }
.info-row p { max-width: 62ch; font-size: max(15px, var(--md)); color: var(--ink-2); }
.info-row .pay { margin-top: 16px; }
.facts li { padding: 0; background: none; }
/* подвал: имя возвращается во всю ширину */
/* каталог и товар */
.cat-head h1 { font-size: clamp(34px, 6vw, 96px); line-height: .95; letter-spacing: -0.045em; }
.cat-sub { font-size: var(--lg); color: var(--ink-2); }
.f-group { padding: 16px 0; }
.pd { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
/* десктоп: машина — главное на первом экране (≥ трети экрана). Галерея шире и уходит к левому рельсу, как рамки и сетки; кадр 5:4.
   Шире 1.45fr нельзя: длинные названия («Дренирующий шнековый транспортер») уходят в 3 строки */
@media (min-width: 961px) {
  .pd { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-left: -24px; }   /* узкий десктоп: тексту поровну, иначе название в 3 строки */
  .pd-main { aspect-ratio: 5 / 4; }
}
@media (min-width: 1200px) { .pd { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); } }
.pd-info { container-type: inline-size; }
/* название — не больше 2 строк при любой ширине колонки: кегль ограничен шириной колонки текста (9cqi — «Сепаратор пера и кишок» в строку) */
.pd-info h1 { font-size: min(clamp(30px, 2vw + 18px, 52px), 9cqi); }
.pd-service li { padding: 8px 0; }
.pd-bar { box-shadow: 0 8px 24px rgba(31, 23, 17, .07); } /* taste-skill-ignore: липкая панель парит */
/* появление частей секций при прокрутке (классы ставит скрипт — без него все видно сразу) */
.js .rv:not(.in) { opacity: 0; }
.rv.in { animation: rv-in .7s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes rv-in { from { opacity: 0; transform: translateY(24px); } }
@media (max-width: 1100px) {
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .b-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .cats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd { grid-template-columns: minmax(0, 1fr); }
  .cart-sum { display: none; }
  .cart-pill { padding: 0 16px; }
  .chips-bar { position: static; flex-wrap: wrap; overflow: visible; }
}
@media (max-width: 760px) {
  .intro p { font-size: max(15px, var(--md)); }
  .trust { grid-template-columns: minmax(0, 1fr); }
  .pick-sec .b-pick { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .b-pick .pick-list, .b-pick .pick-all { grid-column: 1; grid-row: auto; }
  .b-specs { grid-template-columns: minmax(0, 1fr); }
  .b-specs li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 16px; }
  .b-specs b { order: 2; text-align: right; }
  .cats-grid { gap: 24px 16px; }
  .cat-name { font-size: max(15px, var(--md)); }
  .cat-meta { font-size: max(13px, var(--sm)); }
  .info-row { grid-template-columns: minmax(0, 1fr); }
  .cat-sub { font-size: max(15px, var(--md)); }
  .card .badges { display: none; }
  .tabbar { box-shadow: 0 -8px 24px rgba(31, 23, 17, .06); } /* taste-skill-ignore: нижняя панель парит */
}
/* шапка, нижняя панель и панель товара уступают место при чтении: вниз — уезжают, вверх — возвращаются */
.hd, .tabbar { transition: transform .3s var(--ease), background-color .3s ease, box-shadow .2s ease; }
.chips-bar, .filters, .pd-gallery { transition: top .3s var(--ease); }
.card-meta { font-size: max(13px, var(--sm)); }
.card-chips li { height: 30px; font-size: max(13px, var(--sm)); }
@media (max-width: 960px) { .about-text { order: -1; } }
.f-note { font-size: max(15px, var(--md)); }
/* ритм: между секциями заметно больше, чем внутри них */
.sec, .trust-band { margin-top: 96px; }
/* ---------- подбор v2: слева два вопроса крупно, справа три плитки с фото ---------- */
.pick-sec .b-pick { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: 32px 48px; padding: 32px; }
.b-pick .pick-head, .b-pick .pick-q { grid-column: 1; }
.b-pick .pick-res { grid-column: 2; grid-row: 1 / span 3; display: grid; gap: 16px; }
.b-pick .pick-list, .b-pick .pick-all { grid-column: auto; grid-row: auto; }
.pick-head { display: grid; gap: 8px; }
.pick-head h2 { margin-bottom: 0; }
.pick-q { display: grid; gap: 16px; }
.pick-label { font-size: max(15px, var(--md)); font-weight: 600; }
.mchips { gap: 8px; }
.mchip { height: 40px; padding: 0 16px; font-size: max(13px, var(--sm)); }
.seg { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; }
.seg button { display: grid; place-items: center; height: 40px; padding: 0 8px; text-align: center; font-size: max(13px, var(--sm)); }
.seg button:hover { color: var(--ink); }
.pick-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.pick-count { font-size: max(15px, var(--md)); color: var(--muted); }
.pick-count b { font-weight: 700; }
.pick-all { width: auto; margin: 0; display: inline-flex; align-items: center; gap: 4px; font-size: max(13px, var(--sm)); font-weight: 600; color: var(--ink); white-space: nowrap; }
.pick-all .i { width: 18px; height: 18px; transition: background-color .15s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }
.pick-all:hover .i { transform: translateX(3px); }
.pick-all:hover span { text-decoration: underline; text-underline-offset: 4px; }
.pick-all:disabled { opacity: .4; cursor: default; }
.pick-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pick-list a { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 8px; padding: 0; background: none; }
.pick-list a:hover { background: none; }
.pick-list a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.pick-list .pick-pic { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface-2); }
.pick-list .pick-pic.pic-none { display: grid; place-items: center; }
.pick-list .pick-pic.pic-none svg { width: 44px; }
.pick-list a > span:not(.price) { display: grid; gap: 2px; }
.pick-list b { font-size: max(15px, var(--md)); line-height: 1.3; }
.pick-list small { font-size: max(13px, var(--sm)); }
.pick-list .price { font-size: max(15px, var(--md)); }
.pick-empty { grid-column: 1 / -1; }
@media (max-width: 1100px) {
  .pick-sec .b-pick { grid-template-columns: minmax(0, 1fr); }
  .b-pick .pick-res { grid-column: 1; grid-row: auto; }
}
@media (max-width: 760px) {
  .pick-sec .b-pick { padding: 16px; gap: 24px; }
  .seg button { font-size: max(13px, var(--sm)); padding: 0 4px; }
  .pick-list { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .pick-list a { grid-template-columns: 104px minmax(0, 1fr); align-items: center; gap: 4px 16px; }
  .pick-list a .price { grid-column: 2; }
  .pick-list .pick-pic { grid-row: 1 / span 2; }
  .pick-top { flex-wrap: wrap; }
}
/* ---------- машины в 3D: большая сцена, модель грузится по нажатию ---------- */
.s3d .sec-head { display: grid; justify-content: start; gap: 8px; }
.s3d-sub { max-width: 62ch; font-size: max(15px, var(--md)); color: var(--ink-2); }
.s3d-stage { position: relative; aspect-ratio: 2 / 1; overflow: hidden; background: var(--stage); }
.s3d-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--stage); }
.s3d-stage:fullscreen { aspect-ratio: auto; width: 100%; height: 100%; }
.s3d-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; margin-top: 16px; }
.s3d-models { display: flex; flex-wrap: wrap; gap: 8px; }
.s3d-models .mchip { height: 40px; padding: 0 16px; font-size: max(13px, var(--sm)); }
.s3d-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.s3d-links a { display: inline-flex; align-items: center; gap: 4px; font-size: max(13px, var(--sm)); font-weight: 600; }
.s3d-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.s3d-links .i { width: 18px; height: 18px; }
@media (max-width: 760px) { .s3d-stage { aspect-ratio: 4 / 3; } }
/* на телефоне 16 моделей — одна строка с прокруткой вбок от края до края экрана, а не 6 строк кнопок */
@media (max-width: 760px) {
  .s3d-models { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 2 * var(--md)); margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; scroll-snap-type: x proximity; scrollbar-width: none; overscroll-behavior-x: contain; }
  .s3d-models::-webkit-scrollbar { display: none; }
  .s3d-models .mchip { flex: none; scroll-snap-align: start; }
}
/* ---------- изометрические иллюстрации: тонкая линия цвета текста, грани цветом фона, акценты — цвета машины ---------- */
.step-art { aspect-ratio: 16 / 10; margin-bottom: 8px; }
.art { display: block; width: 100%; height: 100%; }
.art path { stroke: var(--ink); stroke-width: 1.15; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.art .f { fill: var(--bg); }
.art .k { fill: none; }
.art .g { fill: none; stroke: var(--muted); opacity: .5; }
.art .a1, .art .a2, .art .a3, .art .a4, .art .a5 { stroke: none; }
.art .a1 { fill: var(--accent); } .art .a2 { fill: var(--blue); } .art .a3 { fill: var(--art-y); } .art .a4 { fill: var(--ok); } .art .a5 { fill: var(--ink); }
.steps li { gap: 16px; }
/* анимация иллюстраций: спокойные петли, только transform, opacity и штрих; при «уменьшить движение» все стоит */
.art .pop { transform-box: fill-box; transform-origin: center; animation: art-pop 5s var(--ease) infinite both; }
.art .d1 { animation-delay: .25s; } .art .d2 { animation-delay: .5s; } .art .d3 { animation-delay: .75s; } .art .d5 { animation-delay: 1.4s; }
@keyframes art-pop { 0% { opacity: 0; transform: scale(.2); } 9% { opacity: 1; transform: scale(1.12); } 14%, 82% { opacity: 1; transform: scale(1); } 92%, 100% { opacity: 0; transform: scale(.2); } }
.art .tap { animation: art-tap 4.5s var(--ease) infinite; }
@keyframes art-tap { 0%, 8% { transform: none; } 30%, 62% { transform: translate(-19px, -11px); } 84%, 100% { transform: none; } }
.art .paid { animation: art-paid 4.5s ease infinite; }
@keyframes art-paid { 0%, 30% { opacity: 0; } 36%, 66% { opacity: 1; } 76%, 100% { opacity: 0; } }
.art .drive { animation: art-bob .42s ease-in-out infinite alternate; }
@keyframes art-bob { to { transform: translateY(-1.4px); } }
.art .road { fill: none; stroke: var(--muted); stroke-dasharray: 16 12; animation: art-road .9s linear infinite; }
@keyframes art-road { to { stroke-dashoffset: 28; } }
.art .hub { stroke-dasharray: 5 4; animation: art-road .5s linear infinite; }
/* иллюстрации в темной полосе: светлая линия на темном, как в референсе */
.trust .step-art { margin-bottom: 16px; }
.trust-dark .art path { stroke: #e9f0dc; }
.trust-dark .art .f { fill: var(--ft-bg); }
.trust-dark .art .g { stroke: #9cb57a; }
.trust-dark .art .a1, .trust-dark .art .a2, .trust-dark .art .a3, .trust-dark .art .a4, .trust-dark .art .a5, .trust-dark .art .scr, .trust-dark .art .qr { stroke: none; }
.trust-dark .art .a2 { fill: var(--art-c); } .trust-dark .art .a4 { fill: var(--pistachio-300); }
.art .scr { fill: var(--choco-100); stroke: none; } .art .qr { fill: var(--dk); stroke: none; }
.trust-dark .art .route, .art .route { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 6 7; animation: art-route 1.1s linear infinite; }
@keyframes art-route { to { stroke-dashoffset: -26; } }
.trust-dark .art .scanl, .art .scanl { stroke: var(--pistachio-300); stroke-width: 2; }
.art .scan { animation: art-scan 2.2s ease-in-out infinite alternate; }
@keyframes art-scan { to { transform: translate(-46.8px, 27px); } }
.art .pin { animation: art-pin 1.2s ease-in-out infinite alternate; }
@keyframes art-pin { to { transform: translateY(-6px); } }
.art .blink { animation: art-blink 1.6s steps(1) infinite; }
@keyframes art-blink { 50% { opacity: .15; } }
.art .smoke { transform-box: fill-box; transform-origin: center; animation: art-smoke 3.6s ease-out infinite both; }
.art .s2 { animation-delay: 1.2s; } .art .s3 { animation-delay: 2.4s; }
@keyframes art-smoke { 0% { opacity: 0; transform: translateY(6px) scale(.5); } 25% { opacity: 1; } 100% { opacity: 0; transform: translateY(-38px) scale(1.6); } }
/* о компании: линия переработки, по ленте бежит сырье */
.about-pic .step-art { aspect-ratio: 4 / 3; margin: 0; }
.art .cube { fill: var(--accent); }
.art .ore { animation: art-ore 8s linear infinite; }
.art .o2 { animation-delay: -2s; } .art .o3 { animation-delay: -4s; } .art .o4 { animation-delay: -6s; }
@keyframes art-ore { 0% { opacity: 0; transform: none; } 4%, 94% { opacity: 1; } 100% { opacity: 0; transform: translate(468px, 270px); } }

/* ===================== сетка как у Cloudflare: пунктирные рельсы по краям колонки, точки в полях, блоки обрезаны линиями, уголки на пересечениях ===================== */
:root { --cw: min(var(--w), 100% - 2 * var(--m)); }
body::after { content: ""; position: fixed; top: 0; bottom: 0; left: 50%; z-index: 45; width: var(--cw); transform: translateX(-50%); pointer-events: none;
  background: linear-gradient(var(--rule-2) 55%, transparent 0) 0 0 / 1px 6px repeat-y, linear-gradient(var(--rule-2) 55%, transparent 0) 100% 0 / 1px 6px repeat-y; }
body:has(.mega:not([hidden]))::after { opacity: 0; }
/* шапка: сплошная линия снизу, вертикальных рельсов в шапке нет; знак и корзина — ровно на линиях рельсов (на телефоне — на месте рельса, --m) */
@media (min-width: 761px) { .hd .hd-in { padding-inline: 0; } }
.hd, .hd.scrolled { border-bottom: 1px solid var(--rule); box-shadow: none; }
.hd-in { position: relative; }
/* секция: линия сверху и квадратики там, где она встречает рельсы */
.sec { position: relative; padding-top: 32px; border-top: 1px solid var(--rule); }
.sec::before, .sec::after { content: ""; position: absolute; top: -4px; z-index: 46; width: 9px; height: 9px; box-sizing: border-box; border: 1px solid var(--rule-2); background: var(--bg); }
.sec::before { left: -4px; } .sec::after { right: -4px; }
/* плашки — рамки на фоне сайта */
.b-hero, .pick-sec .b-pick, .cb, .s3d-stage, .pd-buy, .pd-text, .filters, .empty, .mini { background: transparent; border: 1px solid var(--rule); }
.b-media { border-right: 1px solid var(--rule); }
.b-specs { gap: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.b-specs li { background: transparent; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.b-pick .pick-res { padding-left: 32px; border-left: 1px solid var(--rule); align-self: stretch; }
/* сетки: ячейки разделены линиями, без зазоров */
.grid, .cats-grid { gap: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.grid > .card, .cats-grid > .cat { padding: 16px 16px 16px; background: transparent; border: 0; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); transition: background-color .4s ease, color .15s ease, border-color .15s ease, fill .3s ease, opacity .2s ease, transform .2s var(--ease); }
.grid > .card:hover, .cats-grid > .cat:hover { background: var(--surface); }   /* наведение — только плавная смена фона: без подчеркивания и без увеличения картинки */
.steps { gap: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.steps li { padding: 24px; }
.steps li + li { border-left: 1px solid var(--rule); }
.info { gap: 0; border-top: 1px solid var(--rule); }
.info-row { background: transparent; border-bottom: 1px solid var(--rule); }
.faq-list { gap: 0; border-top: 1px solid var(--rule); }
.faq-list details { background: transparent; border-bottom: 1px solid var(--rule); }
.faq-list details:nth-child(odd) { border-right: 1px solid var(--rule); }
.trust { gap: 0; }
.trust-item { padding: 0 24px; }
.trust-item + .trust-item { border-left: 1px solid var(--band-line); }
.trust-band { border-top: 1px solid var(--rule); }
.facts { gap: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.facts li { padding: 16px 16px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.about-pic { border: 1px solid var(--rule); }
.pd-gallery .pd-main { border: 1px solid var(--rule); }
.f-group + .f-group { border-top: 1px solid var(--rule); }
.f-foot { border-top: 1px solid var(--rule); background: transparent; }
@media (max-width: 1100px) {
  .b-pick .pick-res { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--rule); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { padding-top: 24px; }
}
@media (max-width: 960px) {
  .b-media { border-right: 0; border-bottom: 1px solid var(--rule); }
  .steps li:nth-child(3) { border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .faq-list details:nth-child(odd) { border-right: 0; }
}
@media (max-width: 760px) {
  .steps li + li { border-left: 0; border-top: 1px solid var(--rule); }
  .steps li { padding: 16px 0; }
  .trust-item, .trust-item:nth-child(n+3) { padding: 24px 0; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--band-line); }
  .grid > .card { padding: 8px 8px 16px; }
}

/* ===================== поля внутри колонки и ритм секций (правка после линий) ===================== */
/* контент не прижимается к рельсам; сетки и рамки — во всю ширину, от рельса до рельса */
.wrap { padding-inline: 24px; }
.sec > :is(.grid, .cats-grid, .steps, .info, .faq-list), .bento > .b-hero, .pick-sec > .b-pick, #callback > .cb, .s3d > .s3d-stage { margin-inline: -24px; }
.b-hero, .s3d-stage { border-inline: 0; }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { padding-right: 0; }
/* секции: линия → отступ → содержимое → отступ → следующая линия; без внешних дыр */
.sec { margin-top: 0; padding-block: 48px; }
.trust-band { margin-top: 48px; }
/* секция-рамка: ее линии — это и есть рамка блока, без двойных полос */
.pick-sec, #callback { padding-block: 0; }
.pick-sec .b-pick, #callback .cb { border: 0; }
.sec-head { margin-bottom: 24px; }
@media (max-width: 760px) {
  .wrap { padding-inline: 16px; }
  .sec > :is(.grid, .cats-grid, .steps, .info, .faq-list), .bento > .b-hero, .pick-sec > .b-pick, #callback > .cb, .s3d > .s3d-stage { margin-inline: -16px; }
  .steps li, .trust-item, .trust-item:nth-child(n+3) { padding-inline: 16px; }
  .trust-item:first-child, .trust-item:last-child { padding-inline: 0; }
}
/* подбор: результаты прижаты к верху колонки, без растянутых строк */
.b-pick .pick-res { align-content: start; }
/* первый блок: без лишней высоты; характеристики — строками «подпись — значение» */
.b-hero { min-height: 520px; }
.b-specs { grid-template-columns: minmax(0, 1fr); border-left: 0; }
.b-specs li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-right: 0; }
.b-specs b { order: 2; text-align: right; }
/* таблицы и списки строк: у последней строки линии снизу нет */
:is(.b-specs, .ab-facts, .dl-methods, .co-next, .ab-steps, .sv-lists ul) > li:last-child, .faq-list > details:last-child,
:is(.spec-table, .qv-specs) tr:last-child > :is(th, td), .sv-docs .spec-table tr:last-child { border-bottom: 0; }
@media (max-width: 760px) { .sec-head h2, .pd-sec h2, .cb h2, .about h2, .pick-head h2 { font-size: var(--xl); } }
.pd-note { margin-top: -4px; }
/* иллюстрация «О компании» — прямо на фоне сайта, без рамки (как в «Как купить») */
.about-pic { border: 0; background: none; }
/* вопросы — одной колонкой, строки во всю ширину */
.faq-list { grid-template-columns: minmax(0, 1fr); }
.faq-list details:nth-child(odd) { border-right: 0; }
.faq-list details p { max-width: 72ch; }
/* текст вопросов — по одной линии с заголовком секции */
.faq-list summary, .faq-list details p { padding-inline: 24px; }
@media (max-width: 760px) { .faq-list summary, .faq-list details p { padding-inline: 16px; } }
/* шапка: только «Каталог» и широкий поиск; подбор, доставка и о компании — внутри меню каталога */
.search-pill { max-width: 640px; }
.mega-sep { height: 1px; margin: 8px 0; background: var(--rule); }
.mega-link { gap: 16px; color: var(--ink-2); }
.mega-link .i { width: 18px; height: 18px; color: var(--muted); }
.mega-link:hover .i { color: var(--ink); }

/* ---------- заявка: отрывной талон со страницы шредера (скосы, вырез, перфорация) ---------- */
#callback { padding-block: 48px; }
.coupon { --k: clamp(18px, 2.2vw, 36px); --n: 22px; --x: 44%; display: grid; grid-template-columns: var(--x) 1fr; background: var(--dk); color: #ffffff;
  clip-path: polygon(var(--k) 0, calc(var(--x) - var(--n)) 0, var(--x) var(--n), calc(var(--x) + var(--n)) 0, calc(100% - var(--k)) 0, 100% var(--k),
    100% calc(100% - var(--k)), calc(100% - var(--k)) 100%, calc(var(--x) + var(--n)) 100%, var(--x) calc(100% - var(--n)), calc(var(--x) - var(--n)) 100%,
    var(--k) 100%, 0 calc(100% - var(--k)), 0 var(--k)); }
.coupon-l { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 48px; }
.coupon-title { font-size: clamp(32px, 20.8px + 3.2vw, 64px); line-height: .98; font-weight: 600; letter-spacing: -0.04em; }
.coupon-l p { max-width: 34ch; font-size: max(16px, var(--md)); color: #ffffff; }
.coupon-r { display: flex; flex-direction: column; gap: 8px; padding: 48px; border-left: 6px dotted var(--bg); }
.coupon-r .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.coupon-r input:not([type=checkbox]), .coupon-r select, .coupon-r textarea { width: 100%; min-height: 56px; padding: 16px 16px; border: 0; border-radius: 0; outline: none;
  background: var(--dk-2); color: #ffffff; font: inherit; font-size: max(16px, var(--md)); -webkit-appearance: none; appearance: none; transition: background-color .18s ease; }
.coupon-r textarea { min-height: 84px; resize: vertical; }
.coupon-r ::placeholder { color: var(--choco-300); opacity: 1; }
.coupon-r input:hover, .coupon-r select:hover, .coupon-r textarea:hover { background: var(--choco-700); }
.coupon-r input:focus-visible, .coupon-r select:focus-visible, .coupon-r textarea:focus-visible { background: var(--choco-700); outline: 3px solid var(--accent); outline-offset: -3px; }
.coupon-r select { padding-right: 48px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23a7adb8' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right var(--md) center; }
.coupon-r .invalid { outline: 3px solid #ff6b5a !important; outline-offset: -3px; }
.coupon .check { gap: 16px; padding: 8px 0; color: #ffffff; }
.coupon .check input { width: 22px; height: 22px; accent-color: var(--accent); }
.btn-send { min-height: 58px; background: var(--act); color: #ffffff; font-size: max(16px, var(--md)); font-weight: 500; transition: background-color .18s ease, transform .14s var(--ease); }
.btn-send:hover { background: var(--act-h); }
.btn-send:active { transform: scale(.985); }
.btn-send:focus-visible { outline: 3px solid currentColor; outline-offset: -8px; }
.coupon .form-msg { min-height: 24px; color: var(--pistachio-300); }
.coupon .form-msg.err { color: #ff8f80; }
@media (max-width: 760px) {
  .coupon { grid-template-columns: minmax(0, 1fr); clip-path: polygon(var(--k) 0, calc(100% - var(--k)) 0, 100% var(--k), 100% calc(100% - var(--k)), calc(100% - var(--k)) 100%, var(--k) 100%, 0 calc(100% - var(--k)), 0 var(--k)); }
  .coupon-l, .coupon-r { padding: 24px 24px; }
  .coupon-r { border-left: 0; border-top: 6px dotted var(--bg); }
  .coupon-r .pair { grid-template-columns: minmax(0, 1fr); }
}
.btn-send { display: flex; align-items: center; justify-content: center; text-align: center; }
/* заголовки ≤ 2 строк: главный на телефоне чуть меньше, талон в одну колонку уже с планшета */
@media (max-width: 760px) { .intro h1 { font-size: 30px; } }
@media (max-width: 960px) {
  .coupon { grid-template-columns: minmax(0, 1fr); clip-path: polygon(var(--k) 0, calc(100% - var(--k)) 0, 100% var(--k), 100% calc(100% - var(--k)), calc(100% - var(--k)) 100%, var(--k) 100%, 0 calc(100% - var(--k)), 0 var(--k)); }
  .coupon-r { border-left: 0; border-top: 6px dotted var(--bg); }
}
/* ревью скиллом, раунд 1: телефон — иллюстрации строками; описание в первом блоке — в полную краску */
.b-sub { color: var(--ink-2); }
@media (max-width: 760px) {
  .trust-item, .steps li { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; column-gap: 16px; row-gap: 4px; }
  .trust-item .step-art, .steps li .step-art { grid-row: 1 / span 2; aspect-ratio: 1 / 1; margin: 0; }
  .trust-item b, .steps b { align-self: end; }
  .trust-item span, .steps span { align-self: start; }
}

/* ===================== фирменный стиль: фисташка и горький шоколад =====================
   Цвета — токены design-system/vue/tokens.json (раздел theme), сборка вставляет их в конец файла (THEME), поэтому они
   перекрывают старые определения переменных выше. Из языка лендинга остался мотив скошенного шильда. */
:root { --c: clamp(18px, 2.2vw, 36px); }
.hd { background: var(--bg); }
/* шильд: скошенные углы вместо круглых пилюль */
.btn, .cart-pill, .search-pill, .glass-btn, .to-top, .chip, .mchip, .seg, .seg button, .view, .view button, .round, .stepper, .tool, .pd-tool, .ci-del,
.f-seg span, .toast, .cmp-bar, .select select, .f-num, .badge, .card-chips li, .pay li, .chip-x, .mat-list a, .cnt, .f-badge, kbd, .icon-btn,
.card-media, .cat-img, .pick-list .pick-pic, .mini .pic, .mini .pic-none, .dr-item .pic, .dr-item .pic-none, .pd-thumb, .pal-item .pic, .pal-ico,
.pd-main, .qv-media, .s3d-stage {
  border-radius: 0;
  clip-path: polygon(var(--k) 0, calc(100% - var(--k)) 0, 100% var(--k), 100% calc(100% - var(--k)), calc(100% - var(--k)) 100%, var(--k) 100%, 0 calc(100% - var(--k)), 0 var(--k)); }
.btn, .cart-pill, .search-pill, .glass-btn, .to-top { --k: 9px; }
.btn-s, .chip, .mchip, .seg, .view, .round, .stepper, .tool, .pd-tool, .ci-del, .f-seg span, .toast, .cmp-bar, .select select, .f-num, .icon-btn { --k: 7px; }
.badge, .card-chips li, .pay li, .chip-x, .seg button, .view button, .mat-list a, .cnt, .f-badge, kbd { --k: 5px; }
.card-media, .cat-img, .pick-list .pick-pic, .mini .pic, .mini .pic-none, .dr-item .pic, .dr-item .pic-none, .pd-thumb, .pal-item .pic, .pal-ico { --k: 10px; }
.pd-main, .qv-media, .s3d-stage { --k: var(--c); }
.cart-pill .cnt { position: static; margin-left: 2px; }
:is(.btn, .cart-pill, .search-pill, .glass-btn, .chip, .mchip, .seg button, .view button, .round, .stepper button, .tool, .pd-tool, .f-seg input, .icon-btn):focus-visible { outline: 3px solid currentColor; outline-offset: -6px; }
.btn-ink:hover, .cart-pill:hover { background: var(--btn-h); }
/* метки — как подписи узлов на лендинге: темная пластина */
.badge { background: var(--dk); color: #ffffff; }   /* метка лежит на картинке: темная в любой теме (var(--ink) в темной теме светлый — белый текст пропадал) */
/* маркеры — восьмигранные «пипки» */
.facts li::before { border-radius: 0; clip-path: polygon(25% 0, 75% 0, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0 75%, 0 25%); }
.facts .i { display: none; }
.facts li::before { content: ""; flex: none; width: .7em; height: .7em; background: var(--accent); }
.facts li:nth-child(3n+2)::before { background: var(--blue); }
.facts li:nth-child(3n)::before { background: var(--ink); }
/* текстовые кнопки — толстое подчеркивание, как на лендинге */
.txt-btn, .pick-all span, .s3d-links a span, .mega-head a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; transition: text-underline-offset .18s var(--ease); }
.txt-btn { display: inline-flex; padding: 16px 4px; font-weight: 500; }
.txt-btn:hover, .pick-all:hover span, .mega-head a:hover { text-underline-offset: 10px; }
/* первый блок: описание шредера на оранжевом шильде */
.b-hero { border: 0; }
.b-media { border-right: 0; }
.b-text { --k: var(--c); background: var(--accent); color: var(--on-accent);
  clip-path: polygon(0 0, calc(100% - var(--k)) 0, 100% var(--k), 100% calc(100% - var(--k)), calc(100% - var(--k)) 100%, 0 100%); }
.b-text .b-sub, .b-text .price, .b-text .price small, .b-text .b-specs b { color: var(--on-accent); }
.b-text .b-specs, .b-text .b-specs li { border-color: rgba(31, 23, 17, .24); }
.b-text .b-specs span { color: rgba(31, 23, 17, .72); }
.b-text .btn-ink, .b-text .stepper { background: var(--dk); color: #ffffff; }
.b-text .btn-ink:hover { background: var(--act-h); }
/* подбор — подложка тоном, как секции «Главное» и «Материалы» на лендинге */
.pick-sec .b-pick { background: var(--surface); }
.filters { background: var(--surface); }
/* блок покупки на странице товара — тоже шильд */
.pd-buy { --k: var(--c); border: 0; background: var(--accent); color: var(--on-accent);
  clip-path: polygon(var(--k) 0, calc(100% - var(--k)) 0, 100% var(--k), 100% calc(100% - var(--k)), calc(100% - var(--k)) 100%, var(--k) 100%, 0 calc(100% - var(--k)), 0 var(--k)); }
.pd-buy .pd-note { color: rgba(31, 23, 17, .78); }
.pd-buy .btn-ink, .pd-buy .stepper { background: var(--dk); color: #ffffff; }
.pd-buy .pd-tool { background: rgba(31, 23, 17, .12); color: var(--dk); }
.pd-buy .pd-tool[aria-pressed="true"] { background: var(--dk); color: #ffffff; }
/* заголовки — крупно и плотно, как на лендинге */
.intro h1 { font-size: clamp(30px, 8px + 7vw, 128px); line-height: .92; font-weight: 600; letter-spacing: -0.05em; }
.cat-head h1, .pd-info h1, .qv-text h2 { font-weight: 600; letter-spacing: -0.04em; }
.sec-head h2, .about h2, .pick-head h2, .pd-sec h2, .coupon-title { font-size: clamp(32px, 20.8px + 3.2vw, 64px); line-height: .98; font-weight: 600; letter-spacing: -0.04em; }
.b-text h2, .info-row h3, .trust-item b, .steps b { font-weight: 600; letter-spacing: -0.03em; }
@media (max-width: 760px) { .intro h1 { font-size: 30px; } }
.pick-sec { padding-block: 24px; }
.about-text > p:not(.about-lead), .faq-list details p, .pick-head p, .cb-text p { color: var(--ink-2); }
.pd { padding-bottom: 24px; }
@media (max-width: 760px) { .sec-head h2, .about h2, .pick-head h2, .pd-sec h2, .coupon-title { font-size: 28px; } }
/* ===================== без пустот между блоками: линия — это и есть граница ===================== */
/* секция, которая кончается сеткой: низ сетки ложится на линию следующей секции */
.sec:has(> :is(.cats-grid, .info, .faq-list, .grid):last-child) { padding-bottom: 0; }
.sec > :is(.cats-grid, .info, .faq-list, .grid):last-child { margin-bottom: -1px; }
/* темная полоса — вплотную к первому блоку */
.trust-band { margin-top: 0; }
/* подбор: панель касается линий, воздух — внутри панели */
.pick-sec { padding-block: 0; }
.pick-sec .b-pick { padding-block: 48px; }
/* шаги и оплата — одна сетка, одна общая линия */
.steps + .info { margin-top: 0; border-top: 0; }
/* ===================== оплата, доставка, гарантия — три плиты в цветах машины (как цветные сцены лендинга) ===================== */
.info, .steps + .info { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: 16px; border: 0; }
.sec > .info { margin-inline: 0; margin-bottom: 0; }
.sec:has(> .info:last-child) { padding-bottom: 48px; }
.info-row { --k: var(--c); display: flex; flex-direction: column; gap: 16px; min-height: 260px; padding: 32px; border: 0;
  clip-path: polygon(var(--k) 0, calc(100% - var(--k)) 0, 100% var(--k), 100% calc(100% - var(--k)), calc(100% - var(--k)) 100%, var(--k) 100%, 0 calc(100% - var(--k)), 0 var(--k)); }
.info-row h3 { font-size: clamp(28px, 1.6vw + 14px, 44px); line-height: 1; font-weight: 600; letter-spacing: -0.035em; }
.info-row p { max-width: 46ch; color: inherit; font-size: max(15px, var(--md)); opacity: .88; }
.info-pay { grid-column: span 7; background: var(--dk); color: #ffffff; }
.info-ship { grid-column: span 5; background: var(--act); color: #ffffff; }
.info-care { grid-column: 1 / -1; min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  background: var(--accent); color: var(--on-accent); }
.info-pay .pay { display: flex; gap: 8px; margin-top: auto; }
.info-pay .pay li { --k: 6px; height: 40px; padding: 0 16px; background: var(--accent); color: var(--on-accent); font-size: max(13px, var(--sm)); font-weight: 600; }
.care { display: flex; flex-wrap: wrap; gap: 16px 32px; }
.care li { display: flex; align-items: center; gap: 16px; font-size: max(15px, var(--md)); font-weight: 500; }
.care li::before { content: ""; flex: none; width: .7em; height: .7em; background: var(--dk); clip-path: polygon(25% 0, 75% 0, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0 75%, 0 25%); }
@media (max-width: 960px) {
  .info-pay, .info-ship { grid-column: 1 / -1; min-height: 0; }
  .info-care { flex-direction: column; align-items: flex-start; }
  .care { flex-direction: column; }
}
@media (max-width: 760px) { .info-row { padding: 24px 24px; } }
/* ===================== оплата, доставка, гарантия — «Accordion of tinted panels» из листа скилла (как этапы на лендинге) ===================== */
.acc { display: flex; height: clamp(380px, 50svh, 540px); margin-top: 16px; }
.acc-p { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: var(--tone); color: #ffffff; transition: flex-grow 450ms cubic-bezier(.76, 0, .24, 1); }
.acc-p:last-child { --k: var(--c); color: var(--dk); clip-path: polygon(0 0, calc(100% - var(--k)) 0, 100% var(--k), 100% 100%, 0 100%); }
.acc-p.open { flex-grow: 4.6; }
.acc-tab { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: flex-start; padding: 24px; writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: var(--lg); font-weight: 600; letter-spacing: -0.02em; text-align: left; transition: background-color .18s ease, opacity .2s ease; }
.acc-tab:hover { background: rgba(255, 255, 255, .08); }
.acc-p.open .acc-tab { opacity: 0; pointer-events: none; }
.acc-tab:focus-visible { outline: 3px solid currentColor; outline-offset: -8px; }
.acc-body { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto; gap: 16px; padding: 32px;
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s .2s; }
.acc-p.open .acc-body { opacity: 1; visibility: visible; transition: opacity .4s ease .25s, visibility 0s; }
.acc-body h3 { font-size: clamp(32px, 20.8px + 3.2vw, 64px); line-height: 1; font-weight: 600; letter-spacing: -0.04em; }
.acc-body p { max-width: 40ch; font-size: max(16px, var(--md)); line-height: 1.5; }
.acc .pay { display: flex; gap: 8px; align-self: start; }
.acc .pay li { --k: 6px; height: 40px; padding: 0 16px; background: var(--accent); color: var(--dk); font-size: max(13px, var(--sm)); font-weight: 600; }
.acc .care { display: grid; gap: 16px; }
.acc .care li { display: flex; align-items: center; gap: 16px; font-size: max(16px, var(--md)); font-weight: 500; }
.acc .care li::before { content: ""; flex: none; width: .7em; height: .7em; background: var(--dk); clip-path: polygon(25% 0, 75% 0, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0 75%, 0 25%); }
@media (prefers-reduced-motion: reduce) { .acc-p { transition: none; } }
@media (max-width: 760px) {
  .acc { flex-direction: column; height: auto; }
  .acc-p { flex: none; }
  .acc-p:last-child { clip-path: none; }
  .acc-tab { position: relative; min-height: 64px; width: 100%; align-items: center; padding: 0 24px; writing-mode: horizontal-tb; transform: none; }
  .acc-p.open .acc-tab { display: none; }
  .acc-body { position: relative; inset: auto; display: none; padding: 24px 24px; }
  .acc-p.open .acc-body { display: grid; }
}
/* первый экран без заголовка-вступления: сразу шредер на шильде, во весь экран */
.bento { margin-top: 16px; }
.b-hero { min-height: clamp(520px, calc(100svh - var(--hd-h) - 2 * var(--md)), 820px); }
@media (max-width: 960px) { .b-hero { min-height: 0; } }
/* первый экран: вплотную к шапке; плита — как шильд лендинга: знак сверху, все содержимое единым блоком внизу */
.bento { margin-top: 0; }
.b-text .plate-mark { flex: none; width: clamp(84px, 8vw, 140px); height: auto; margin-bottom: auto; }
.b-text .b-specs { margin-top: 0; }
@media (max-width: 960px) { .b-text .plate-mark { display: none; } }
/* темная полоса: без светлой линии сверху, без разделителей и без рельсов поверх */
.trust-band { position: relative; z-index: 46; border-top: 0; }
.trust-item + .trust-item { border-left: 0; border-top: 0; }
/* 3D: «Страница модели» — у заголовка, «На весь экран» — кнопка в углу сцены, переключатель — только если моделей больше одной */
.s3d .sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; }
.s3d-head { display: grid; gap: 16px; }
.s3d-full { --k: 7px; position: absolute; right: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px;
  background: var(--dk); color: #ffffff; font-size: max(13px, var(--sm)); font-weight: 500;
  clip-path: polygon(var(--k) 0, calc(100% - var(--k)) 0, 100% var(--k), 100% calc(100% - var(--k)), calc(100% - var(--k)) 100%, var(--k) 100%, 0 calc(100% - var(--k)), 0 var(--k)); transition: background-color .18s ease; }
.s3d-full:hover { background: var(--act-h); }
/* 3D: «Страница модели» — у заголовка, «На весь экран» — в углу сцены; переключатель — только если моделей несколько */
.s3d .sec-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px 32px; }
.s3d-head { display: grid; gap: 16px; }
.s3d-full { --k: 7px; position: absolute; right: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px;
  background: var(--dk); color: #ffffff; font-size: max(13px, var(--sm)); font-weight: 500; transition: background-color .18s ease;
  clip-path: polygon(var(--k) 0, calc(100% - var(--k)) 0, 100% var(--k), 100% calc(100% - var(--k)), calc(100% - var(--k)) 100%, var(--k) 100%, 0 calc(100% - var(--k)), 0 var(--k)); }
.s3d-full:hover { background: var(--act-h); }
/* «Вы смотрели» — ячейки на сетке с линиями, как каталог; без ленты за край */
.sec > .recent { margin-inline: -24px; }
.recent { display: grid; grid-auto-flow: row; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; overflow: visible; margin: 0; padding: 0; scroll-snap-type: none;
  border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.recent .mini { padding: 16px 16px 24px; border: 0; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: transparent; transition: background-color .2s ease; }
.recent .mini:hover { background: var(--surface); }
.recent .mini b { padding: 0; font-weight: 600; }
.recent .mini .price { padding: 0; }
.sec:has(> .recent:last-child) { padding-bottom: 0; }
.sec > .recent:last-child { margin-bottom: -1px; }
@media (max-width: 1100px) { .recent { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .sec > .recent { margin-inline: -16px; } .recent { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* факты «О компании» — список с восьмигранными маркерами, как пункты лендинга, без рамок */
.facts { gap: 16px 24px; margin-top: 16px; border: 0; }
.facts li { padding: 0; border: 0; background: none; font-size: max(16px, var(--md)); font-weight: 500; gap: 16px; }
/* поля страницы шире: колонка уже, по бокам больше воздуха */
:root { --w: 1240px; --m: 32px; }
/* «Почему мы» по листу скилла — «Shape-marked small points»: маленькая иллюстрация-маркер, короткий заголовок, строка текста */
.trust { gap: 32px 24px; padding-block: 48px; }
.trust-item { gap: 8px; padding: 0; }
.trust .step-art { width: 50%; margin-bottom: 16px; }
.trust-item b { font-size: var(--lg); line-height: 1.2; letter-spacing: -0.02em; }
.trust-item span { font-size: max(15px, var(--md)); }
@media (max-width: 760px) { .trust .step-art { width: auto; } .trust-item, .trust-item:nth-child(n+3) { grid-template-columns: 88px minmax(0, 1fr); padding: 16px 0; } }
/* подбор без разделительной линии по центру; ячейки категорий с воздухом снизу */
.b-pick .pick-res { border-left: 0; border-top: 0; }
.cats-grid > .cat { padding-bottom: 32px; }
/* ширина сайта — как была; больше воздуха — внутри колонки, между линиями и контентом */
:root { --w: 1360px; --m: 32px; --pad: 48px; }
.wrap { padding-inline: var(--pad); }
.sec > :is(.grid, .cats-grid, .steps, .faq-list, .recent), .bento > .b-hero, .pick-sec > .b-pick, #callback > .cb, .s3d > .s3d-stage { margin-inline: calc(-1 * var(--pad)); }
.faq-list summary, .faq-list details p { padding-inline: var(--pad); }
@media (max-width: 760px) { :root { --pad: 16px; } }
/* «Почему мы» — знаки на оранжевых шильдах, как иконки материалов на лендинге */
.t-ic { --k: 16px; width: clamp(96px, 8vw, 128px); aspect-ratio: 1; display: grid; place-items: center; margin-bottom: 16px; background: var(--accent); color: var(--dk);
  clip-path: polygon(var(--k) 0, calc(100% - var(--k)) 0, 100% var(--k), 100% calc(100% - var(--k)), calc(100% - var(--k)) 100%, var(--k) 100%, 0 calc(100% - var(--k)), 0 var(--k)); }
.t-ic svg { width: 58%; height: 58%; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: square; stroke-linejoin: miter; }
.t-ic g, .t-ic circle { transform-box: fill-box; transform-origin: center; }
.t-smoke { animation: t-smoke 2.4s ease-out infinite; }
@keyframes t-smoke { 0% { opacity: 0; transform: translateY(4px) scale(.6); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(-8px) scale(1.4); } }
.t-spin { animation: t-spin 7s linear infinite; }
@keyframes t-spin { to { transform: rotate(360deg); } }
.t-drive { animation: t-drive .5s ease-in-out infinite alternate; }
@keyframes t-drive { to { transform: translate(1.5px, -1px); } }
.t-slide { animation: t-slide 3s cubic-bezier(.76, 0, .24, 1) infinite; }
@keyframes t-slide { 0%, 15% { transform: translateY(0); } 45%, 70% { transform: translateY(9px); } 100% { transform: translateY(0); } }
@media (max-width: 760px) { .trust-item, .trust-item:nth-child(n+3) { grid-template-columns: 80px minmax(0, 1fr); } .t-ic { width: 80px; margin: 0; grid-row: 1 / span 2; } }
.trust-item .t-ic { color: var(--dk); }
/* «Почему мы» — изометрические сцены, чуть меньше колонки */
.trust .step-art { width: 80%; margin-bottom: 16px; }
@media (max-width: 760px) { .trust-item, .trust-item:nth-child(n+3) { grid-template-columns: 120px minmax(0, 1fr); } .trust .step-art { width: auto; grid-row: 1 / span 2; margin: 0; } }
/* подробные сцены: тонкие детали, болты, шильды, мелкие анимации */
.art .d { fill: none; stroke-width: .7; opacity: .7; }
.art .b { fill: var(--ink); stroke: none; }
.art .ink { fill: var(--dk); stroke: none; }
.art .ink-l { fill: none; stroke: var(--dk); stroke-width: 1.6; }
.art .chain { fill: none; stroke-dasharray: 2 2; }
.trust-dark .art .b { fill: #e9f0dc; stroke: none; }
.trust-dark .art .ink { fill: var(--dk); stroke: none; }
.trust-dark .art .ink-l { stroke: var(--dk); }
.trust-dark .art .a3 { fill: var(--art-y); }
.art .bar { transform-box: fill-box; transform-origin: 50% 100%; animation: art-bar 1.6s ease-in-out infinite alternate; }
.art .b2 { animation-delay: -.5s; } .art .b3 { animation-delay: -1s; }
@keyframes art-bar { from { transform: scaleY(.4); } to { transform: scaleY(1); } }
.art .float { animation: art-float 2.6s ease-in-out infinite alternate; }
@keyframes art-float { to { transform: translateY(-4px); } }
/* «Почему мы»: изометрия с подробностями — тон граней, стекло, кабели, разметка, мелкие петли анимации */
.trust .step-art { width: 100%; aspect-ratio: 3 / 2; }
.trust-dark .art .fr { fill: color-mix(in srgb, var(--ft-bg), #fff 5%); }
.trust-dark .art .ft { fill: color-mix(in srgb, var(--ft-bg), #fff 9%); }
.trust-dark .art .gr { fill: color-mix(in srgb, var(--ft-bg), #fff 3%); }
.art .fa { fill: var(--accent); }
.art .fb { fill: var(--art-c); }
.art .k2, .art .cab { fill: none; stroke-width: 1.8; }
.trust-dark .art .mul { fill: none; stroke: var(--dk); stroke-width: 1; }
.trust-dark .art .mul2 { fill: none; stroke: var(--dk); stroke-width: 1.8; }
.trust-dark .art .gli { fill: none; stroke: #ffffff; stroke-width: .9; opacity: .8; }
.trust-dark .art .wl { fill: none; stroke: #ffffff; stroke-width: 1.4; }
.trust-dark .art .stamp { fill: none; stroke: var(--art-c); stroke-width: 1; }
.trust-dark .art .haz { fill: none; stroke: var(--art-y); stroke-dasharray: 4 3; }
.trust-dark .art .road { stroke: #8ea86a; }
.trust-dark .art .sh { fill: #000000; opacity: .5; stroke: none; }
.art .drop { animation: art-drop 2.4s ease-in infinite both; }
.art .p2 { animation-delay: .8s; } .art .p3 { animation-delay: 1.6s; }
@keyframes art-drop { 0% { opacity: 0; transform: translateY(-16px); } 18%, 78% { opacity: 1; } 100% { opacity: 0; transform: translateY(20px); } }
.art .scan2 { animation: art-scan2 2s ease-in-out infinite alternate; }
@keyframes art-scan2 { to { transform: translate(-19.9px, 11.5px); } }
@media (max-width: 760px) { .trust-item .step-art, .trust .step-art { width: 100%; aspect-ratio: 3 / 2; } }
/* темная полоса: рельсы по краям колонки и разделители между пунктами во всю высоту — как сетка остальных блоков */
.trust-band::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: var(--cw); transform: translateX(-50%); pointer-events: none;
  background: linear-gradient(rgba(255, 255, 255, .24) 55%, transparent 0) 0 0 / 1px 6px repeat-y, linear-gradient(rgba(255, 255, 255, .24) 55%, transparent 0) 100% 0 / 1px 6px repeat-y; }
.trust-band .trust { gap: 0; padding: 0; }
.trust-band .trust-item, .trust-band .trust-item:nth-child(n+3) { padding: 48px 24px; border: 0; }
.trust-band .trust-item + .trust-item { border-left: 1px solid var(--band-line); }
@media (max-width: 1100px) {
  .trust-band .trust-item:nth-child(3) { border-left: 0; }
  .trust-band .trust-item:nth-child(n+3) { border-top: 1px solid var(--band-line); }
}
@media (max-width: 760px) {
  .trust-band .trust-item, .trust-band .trust-item:nth-child(n+3) { padding: 16px; }
  .trust-band .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--band-line); }
}
.trust-dark .art .smoke { fill: #dfe8cf; fill-opacity: .28; stroke: #e9f0dc; stroke-opacity: .45; }
.trust-dark .art { overflow: visible; }
/* «Как купить»: те же подробные изометрические сцены, цвета следуют теме */
.steps .step-art { aspect-ratio: 3 / 2; }
.art .fr { fill: var(--surface); }
.art .ft { fill: var(--art-top); }
.art .gr { fill: var(--bg); }
.art .ph { fill: var(--dk-2); }
.art .gl { fill: var(--art-c); stroke: none; }
.art .ui { fill: var(--choco-200); stroke: none; }
.art .mul { fill: none; stroke: var(--dk); stroke-width: 1; }
.art .mul2 { fill: none; stroke: var(--dk); stroke-width: 1.8; }
.art .gli { fill: none; stroke: #ffffff; stroke-width: .9; opacity: .8; }
.art .wl { fill: none; stroke: #ffffff; stroke-width: 1.4; }
.art .sel { fill: none; stroke: var(--accent); stroke-width: 1.8; }
.art .tick { fill: none; stroke: var(--accent); stroke-width: 1.8; }
.art .cur { fill: var(--dk); stroke: #ffffff; stroke-width: .8; }
.art .d4 { animation-delay: 1s; }
.art .tick, .art .cur { transform-box: fill-box; }
.art .tap2 { animation: art-tap2 4.5s var(--ease) infinite; }
@keyframes art-tap2 { 0%, 8% { transform: none; } 30%, 62% { transform: translate(-10px, -16px); } 84%, 100% { transform: none; } }
.art .rcpt { transform-box: fill-box; transform-origin: 50% 100%; animation: art-rcpt 4.5s ease infinite; }
@keyframes art-rcpt { 0%, 34% { transform: scaleY(0); } 52%, 78% { transform: scaleY(1); } 90%, 100% { transform: scaleY(0); } }
.art .sh { fill: var(--ink); opacity: .12; stroke: none; }
@media (max-width: 760px) { .steps li .step-art { aspect-ratio: 3 / 2; } }
.art .ore2 { animation: art-ore2 9s linear infinite; }
@keyframes art-ore2 { 0% { opacity: 0; transform: none; } 4%, 94% { opacity: 1; } 69% { transform: translate(295.3px, 170.5px); } 100% { opacity: 0; transform: translate(162.8px, 247px); } }
.art .ore2.o2 { animation-delay: -2.25s; } .art .ore2.o3 { animation-delay: -4.5s; } .art .ore2.o4 { animation-delay: -6.75s; }
/* рельсы на темном — едва заметны: общий слой рельс уходит под темные блоки (шапка и кнопка «наверх» остаются сверху), у темных блоков свои тонкие линии */
body::after { z-index: 0; background: linear-gradient(var(--rail) 55%, transparent 0) 0 0 / 1px 6px repeat-y, linear-gradient(var(--rail) 55%, transparent 0) 100% 0 / 1px 6px repeat-y; }
.trust-band { z-index: 1; }
.trust-band::before { background: linear-gradient(var(--ft-line) 55%, transparent 0) 0 0 / 1px 6px repeat-y, linear-gradient(var(--ft-line) 55%, transparent 0) 100% 0 / 1px 6px repeat-y; }
.trust-band .trust-item + .trust-item { border-left-color: var(--band-line); }
@media (max-width: 1100px) { .trust-band .trust-item:nth-child(n+3) { border-top-color: var(--band-line); } }
@media (max-width: 760px) { .trust-band .trust-item + .trust-item { border-top-color: var(--band-line); } }
/* блок после сетки с линиями: от линии до блока столько же, сколько от блока до линии секции */
.steps + .acc { margin-top: 48px; }
/* текст в плитах «во всю колонку» стоит на той же линии, что заголовки секций: внутреннее поле = поле колонки */
.pick-sec .b-pick, .b-text { padding-inline: var(--pad); }
@media (min-width: 761px) { .pick-sec .b-pick { padding-inline: 48px; } }   /* темная плита подбора: по бокам столько же воздуха, сколько сверху и снизу */
/* телефон: меню каталога до нижней панели без просвета, миниатюры галереи влезают все, заголовки шагов на узких экранах */
@media (max-width: 760px) {
  :root { --tab-h: 60px; }
  .tabbar { box-sizing: border-box; min-height: calc(var(--tab-h) + env(safe-area-inset-bottom)); }
  .mega { bottom: calc(var(--tab-h) + env(safe-area-inset-bottom)); }
  .pd-thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .pd-thumb { width: auto; }
}
@media (max-width: 360px) { .steps b { font-size: var(--xl); } }
/* ===================== фирменный стиль: доводка ===================== */
/* сцена 3D (фон и пол) — токен stage, тот же, что фон страницы: кадры и запущенная модель без шва; в темной теме сцена остается светлой */
/* на фисташковой плите кнопка — шоколад в любой теме */
.b-text .btn-ink, .b-text .stepper, .pd-buy .btn-ink, .pd-buy .stepper, .pd-buy .pd-tool[aria-pressed="true"] { background: var(--dk); color: var(--on-dk); }
.b-text .btn-ink:hover, .pd-buy .btn-ink:hover { background: var(--dk-2); }
/* в темном талоне заявки главное действие — фисташка */
.btn-send { background: var(--accent); color: var(--on-accent); }
.btn-send:hover { background: var(--accent-h); }
/* фисташковый акцент: полоса «Почему мы», подвал, кнопки и выбранные чипы; подбор использует темную шоколадную/графитовую подложку */
.trust-band .trust-item + .trust-item, .trust-item + .trust-item { border-left-color: var(--band-line); }
.pick-sec {
  --surface: var(--pick); --surface-2: var(--pick-2); --surface-3: var(--pick-3);
  --ink: var(--on-pick); --ink-2: var(--pick-ink-2); --muted: var(--pick-muted);
  --line: var(--pick-line); --blue: var(--pick-on); --act: var(--pick-on);
}
.pick-sec .b-pick { background: var(--surface); color: var(--on-pick); }
.pick-sec .mchip.on, .pick-sec .seg button[aria-checked="true"] { background: var(--pick-on); color: var(--on-pick-on); }
.acc-p { color: var(--dk); }
.acc-p:last-child { color: #ffffff; }
.acc-tab:hover { background: rgba(31, 23, 17, .06); }
.acc-p:last-child .acc-tab:hover { background: rgba(255, 255, 255, .08); }
.acc .pay li { background: #ffffff; color: var(--dk); }
.acc .care li::before { background: var(--accent); }
/* полоса «Почему мы» — обычная белая секция (токен band): рисунки в светлом варианте, как в «Как купить» (темный .trust-dark .art не используется);
   своих рельс в светлой теме нет — видны общие рельсы страницы того же цвета; сверху линия с квадратиками, как у .sec; разделители — цвета сетки */
.trust-band { --ft-line: var(--band-rail); }
/* линия под первым экраном — во всю ширину, как линия шапки (первый экран тоже во всю ширину); квадратики — на пересечении с рельсами */
.trust-band { border-top: 1px solid var(--rule); }
.trust-band .trust { position: relative; }
.trust-band .trust::before, .trust-band .trust::after { content: ""; position: absolute; top: -8px; z-index: 46; width: 9px; height: 9px; box-sizing: border-box; border: 1px solid var(--rule-2); background: var(--bg); }
.trust-band .trust::before { left: -4px; } .trust-band .trust::after { right: -4px; }
/* ===================== слайдер первого экрана: три машины на всю ширину (HeroSlider.vue, useShop) =====================
   Слева машина на белом поле (кадр 16:10 вписан целиком — белое поле сливается с белым фоном кадра), справа фисташковая плита до края экрана.
   Граница — по линии 7/12 колонки страницы. Стрелки — по бокам на середине высоты, в своих полях: машина и текст под них не заходят.
   Слайды — в одной ячейке сетки (высота по самому высокому, без прыжков). Слайдер перекрывает рельсы страницы, как сплошной блок. */
.hero { --arrow: 56px; --edge: calc(var(--m) + var(--arrow) + 16px); position: relative; z-index: 1; }
.hero-slides { position: relative; display: grid; }
.hero-slides > .hero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.hero-slides > .hero-slide.is-on { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.hero .b-hero { grid-template-columns: calc((100% - var(--cw)) / 2 + var(--cw) * 7 / 12) minmax(0, 1fr); min-height: clamp(540px, calc(100svh - var(--hd-h) - 120px), 780px);
  margin: 0; border: 0; border-radius: 0; background: var(--stage); }
.hero .b-media { border: 0; background: var(--stage); }
.hero .b-media img { inset: 0 0 0 var(--edge); width: calc(100% - var(--edge)); object-fit: contain; }
.hero .b-text { clip-path: none; justify-content: center; padding: 48px var(--edge) 48px 48px; }
.hero .b-text > * { max-width: 52ch; }
.hero .b-buy { margin-top: 8px; }
.hero .b-specs { margin-top: 16px; }
.hero-slide .b-media-tools { left: var(--edge); right: 16px; bottom: 16px; align-items: center; flex-wrap: wrap; }
.hero-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.hero-tab, .hero-arrow { clip-path: polygon(var(--k) 0, calc(100% - var(--k)) 0, 100% var(--k), 100% calc(100% - var(--k)), calc(100% - var(--k)) 100%, var(--k) 100%, 0 calc(100% - var(--k)), 0 var(--k));
  transition: background-color .18s ease, color .18s ease, transform .14s var(--ease); }
.hero-tab { --k: 7px; height: 40px; padding: 0 16px; background: var(--surface-2); color: var(--ink-2); font-size: max(13px, var(--sm)); font-weight: 500; }
.hero-tab:hover { background: var(--surface-3); color: var(--ink); }
.hero-tab.on { background: var(--accent); color: var(--on-accent); font-weight: 600; }
.hero-arrow { --k: 10px; position: absolute; top: 50%; z-index: 3; width: var(--arrow); height: var(--arrow); display: grid; place-items: center; margin-top: calc(var(--arrow) / -2);
  background: var(--dk); color: var(--on-dk); }
.hero-prev { left: var(--m); } .hero-next { right: var(--m); }
.hero-arrow:hover { background: var(--dk-2); }
.hero-arrow .i { width: 24px; height: 24px; }
:is(.hero-tab, .hero-arrow):active { transform: scale(.96); }
:is(.hero-tab, .hero-arrow):focus-visible { outline: 3px solid currentColor; outline-offset: -7px; }
/* въезд нового слайда: машина — со стороны листания, текст плиты — по очереди снизу */
.hero-slide.enter .b-media img { animation: hero-in .8s var(--ease) both, drift 22s ease-in-out .8s infinite alternate; }
/* текст плиты при смене слайда не всплывает: меняется вместе со слайдом, без анимации (жалоба 04.11) */
@keyframes hero-in { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 48px)); } to { opacity: 1; transform: none; } }
/* узкий экран: картинка 16:10 сверху, плита под ней; стрелки — по бокам картинки */
@media (max-width: 960px) {
  .hero { --arrow: 44px; --edge: 0px; --side: calc(var(--arrow) + 8px); }
  .hero .b-media img { inset: 0 var(--side); width: calc(100% - 2 * var(--side)); }   /* поля под стрелки по бокам */
  .hero .b-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero .b-media { aspect-ratio: 16 / 10; }
  .hero .b-text { padding: 24px var(--m) 32px; }
  .hero-slide .b-media-tools { left: var(--m); right: var(--m); bottom: 16px; }
  .hero-arrow { top: calc(100vw * 5 / 16); /* вне ряда: центр картинки 16:10 */ }
  .hero-prev { left: 8px; } .hero-next { right: 8px; }
}
@media (max-width: 560px) {
  .hero { --side: 28px; }   /* на телефоне стрелки чуть заходят на края кадра — иначе машина слишком мелкая */
  .hero-tab { padding: 0 8px; }
}
/* телефон: над и под линией секции по --xxl (~28 px) — между секциями ~60 px, это все еще больше, чем внутри них (заголовок → содержимое ~21 px);
   темная плита подбора — поле --xxl вместо --hg */
@media (max-width: 760px) { .sec, #callback { padding-block: 32px; } .pick-sec .b-pick { padding-block: 32px; } }
@media (prefers-reduced-motion: reduce) { .hero-slides > .hero-slide, .hero-slides > .hero-slide.is-on { transition: none; } .hero-slide.enter * { animation: none !important; } }

/* ===================== скругления вместо скосов (21.10.2026: «углов не нужно, все круглое») =====================
   Кнопки, чипы, переключатели, метки, счетчики, поля ввода — полностью круглые (пилюля или круг); картинки, плашки и плиты — радиус --r-l,
   миниатюры — --r-s; маркеры — кружки. Скосы (clip-path с --k) выключены здесь, после всех старых правил. Слайдер у краев экрана — без скругления. */
:root { --r-xl: 28px; --r-l: 20px; --r-m: 14px; --r-s: 10px; }
.btn, .cart-pill, .search-pill, .glass-btn, .to-top, .chip, .mchip, .seg, .seg button, .view, .view button, .round, .stepper, .tool, .pd-tool, .ci-del,
.f-seg span, .toast, .cmp-bar, .select select, .f-num, .badge, .card-chips li, .pay li, .chip-x, .mat-list a, .cnt, .f-badge, kbd, .icon-btn, .hd-icon,
.s3d-full, .hero-tab, .hero-arrow, .btn-send, .acc .pay li, .field input, .coupon-r input:not([type=checkbox]), .coupon-r select { clip-path: none; border-radius: 999px; }
.card-media, .cat-img, .pd-main, .qv-media, .s3d-stage, .pd-buy, .info-row, .t-ic, .fly { clip-path: none; border-radius: var(--r-l); }
.card-media, .cat-img, .pd-main, .qv-media, .s3d-stage { overflow: hidden; }
.pick-list .pick-pic, .mini .pic, .mini .pic-none, .dr-item .pic, .dr-item .pic-none, .pd-thumb, .pal-item .pic, .pal-ico, .mi-pic { clip-path: none; border-radius: var(--r-s); }
.mega-cat, .pal-item { border-radius: var(--r-m); }
.coupon { clip-path: none; border-radius: var(--r-xl); overflow: hidden; }
.coupon-r textarea { border-radius: var(--r-l); }
.field input, .coupon-r input:not([type=checkbox]), .coupon-r select { padding-inline: 24px; }
.coupon-r select { padding-right: 48px; background-position: right 20px center; }   /* стрелка списка — внутри скругления */
.field span { left: 24px; }
.acc { border-radius: var(--r-l); overflow: hidden; }
.acc-p:last-child { clip-path: none; }
.facts li::before, .care li::before, .acc .care li::before { clip-path: none; border-radius: 50%; }

/* белые карточки внутри секций — без скругления: ячейки сеток с линиями и рамки на белом фоне («Почему мы», категории, карточки товаров,
   «Вы смотрели», шаги, факты, вопросы, фильтры, обратный звонок, текст товара, рамки 3D и кадра товара, картинка «О компании»).
   Скруглены только цветные плиты, картинки на подложке, кнопки и окна. */
.trust-item, .cat, .card, .mini, .info-card, .facts li, .faq-list details, .steps li, .empty, .pick-empty, .filters, .cb, .pd-text,
.s3d-stage, .pd-main, .about-pic, .about-pic img { border-radius: 0; }

/* картинки товаров — без серой подложки: рендеры машин прозрачные, стоят прямо на фоне страницы (в темной теме — на темном) */
.pd-main, .qv-media, .card-media, .mini .pic, .mini .pic-none, .pick-list .pick-pic, .dr-item .pic, .dr-item .pic-none,
.cmp-prod .pic, .cmp-prod .pic-none, .pal-item .pic, .pal-ico, .mi-pic, .pd-thumb { background: transparent; }
/* у картинок линий нет: ни у кадра товара, ни у витрины 3D, ни у картинки «О компании», ни у миниатюр (21.10, просьба пользователя) */
.pd-gallery .pd-main, .s3d-stage, .about-pic { border: 0; }
/* миниатюры галереи товара — на линии текста, с воздухом между собой и до кадра; текущая — в полную силу, остальные приглушены */
.pd-gallery { row-gap: 16px; }
.pd-thumbs { gap: 16px; padding-inline: var(--pad); }
/* 3D-модель товара: «Разобрать / Собрать» — в углу сцены, как «На весь экран» на главной (.s3d-full) */
.pd-explode { min-width: 128px; justify-content: center; border: 0; cursor: pointer; }
.pd-explode:disabled { opacity: .45; cursor: default; }
.pd-thumb { border: 0; opacity: .5; transition: opacity .18s ease; }
.pd-thumb:hover, .pd-thumb:focus-visible, .pd-thumb[aria-current="true"] { opacity: 1; }

/* ===================== правило формы: круг, а не овал =====================
   Скругление 999px дает ровную фигуру, только если размеры заданы явно. Кнопка без текста — круг: width = height, padding 0
   (если ширину считать по отступам, а иконка уже высоты, выходит овал). Кнопка с текстом — пилюля не короче полутора высот (min-width). */
.stepper button { width: 40px; height: 40px; }
.stepper-s button { width: 34px; height: 34px; }
@media (max-width: 760px) {
  .cart-pill { width: 42px; padding: 0; gap: 0; justify-content: center; }                         /* на телефоне только иконка — круг */
  .cart-pill:has(.cnt:not([hidden])) { width: auto; min-width: 64px; padding: 0 16px; gap: 2px; }  /* с числом — пилюля */
  .stepper button { width: 38px; height: 38px; }
  .stepper-s button { width: 34px; height: 34px; }
}
.hero-tab { min-width: 64px; display: inline-flex; align-items: center; justify-content: center; text-align: center; }   /* подпись по центру: кнопка шире текста (min-width), без центровки «ДП-30» и «КП-5» прижимались влево */
.cnt, .f-badge { min-width: 20px; height: 20px; }

/* ===================== сетка: одна вертикаль текста (21.10.2026) =====================
   Отступ текста от рельса — --pad: на компьютере и планшете 24 px, на телефоне 16 (ряд отступов 2, 4, 8, 16, 24, 32, 48, 64, 96). Заголовки, абзацы, чипы,
   вопросы, плиты стоят в .wrap на этом отступе; сетки и рамки идут от рельса до рельса, а каждая ячейка отодвигает свое содержимое
   на тот же --pad — текст и картинка первой колонки стоят на одной линии с заголовком. Образец — карточка товара. */
:root { --pad: 24px; }
@media (max-width: 760px) { :root { --pad: 16px; } }
/* телефон: рельсов и квадратиков нет, колонка во всю ширину; текст, шапка и подвал — на месте прежнего рельса (--m от края),
   сетки и рамки — от края до края экрана */
@media (max-width: 760px) {
  :root { --cw: 100%; --pad: var(--m); }
  .wrap { width: 100%; }
  body::after, .trust-band::before,
  .sec::before, .sec::after, .trust-band .trust::before, .trust-band .trust::after { content: none; }
}
.grid > .card { padding-inline: var(--pad); }
.grid > .card .card-body { padding-inline: 0; }
.cats-grid > .cat, .steps > li, .recent .mini { padding-inline: var(--pad); }
.grid > .card, .cats-grid > .cat { padding-left: calc(var(--pad) - 1px); }   /* у сетки линия слева 1px — минус ее толщина */
.trust-band .trust-item, .trust-band .trust-item:nth-child(n+3) { padding-inline: var(--pad); }
.hero .b-text { padding-left: var(--pad); }
@media (max-width: 960px) { .hero .b-text { padding-inline: calc((100% - var(--cw)) / 2 + var(--pad)); } }   /* плита на всю ширину — текст по краю колонки */
@media (min-width: 961px) {   /* товар: «Характеристики» — те же колонки, что у первого экрана товара; правая колонка на одной вертикали */
  .pd, .pd-sec { column-gap: 32px; }
  .pd-sec { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-left: 0; }   /* как .pd: сетка от рельса, справа — отступ колонки */
  .pd-sec > :first-child { padding-inline: var(--pad); }                                           /* таблица: текст на --pad, справа воздух до рамки */
  .pd-sec > .pd-text { margin-left: calc(-1 * var(--pad)); padding-left: calc(var(--pad) - 1px); }  /* рамка выходит в промежуток, текст — на линии колонки */
}
@media (min-width: 1200px) { .pd-sec { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); } }
@media (max-width: 960px) { .cat-layout .grid { margin-inline: calc(-1 * var(--pad)); } }   /* каталог без боковой панели: сетка от рельса до рельса */
@media (max-width: 960px) {   /* товар в одну колонку: кадр галереи и белая рамка — от рельса до рельса, текст рамки на --pad */
  .pd-gallery { margin-inline: calc(-1 * var(--pad)); }
  .pd-sec > .pd-text { margin-inline: calc(-1 * var(--pad)); padding-inline: calc(var(--pad) - 1px); }
}
@media (min-width: 961px) {   /* фильтры каталога — рамка от рельса, содержимое на --pad */
  .filters { margin-left: calc(-1 * var(--pad)); }
  .filters .f-body, .filters .f-foot { padding-left: calc(var(--pad) - 1px); }
}

/* ===================== кроссплатформенность: ядро (22.10.2026) =====================
   Шапка, нижняя панель, окна, поля и общие компоненты на телефонах 320–430px, в iOS Safari 15.4+, Android Chrome 100+ и в альбомной ориентации.
   Вид на компьютере прежний: правила срабатывают либо только там, где раньше было переполнение, либо под условием телефона или тача. */

/* прокрутка вбок (iOS): body обрезает то, что торчит за край, но не становится контейнером прокрутки — липкие шапка и панели работают,
   и шапка больше не прыгает вверх под затемнением, когда открыто окно. clip — iOS 16+, Chrome 90+; в iOS 15 остается прежний overflow-x: hidden */
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }
/* двойное касание (iOS, Android): быстрые нажатия +/− и кнопок не увеличивают страницу; прокрутка и увеличение двумя пальцами остаются */
:where(a, button, label, select, textarea, summary, input:not([type="range"])) { touch-action: manipulation; }
/* вырез экрана в альбомной ориентации (viewport-fit=cover): поля колонки не уже безопасной зоны — шапка, текст и рельсы не уходят под вырез.
   На компьютере и в портретной env() = 0 — значение прежнее */
/* поле страницы --m — ступенями ряда: 32, до 1100 px 24, телефон 16 */
:root { --m: max(32px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)); }
@media (max-width: 1100px) { :root { --m: max(24px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)); } }
@media (max-width: 760px) { :root { --m: max(16px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)); } }

/* ---------- общие компоненты ---------- */
/* кнопки с текстом на узком телефоне: перенос в две строки внутри той же высоты вместо вылезания за край (≤400px) */
@media (max-width: 400px) { .btn { white-space: normal; text-align: center; line-height: 1.15; text-wrap: balance; } }
/* «подпись — значение» (реквизиты, характеристики): длинное число или почта (р/с 40702810000000000000) переносится внутри ячейки,
   а не распирает таблицу — было шире экрана на 45px при 320 и на 6px при 360. Подписи th не трогаем: у страниц свои правила */
.spec-table td { overflow-wrap: anywhere; }
/* сегменты «Компания или ИП / Частное лицо», «до 2 т/ч»: на 320 подпись шире своей половины (129 > 122px) — две строки в той же высоте */
.f-seg span { white-space: normal; text-align: center; line-height: 1.2; padding-inline: 8px; text-wrap: balance; }
/* длинные слова в названиях («Пастоприготовитель»): переносятся внутри колонки, а не вылезают (карточка 111px и «Вы смотрели» 135px на 320) */
.card-name, .mini b, .dr-item h3, .pal-item b, .cmp-prod b, .mega-items b, .qv-text h2 { overflow-wrap: break-word; }
.mini { grid-template-columns: minmax(0, 1fr); }   /* колонка ячейки «Вы смотрели» не растет по длинному слову (раньше растягивала и картинку; и на 1101–1280px) */
@media (max-width: 480px) { .card-name, .mini b, .dr-item h3 { -webkit-hyphens: auto; hyphens: auto; } }   /* телефон: перенос по слогам (lang="ru") */
/* сортировка: на узком экране список сжимается вместе с панелью, а не выталкивает ее за край */
.tools, .select { min-width: 0; }
.select select { max-width: 100%; text-overflow: ellipsis; }

/* ---------- поля: не мельче 16px, иначе iOS увеличивает страницу при фокусе (и появляется прокрутка вбок) ---------- */
/* оформление заказа и поиск: 15px → 16px на телефоне; на компьютере (окно ≥ 534px) --md ≥ 16px — размер прежний */
.field input, .field textarea, .pal-input input { font-size: max(16px, var(--md)); }
@media (hover: none), (pointer: coarse) { .select select, .f-num input { font-size: 16px; } }   /* тач: сортировка и цены в фильтрах 13px → 16px (ширину списка на телефоне задает блок «страницы») */

/* ---------- шапка ---------- */
/* 320–360 с товарами в корзине: число — значком на круглой кнопке, как у избранного, а не пилюлей (шапка была шире экрана на несколько px) */
@media (max-width: 360px) {
  .cart-pill:has(.cnt:not([hidden])) { width: 42px; min-width: 0; padding: 0; gap: 0; }
  .cart-pill .cnt { position: absolute; margin-left: 0; }
}
/* меню каталога выше экрана (альбомная ориентация, низкое окно): прокручивается само, а не уходит за низ вместе с липкой шапкой */
.mega { max-height: calc(100vh - var(--hd-h)); max-height: calc(100svh - var(--hd-h)); overflow-y: auto; overscroll-behavior: contain; }
/* зоны нажатия на тач — не меньше 44px: невидимое продолжение кнопки за край; размеры и вид кнопок прежние */
@media (hover: none), (pointer: coarse) {
  .search-pill, .dr-head .icon-btn, .pal-close, .ci-del, .toast button, .cmp-bar .icon-btn { position: relative; }
  :is(.hd-icon, .search-pill, .cart-pill)::after { content: ""; position: absolute; inset: -8px -2px; }                     /* 42px → 46 × 58 (высота шапки) */
  :is(.dr-head .icon-btn, .qv-close, .pal-close, .cmp-bar .icon-btn)::after { content: ""; position: absolute; inset: -2px; }  /* 40 → 44 */
  :is(.ci-del, .toast button)::after { content: ""; position: absolute; inset: -8px; }                                          /* 32 → 44 */
  .mega-cat { min-height: 44px; }
}

/* ---------- окна ---------- */
/* вырез справа в альбомной ориентации: шторка и окна отступают от него (на компьютере env() = 0 — ширина прежняя) */
.drawer { padding-right: env(safe-area-inset-right, 0); }
.qv { width: min(1040px, calc(100vw - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px))); }
.cmp { width: min(1200px, calc(100vw - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px))); }
.pal { width: min(680px, calc(100vw - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px))); }
#favs .dr-list { padding-bottom: calc(4px + env(safe-area-inset-bottom, 0px)); }   /* у избранного нет подвала: последняя строка не под полоской «домой» */
.pal-close { display: none; }
/* строка шторки корзины и избранного (разметка — CartRow.vue/FavoriteRow.vue): картинка | название и цена | удалить, под названием — количество,
   справа внизу — сумма. На компьютере раскладка та же, что была с вложенными блоками */
.dr-item { grid-template-columns: 84px minmax(0, 1fr) auto; grid-template-areas: "pic info del" "pic buy sum"; row-gap: 0; }
.dr-item > .pic { grid-area: pic; }
.ci-info { grid-area: info; min-width: 0; }
.dr-item > .buy { grid-area: buy; min-width: 0; }
.dr-item > .ci-del { grid-area: del; justify-self: end; align-self: start; }
.dr-item > .ci-sum { grid-area: sum; justify-self: end; align-self: end; }
@media (max-width: 480px) {   /* телефон: название и цена — во всю ширину строки (на 320 колонке оставалось 66px), под картинкой — количество, справа — сумма */
  .dr-item { grid-template-columns: 84px minmax(0, 1fr) auto 32px; grid-template-areas: "pic info info del" "buy buy sum sum"; }
  .dr-item > .buy, .dr-item > .ci-sum { margin-top: 16px; align-self: center; }
}

/* ---------- телефон (≤760): нижняя панель, уведомление, панель сравнения, окна во весь экран ---------- */
@media (max-width: 760px) {
  /* нижняя панель: колонки поровну, но не уже подписи — «Избранное» на 320 (69px) шире пятой части (62px); поля — от выреза */
  .tabbar { grid-template-columns: repeat(5, minmax(max-content, 1fr));
    padding-inline: max(4px, env(safe-area-inset-left, 0px)) max(4px, env(safe-area-inset-right, 0px)); }
  body { padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px)); }   /* низ страницы — ровно над панелью (было 57px при панели 60px на 320) */
  .to-top { right: calc(16px + env(safe-area-inset-right, 0px)); }
  /* уведомление и панель сравнения — по центру между полями, ширина по содержимому. Было left: 50% со сдвигом: ширина ограничивалась
     половиной экрана, а панель сравнения с одной моделью (nowrap) на 320–390 вылезала за оба края вместе с кнопкой «Очистить» */
  .toast, .cmp-bar { left: var(--m); right: var(--m); width: fit-content; max-width: none; margin-inline: auto; }
  .toast { transform: translateY(16px); }
  .toast.on { transform: none; }
  .cmp-bar { transform: none; white-space: normal; }
  #cmpBarText { flex: 1 1 auto; min-width: 0; text-wrap: balance; }
  .cmp-bar > button { flex: none; }
  .cmp-on .toast { margin-bottom: 64px; }   /* над панелью сравнения в две строки (было --hg: на 320 уведомление наезжало на панель на 10px) */
  /* окна во весь экран — по краям окна (inset: 0), а не 100vw/100svh: 100vw шире окна на полосу прокрутки, 100svh отбрасывается в Chrome < 108,
     а в iOS при свернутой адресной строке оставлял просвет снизу. Поля — от выреза */
  .drawer { left: 0; width: auto; max-width: none; padding-inline: env(safe-area-inset-left, 0) env(safe-area-inset-right, 0); }
  .qv, .pal, .cmp { inset: 0; width: auto; max-width: none; height: auto; max-height: none; margin: 0; padding-inline: env(safe-area-inset-left, 0) env(safe-area-inset-right, 0); }
  .qv-close { right: calc(16px + env(safe-area-inset-right, 0px)); }
  .qv-text { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
  .cmp-scroll { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
  .pal-list { padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
  /* поиск во весь экран: подложки нет, клавиши Esc нет — кнопка «Закрыть» вместо подсказки Esc (без нее из поиска было не выйти) */
  .pal-input { padding-block: calc(8px + env(safe-area-inset-top, 0px)) 8px; padding-right: 8px; }
  .pal-input kbd { display: none; }
  .pal-close { display: grid; flex: none; }
  /* сравнение: колонка подписей уже — на 320 под товар оставалось меньше 100px */
  .cmp th, .cmp td { min-width: 150px; }
  .cmp tbody th { min-width: 112px; }
}

/* ---------- плашка cookie (cookie.css, высота — --ck-h) на компьютере и планшете: уведомление над ней на любой ширине,
   «наверх» — там, где плашка доходит до правого края (761–911px); bottom, а не translate — translate только с Chrome 104 ---------- */
@media (min-width: 761px) {
  .ck-on .toast { bottom: calc(24px + var(--ck-h, 0px) + 16px + env(safe-area-inset-bottom, 0px)); }
  .ck-on.cmp-on .toast { margin-bottom: 0; bottom: calc(24px + var(--ck-cmp, 0px) + var(--ck-h, 0px) + 16px + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 761px) and (max-width: 911px) {
  .ck-on .to-top { bottom: calc(24px + var(--ck-h, 0px) + 16px + env(safe-area-inset-bottom, 0px)); }
  .ck-on.cmp-on .to-top { bottom: calc(24px + var(--ck-cmp, 0px) + var(--ck-h, 0px) + 16px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- низкий экран: телефон в альбомной ориентации (высота ~320–430px), низкое окно ---------- */
@media (max-height: 500px) {
  /* шторка: шапка, список и итог прокручиваются вместе — подвал с итогом и двумя кнопками занимал почти всю высоту, списку оставалось ~50px */
  .drawer[open] { overflow-y: auto; overscroll-behavior: contain; }
  .drawer .dr-list { flex: none; overflow: visible; }
  .drawer .dr-head { position: sticky; top: 0; z-index: 1; background: var(--surface); }
  /* быстрый просмотр: картинка не выше окна (было min-height 440px) и стоит на месте, пока прокручивается описание */
  .qv-media { min-height: 0; position: sticky; top: 0; align-self: start; height: calc(100vh - 48px); height: calc(100svh - 48px); }
}
@media (min-width: 761px) and (max-height: 500px) { .pal { margin-top: 16px; } .pal-foot { display: none; } }   /* поиск: ближе к верху, без подсказок клавиш */
@media (min-width: 481px) and (max-width: 760px) and (max-height: 500px) {   /* окно во весь экран: картинка слева, описание справа (было: картинка 4:3 на всю ширину ~500px) */
  .qv-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .qv-media { aspect-ratio: auto; height: 100vh; height: 100svh; }
}
/* шапка и нижняя панель ниже (тач, альбомная): 58/68 → 50px; в панели значок и подпись в строку, число — за подписью.
   min-width: 481px — чтобы не срабатывало в портретной, когда клавиатура уменьшает окно (Chrome < 108) */
@media (orientation: landscape) and (min-width: 481px) and (max-height: 500px) and (hover: none),
       (orientation: landscape) and (min-width: 481px) and (max-height: 500px) and (pointer: coarse) {
  :root { --hd-h: 50px; }
}
@media (orientation: landscape) and (min-width: 481px) and (max-width: 760px) and (max-height: 500px) {
  :root { --tab-h: 50px; }
  .tabbar a, .tabbar button { grid-auto-flow: column; align-items: center; align-content: center; justify-content: center; gap: 8px; padding: 0; }
  .tabbar .cnt { position: static; }
}

/* ---------- блоки из parts и подвал: фолбэки для браузеров без svh и cqi ---------- */
/* аккордеон «Оплата, доставка, гарантия» (parts/info.html): без svh (Chrome < 108) высота отбрасывалась, панели из абсолютных слоев схлопывались в 0 */
@media (min-width: 761px) { .acc { height: clamp(380px, 50vh, 540px); height: clamp(380px, 50svh, 540px); } }
/* подвал: колонки не растут от длинной почты или адреса; «Альтаир» в iOS 15 (без cqi) — по ширине окна вместо 22.4vw */

/* ===================== страницы «Корзина» и «О компании» (22.10.2026) =====================
   Те же правила сетки: текст на --pad от рельса; линии между крупными блоками — от рельса, между строками внутри блока — от линии текста;
   фисташковая плита — итог и главное действие (как блок покупки товара); картинки скруглены --r-l, белые ячейки — квадратные. */
.about-text .txt-btn { justify-self: start; }
.acc-body a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.acc-body a:hover { text-underline-offset: 6px; }

/* ---------- корзина: слева состав и форма, справа липкий итог ---------- */
.co { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); column-gap: 48px; align-items: start; }
.co-main { display: grid; min-width: 0; margin-left: calc(-1 * var(--pad)); }
.co-block { min-width: 0; margin: 0; padding: 24px 0 24px var(--pad); border: 0; border-top: 1px solid var(--rule); }
.co-block:first-child { padding-top: 0; border-top: 0; }
.co-h { float: left; width: 100%; margin: 0 0 24px; padding: 0; font-size: var(--xl); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
.co-block > :not(.co-h) { clear: both; }
/* строки товаров */
.co-item { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto 150px 40px; grid-template-areas: "pic info qty sum del"; gap: 16px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--rule); }
.co-item:first-child { padding-top: 0; }
.co-pic { grid-area: pic; display: block; }
.co-pic .pic { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.co-pic .pic-none { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; color: var(--muted); }
.co-pic .pic-none svg { width: 40px; fill: none; stroke: currentColor; stroke-width: 1.5; } .co-pic .pic-none small { display: none; }
.co-info { grid-area: info; display: grid; gap: 2px; min-width: 0; }
.co-info h3 { font-size: max(15px, var(--md)); line-height: 1.3; font-weight: 600; }
.co-info h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.co-info p { font-size: max(13px, var(--sm)); color: var(--muted); }
.co-info .ci-price { margin-top: 4px; color: var(--ink-2); }
.co-item .buy { grid-area: qty; }
.co-item .ci-sum { grid-area: sum; text-align: right; font-size: var(--lg); }
.co-item .ci-del { grid-area: del; width: 40px; height: 40px; padding: 0; }
.co-links { padding-top: 16px; }
/* узкий список (планшет, ноутбук рядом с плитой итога): строка в две линии — название во всю ширину, под ним количество и сумма */
.co-items { container-type: inline-size; }
@container (max-width: 700px) {
  .co-item { grid-template-columns: 120px minmax(0, 1fr) auto 40px; grid-template-areas: "pic info info del" "pic qty sum sum"; row-gap: 8px; align-items: start; }
  .co-item .ci-sum { align-self: center; }
}
/* покупатель, получение, оплата */
.co-who { max-width: 440px; margin-bottom: 16px; }
.co-who span { height: 44px; font-size: max(15px, var(--md)); }
.co-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.co-fields .co-wide { grid-column: 1 / -1; }
.co .field span { top: 27px; /* вне ряда: центр поля */ }   /* подпись — по центру поля, а не всей метки (под полем бывает текст ошибки) */
.co .field input:focus + span, .co .field input:not(:placeholder-shown) + span,
.co .field textarea:focus + span, .co .field textarea:not(:placeholder-shown) + span { top: 16px; font-size: max(13px, var(--sm)); }
.co .field[data-err]::after { content: attr(data-err); display: block; padding: 4px 24px 0; font-size: max(13px, var(--sm)); color: var(--danger); }
.field textarea { display: block; width: 100%; min-height: 108px; padding: 32px 24px 16px; border: 1px solid var(--line-2); border-radius: var(--r-l); outline: none; resize: vertical;
  background: var(--surface); color: var(--ink); font: 400 max(15px, var(--md))/1.45 var(--font); transition: border-color .15s ease, box-shadow .15s ease; }
.field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(127, 127, 127, .16); } /* taste-skill-ignore: парит, фокус или таблица */
.co-area { margin-top: 16px; }
.co-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 16px; }
.co-opt { position: relative; display: grid; align-content: start; gap: 4px; min-height: 108px; padding: 16px 16px 16px calc(16px + 20px + 8px); /* вне ряда: отступ, кружок 20, зазор */
  border-radius: var(--r-l); background: var(--surface); cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.co-opt:hover { background: var(--surface-2); }
.co-opt input { position: absolute; left: 16px; top: calc(16px + 2px);   /* кружок 20 по центру первой строки 24 */ width: 20px; height: 20px; margin: 0; accent-color: var(--dk); cursor: pointer; }
.co-opt b { font-size: max(15px, var(--md)); line-height: 1.3; font-weight: 600; }
.co-opt small { font-size: max(13px, var(--sm)); line-height: 1.35; color: var(--muted); }
.co-opt:has(input:checked) { background: var(--accent); color: var(--on-accent); }
.co-opt:has(input:checked) small { color: rgba(31, 23, 17, .78); }
.co-opt:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.co-opt input:focus-visible { outline: 0; }
.co-hint { font-size: max(13px, var(--sm)); color: var(--muted); }
.co-fields + .co-hint { margin-top: 16px; }
.co-check { font-size: max(15px, var(--md)); color: var(--ink); }
.co-check input { width: 22px; height: 22px; }
/* итог — фисташковая плита, кнопка на ней — шоколад */
.co-sum { position: sticky; top: calc(var(--hd-h) + 16px); display: grid; gap: 16px; }
.co-plate { display: grid; gap: 16px; padding: 24px; border-radius: var(--r-l); background: var(--accent); color: var(--on-accent); }
.co-plate h2 { font-size: var(--xl); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
.co-plate .totals { margin: 0; padding-bottom: 8px; }
.co-plate .totals div { font-size: max(15px, var(--md)); color: rgba(31, 23, 17, .78); }
.co-plate .totals .tot { margin-top: 8px; padding-top: 16px; border-top: 1px solid rgba(31, 23, 17, .24); color: var(--on-accent); }
.co-plate .totals .tot dd { font-size: var(--xxl); }
.co-plate .btn-ink { height: 54px; background: var(--dk); color: var(--on-dk); }
.co-plate .btn-ink:hover { background: var(--dk-2); }
.co-plate .check { color: rgba(31, 23, 17, .78); }
.co-plate .check input { accent-color: var(--dk); }
.co-plate .check input.invalid { outline-color: var(--dk); }
.co-plate .form-msg { min-height: 0; font-weight: 600; color: var(--on-accent); }
.co-plate .form-msg:empty { display: none; }
.co-plate .txt-btn { justify-self: start; }
.co-note { padding-inline: 24px; font-size: max(13px, var(--sm)); color: var(--muted); }
/* заказ принят: что дальше и состав заказа */
.co-mini { display: grid; gap: 8px; }
.co-mini li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: max(15px, var(--md)); }
.co-mini b { white-space: nowrap; font-variant-numeric: tabular-nums; }
.co-next, .ab-steps { border-top: 1px solid var(--rule); }
.co-next li, .ab-steps li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.co-next b, .ab-steps b { font-size: var(--lg); line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; }
.co-next span, .ab-steps span { color: var(--ink-2); }
/* пусто */
.co-empty { display: grid; justify-items: start; gap: 16px; }
.co-empty > .i { width: 56px; height: 56px; color: var(--muted); stroke-width: 1.4; }
.co-empty h2 { font-size: var(--xxl); line-height: 1.08; font-weight: 600; letter-spacing: -0.03em; }
.co-empty p { max-width: 40ch; font-size: var(--lg); color: var(--ink-2); }
.co-empty-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
@media (max-width: 960px) {
  .co { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .co-main { margin-inline: calc(-1 * var(--pad)); }
  .co-block { padding-inline: var(--pad); }
  .co-sum { position: static; }
}
@media (max-width: 760px) {
  .co-item { grid-template-columns: 88px minmax(0, 1fr) auto 40px; column-gap: 16px; }
  .co-item .ci-sum { font-size: max(15px, var(--md)); }
  .co-fields, .co-opts { grid-template-columns: minmax(0, 1fr); }
  .co-opt { min-height: 0; }
  .co-next li, .ab-steps li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* ---------- о компании ---------- */
.ab-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; row-gap: 24px; align-items: center; padding: 24px 0 48px; }
.ab-text { display: grid; gap: 24px; }
.ab-text h1 { font-size: clamp(30px, 3vw + 8px, 60px); line-height: 1; font-weight: 700; letter-spacing: -0.04em; text-wrap: balance; }
.ab-lead { max-width: 46ch; font-size: var(--lg); line-height: 1.45; letter-spacing: -0.01em; }
.ab-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ab-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; border-top: 1px solid var(--rule); }
.ab-facts li { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.ab-facts b { font-size: var(--xl); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
.ab-facts span { font-size: max(13px, var(--sm)); color: var(--muted); }
.ab-pic img, .ab-made-pic img { width: 100%; height: auto; border-radius: var(--r-l); }
.ab-pic figcaption, .ab-made-pic figcaption { margin-top: 8px; font-size: max(13px, var(--sm)); color: var(--muted); }
/* линия под сырье: стадии слева направо, ячейки на сетке с линиями от рельса до рельса; на телефоне — сверху вниз */
.ab-line-head { display: grid; gap: 8px; max-width: 60ch; }
.ab-line-head h2 { font-size: var(--xxl); line-height: 1.08; font-weight: 600; letter-spacing: -0.03em; }
.ab-line-head p { color: var(--ink-2); }
.ln-mats { margin-bottom: 24px; }
.ln-list { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); grid-template-rows: repeat(5, auto); margin-inline: calc(-1 * var(--pad)); border-block: 1px solid var(--rule); }
.ln-st { position: relative; grid-row: span 5; display: grid; grid-template-rows: subgrid; row-gap: 8px; padding: 24px var(--pad); transition: background-color .2s ease; }
.ln-st:hover { background: var(--surface); }
.ln-st + .ln-st { border-left: 1px solid var(--rule); }
.ln-st + .ln-st::before { content: "→"; position: absolute; left: -13px; /* вне ряда: центр кружка 26 на стыке */ top: calc(24px + 2px); z-index: 1; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font-size: 15px; font-weight: 700; line-height: 1; }
.ln-stage { display: grid; gap: 2px; }
.ln-stage b { font-size: var(--lg); line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }
.ln-stage span { font-size: max(13px, var(--sm)); color: var(--muted); }
.ln-pic .pic { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.ln-name { align-self: start; font-size: max(15px, var(--md)); line-height: 1.3; font-weight: 600; }
.ln-name a:hover, .ln-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.ln-more { justify-self: start; font-size: max(13px, var(--sm)); color: var(--muted); }
.ln-more:hover { color: var(--ink); }
.ln-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 24px; padding: 24px;
  border-radius: var(--r-l); background: var(--accent); color: var(--on-accent); }
.ln-sum { display: grid; gap: 2px; }
.ln-sum span { color: rgba(31, 23, 17, .78); }
.ln-sum b { font-size: var(--xxl); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ln-act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.ln-foot .btn-ink { height: 54px; padding: 0 24px; background: var(--dk); color: var(--on-dk); }
.ln-foot .btn-ink:hover { background: var(--dk-2); }
/* производство, как работаем, реквизиты */
.ab-made { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 48px; row-gap: 24px; align-items: center; }
.ab-made-text { display: grid; gap: 24px; }
.ab-made-text h2, .ab-how-head h2, .ab-req h2 { font-size: var(--xxl); line-height: 1.08; font-weight: 600; letter-spacing: -0.03em; }
.ab-care { display: grid; gap: 16px; }
.ab-how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); column-gap: 48px; row-gap: 24px; align-items: start; }
.ab-how-head { position: sticky; top: calc(var(--hd-h) + 24px); display: grid; gap: 8px; }
.ab-how-head p { font-size: var(--lg); color: var(--ink-2); }
.ab-req { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; row-gap: 24px; align-items: start; }
.ab-req h2 { margin-bottom: 16px; }
.ab-req .spec-table a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ab-note { margin-top: 16px; font-size: max(13px, var(--sm)); color: var(--muted); }
@media (max-width: 960px) {
  .ab-hero, .ab-made, .ab-how, .ab-req { grid-template-columns: minmax(0, 1fr); }
  .ab-how-head { position: static; }
}
@media (max-width: 1100px) {   /* линия списком уже с 1100: в пять колонок на планшете лежа названия машин шли в 4 строки */
  .ln-list { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .ln-st { grid-row: auto; grid-template-rows: none; grid-template-columns: 132px minmax(0, 1fr); grid-template-areas: "pic stage" "pic name" "pic price" "pic more";
    column-gap: 16px; row-gap: 4px; align-items: start; }
  .ln-stage { grid-area: stage; } .ln-pic { grid-area: pic; } .ln-name { grid-area: name; } .ln-st .price { grid-area: price; } .ln-more { grid-area: more; }
  .ln-st + .ln-st { border-left: 0; border-top: 1px solid var(--rule); }
  .ln-st + .ln-st::before { content: "↓"; left: calc(var(--pad) + 53px); /* вне ряда: центр картинки шага */ top: -13px; /* вне ряда: центр кружка 26 на стыке */ }
}
@media (max-width: 560px) {
  .ln-st { grid-template-columns: 96px minmax(0, 1fr); }
  .ln-st + .ln-st::before { left: calc(var(--pad) + 35px); /* вне ряда: центр картинки шага */ }
  .ln-foot .btn-ink { width: 100%; }
  .ln-act { width: 100%; }
}

/* ===================== кроссплатформенность: страницы (главная, каталог, товар, корзина, «О компании»; 22.10.2026) =====================
   Только поломки на телефонах, планшетах и в старых браузерах (iOS 15, Chrome < 108); вид на компьютере прежний.
   Ширины в комментариях — CSS-пиксели экрана; замеры — по метрикам шрифта Onest. */

/* --- длинные слова в узких колонках: слово длиннее строки переносится, а не распирает ячейку (на компьютере слова влезают — не срабатывает) --- */
.pick-list a > span:not(.price) > *, .co-info > *, .ab-facts li > *, .ln-st > *, .ln-stage > * { min-width: 0; }   /* дочерние сетки с неявной колонкой: иначе колонка растет по самому длинному слову */
.pick-list b, .ln-name, .ln-stage b, .co-info h3, .co-mini span, .ab-facts b, .co-opt b, .ln-sum span { overflow-wrap: break-word; }
.co-mini span { min-width: 0; }   /* строка «Заказ принят»: название сжимается, сумма справа целиком */
@media (max-width: 374px) {   /* 320–374: «Пастоприготовитель» (153px) шире колонки подбора (149px на 320), названия в строке корзины (115px), «Заказ принят» (230px с суммой) — перенос с дефисом */
  .pick-list b, .ln-name, .co-info h3, .co-mini span, .pd-sec .spec-table th, .pd-sec .spec-table td { -webkit-hyphens: auto; hyphens: auto; }
}
/* «О компании», реквизиты: с 375px р/с 40702810000000000000 (190px) с подписью влезает целиком — общее правило ядра (td: anywhere) не дробит его на 375–390;
   на 320–360 (колонка 262–301 при нужных 310) ядро переносит число внутри ячейки */
@media (min-width: 375px) { .ab-req .spec-table td { overflow-wrap: break-word; } }

/* --- iOS: поле < 16px при фокусе увеличивает страницу. Правило ядра для .field textarea перебивалось шрифтом комментария в блоке корзины (он ниже) — 15px на телефоне --- */
.co .field textarea { font-size: max(16px, var(--md)); }

/* --- сортировка и вид: «Каталог» на главной и панель над выдачей каталога --- */
@media (max-width: 760px) { .r-bar .select select { width: auto; max-width: 100%; } }   /* было 168px: с кеглем 16px «Сначала популярные» обрезалась */
@media (max-width: 560px) {   /* 320: сортировка + вид = 292px при колонке 262 — вылезали за экран. Вид — в строку с заголовком (с кнопкой «Фильтры»), сортировка — строкой во всю ширину */
  .sec-head > .tools, .r-bar > .tools { display: contents; }
  .sec-head > .tools > .view, .r-bar > .tools > .view { order: 1; margin-left: auto; }
  .sec-head > .tools > .select, .r-bar > .tools > .select { order: 2; flex: 1 1 100%; min-width: 0; }
  .sec-head > .tools .select select, .r-bar > .tools .select select { width: 100%; }
}

/* --- корзина: строка товара --- */
/* iOS 15 без @container: строка в две линии по ширине экрана, те же пороги (список уже 700px — до 802px и 961–1252px); иначе на телефоне колонки
   из правила ≤760 не совпадали с областями строки — название сжималось в ноль, сумма наезжала на корзину */
@supports not (container-type: inline-size) {
  @media (max-width: 802px), (min-width: 961px) and (max-width: 1252px) {
    .co-item { grid-template-columns: 120px minmax(0, 1fr) auto 40px; grid-template-areas: "pic info info del" "pic qty sum sum"; row-gap: 8px; align-items: start; }
    .co-item .ci-sum { align-self: center; }
  }
  @media (max-width: 760px) { .co-item { grid-template-columns: 88px minmax(0, 1fr) auto 40px; } }
}
/* 320–374: количество (98px) и сумма рядом не помещаются — степперу оставалось 64px на 320, наезжал на сумму. Нижняя линия — во всю ширину строки, под картинкой */
@media (max-width: 374px) { .co-item { grid-template-areas: "pic info info del" "qty qty sum sum"; } }
/* низкий экран при ширине ≥961 (планшет и телефон лежа): липкий итог корзины и галерея товара выше экрана — кнопка заказа и миниатюры не видны до конца раздела */
@media (min-width: 961px) and (max-height: 560px) { .co-sum, .pd-gallery { position: static; } }

/* --- «О компании»: линия под сырье --- */
@supports not (grid-template-rows: subgrid) { .ln-st { align-content: start; } }   /* iOS 15 без subgrid: строки стадии растягивались на высоту соседней колонки — содержимое к верху */

/* --- заголовки ≤ 2 строк на 320 (кегль по ширине экрана; с 340–400px — прежний) --- */
@media (max-width: 400px) {
  .hero .b-text h2 { font-size: min(var(--xxl), calc(8.7vw - 4px)); }                     /* «Котел периодического действия КП-5» — 3 строки */
  .ab-text h1 { font-size: min(30px, calc(10.3vw - 5px)); }                                 /* «Альтаир делает линии переработки» — 3 строки */
  [data-page="product"] #crossT { font-size: min(28px, calc(9.2vw - 4.5px)); }             /* «С этим оборудованием берут» — 3 строки */
  [data-page="cart"] .co-head h1 { font-size: min(34px, calc(11.8vw - 6px)); }             /* «Заказ № 2210-1234 принят» — 3 строки */
}
/* iOS 15 без cqi: кегль названия товара отбрасывался до 28px — «Пастоприготовитель» шире экрана 320, длинные названия в 3 строки. На ≤960 колонка = экран − поля: тот же 9% через vw */
@supports not (width: 1cqi) {
  @media (max-width: 960px) { .pd-info h1 { font-size: min(clamp(30px, 2vw + 18px, 52px), calc(8.7vw - 4.3px)); } }
}

/* --- без svh (Chrome < 108, Samsung Internet < 21): запасная высота в vh. Иначе шторка фильтров без ограничения высоты (верх с «Закрыть» за экраном).
   Где svh есть, действует второе объявление — как было (аккордеон оплаты — в блоке ядра) --- */
@media (min-width: 961px) {
  .hero .b-hero { min-height: clamp(540px, calc(100vh - var(--hd-h) - 120px), 780px); min-height: clamp(540px, calc(100svh - var(--hd-h) - 120px), 780px); }
}
@media (max-width: 960px) { .filters { max-height: 86vh; max-height: 86svh; } }
/* без color-mix (iOS < 16.2, Chrome < 111): столбики выбранного диапазона цены становились прозрачными */
@supports not (color: color-mix(in srgb, red, blue)) { .f-hist i.in { background: var(--muted); } }

/* --- тач: жесты и зоны нажатия (двойной тап — общее правило ядра) --- */
.hero .b-media, .hero .b-text { touch-action: pan-y; touch-action: pan-y pinch-zoom; }   /* (pinch-zoom WebKit не знает — там остается pan-y) свайп слайдера: горизонтальный жест — скрипту (иначе браузер забирает его и шлет pointercancel), вертикальный — странице */
@media (max-width: 960px) {   /* шторка фильтров: протяжка по затемнению, шапке и низу шторки не прокручивает страницу под ней (iOS 15 не держит overflow: hidden у html) */
  .scrim, .filters .f-head, .filters .f-foot { touch-action: none; }
}
@media (pointer: coarse) {
  .view button { width: 40px; height: 40px; }   /* было 34px — мало для пальца; круг: ширина = высоте */
  /* ползунок цены: ручка 28px вместо 20, шкала, подсветка и гистограмма — под ту же ручку (отступ — половина ручки) */
  .range input::-webkit-slider-thumb { width: 28px; height: 28px; margin-top: -16px; }
  .range input::-moz-range-thumb { width: 28px; height: 28px; }
  .range::before { left: 16px; right: 16px; }
  .range::after { left: calc(var(--a) * (100% - 28px) + 14px); /* вне ряда: центр ползунка 28 */ right: calc((1 - var(--b)) * (100% - 28px) + 14px); /* вне ряда: центр ползунка 28 */ }
  .f-hist { padding: 0 16px; }
}

/* --- вырез экрана лежа (viewport-fit=cover): стрелки слайдера и содержимое шторки фильтров — вне выреза (поля колонки --m учитывают вырез в блоке ядра) --- */
@media (max-width: 960px) {
  .hero-prev { left: max(8px, env(safe-area-inset-left, 0px)); }
  .hero-next { right: max(8px, env(safe-area-inset-right, 0px)); }
  .filters .f-head { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .filters .f-body, .filters .f-foot { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
}
/* телефон лежа (высота ≤ 540): кадр 16:10 во всю ширину был выше экрана (527px при 844×390) — высота по экрану, машина вписана целиком, стрелки — по середине кадра */
@media (max-width: 960px) and (orientation: landscape) and (max-height: 540px) {
  .hero { --mh: min(calc(100vw * 10 / 16), max(240px, calc(100vh - var(--hd-h) - 24px))); }
  @supports (height: 1svh) { .hero { --mh: min(calc(100vw * 10 / 16), max(240px, calc(100svh - var(--hd-h) - 24px))); } }
  .hero .b-media { aspect-ratio: auto; height: var(--mh); }
  .hero-arrow { top: calc(var(--mh) / 2); }
}

/* ===================== кроссплатформенность: заголовки на планшете лежа и небольших ноутбуках (961–1300; замер в браузере 22.10) =====================
   Кегль уменьшается по ширине экрана только там, где слово или заголовок не помещались; шире ~1300 — прежний размер. */
@media (min-width: 961px) {
  .hero .b-text h2 { font-size: min(var(--xxl), calc(3.6vw - 10px)); }   /* слайд: «Котел периодического действия КП-5» в 3 строки до 1240, «Двухвальный» шире колонки на 961–1024 */
  .coupon-title { font-size: min(clamp(32px, 20.8px + 3.2vw, 64px), calc(6.1vw - 21px)); }   /* талон заявки: «переработать?» шире левой колонки на 961–1300 (на 1024 — 364 > 292px) */
  .pd-sec h2 { font-size: min(clamp(32px, 20.8px + 3.2vw, 64px), calc(6.3vw - 13px)); }   /* товар: «Характеристики» шире колонки на 961–1040 */
}

/* ===================== телефон: низ страницы под нижней панелью (22.10, жалоба по скриншоту) =====================
   Место под панель было отступом body — белая полоса под подвалом, которая оставалась, когда панель уезжала при прокрутке вниз.
   Теперь это нижнее поле самого подвала: фисташка до самого низа экрана, панель лежит поверх нее. Слово «Альтаир» на телефоне —
   целиком: под ним теперь фисташка, а не край страницы, и обрез букв выглядел бы как поломка. */
@media (max-width: 760px) {
  body { padding-bottom: 0; }
  .ft { padding-bottom: calc(var(--tab-h, 60px) + env(safe-area-inset-bottom, 0px)); }
}

/* ===================== шрифты: TT Hoves Pro VF — текст (--font, у body), TT Hoves Pro Expanded — заголовки и крупные надписи (--font-head) ===================== */
h1, h2, h3, h4, h5, h6, .coupon-title { font-family: var(--font-head); }
/* суммы денег — тоже Expanded: цены (.price, .money внутри подписей), суммы строк корзины, итоги, сумма в шапке, поля цены в фильтре */
.money, .price, .ci-sum, .totals .tot dd, #cartGoods, #coGoods, .co-mini b, .ln-sum b, .cart-sum.money, .f-num input { font-family: var(--font-head); }

/* ===================== токены цвета (tokens.json → theme): последними, чтобы перекрыть старые определения ===================== */
/* каркас документа (_doc.mjs): оглавление слева — липкое, текст справа узкой колонкой; разделы разделены воздухом, не линиями */
.doc-date { font-size: max(13px, var(--sm)); color: var(--muted); }
.doc { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); column-gap: 48px; align-items: start; }
.doc-toc { position: sticky; top: calc(var(--hd-h) + 24px); max-height: calc(100vh - var(--hd-h) - 2 * var(--xl)); max-height: calc(100svh - var(--hd-h) - 2 * var(--xl)); overflow: auto; scrollbar-width: thin; }   /* vh — для Chrome < 108 без svh, иначе оглавление без ограничения высоты */
.doc-toc ul { display: grid; gap: 2px; }
.doc-toc a { display: block; padding: 4px 0; font-size: max(15px, var(--md)); line-height: 1.35; color: var(--muted); transition: color .15s ease; }
.doc-toc a:hover, .doc-toc a[aria-current="true"] { color: var(--ink); }
.doc-toc a[aria-current="true"] { font-weight: 600; }
.doc-body { display: grid; gap: 48px; max-width: 72ch; min-width: 0; }
/* колонка текста не растет по самому длинному слову: неявный трек сетки — auto, и таблица реквизитов (р/с из 20 цифр) распирала
   весь .doc-body на 45px шире экрана на 320 и на 6px на 360. Трек — minmax(0, 1fr); длинная ссылка или почта в абзаце переносится, а не вылезает.
   В таблицах переносятся только значения (р/с, почта, адрес — anywhere уменьшает их min-content, таблица ужимается в колонку),
   подписи слева — целыми словами («Наименование» влезает в 46 % колонки и на 320). На компьютере все влезает — вид прежний */
.doc-body, .doc-part { grid-template-columns: minmax(0, 1fr); }
.doc-body { overflow-wrap: break-word; }
.doc-part td { overflow-wrap: anywhere; }
.doc-part { display: grid; gap: 16px; scroll-margin-top: calc(var(--hd-h) + 24px); }
.doc-part h2 { margin-bottom: 4px; font-size: var(--xl); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
.doc-part h3 { margin-top: 16px; font-size: var(--lg); line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; }
.doc-part p, .doc-part li { font-size: max(16px, var(--md)); line-height: 1.6; }
.doc-part ul { display: grid; gap: 8px; }
.doc-part ul li { position: relative; padding-left: calc(.7em + 16px); /* вне ряда: точка .45em и зазор */ }
.doc-part ul li::before { content: ""; position: absolute; left: 0; top: .6em; /* вне ряда: точка по центру первой строки */ width: .45em; height: .45em; border-radius: 50%; background: var(--accent); }
.doc-part a { text-decoration: underline; text-underline-offset: 3px; }
.doc-part a:hover { text-decoration-thickness: 2px; }
.doc-part .spec-table { margin-top: 4px; }
.doc-flag { padding: 16px 24px; border-radius: var(--r-l); background: var(--accent); color: var(--on-accent); font-size: max(15px, var(--md)); line-height: 1.5; }
@media (max-width: 960px) {
  .doc { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .doc-toc { position: static; max-height: none; overflow: visible; }   /* без прокрутки внутри — рамка фокуса у ссылок не обрезается по краям */
  .doc-toc ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
}
@media (max-width: 560px) { .doc-toc ul { grid-template-columns: minmax(0, 1fr); } }

/* Личный кабинет: те же шрифты, поверхности и скошенные кнопки, что в магазине. */
.ac-page,
.ac-auth-page {
  padding-bottom: 96px;
}
.ac-heading {
  margin: 24px 0 32px;
  max-width: 850px;
}
.ac-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.ac-heading .ac-eyebrow {
  margin-bottom: 16px;
  color: var(--muted);
}
.ac-heading h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.ac-heading > p:last-child,
.ac-lead {
  color: var(--ink-2);
  max-width: 58ch;
}
.ac-notice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}
.ac-notice > .i {
  margin-top: 1px;
}
.ac-notice b {
  color: var(--ink);
  font-weight: 600;
}
.ac-page > .ac-notice {
  margin-bottom: 32px;
}
.ac-loading {
  padding: 64px 0;
  color: var(--muted);
}
.ac-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.ac-sidebar {
  background: var(--pick);
  color: var(--on-pick);
  padding: 24px;
  position: sticky;
  top: calc(var(--hd-h) + 24px);
}
.ac-identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-bottom: 24px;
  overflow-wrap: anywhere;
}
.ac-avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: var(--pick-2);
  color: var(--pick-on);
  font: 600 20px/1 var(--font-head);
  margin-bottom: 16px;
}
.ac-identity > b {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}
.ac-identity > span:last-child {
  color: var(--pick-ink-2);
  font-size: 14px;
}
.ac-nav {
  border-top: 1px solid var(--pick-line);
  padding-block: 16px;
  display: grid;
  gap: 4px;
}
.ac-nav a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  margin-inline: -16px;
  min-height: 48px;
  font-weight: 500;
}
.ac-nav a > :last-child {
  margin-left: auto;
}
.ac-nav a:hover {
  background: var(--pick-2);
}
.ac-nav a[aria-current='page'] {
  background: var(--pick-on);
  color: var(--on-pick-on);
}
.ac-nav-count {
  min-width: 20px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.ac-support {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--pick-line);
  font-size: 13px;
  color: var(--pick-ink-2);
}
.ac-support .i {
  margin-top: 4px;
}
.ac-support b {
  display: block;
  color: var(--on-pick);
  font-size: 15px;
  font-weight: 500;
  margin-top: 2px;
}
.ac-logout {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  min-height: 44px;
  font-size: 14px;
}
.ac-logout:hover,
.ac-support:hover b {
  color: var(--pick-on);
}
.ac-content {
  min-width: 0;
}
.ac-form-section {
  padding-block: 0 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.ac-form-section header {
  margin-bottom: 24px;
}
.ac-form-section h2 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.ac-form-section header p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--ink-2);
  max-width: 65ch;
}
.ac-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.ac-field {
  min-width: 0;
}
.ac-field > label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 500;
}
.ac-required {
  color: var(--muted);
}
.ac-input-wrap {
  position: relative;
}
.ac-field input {
  display: block;
  width: 100%;
  min-width: 0;
  height: 54px;
  padding: 16px 16px;
  border: 1px solid var(--line-2);
  border-radius: 0;
  background: var(--surface);
  color: var(--ink);
  font: 400 max(16px, var(--md))/1.4 var(--font);
  transition: border-color 0.15s ease;
}
.ac-field input:focus {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.ac-field input[aria-invalid='true'] {
  border-color: var(--danger);
}
.ac-input-wrap:has(.ac-password) input {
  padding-right: 64px;
}
.ac-password {
  display: grid;
  place-items: center;
  position: absolute;
  right: 4px;
  top: 4px;
  width: 44px;
  height: 44px;
  color: var(--muted);
}
.ac-password:hover {
  color: var(--ink);
  background: var(--surface-2);
}
.ac-hint,
.ac-error {
  font-size: 13px;
  line-height: 1.45;
  margin-top: 8px;
}
.ac-hint {
  color: var(--muted);
}
.ac-error {
  color: var(--danger);
}
.ac-saved {
  color: var(--ink);
  font-size: 15px;
}
.ac-save-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}
.ac-submit {
  min-height: 52px;
  height: auto;
  padding-block: 16px;
}
.ac-gate,
.ac-orders-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 64px 24px;
  background: var(--surface);
}
.ac-gate h2,
.ac-orders-empty h2 {
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}
.ac-gate > p,
.ac-orders-empty > p:not(.ac-eyebrow) {
  max-width: 46ch;
  color: var(--ink-2);
}
.ac-empty-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid var(--line-2);
  color: var(--ink);
  margin-bottom: 32px;
}
.ac-empty-icon .i {
  width: 32px;
  height: 32px;
  stroke-width: 1.25;
}
.ac-orders-empty .ac-eyebrow {
  color: var(--muted);
  margin-bottom: 16px;
}
.ac-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}
.ac-orders-empty > .btn {
  margin-top: 32px;
}
.ac-empty-help {
  margin-top: 24px;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 15px;
}
.ac-auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-width: 1120px;
  margin: 24px auto 0;
  border: 1px solid var(--line);
}
.ac-auth-story {
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
  background: var(--pick);
  color: var(--on-pick);
}
.ac-auth-mark {
  width: 56px;
  height: 48px;
  color: #ffffff; /* знак на темном — только белый */
}
.ac-auth-story .ac-eyebrow {
  color: var(--pick-ink-2);
  margin-bottom: 16px;
}
.ac-auth-story h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.ac-auth-story ul {
  display: grid;
  gap: 32px;
}
.ac-auth-story li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: var(--pick-ink-2);
  font-size: 15px;
}
.ac-auth-story li .i {
  color: var(--pick-on);
  margin-top: 2px;
}
.ac-auth-story li b {
  display: block;
  color: var(--on-pick);
  font-weight: 500;
  font-size: 17px;
  margin-bottom: 8px;
}
.ac-auth-story > a {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  padding-top: 24px;
  border-top: 1px solid var(--pick-line);
  width: 100%;
  margin-top: auto;
}
.ac-auth-story > a .i {
  margin-left: auto;
}
.ac-auth-form {
  padding: 48px;
  min-width: 0;
  background: var(--surface);
}
.ac-auth-tabs {
  display: flex;
  gap: 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.ac-auth-tabs a {
  padding-bottom: 16px;
  color: var(--muted);
  font-size: 16px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.ac-auth-tabs a[aria-current='page'] {
  color: var(--ink);
  border-color: var(--ink);
  font-weight: 600;
}
.ac-auth-form h1 {
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.ac-auth-form .ac-lead {
  font-size: 15px;
}
.ac-form {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}
.ac-check {
  align-items: start;
  font-size: 14px;
}
.ac-check input {
  flex: none;
  margin-top: 4px;
}
.ac-check a,
.ac-auth-switch a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ac-form-message:empty {
  display: none;
}
.ac-form-message {
  margin: 0;
  font-size: 14px;
}
.ac-auth-switch {
  font-size: 14px;
  margin-top: 24px;
}
.ac-auth-switch a {
  font-weight: 500;
}
.ac-auth-form > .ac-notice {
  font-size: 13px;
  padding: 16px 0 0;
  margin-top: 24px;
  border-width: 1px 0 0;
  background: none;
}
.ac-auth-form > .ac-notice .i {
  width: 16px;
  height: 16px;
}
.ac-header-link {
  flex: none;
  text-decoration: none;
}
.ac-header-dot {
  position: absolute;
  right: 8px;
  top: 4px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.ac-checkout-note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 15px;
}
.ac-checkout-note .i {
  margin-top: 2px;
}
.ac-checkout-note b {
  font-weight: 500;
  overflow-wrap: anywhere;
}
.ac-checkout-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ac-orders-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 15px;
}
.ac-orders {
  display: grid;
  gap: 32px;
}
.ac-order {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 32px;
}
.ac-order-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.ac-order-head h2 {
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-top: 8px;
}
.ac-order-head p {
  font-size: 14px;
  color: var(--muted);
}
.ac-order-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  padding: 8px 16px;
  font-size: 13px;
}
.ac-order-status > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.ac-order-items li {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}
.ac-order-picture {
  display: grid;
  place-items: center;
  width: 88px;
  height: 72px;
}
.ac-order-picture .pic {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ac-order-picture .pic-none {
  display: grid;
  place-items: center;
  font-size: 10px;
  color: var(--muted);
}
.ac-order-picture .pic-none svg {
  width: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.ac-order-items li > div {
  min-width: 0;
}
.ac-order-items li > div > a,
.ac-order-items li > div > b {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.ac-order-items li > div > a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ac-order-items li p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}
.ac-order-item-sum {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}
.ac-order-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  cursor: pointer;
  min-height: 60px;
  font-size: 15px;
}
.ac-order-details summary::-webkit-details-marker {
  display: none;
}
.ac-order-details[open] summary .i {
  transform: rotate(180deg);
}
.ac-order-details dl {
  display: grid;
  gap: 16px;
  padding: 0 0 24px;
  font-size: 14px;
}
.ac-order-details dl > div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
}
.ac-order-details dt {
  color: var(--muted);
}
.ac-order-details dd {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.ac-order-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.ac-order-footer > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ac-order-footer span {
  font-size: 13px;
  color: var(--muted);
}
.ac-order-footer b {
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.ac-orders-note {
  font-size: 14px;
  color: var(--muted);
  margin-top: 24px;
}
.ac-order-repeat {
  margin-top: 16px;
  font-size: 14px;
}
@media (max-width: 1000px) {
  .ac-page,
  .ac-auth-page {
    padding-bottom: 64px;
  }
  .ac-gate,
  .ac-orders-empty {
    padding-block: 48px;
  }
  .ac-order {
    padding: 24px;
  }
  .ac-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 32px;
  }
  .ac-sidebar {
    padding: 24px;
  }
  .ac-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .ac-order-items li {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px 16px;
  }
  .ac-order-picture {
    width: 64px;
    grid-row: span 2;
  }
  .ac-order-item-sum {
    grid-column: 2;
  }
}
@media (max-width: 760px) {
  .ac-gate,
  .ac-orders-empty {
    padding-block: 32px;
  }
  .ac-order {
    padding: 16px;
  }
  .ac-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .ac-sidebar {
    position: static;
  }
  .ac-identity {
    display: none;
  }
  .ac-nav {
    display: flex;
    border: 0;
    padding: 0;
    gap: 8px;
  }
  .ac-nav a {
    flex: 1;
    margin: 0;
    padding: 16px;
    gap: 8px;
  }
  .ac-support {
    display: none;
  }
  .ac-logout {
    margin-top: 16px;
    padding-inline: 16px;
  }
  .ac-auth-layout {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 16px;
  }
  .ac-auth-form {
    grid-row: 1;
    padding: 32px 24px;
  }
  .ac-auth-story {
    padding: 32px 24px;
    gap: 24px;
  }
  .ac-auth-mark,
  .ac-auth-story ul {
    display: none;
  }
  .ac-auth-story h2 {
    font-size: 26px;
  }
  .ac-auth-story h2 br {
    display: none;
  }
  .ac-heading {
    margin-top: 16px;
  }
  .ac-notice {
    font-size: 13px;
    padding: 16px;
  }
  .ac-page > .ac-notice {
    margin-bottom: 24px;
  }
}
@media (max-width: 420px) {
  .hd-in .logo-word {
    display: none;
  }
  .ac-auth-form {
    padding: 24px 24px;
  }
  .ac-nav a {
    padding: 16px 8px;
    font-size: 14px;
    gap: 8px;
  }
  .ac-nav a > .i:last-child {
    display: none;
  }
  .ac-sidebar {
    padding: 16px;
  }
  .ac-actions {
    width: 100%;
  }
  .ac-actions > .btn,
  .ac-save-row > .btn {
    width: 100%;
  }
  .ac-orders-empty {
    padding-inline: 16px;
  }
  .ac-orders-empty > .btn {
    font-size: 14px;
    padding-inline: 16px;
  }
  .ac-order-details dl > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
  .ac-order-footer > .btn {
    width: 100%;
  }
}

/* ===================== «Контакты» (contacts.mjs): одна доминанта — номер телефона; почта, офис и часы — подписанными строками =====================
   Сетка как везде: текст на --pad от рельса; строки под номером — ячейки от рельса до рельса, их низ закрывает линия следующей секции.
   Карта — фисташковая плита с адресом, Яндекс грузится только по нажатию (contacts.js). */
.ct-head h1 { font-size: clamp(32px, 2.4vw + 12px, 52px); }   /* заголовок скромнее обычного: главное на экране — номер */
.ct-hero { container-type: inline-size; }
/* номер ≈ 8,6 em шириной: 9,6cqi — около 83 % колонки на любой ширине, без переноса и прокрутки вбок (vw — для браузеров без cqi: iOS < 16, Chrome < 105;
   без var() — непонятное значение отбрасывается, остается строка с vw: 7,5vw ≈ 65 % экрана, уже колонки от 163px).
   Нижняя граница 24px, не 28px: на 320 номер 28px занимал ~240 из 262px колонки (а при полосе прокрутки — 247), 24px — с запасом.
   nowrap не нужен: «+7 (960) 131-38-88» не рвется и так (неразрывные пробелы, дефис перед цифрой), а при крупном шрифте в настройках
   телефона номер лучше перенесется (anywhere), чем вылезет за экран; max-width — блок не шире колонки */
.ct-phone { display: inline-block; max-width: 100%; font-size: clamp(24px, 7.5vw, 120px); font-size: clamp(24px, 9.6cqi, 120px); line-height: 1; font-weight: 600; letter-spacing: -0.045em; overflow-wrap: anywhere;
  text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: .05em; text-underline-offset: .12em; transition: text-decoration-color .18s ease; }
.ct-phone:hover { text-decoration-color: currentColor; }
.ct-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; }
.ct-actions .txt-btn { margin-left: 16px; }
.ct-rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 48px calc(-1 * var(--pad)) 0; border-top: 1px solid var(--rule); }   /* taste-skill-ignore: сетка-линии от рельса до рельса (стиль сайта) */
.ct-rows > div { display: grid; align-content: start; gap: 4px; padding: 24px var(--pad) 24px; }
.ct-rows > div + div { border-left: 1px solid var(--rule); }   /* taste-skill-ignore: сетка-линии от рельса до рельса (стиль сайта) */
.ct-rows dt { font-size: max(13px, var(--sm)); color: var(--muted); }
.ct-rows dd { font-size: var(--lg); line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; overflow-wrap: anywhere; }   /* длинная почта не распирает ячейку на 320 */
.ct-rows a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* карта: до нажатия — плита с адресом; iframe появляется поверх, когда загрузится */
.ct-map { position: relative; height: clamp(340px, 40vw, 540px); overflow: hidden; border-radius: var(--r-l); background: var(--accent); color: var(--on-accent); }
.ct-plate { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 24px; }
.ct-plate-addr { max-width: 14ch; font-size: clamp(30px, 2.8vw + 12px, 64px); line-height: 1; font-weight: 600; letter-spacing: -0.04em; text-wrap: balance; overflow-wrap: break-word; }   /* длинное слово адреса на 320 — переносом, а не под обрез плиты */
.ct-plate-act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.ct-plate .btn-ink { height: 54px; padding: 0 24px; background: var(--dk); color: var(--on-dk); }
.ct-plate .btn-ink:hover { background: var(--dk-2); }
.ct-plate .btn-ink[aria-busy="true"] { cursor: progress; }
.ct-plate-note { max-width: 44ch; font-size: max(13px, var(--sm)); line-height: 1.45; color: color-mix(in srgb, var(--on-accent) 78%, transparent); }   /* без color-mix (iOS < 16.2, Chrome < 111) цвет наследуется — --on-accent плиты, читается */
.ct-plate-note a { color: var(--on-accent); text-decoration: underline; text-underline-offset: 3px; }
.ct-plate-note a:hover { text-decoration-thickness: 2px; }
.ct-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--surface); opacity: 0; transition: opacity .3s ease; }
.ct-map.on iframe { opacity: 1; }

/* по какому вопросу куда: строки «вопрос | куда» (как «Как работаем» в «О компании») */
.ct-route span { max-width: 62ch; }
.ct-route a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ct-route a:hover { text-decoration-thickness: 2px; }

/* реквизиты */
.ct-req .spec-table { max-width: 820px; }
.ct-req td { overflow-wrap: anywhere; }   /* р/с из 20 цифр распирал таблицу шире экрана на 320/360: значение переносится, только когда не влезает; подписи — целыми словами (на компьютере вид прежний) */
.ct-note { margin-top: 16px; font-size: max(13px, var(--sm)); color: var(--muted); }

@media (max-width: 760px) {
  .ct-actions .txt-btn { margin-left: 0; }
  .ct-rows { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .ct-rows > div { padding-block: 16px; }
  .ct-rows > div + div { border-left: 0; border-top: 1px solid var(--rule); }   /* taste-skill-ignore: сетка-линии от рельса до рельса (стиль сайта) */
  .ct-plate { padding: 24px; }
}
@media (max-width: 560px) {
  .ct-actions .btn { flex: 1 1 auto; }
  .ct-plate .btn-ink { width: 100%; }
}
/* телефон в альбомной ориентации (высота ~320–430px): карта 340px выше видимой части — открытая карта перехватывает жесты и страницу не прокрутить.
   Плита идет в поток и задает высоту сама (адрес и кнопка не обрезаются), открытая карта — 200px */
@media (orientation: landscape) and (max-height: 500px) {
  .ct-map { height: auto; min-height: 200px; }
  .ct-plate { position: relative; inset: auto; min-height: inherit; }
}

/* ===================== плашка cookie (parts/cookie.html, поведение — cookie.js) =====================
   Плавающая карточка по центру внизу: текст слева, кнопки «Принять» и «Отклонить» справа; на телефоне — во всю колонку, кнопки под текстом,
   над нижней панелью, на одной высоте с «наверх», уведомлением и панелью сравнения (80px).
   Слой 47: над содержимым, квадратиками рельс и нижней панелью (46), под шапкой с мега-меню (50), затемнением и шторкой фильтров (59–60) и окнами (верхний слой).
   Соседей не закрывает: над панелью сравнения (45) плашка поднимается сама; на телефоне, где она во всю ширину, «наверх» (40)
   и уведомление поднимаются над ней на ее высоту (--ck-h ставит cookie.js). */
:root { --ck-cmp: calc(36px + 2 * 8px + 16px); }   /* высота панели сравнения (кнопка .btn-s и поля) и зазор над ней */
.ck { position: fixed; left: 0; right: 0; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 47; width: min(780px, var(--cw)); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px 24px; padding: 16px 24px;
  border-radius: var(--r-l); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-m); } /* taste-skill-ignore: плашка парит над страницей */
.ck-text { font-size: max(15px, var(--sm)); line-height: 1.45; }
.ck-text a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ck-text a:hover { text-decoration-thickness: 2px; }
.ck-act { display: flex; gap: 8px; }
.ck-act .btn { min-width: 112px; }   /* пилюля: не короче полутора высот */
.cmp-on .ck { translate: 0 calc(-1 * var(--ck-cmp)); }
@media (prefers-reduced-motion: no-preference) {
  .ck { animation: ck-in .4s var(--ease); transition: opacity .2s ease, transform .2s var(--ease), translate .3s var(--ease); }
  .ck.ck-out { opacity: 0; transform: translateY(8px); }
}
@keyframes ck-in { from { opacity: 0; transform: translateY(12px); } }
@media (max-width: 760px) {
  .ck { bottom: calc(96px + env(safe-area-inset-bottom)); width: var(--cw); grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .ck-act .btn { flex: 1; }
  .ck-on .to-top, .ck-on .toast { translate: 0 calc(-1 * (var(--ck-h, 0px) + var(--sm))); }
  .ck-on.cmp-on .toast { margin-bottom: 0; translate: 0 calc(-1 * (var(--ck-h, 0px) + var(--ck-cmp) + var(--sm))); }
  /* плашка не выше половины экрана (320×568 и крупный шрифт): текст прокручивается внутри, кнопки всегда видны; vh — для Chrome < 108 без svh */
  .ck-text { max-height: calc(50vh - 44px - 2 * var(--md) - var(--sm)); max-height: calc(50svh - 44px - 2 * var(--md) - var(--sm)); overflow-y: auto; overscroll-behavior: contain; }
}
@media (max-width: 360px) {   /* 320–360: текст в 15px — 10 строк, плашка ~300px из ~450px видимой части; мельче и плотнее — ~225px, текст на линии страницы (поля по бокам прежние) */
  .ck { padding-block: 16px; }
  .ck-text { font-size: max(13px, var(--sm)); line-height: 1.4; }
}
/* телефон в альбомной ориентации (высота ~320–430px): в столбик плашка закрывала больше половины экрана.
   Кнопки — столбиком справа от текста, текст мельче и не выше половины экрана (дальше — прокрутка внутри) */
@media (orientation: landscape) and (max-height: 500px) {
  .ck { grid-template-columns: minmax(0, 1fr) auto; padding-block: 16px; }
  .ck-text { max-height: calc(50vh - 2 * var(--sm)); max-height: calc(50svh - 2 * var(--sm)); overflow-y: auto; overscroll-behavior: contain;
    font-size: max(13px, var(--sm)); line-height: 1.4; }
  .ck-act { flex-direction: column; }
  .ck-act .btn { flex: none; }
}
@media print { .ck { display: none !important; } }

/* ===================== «Доставка и оплата» (delivery.mjs) =====================
   Правила сетки сайта: текст на --pad от рельса; линии между строками — от линии текста, сетка способов получения — от рельса до рельса
   (ячейки отодвигают текст на --pad); цветные плиты (оплата — фисташка, приемка — бледная фисташка) держат свой внутренний отступ. */
.dl-sec h2 { font-size: var(--xxl); line-height: 1.08; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
.dl-sec h3 { font-size: var(--lg); line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.dl-lead { max-width: 52ch; font-size: var(--lg); line-height: 1.45; letter-spacing: -0.01em; }
.dl-note { font-size: max(13px, var(--sm)); color: var(--muted); }
.dl-sec a:not([class]) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.dl-sec a:not([class]):hover { text-decoration-thickness: 2px; }
.dl-sec .care { display: grid; gap: 8px; }
.dl-sec .care li { align-items: flex-start; line-height: 1.45; }
.dl-sec .care li::before { margin-top: .38em; /* вне ряда: точка по центру первой строки */ }

/* ---------- оплата: способы строками слева, документы — фисташковая плита справа ---------- */
.dl-head { display: grid; gap: 8px; }
.dl-who { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
html:not(.js) .dl-who { display: none; }   /* без скрипта переключать нечего: видно все */
.dl-who-l { font-size: max(15px, var(--md)); font-weight: 500; }
.dl-who .f-seg { width: min(100%, 380px); }
.dl-who .f-seg span { height: 44px; padding-inline: 16px; font-size: max(15px, var(--md)); }
.dl-pay-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); column-gap: 48px; row-gap: 24px; align-items: start; }
.dl-methods { border-top: 1px solid var(--rule); } /* taste-skill-ignore: линии сетки сайта */
.dl-methods li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); } /* taste-skill-ignore: линии сетки сайта */
.dl-methods b { font-size: var(--lg); line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; }
.dl-methods span { display: grid; gap: 4px; }
.dl-methods small { font-size: max(13px, var(--sm)); color: var(--muted); }
.dl-only { margin-top: 16px; }
/* «Покупаю как»: скрипт пишет выбор в data-who секции; со скриптом страница сразу рисуется как для компании (без прыжка), без скрипта — все видно */
.js .dl-pay:not([data-who="person"]) [data-for="person"], .dl-pay[data-who="person"] [data-for="org"] { display: none; }
.dl-plate { display: grid; gap: 16px; padding: 24px; border-radius: var(--r-l); background: var(--accent); color: var(--on-accent); }
.dl-sec .dl-plate h3 { font-size: var(--xl); line-height: 1.15; letter-spacing: -0.02em; }
.dl-for { display: grid; gap: 8px; }
.dl-for-h { font-weight: 600; }
.dl-plate .care li { font-weight: 400; }
.dl-prepay { padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--on-accent) 24%, transparent); } /* taste-skill-ignore: линии сетки сайта */
.dl-plate-act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.dl-plate .btn-ink { height: 54px; padding: 0 24px; background: var(--dk); color: var(--on-dk); }
.dl-plate .btn-ink:hover { background: var(--dk-2); }

/* ---------- способы получения: три колонки от рельса до рельса, строки ячеек выровнены (subgrid); низ сетки — линия следующей секции ---------- */
.dl-ways-sec { padding-bottom: 0; }
.dl-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, auto); margin-inline: calc(-1 * var(--pad)); border-top: 1px solid var(--rule); } /* taste-skill-ignore: линии сетки сайта */
.dl-way { grid-row: span 3; display: grid; grid-template-rows: subgrid; row-gap: 16px; padding: 24px var(--pad) 48px; }
.dl-way + .dl-way { border-left: 1px solid var(--rule); } /* taste-skill-ignore: линии сетки сайта */
.dl-way p { max-width: 42ch; }
.dl-need { display: grid; align-content: start; gap: 16px; }
.dl-need div { display: grid; gap: 4px; }
.dl-need dt { font-weight: 600; }
.dl-need dd { margin: 0; }

/* ---------- стоимость: рисунок (негабарит на трале) и текст ---------- */
.dl-cost { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; row-gap: 24px; align-items: center; }
.dl-cost-art .step-art { aspect-ratio: 3 / 2; margin: 0; }
.dl-cost-text { display: grid; gap: 24px; justify-items: start; }

/* ---------- приемка груза: бледно-фисташковая плита, шаги слева направо; порядок — позицией, сверху у шага фисташковая черта ---------- */
.dl-check-in { display: grid; gap: 24px; padding: 32px; border-radius: var(--r-l); background: var(--accent-soft); color: var(--ink); }
.dl-check-head { display: grid; gap: 8px; }
.dl-check-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 24px; }
.dl-check-list li { display: grid; align-content: start; gap: 8px; padding-top: 16px; border-top: 3px solid var(--accent); }
.dl-check-list b { font-size: var(--lg); line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; }

/* iOS < 16 и Safari < 16 без subgrid: grid-template-rows: subgrid отбрасывается, строки ячейки — auto и растягиваются на высоту
   соседней колонки (между заголовком и текстом — дыры). Прижимаем содержимое ячейки к верху, как в обычной колонке */
@supports not (grid-template-rows: subgrid) { .dl-way { align-content: start; } }
/* без color-mix (iOS < 16.2, Chrome < 111) вся строка border-top с var() отбрасывается при вычислении — линия над «Предоплатой» пропадала.
   Запасная — полупрозрачная линия фисташкового подвала (в светлой теме почти тот же цвет; в темной линия едва видна, отступ остается) */
@supports not (color: color-mix(in srgb, red 50%, transparent)) { .dl-prepay { border-top: 1px solid var(--ft-line); } }

@media (max-width: 1100px) {
  .dl-check-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .dl-pay-in, .dl-cost { grid-template-columns: minmax(0, 1fr); }
  .dl-ways { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .dl-way { grid-row: auto; grid-template-rows: none; padding-bottom: 24px; }
  .dl-way + .dl-way { border-left: 0; border-top: 1px solid var(--rule); } /* taste-skill-ignore: линии сетки сайта */
  .dl-cost-art { width: min(100%, 560px); }
  .dl-cost-text { order: -1; }   /* в одну колонку сначала заголовок и текст, рисунок — под ними */
}
@media (max-width: 760px) {
  .dl-who { width: 100%; }
  .dl-who .f-seg { width: 100%; }
  .dl-methods li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .dl-check-in { padding: 24px; }
}
@media (max-width: 560px) {
  .dl-check-list { grid-template-columns: minmax(0, 1fr); }
  .dl-who .f-seg span { white-space: normal; text-align: center; line-height: 1.2; }
  .dl-plate .btn-ink { width: 100%; }
}

/* ===================== 404 (notfound.mjs): заголовок, одна фраза, три выхода; справа — дорога с указателем; ниже — разделы каталога ===================== */
.nf-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; row-gap: 24px; align-items: center; padding-bottom: 48px; }
.nf-head { margin-bottom: 0; }
.nf-head .cat-sub { max-width: 44ch; }
.nf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; }
.nf-art .step-art { margin: 0; }
@media (max-width: 960px) {
  .nf-hero { grid-template-columns: minmax(0, 1fr); }
  .nf-art { width: min(100%, 560px); }
}
@media (max-width: 560px) {
  .nf-actions .btn { flex: 1 1 auto; }
}

/* ===================== политика обработки персональных данных (privacy.html, privacy.mjs) =====================
   Текст согласия (#consent) — отдельный документ внутри политики: на светлой подложке, как плита-пометка документа (.doc-flag), но не фисташковой. */
.pv-consent { display: grid; gap: 16px; margin-top: 8px; padding: 24px; border-radius: var(--r-l); background: var(--surface); }
.pv-consent { grid-template-columns: minmax(0, 1fr); }   /* трек не растет по длинному слову или почте — плита не шире колонки на 320 */
.doc-part .pv-note { font-size: max(13px, var(--sm)); color: var(--muted); }

/* «Гарантия и сервис» (service.mjs): путь машины — ячейки на сетке с линиями от рельса до рельса и стрелками между остановками;
   гарантия — фисташковая плита со сроком и два списка; как обратиться — строки .ab-steps; запчасти — сетка 2 × 2 с рендерами машин;
   документы — таблица «подпись — значение»; вопросы — .faq-list. Текст — на --pad от рельса, белые ячейки квадратные, плита — --r-l. */
.sv-act { display: flex; flex-wrap: wrap; gap: 8px; }
.sv-top .sv-act { margin-top: 16px; }
.sv-head { display: grid; gap: 8px; max-width: 60ch; }
.sv-head p { font-size: var(--lg); line-height: 1.4; letter-spacing: -0.01em; }
.sv-more { justify-self: start; align-self: end; padding-inline: 0; }
.sv-war-text h2, .sv-docs-head h2 { font-size: var(--xxl); line-height: 1.08; font-weight: 600; letter-spacing: -0.03em; }
.sv-claim .ab-steps a, .sv-faq .faq-list p a { text-decoration: underline; text-underline-offset: 3px; }
.sv-claim .ab-steps a:hover, .sv-faq .faq-list p a:hover { text-decoration-thickness: 2px; }

/* ---------- путь машины: четыре остановки слева направо, на ≤1100 — сверху вниз, иллюстрация слева ---------- */
.sv-life { padding-bottom: 0; }
.sv-path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); margin: 0 calc(-1 * var(--pad)) -1px; border-block: 1px solid var(--rule); }
.sv-stop { grid-row: span 4; display: grid; grid-template-rows: subgrid; row-gap: 8px; padding: 24px var(--pad) 24px; }
.sv-stop + .sv-stop { border-left: 1px solid var(--rule); }
.sv-stop .step-art { position: relative; margin-bottom: 16px; }
.sv-stop + .sv-stop .step-art::before { content: "→"; position: absolute; left: calc(-1 * var(--pad) - 13px); /* вне ряда: центр кружка 26 на рельсе */ top: calc(50% - 13px); /* вне ряда: по центру */ z-index: 1; display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 15px; font-weight: 700; line-height: 1; }
.sv-stop h3 { font-size: clamp(var(--lg), 1.9vw, var(--xl)); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }   /* «На производстве» — одной строкой в узкой колонке */
.sv-stop p { font-size: max(15px, var(--md)); line-height: 1.5; }
@media (max-width: 1100px) {
  .sv-path { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .sv-stop { grid-row: auto; grid-template-rows: 1fr auto auto auto 1fr; grid-template-columns: 200px minmax(0, 1fr); grid-template-areas: "art ." "art name" "art text" "art more" "art .";
    column-gap: 24px; row-gap: 4px; padding-block: 24px; }
  .sv-stop .step-art { grid-area: art; align-self: start; margin: 0; }
  .sv-stop h3 { grid-area: name; font-size: var(--xl); } .sv-stop p { grid-area: text; } .sv-stop .sv-more { grid-area: more; }
  .sv-stop + .sv-stop { border-left: 0; border-top: 1px solid var(--rule); }
  .sv-stop + .sv-stop .step-art::before { content: "↓"; left: calc(50% - 13px); /* вне ряда: по центру */ top: calc(-24px - 13px); /* вне ряда: центр кружка 26 на линии */ }
}
@media (max-width: 560px) {
  .sv-stop { grid-template-columns: 112px minmax(0, 1fr); column-gap: 16px; }
  .sv-stop .step-art { aspect-ratio: 1 / 1; }
  .sv-stop h3 { font-size: var(--lg); overflow-wrap: break-word; hyphens: auto; }   /* запас: при крупном шрифте слово переносится, а не вылезает из колонки */
}
@media (max-width: 360px) {   /* 320–360: «На производстве» (128px, неразрывно) не влезал в колонку текста рядом с рисунком 112px — рисунок меньше */
  .sv-stop { grid-template-columns: 88px minmax(0, 1fr); }
}
/* iOS < 16 и Safari < 16 без subgrid: строки остановки — auto и растягиваются на высоту соседних, между заголовком и текстом дыры — прижимаем к верху */
@supports not (grid-template-rows: subgrid) { @media (min-width: 1101px) { .sv-stop { align-content: start; } } }

/* ---------- гарантия: срок крупно на фисташковой плите, справа — что покрывает и что нет ---------- */
.sv-war { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 48px; row-gap: 24px; align-items: stretch; }
.sv-plate { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 380px; padding: 24px; border-radius: var(--r-l);
  background: var(--accent); color: var(--on-accent); }
.sv-big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.sv-big b { font-size: clamp(112px, 8vw + 40px, 200px); line-height: .8; font-weight: 700; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.sv-big span { font-size: var(--xxl); line-height: 1; font-weight: 600; letter-spacing: -0.03em; }
.sv-plate-foot { display: grid; gap: 16px; }
.sv-plate-t { max-width: 24ch; font-size: var(--lg); line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; }
.sv-plate-note { padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--on-accent) 24%, transparent); font-size: max(13px, var(--sm));
  color: color-mix(in srgb, var(--on-accent) 78%, transparent); }
/* без color-mix (iOS < 16.2, Chrome < 111) строки с var() отбрасываются при вычислении: цвет наследуется (--on-accent плиты, читается),
   а линия пропадала — запасная полупрозрачная линия фисташкового подвала */
@supports not (color: color-mix(in srgb, red 50%, transparent)) { .sv-plate-note { border-top: 1px solid var(--ft-line); } }
.sv-war-text { display: grid; align-content: start; gap: 24px; }
.sv-lead { max-width: 52ch; font-size: var(--lg); line-height: 1.45; letter-spacing: -0.01em; }
.sv-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 24px; }
.sv-lists h3 { padding-bottom: 16px; border-bottom: 1px solid var(--rule); font-size: var(--lg); line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }
.sv-lists li { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: max(15px, var(--md)); line-height: 1.4; }
.sv-lists li .i { width: 22px; height: 22px; padding: 4px; border-radius: 50%; stroke-width: 2.2; }
.sv-yes .i { background: var(--accent); color: var(--on-accent); }
.sv-no .i { background: var(--surface-2); color: var(--ink); }
@media (max-width: 960px) {
  .sv-war { grid-template-columns: minmax(0, 1fr); }
  .sv-plate { min-height: 0; }
}
@media (min-width: 961px) and (max-width: 1240px) { .sv-lists { grid-template-columns: minmax(0, 1fr); } }   /* планшет лежа: два списка рядом в правой колонке — «Не гарантийный случай» в 3 строки (замер 22.10, 1024px) */
@media (max-width: 560px) {
  .sv-lists { grid-template-columns: minmax(0, 1fr); }
  .sv-plate { padding: 24px; }
}

/* ---------- как обратиться: заголовок с кнопками, строки «шаг | что сделать» во всю колонку ---------- */
.sv-claim .ab-steps span { color: var(--ink); }

/* ---------- запчасти: сетка 2 × 2 от рельса до рельса, в ячейке рендер машины слева и текст справа ---------- */
.sv-kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-inline: calc(-1 * var(--pad)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.sv-kind { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); column-gap: 24px; align-items: center; padding: 24px var(--pad);
  border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); transition: background-color .15s ease; }
.sv-kinds > .sv-kind { padding-left: calc(var(--pad) - 1px); }   /* у сетки линия слева 1px — минус ее толщина, как у категорий */
.sv-kind { position: relative; }
.sv-kind .sv-more::after { content: ""; position: absolute; inset: 0; }   /* вся ячейка ведет в категорию каталога */
.sv-kind:hover { background: var(--surface); }
.sv-kind img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.sv-kind-text { display: grid; gap: 8px; }
.sv-kind h3 { font-size: var(--lg); line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }
.sv-kind p { font-size: max(15px, var(--md)); line-height: 1.45; }
.sv-order { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 24px; }
.sv-order p { max-width: 58ch; font-size: max(16px, var(--md)); line-height: 1.5; }
@media (max-width: 1100px) {   /* в две колонки «Молотки и сита молотковых дробилок» не помещаются в две строки */
  .sv-kinds { grid-template-columns: minmax(0, 1fr); }
  .sv-kind { grid-template-columns: 200px minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .sv-kind { grid-template-columns: 96px minmax(0, 1fr); column-gap: 16px; }
}

/* ---------- документы: заголовок слева, таблица справа ---------- */
.sv-docs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); column-gap: 48px; row-gap: 24px; align-items: start; }
.sv-docs-head { display: grid; gap: 16px; }
.sv-docs-head p { max-width: 44ch; }
.sv-docs .spec-table th { width: 40%; color: var(--ink); font-weight: 600; }
.sv-docs .spec-table td { font-weight: 400; }
.sv-docs .spec-table tr:first-child > * { padding-top: 0; }
@media (max-width: 960px) { .sv-docs { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {   /* таблица в столбик: название документа над описанием */
  .sv-docs .spec-table, .sv-docs .spec-table tbody, .sv-docs .spec-table tr, .sv-docs .spec-table th, .sv-docs .spec-table td { display: block; width: auto; }
  .sv-docs .spec-table tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .sv-docs .spec-table tr:first-child { padding-top: 0; }
  .sv-docs .spec-table th, .sv-docs .spec-table td { padding: 0; border: 0; }
  .sv-docs .spec-table th { margin-bottom: 4px; }
}

/* «Условия продажи» (terms.html): примечание под реквизитами — как .ab-note на «О компании», но поверх размера абзацев документа */
.doc-part .tm-note { font-size: max(13px, var(--sm)); line-height: 1.5; color: var(--muted); }

:root { --pistachio-50: #f3f7ec; --pistachio-100: #e4eed3; --pistachio-200: #cfe0b0; --pistachio-300: #b5d488; --pistachio-400: #a3c76f; --pistachio-500: #97bc62; --pistachio-600: #86ab52; --pistachio-700: #6f8f45; --pistachio-800: #5a7834; --pistachio-900: #3f5524; --choco-50: #f6f5f3; --choco-100: #efedea; --choco-200: #e4e1dc; --choco-300: #cfcac3; --choco-400: #a8a19a; --choco-500: #7d7265; --choco-600: #5c5248; --choco-700: #41372e; --choco-800: #2c221b; --choco-900: #1f1711; --choco-950: #140e0a;
  --bg: #ffffff; --stage: #ffffff; --surface: #f6f5f3; --surface-2: #efedea; --surface-3: #e4e1dc; --line: #e4e1dc; --line-2: #cfcac3; --rule: #e6e3de; --rule-2: #c9c4bc; --rail: var(--rule-2); --ink: #1f1711; --ink-2: #41372e; --muted: #5c5248; --accent: #97bc62; --accent-h: #a3c76f; --on-accent: #1f1711; --accent-soft: #e4eed3; --accent-text: #3f5524; --act: #1f1711; --act-h: #41372e; --blue: var(--act); --b1: var(--act-h); --btn: #97bc62; --on-btn: #1f1711; --btn-h: #86ab52; --chip-on: #97bc62; --on-chip-on: #1f1711; --dk: #1f1711; --dk-2: #2c221b; --on-dk: #ffffff; --band: transparent; --on-band: #1f1711; --on-band-2: #5c5248; --band-line: var(--rule); --band-rail: transparent; --ft-bg: #97bc62; --ft-ink: #1f1711; --ft-muted: #2c221b; --ft-word: #1f1711; --ft-line: rgba(31, 23, 17, .14); --ft-logo: #1f1711; --logo: #1f1711; --pick: #1f1711; --pick-2: #2c221b; --pick-3: #41372e; --pick-on: #97bc62; --on-pick-on: #1f1711; --on-pick: #f6f5f3; --pick-ink-2: #e4e1dc; --pick-muted: #cfcac3; --pick-line: #41372e; --acc-1: #97bc62; --acc-2: #cfe0b0; --acc-3: #1f1711; --ok: #3f5524; --danger: #b3261e; --art-c: #cfe0b0; --art-y: #e0b25a; --art-top: #ffffff; --glass: rgba(255, 255, 255, .85); --scrim: rgba(31, 23, 17, .5); }
:root[data-theme="dark"] { --bg: #140e0a; --surface: #1f1711; --surface-2: #2c221b; --surface-3: #382c23; --line: #2a2019; --line-2: #41372e; --rule: #251c15; --rule-2: #4a3e33; --rail: #33281f; --ink: #f6f5f3; --ink-2: #e4e1dc; --muted: #b0a596; --accent: #a3c76f; --accent-h: #b5d488; --accent-soft: #2a3220; --accent-text: #b5d488; --act: #a3c76f; --act-h: #b5d488; --btn: #a3c76f; --btn-h: #b5d488; --chip-on: #a3c76f; --band: #1f1711; --on-band: #f6f5f3; --on-band-2: #c9c0b2; --band-line: rgba(255, 255, 255, .09); --band-rail: rgba(255, 255, 255, .09); --ft-bg: #1f1711; --ft-ink: #f6f5f3; --ft-muted: #e4e1dc; --ft-word: #ffffff; --ft-line: rgba(255, 255, 255, .09); --ft-logo: #ffffff; --logo: #ffffff; --pick: #1f1711; --pick-2: #2c221b; --pick-3: #41372e; --pick-on: #a3c76f; --on-pick-on: #1f1711; --on-pick: #f6f5f3; --pick-ink-2: #e4e1dc; --pick-muted: #cfcac3; --pick-line: #41372e; --ok: #b5d488; --danger: #ff8a7a; --art-top: #2c221b; --glass: rgba(20, 14, 10, .78); --scrim: rgba(0, 0, 0, .6); }
:root[data-palette="graphite"] { --pistachio-50: #f2f7ed; --pistachio-100: #e2edd6; --pistachio-200: #ccdfb5; --pistachio-300: #b4d091; --pistachio-400: #a3c476; --pistachio-500: #97bc62; --pistachio-600: #89aa58; --pistachio-700: #728e49; --pistachio-800: #5f773c; --pistachio-900: #425428; --choco-50: #f5f5f5; --choco-100: #ededed; --choco-200: #e1e1e2; --choco-300: #cacacb; --choco-400: #a1a2a3; --choco-500: #727375; --choco-600: #515356; --choco-700: #36383b; --choco-800: #212326; --choco-900: #16181b; --choco-950: #0d0f11;
  --bg: #ffffff; --stage: #ffffff; --surface: #f5f5f5; --surface-2: #ededed; --surface-3: #e1e1e2; --line: #e1e1e2; --line-2: #cacacb; --rule: #e3e3e4; --rule-2: #c4c4c5; --rail: var(--rule-2); --ink: #16181b; --ink-2: #36383b; --muted: #515356; --accent: #97bc62; --accent-h: #a3c476; --on-accent: #16181b; --accent-soft: #e2edd6; --accent-text: #425428; --act: #16181b; --act-h: #36383b; --blue: var(--act); --b1: var(--act-h); --btn: #97bc62; --on-btn: #16181b; --btn-h: #89aa58; --chip-on: #97bc62; --on-chip-on: #16181b; --dk: #16181b; --dk-2: #212326; --on-dk: #ffffff; --band: transparent; --on-band: #16181b; --on-band-2: #515356; --band-line: var(--rule); --band-rail: transparent; --ft-bg: #97bc62; --ft-ink: #16181b; --ft-muted: #212326; --ft-word: #16181b; --ft-line: rgba(31, 23, 17, .14); --ft-logo: #16181b; --logo: #16181b; --pick: #16181b; --pick-2: #212326; --pick-3: #36383b; --pick-on: #97bc62; --on-pick-on: #16181b; --on-pick: #f5f5f5; --pick-ink-2: #e1e1e2; --pick-muted: #cacacb; --pick-line: #36383b; --acc-1: #97bc62; --acc-2: #ccdfb5; --acc-3: #16181b; --ok: #425428; --danger: #b3261e; --art-c: #ccdfb5; --art-y: #e0b25a; --art-top: #ffffff; --glass: rgba(255, 255, 255, .85); --scrim: rgba(31, 23, 17, .5); }
:root[data-palette="graphite"][data-theme="dark"] { --bg: #0d0f11; --surface: #16181b; --surface-2: #212326; --surface-3: #2c2e31; --line: #1f2124; --line-2: #36383b; --rule: #1b1d20; --rule-2: #3e4042; --rail: #282a2d; --ink: #f5f5f5; --ink-2: #e1e1e2; --muted: #a5a6a8; --accent: #a3c476; --accent-h: #b4d091; --accent-soft: #293124; --accent-text: #b4d091; --act: #a3c476; --act-h: #b4d091; --btn: #a3c476; --btn-h: #b4d091; --chip-on: #a3c476; --band: #16181b; --on-band: #f5f5f5; --on-band-2: #c0c1c2; --band-line: rgba(255, 255, 255, .09); --band-rail: rgba(255, 255, 255, .09); --ft-bg: #16181b; --ft-ink: #f5f5f5; --ft-muted: #e1e1e2; --ft-word: #ffffff; --ft-line: rgba(255, 255, 255, .09); --ft-logo: #ffffff; --logo: #ffffff; --pick: #16181b; --pick-2: #212326; --pick-3: #36383b; --pick-on: #a3c476; --on-pick-on: #16181b; --on-pick: #f5f5f5; --pick-ink-2: #e1e1e2; --pick-muted: #cacacb; --pick-line: #36383b; --ok: #b4d091; --danger: #ff8a7a; --art-top: #212326; --glass: rgba(20, 14, 10, .78); --scrim: rgba(0, 0, 0, .6); }

/* ===================== подвал (SiteFooter.vue): один на все страницы — магазин и лендинги =====================
   Файл самодостаточный: сборка добавляет его и в shop.css, и в landing.css. От страницы берутся только цвета темы
   (--ft-*, --font, --font-head — есть в обеих), а сетка и размеры — свои, поэтому подвал выглядит одинаково везде.
   Сетка подвала = сетка магазина: колонка --ft-cw (как --cw), отступ текста от рельса --ft-pad (как --pad),
   --ft-u — размер текста (1rem магазина: у html магазина font-size: clamp(11px, 1.5vw + 8px, 18px), у лендинга 16px — поэтому не rem).
   Отступы — только из ряда 2, 4, 8, 16, 24, 32, 48, 64, 96 px, от размера текста не зависят. */
.ft {
  --ft-u: clamp(11px, 1.5vw + 8px, 18px);
  --ft-m: 32px;   /* поле страницы, как --m магазина: 32, до 1100 px 24, телефон 16 */
  --ft-cw: min(1360px, 100% - 2 * var(--ft-m));
  --ft-pad: 24px;
  --ft-mark: 34px;
  position: relative; z-index: 1; container-type: inline-size;
  background: var(--ft-bg); color: var(--ft-muted);
  font: 400 max(15px, var(--ft-u))/1.5 var(--font); letter-spacing: normal;   /* в подвале один размер текста; крупнее только телефон */
}
.ft p, .ft h3 { margin: 0; }
.ft a { color: inherit; text-decoration: none; transition: color .15s ease; }
.ft a:hover { color: var(--ft-ink); }
/* пунктирные рельсы по краям колонки — на одной линии с рельсами магазина */
.ft::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: var(--ft-cw); transform: translateX(-50%); pointer-events: none;
  background: linear-gradient(var(--ft-line) 55%, transparent 0) 0 0 / 1px 6px repeat-y, linear-gradient(var(--ft-line) 55%, transparent 0) 100% 0 / 1px 6px repeat-y; }
.ft-in, .ft-bottom, .ft-word { box-sizing: border-box; width: var(--ft-cw); margin-inline: auto; padding-inline: var(--ft-pad); }

.ft-in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding-block: 48px 32px; }
.ft-in > * { min-width: 0; }
.ft-logo { display: flex; align-items: center; gap: 8px; color: var(--ft-logo); }
.ft-logo svg { display: block; flex: none; max-width: none; }
.ft-logo-mark { width: calc(var(--ft-mark) * 5 / 4); height: var(--ft-mark); }
.ft-logo-word { height: calc(var(--ft-mark) * .5625); width: auto; }
.ft-brand > p:not(.ft-contact) { margin-top: 16px; max-width: 32ch; }
.ft-contact { display: grid; gap: 4px; margin-top: 16px; }
.ft-contact :is(a, span) { overflow-wrap: anywhere; }
.ft-contact a:first-child { color: var(--ft-ink); font-size: calc(var(--ft-u) * 1.25); font-weight: 700; letter-spacing: -0.01em; }
.ft-col { display: grid; gap: 8px; align-content: start; }
.ft-col h3 { color: var(--ft-ink); font-family: var(--font-head); font-size: inherit; font-weight: 600; margin-bottom: 4px; }

/* низ: копирайт слева и ссылки справа на одной строке, сноски под копирайтом; на телефоне — копирайт, сноски, ссылки */
.ft-bottom { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "copy links" "notes notes"; gap: 8px 24px;
  padding-block: 16px calc(24px + env(safe-area-inset-bottom)); }
.ft-copy { grid-area: copy; }
.ft-notes { grid-area: notes; }
/* перенесенная кнопка встает на линию текста: промежуток только между соседями в строке */
.ft-links { grid-area: links; display: flex; flex-wrap: wrap; justify-content: flex-end; column-gap: 16px; }
.ft-ck { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ft-ck[hidden] { display: none; }   /* кнопку показывает скрипт, только там, где она работает */

/* логотип №93 — ровно по ширине колонки, на линии текста; снизу воздух, не обрезается */
.ft-word { padding-bottom: 48px; color: var(--ft-word); user-select: none; }
.ft-word svg { display: block; width: 100%; height: auto; max-width: none; }

@media (max-width: 1100px) {
  .ft { --ft-m: 24px; }
}
@media (max-width: 960px) {
  .ft-in { grid-template-columns: 1fr 1fr; }
}
/* телефон: рельсов нет, колонка во всю ширину, текст на месте прежнего рельса (--ft-m от края) */
@media (max-width: 760px) {
  .ft { --ft-m: 16px; --ft-cw: 100%; --ft-pad: var(--ft-m); --ft-mark: 28px; }
  .ft::before { content: none; }
  .ft-in { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ft-bottom { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "notes" "links"; }
  .ft-links { justify-content: flex-start; }
}

/* переключатель цветовых схем для показа клиенту (palette.mjs → разметка, design-system/vue/palettes.json → схемы).
   Плавающая пилюля внизу слева (на телефоне — над нижней панелью), над плашкой cookie и панелью сравнения; список схем — над ней. */
.psw { position: fixed; left: calc(16px + env(safe-area-inset-left)); bottom: calc(24px + var(--tab-h, 0px) + env(safe-area-inset-bottom)); z-index: 48;
  transition: translate .3s cubic-bezier(.22, 1, .36, 1); }
.ck-on .psw { translate: 0 calc(-1 * (var(--ck-h, 0px) + 12px)); }
.cmp-on .psw { bottom: calc(24px + var(--tab-h, 0px) + var(--ck-cmp, 56px) + 8px + env(safe-area-inset-bottom)); }
.psw button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.psw-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; min-width: 66px; padding: 0 16px 0 16px; border-radius: 999px;
  background: var(--surface) !important; color: var(--ink) !important; box-shadow: 0 10px 30px rgba(0, 0, 0, .14), 0 2px 6px rgba(0, 0, 0, .06); font-size: 15px !important; font-weight: 600 !important; }
.psw-btn:hover { background: var(--surface-2) !important; }
.psw-btn:focus-visible, .psw-item:focus-visible, .psw-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.psw-dots { display: inline-flex; flex: none; }
.psw-dots i { width: 18px; height: 18px; border-radius: 50%; box-shadow: 0 0 0 2px var(--surface); }
.psw-dots i + i { margin-left: -8px; }
.psw-btn .psw-dots i:first-child { background: var(--accent); }   /* на кнопке — текущая схема */
.psw-btn .psw-dots i:last-child { background: var(--dk); }
.psw-panel { position: absolute; left: 0; bottom: calc(100% + 8px); width: min(300px, calc(100vw - 32px)); padding: 8px; border-radius: 20px;
  background: var(--bg); color: var(--ink); box-shadow: 0 30px 90px rgba(0, 0, 0, .22), 0 6px 18px rgba(0, 0, 0, .08); }
.psw-panel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.psw-head { margin: 4px 8px 8px; font-size: 13px; color: var(--muted); }
.psw-item { display: flex !important; align-items: center; gap: 16px; width: 100%; min-height: 44px; padding: 8px 8px !important; border-radius: 12px; text-align: left; font-size: 15px !important; line-height: 1.25; }
.psw-item:hover { background: var(--surface) !important; }
.psw-item[aria-pressed="true"] { background: var(--surface-2) !important; font-weight: 600; }
.psw-item .psw-dots i { width: 22px; height: 22px; box-shadow: 0 0 0 2px var(--bg); }
.psw-item small { font-size: 13px; font-weight: 400; color: var(--muted); }
.psw-link { width: 100%; min-height: 40px; margin-top: 8px; padding: 0 16px !important; border-radius: 999px; background: var(--surface) !important; font-size: 14px !important; font-weight: 500; }
.psw-link:hover { background: var(--surface-2) !important; }
@media print { .psw { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .psw { transition: none; } }

#app{display:contents}
