/* Design v2: спокойная инженерная B2B-платформа. Светло-серый фон, белые поверхности, тёмно-синий,
   оранжевый — только для действий и активных состояний. Иерархия строится фоном, отступами и кеглем,
   рамки остаются там, где разделяют интерактивное и табличное. */
:root {
  --navy: #102d4d; --navy-2: #244e73; --navy-ink: #0b2034;
  --accent: #b54a21; --accent-hover: #8f3517; --accent-bright: #db6a33;
  /* Вторичный серо-синий: подписи характеристик, направления, группы. Значение выбрано по контрасту —
     на белом и на --tint даёт больше 4,5:1 (AA для обычного текста), как показал аудит Lighthouse. */
  --link: #0b4f8a; --ink: #16202b; --muted: #55657a; --muted-2: #5f6d7e;
  --line: #dce2e6; --line-2: #bcc8d0; --bg: #f0f1ef; --surface: #fff; --soft: #e9edef; --tint: #f7f7f4; --ok: #1f7a4d;
  --focus: #1d6fd1;
  --radius: 5px; --radius-sm: 3px; --radius-xs: 2px;
  --shadow: 0 1px 0 rgba(10, 31, 57, .04);
  --shadow-card: 0 1px 0 rgba(10, 31, 57, .05);
  --shadow-hover: 0 5px 16px rgba(10, 31, 57, .08);
  --header-h: 64px;
  --font: "Segoe UI Variable", "Arial Nova", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "Cascadia Mono", "Segoe UI Mono", Consolas, "Liberation Mono", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--bg); }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { color: var(--navy-ink); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: 1.75rem; font-weight: 750; overflow-wrap: anywhere; }
h2 { font-size: 1.375rem; font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 .75em; }
.container { width: min(100% - 32px, 1320px); margin-inline: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 80; padding: 10px 16px; background: var(--navy); color: #fff; border-radius: var(--radius-sm); }
.skip:focus { top: 12px; color: #fff; }
.note, .count { color: var(--muted); font-size: .875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.link-arrow { width: 18px; height: 18px; stroke-width: 2; }
@media (min-width: 640px) {
  .container { width: min(100% - 48px, 1320px); }
  h1 { font-size: 2.125rem; }
  h2 { font-size: 1.625rem; }
}
@media (min-width: 1600px) {
  .container { width: min(100% - 48px, 1440px); }
}

/* Кнопки */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 20px; border: 1px solid transparent; border-radius: var(--radius-sm); background: var(--accent); color: #fff; font: inherit; font-weight: 650; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.button:hover { background: var(--accent-hover); color: #fff; }
.button:disabled { opacity: .6; cursor: progress; }
.button--sm { min-height: 38px; padding: 8px 14px; font-size: .9375rem; }
.button--lg { min-height: 54px; padding: 15px 28px; font-size: 1.0625rem; }
.button--ghost { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.button--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.button--secondary { background: var(--surface); border-color: var(--line-2); color: var(--navy); }
.button--secondary:hover { background: var(--soft); color: var(--navy); }

/* Шапка: рабочая панель закупщика. Липкая от 1000 px, при прокрутке — только тень и скрытая подпись:
   высота не меняется, содержимое не сдвигается (CLS 0). */
.site-header { position: relative; z-index: 40; background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-block: 10px 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; min-width: 0; margin-right: auto; color: var(--navy-ink); text-decoration: none; }
.logo:hover { color: var(--navy-ink); }
.logo-mark { width: 40px; height: 40px; flex: none; }
.logo-text { display: flex; flex-direction: column; min-width: 0; }
.logo-name { font-size: 1.25rem; font-weight: 500; line-height: 1.1; letter-spacing: -.015em; white-space: nowrap; }
.logo-name-a { font-weight: 800; letter-spacing: .01em; }
.logo-tagline { display: none; margin-top: 2px; font-size: .75rem; line-height: 1.25; color: var(--muted); white-space: nowrap; }
.header-cta { flex: none; }
.header-phone { display: none; align-items: center; gap: 8px; flex: none; color: var(--navy-ink); font-weight: 650; font-size: .9375rem; text-decoration: none; white-space: nowrap; }
.header-phone .icon { width: 20px; height: 20px; color: var(--muted); }
.header-phone:hover { color: var(--link); }
.site-nav { flex: 1 0 100%; display: flex; gap: 2px; margin-top: 2px; border-top: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }
/* Пункты меню — прямые дети .site-nav: ссылки панели каталога этими правилами не задеваются. */
.site-nav > a, .site-nav > button { margin: 0; padding: 11px 10px; border: 0; background: none; font: inherit; white-space: nowrap; color: var(--ink); font-weight: 600; font-size: .9375rem; text-decoration: none; box-shadow: inset 0 -3px 0 transparent; cursor: pointer; }
.site-nav > :first-child { padding-left: 0; }
.site-nav > a:hover, .site-nav > button:hover { color: var(--navy); box-shadow: inset 0 -3px 0 var(--line-2); }
.site-nav > a[aria-current="page"], .site-nav > .is-active, .site-nav > .nav-catalog[aria-expanded="true"] { color: var(--navy); box-shadow: inset 0 -3px 0 var(--accent); }
.nav-search { display: inline-flex; align-items: center; gap: 7px; }
.nav-search .icon { width: 18px; height: 18px; color: var(--navy-2); }
.nav-search kbd { display: none; padding: 2px 5px; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 4px; background: var(--tint); color: var(--muted); font: 600 .6875rem/1.2 var(--font); }
.nav-catalog { display: inline-flex; align-items: center; gap: 4px; }
.nav-caret { width: 16px; height: 16px; stroke-width: 2.25; transition: transform .15s; }
.nav-catalog[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }
@media (min-width: 560px) {
  .logo-tagline { display: block; }
}
@media (max-width: 999px) {
  /* На телефоне и планшете логотип и действия занимают первую строку, меню — вторую. */
  .site-nav { order: 3; }
  .header-cta { min-height: 44px; padding: 9px 12px; font-size: .875rem; }
}
@media (min-width: 1000px) {
  :root { --header-h: 72px; }
  html { scroll-padding-top: calc(var(--header-h) + 64px); }
  .site-header { position: sticky; top: 0; transition: box-shadow .2s; }
  .is-scrolled .site-header { box-shadow: 0 6px 20px rgba(10, 31, 57, .10); }
  .is-scrolled .logo-tagline { opacity: 0; transition: opacity .2s; }
  .header-inner { flex-wrap: nowrap; gap: 20px; min-height: var(--header-h); padding-block: 0; }
  .logo-mark { width: 42px; height: 42px; }
  .logo-name { font-size: 1.3125rem; }
  .header-phone { display: inline-flex; }
  .site-nav { flex: none; align-items: center; gap: 4px; margin: 0 auto 0 0; border: 0; overflow: visible; }
  .site-nav > a, .site-nav > button, .site-nav > :first-child { padding: 9px 12px; border-radius: var(--radius-xs); }
  .site-nav > a:hover, .site-nav > button:hover { background: var(--soft); box-shadow: none; }
  .site-nav > a[aria-current="page"], .site-nav > .is-active, .site-nav > .nav-catalog[aria-expanded="true"] { background: var(--soft); box-shadow: inset 0 -3px 0 var(--accent); }
}
@media (prefers-reduced-motion: reduce) {
  .nav-caret, .site-header, .logo-tagline, .sgroup, .sgroup-art img { transition: none; }
}

/* Меню каталога: панель под шапкой во всю ширину. Без скрипта остаётся скрытой, «Каталог» — обычная ссылка. */
.catalog-menu { position: absolute; left: 0; right: 0; top: 100%; z-index: 50; max-height: 80vh; overflow-y: auto; overscroll-behavior: contain; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 3px solid var(--navy); box-shadow: 0 18px 36px rgba(10, 31, 57, .18); }
.catalog-menu-inner { width: min(100% - 32px, 1320px); margin-inline: auto; padding: 14px 0 16px; display: grid; gap: 16px; }
.catalog-menu-h { margin: 0 0 6px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.catalog-menu ul { list-style: none; margin: 0 -8px; padding: 0; columns: 2; column-gap: 8px; }
.catalog-menu li { break-inside: avoid; }
.catalog-menu a { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; min-height: 36px; padding: 7px 8px; border-radius: var(--radius-xs); color: var(--navy-ink); font-size: .9375rem; font-weight: 600; line-height: 1.3; text-decoration: none; }
.catalog-menu a:hover { background: var(--soft); color: var(--link); }
.catalog-menu a span { flex: none; color: var(--muted); font-size: .8125rem; font-weight: 500; font-variant-numeric: tabular-nums; }
@media (max-width: 639px) {
  .catalog-menu a { font-size: .875rem; overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }
}
.catalog-menu-all { margin: 0; padding-top: 10px; border-top: 1px solid var(--line); }
.catalog-menu-all { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.catalog-menu-all a { display: inline-flex; margin-left: -8px; color: var(--link); }
@media (min-width: 640px) {
  .catalog-menu-inner { width: min(100% - 48px, 1320px); }
  .catalog-menu-cats ul { columns: 3; }
}
@media (min-width: 1000px) {
  .catalog-menu-inner { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); column-gap: 32px; row-gap: 12px; padding: 24px 0 20px; }
  .catalog-menu-cats ul { columns: 4; column-gap: 16px; }
  .catalog-menu-brands { padding-left: 32px; border-left: 1px solid var(--line); }
  .catalog-menu-brands ul { columns: 1; }
  .catalog-menu-all { grid-column: 1 / -1; }
}
@media (min-width: 1600px) {
  .catalog-menu-inner { width: min(100% - 48px, 1440px); }
}

/* Список запроса в шапке — отдельная B2B-кнопка «Запрос · N позиций» */
.header-req { position: relative; display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 40px; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--tint); color: var(--navy-ink); font-weight: 650; font-size: .9375rem; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.header-req:hover { background: var(--soft); border-color: var(--navy-2); color: var(--navy); }
.header-req .icon { width: 20px; height: 20px; color: var(--navy-2); }
.header-req-count { display: inline-block; min-width: 22px; padding: 1px 6px; border-radius: 999px; background: var(--navy); color: #fff; font-size: .75rem; font-weight: 700; line-height: 1.4; text-align: center; font-variant-numeric: tabular-nums; }
@media (max-width: 559px) {
  .header-inner { column-gap: 10px; }
  .header-req { padding: 7px 10px; }
  .header-req-label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .header-req-count { position: absolute; top: -8px; right: -8px; min-width: 20px; padding: 0 5px; }
}
/* «Запрос · 3 позиции»: число и слово выводит request-list.js (data-word). Без скрипта и при пустом списке — «Запрос». */
.header-req-count:not([data-word]) { display: none; }
@media (min-width: 560px) {
  .header-req-count[data-word] { min-width: 0; padding: 0; background: none; color: var(--navy-ink); font-size: .9375rem; font-weight: 650; line-height: 1.2; }
  .header-req-count[data-word]::before { content: "· "; color: var(--muted); }
  .header-req-count[data-word]::after { content: " " attr(data-word); font-weight: 500; }
}
.header-messengers { display: none; list-style: none; margin: 0; padding: 0; gap: 4px; }
.header-messengers a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 10px; border-radius: var(--radius-xs); font-size: .875rem; font-weight: 600; text-decoration: none; }
.header-messengers a:hover { background: var(--soft); }
@media (min-width: 1200px) {
  .header-messengers { display: flex; }
  .nav-search kbd { display: inline-block; }
}

/* Основная часть: иерархия из отступов, а не из рамок */
.site-main { padding-block: 20px 56px; }
.crumbs { margin: 4px 0 16px; font-size: .875rem; color: var(--muted); overflow-wrap: anywhere; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.page-head { margin: 0 0 24px; }
.page-head h1 { margin-bottom: 8px; }
.page-head p { margin: 0; color: var(--muted); font-size: 1.0625rem; }
.block { margin: 48px 0; }
.block > h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 20px; }
.section-head h2 { margin: 0; }
.section-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 650; font-size: .9375rem; text-decoration: none; }
.section-link:hover { text-decoration: underline; }
.panel { background: var(--surface); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-card); }
/* Заголовок панели читается как H2 раздела, а не как подпись карточки (design v2 review, M3). */
.panel > h2 { font-size: 1.375rem; margin: 0 0 16px; }
.panel > :last-child { margin-bottom: 0; }
.count { font-weight: 500; }
h2 .count { padding: 1px 9px; border-radius: 999px; background: var(--soft); font-size: .8125rem; line-height: 1.6; color: var(--muted); }
@media (min-width: 900px) {
  .block { margin: 64px 0; }
  .panel { padding: 28px 30px; }
  .site-main { padding-block: 24px 72px; }
}

/* Главная: первый экран с поиском как главным инструментом */
.hero { position: relative; display: grid; gap: 28px; margin-top: 8px; padding: 32px 22px 36px; border-radius: 18px; overflow: hidden; color: #cfdcea; background-color: var(--navy);
  background-image: linear-gradient(90deg, rgba(7, 25, 47, .98) 0%, rgba(8, 29, 55, .93) 60%, rgba(8, 29, 55, .72) 100%), url("/assets/art-hero-home-photorealistic.jpg");
  background-size: cover, cover; background-position: center, 68% center; --focus: #fbbf24; }
.hero::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--accent-bright); }
.hero h1 { color: #fff; font-size: 2rem; font-weight: 760; margin-bottom: 14px; letter-spacing: -.02em; }
.hero .lead { font-size: 1.0625rem; max-width: 60ch; margin: 0 0 24px; color: #c3d2e4; }
.hero-main { position: relative; z-index: 1; min-width: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 0; }
.hero-note { margin: 14px 0 0; font-size: .9375rem; color: #b8c9dd; }
.hero-note a { color: #fff; font-weight: 600; }
.hero-stats { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-self: end; }
.hero-stats li { padding: 12px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; background: rgba(255, 255, 255, .05); font-size: .8125rem; line-height: 1.3; color: #c3d2e4; }
.hero-stats strong { display: block; margin-bottom: 2px; font-size: 1.5rem; line-height: 1.1; font-weight: 800; color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 420px) {
  .hero-actions .button { flex: 1 1 100%; }
}
@media (min-width: 900px) {
  .hero { display: block; min-height: 590px; padding: 56px 43% 56px 52px;
    background-image: linear-gradient(90deg, rgba(7, 25, 47, .99) 0%, rgba(8, 29, 55, .94) 47%, rgba(8, 29, 55, .45) 67%, rgba(8, 29, 55, .08) 100%), url("/assets/art-hero-home-photorealistic.jpg");
    background-position: center, center; }
  .hero h1 { font-size: 2.875rem; }
  .hero .lead { font-size: 1.1875rem; }
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 30px; }
  .hero-stats li { padding: 13px 15px; font-size: .875rem; backdrop-filter: blur(8px); }
  .hero-stats strong { font-size: 1.625rem; }
}
@media (min-width: 1280px) {
  .hero h1 { font-size: 3rem; }
}

/* Поиск */
.search-panel { position: relative; margin: 20px 0 0; padding: 18px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.search-panel--hero { padding: 0; background: none; box-shadow: none; }
.search label { display: block; margin-bottom: 10px; font-weight: 650; font-size: 1rem; color: var(--navy-ink); }
.search-panel--hero label { color: #c3d2e4; font-weight: 500; font-size: .9375rem; }
.search-field { position: relative; display: flex; gap: 10px; }
.search-field .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted-2); pointer-events: none; }
.search input { width: 100%; min-height: 56px; padding: 12px 16px 12px 50px; font: inherit; font-size: 1.0625rem; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-sm); -webkit-appearance: none; appearance: none; }
.search input { min-width: 0; flex: 1 1 auto; }
.search input::placeholder { color: #7b8797; }
.search input:hover { border-color: var(--navy-2); }
.search input:focus { border-color: var(--navy); outline: 3px solid rgba(29, 111, 209, .35); outline-offset: 0; }
.search-btn { flex: none; }
.search-panel--hero .search input { min-height: 62px; font-size: 1.125rem; border-color: transparent; box-shadow: 0 10px 30px rgba(6, 20, 38, .25); }
.search-results { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; list-style: none; margin: 8px 0 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); max-height: 60vh; overflow-y: auto; box-shadow: var(--shadow-hover); }
.search-results:empty { display: none; }
.search-results li + li { border-top: 1px solid var(--line); }
.search-results a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 11px 16px; color: var(--navy-ink); text-decoration: none; overflow-wrap: anywhere; }
.search-results a:hover { background: var(--soft); }
.res-sku { font-family: var(--mono); font-size: .82rem; font-weight: 700; color: var(--navy-ink); }
.res-name { color: var(--muted); font-size: .9375rem; }
.search-panel #search-empty { position: absolute; left: 0; right: 0; top: 100%; z-index: 29; margin-top: 8px; }
.search-panel .notfound { margin: 0; }
@media (min-width: 900px) {
  .search-panel { padding: 24px 26px; }
  .search-panel--hero { padding: 0; }
}
@media (max-width: 559px) {
  .search-field { gap: 8px; }
  .search-btn { min-width: 72px; padding-inline: 14px; }
}
@media (max-width: 389px) {
  .header-cta { padding-inline: 10px; font-size: 0; }
  .header-cta::after { content: "Запрос КП"; font-size: .8125rem; }
}
@media (max-width: 374px) {
  .header-cta { min-width: 44px; }
  .header-cta::after { content: "КП"; }
}
@media (max-width: 339px) {
  .site-header .logo-text { display: none; }
  .site-header .logo { gap: 0; }
  .search-btn { min-width: 62px; padding-inline: 10px; }
}

/* Плитки брендов и категорий */
.brand-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.brand-tile { position: relative; display: grid; align-content: start; gap: 4px; min-width: 0; padding: 20px 46px 18px 20px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-card); transition: box-shadow .15s, transform .15s; }
.brand-tile:hover { box-shadow: var(--shadow-hover); }
.brand-tile:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.brand-word { font-size: 1.3125rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--navy-ink); text-decoration: none; overflow-wrap: break-word; }
.brand-word::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.brand-word:focus-visible { outline: none; }
.brand-tile:hover .brand-word { color: var(--link); }
.brand-count { color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
.brand-cats { margin-top: 6px; color: var(--muted-2); font-size: .8125rem; line-height: 1.35; }
.brand-arrow { position: absolute; right: 18px; top: 22px; color: var(--line-2); transition: color .15s, transform .15s; }
.brand-tile:hover .brand-arrow { color: var(--accent); transform: translateX(3px); }
.brand-tile--all { background: var(--soft); box-shadow: none; }
.brand-tile--all .brand-word { font-size: 1.125rem; }
@media (max-width: 719px) {
  body[data-page-type="home"] .brand-tiles { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(250px, 82vw); overflow-x: auto; padding: 2px 2px 14px; scroll-padding-inline: 2px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  body[data-page-type="home"] .brand-tile { scroll-snap-align: start; }
}
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.tile { position: relative; display: flex; align-items: center; gap: 14px; min-width: 0; padding: 16px 18px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-card); transition: box-shadow .15s; }
.tile:hover { box-shadow: var(--shadow-hover); }
.tile:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.tile-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--tint); color: var(--navy-2); }
.tile-body { display: flex; flex-direction: column; min-width: 0; }
.tile a { font-weight: 650; font-size: 1rem; line-height: 1.25; color: var(--navy-ink); text-decoration: none; overflow-wrap: break-word; }
.tile a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tile a:focus-visible { outline: none; }
.tile .count { font-size: .8125rem; }

/* Супергруппы категорий на главной */
/* align-items: start — карточка группы высотой по своему содержимому. В сетке карточки тянулись до самой
   высокой соседки, и у «Датчиков и измерений» (6 категорий) рядом с «Пневматикой» (18) больше половины
   карточки была пустой (правка D1). Дописывать туда нечего — карточка просто заканчивается. */
.sgroups { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; align-items: start; }
.sgroup { position: relative; display: grid; align-content: start; overflow: hidden; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-card); transition: transform .2s, box-shadow .2s; }
.sgroup:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.sgroup-art { position: relative; display: grid; place-items: center; height: 176px; overflow: hidden; background: radial-gradient(circle at 72% 45%, #fff 0%, #edf3f8 56%, #e4ebf3 100%); }
.sgroup-art::after { content: ""; position: absolute; inset: auto 0 0; height: 52px; background: linear-gradient(transparent, rgba(255, 255, 255, .92)); pointer-events: none; }
.sgroup-art img { width: 190px; height: 190px; object-fit: contain; transform: translateY(8px); filter: drop-shadow(0 18px 22px rgba(10, 31, 57, .16)); transition: transform .25s; }
.sgroup:hover .sgroup-art img { transform: translateY(3px) scale(1.025); }
@media (prefers-reduced-motion: reduce) {
  .sgroup, .sgroup-art img { transition: none; }
  .sgroup:hover { transform: none; }
  .sgroup:hover .sgroup-art img { transform: translateY(8px); }
}
.sgroup-body { position: relative; display: grid; align-content: start; gap: 2px; padding: 20px 24px 22px; }
.sgroup-icon { position: absolute; right: 22px; top: -24px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .8); border-radius: 10px; background: rgba(247, 249, 252, .94); box-shadow: var(--shadow); color: var(--navy-2); }
.sgroup h3 { margin: 0; font-size: 1.1875rem; }
.sgroup-count { margin: 2px 0 12px; color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
.sgroup-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sgroup-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 5px 0; border-top: 1px solid var(--line); }
.sgroup-list a { font-weight: 600; font-size: .9375rem; color: var(--navy-ink); text-decoration: none; }
.sgroup-list a:hover { color: var(--link); text-decoration: underline; }
.sgroup-list .count { font-size: .8125rem; font-variant-numeric: tabular-nums; }
.sgroup-more { margin: 10px 0 0; color: var(--muted-2); font-size: .8125rem; }
@media (max-width: 719px) {
  body[data-page-type="home"] .sgroups { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(280px, 86vw); overflow-x: auto; padding: 2px 2px 14px; scroll-padding-inline: 2px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  body[data-page-type="home"] .sgroup { scroll-snap-align: start; }
}
@media (min-width: 1000px) {
  .sgroups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* /catalog/: карточки содержат все категории группы, поэтому обычная grid-сетка оставляла большие
   пустоты под короткими карточками. Колонки сохраняют карточку целиком и плотнее используют высоту. */
.sgroups--catalog { display: block; columns: 1; column-gap: 18px; }
.sgroups--catalog .sgroup { break-inside: avoid; margin: 0 0 18px; }
.sgroups--catalog .sgroup-art { height: 152px; }
.sgroups--catalog .sgroup-art img { width: 172px; height: 172px; }
@media (min-width: 700px) {
  .sgroups--catalog { columns: 2; }
}
@media (min-width: 1120px) {
  .sgroups--catalog { columns: 3; }
}

/* Полоса условий поставки под первым экраном */
.advantages { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.advantages li { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 16px 18px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-card); font-size: .9375rem; font-weight: 600; line-height: 1.4; color: var(--navy-ink); }
.adv-icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 10px; background: var(--tint); color: var(--navy-2); }
.advantages-block { margin-top: 28px; }
@media (min-width: 640px) {
  .advantages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .advantages--1 { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1000px) {
  .advantages--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .advantages--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Сетка карточек товара */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), 1fr)); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); transition: box-shadow .15s; }
.card:hover { box-shadow: var(--shadow-hover); }
.card:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.card-media { position: relative; height: 200px; background: var(--tint); }
.card-media img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; }
.card-ph { position: absolute; inset: 0; display: grid; place-items: center; color: #9aa9bb; }
.card-ph .icon { width: 44px; height: 44px; stroke-width: 1.25; }
.card-body { display: flex; flex-direction: column; flex: 1; gap: 3px; padding: 14px 16px 16px; }
.card-brand { margin: 0; font-size: .8125rem; font-weight: 650; letter-spacing: .02em; color: var(--muted); }
.card-title { font-weight: 650; font-size: 1.0625rem; line-height: 1.3; color: var(--navy-ink); text-decoration: none; overflow-wrap: break-word; word-break: normal; hyphens: auto; text-wrap: pretty; }
.card-title::after { content: ""; position: absolute; inset: 0; }
.card-title:focus-visible { outline: none; }
.card:hover .card-title { color: var(--link); }
.card-sku { margin: 2px 0 0; font-family: var(--mono); font-size: .82rem; color: var(--muted); overflow-wrap: anywhere; }
.card-price { margin: 12px 0 0; font-weight: 750; font-size: 1.25rem; line-height: 1.2; color: var(--navy-ink); white-space: nowrap; }
.card-price--rfq { font-size: 1rem; font-weight: 650; color: var(--accent); }
.card-supply { margin: 2px 0 0; font-size: .8125rem; color: var(--muted); }
.card-price { margin-top: auto; padding-top: 12px; }
/* Ключевые характеристики в карточке листинга: подпись и значение, значение не длиннее двух строк. */
.card-specs { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; margin: 10px 0 0; font-size: .875rem; line-height: 1.4; }
.card-specs dt { color: var(--muted-2); }
.card-specs dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.card .add-req { margin-top: 14px; display: grid; gap: 8px; }
.card-cta { width: 100%; }
.card .add-req-btn { width: 100%; }
@media (max-width: 559px) {
  .cards { gap: 12px; }
  .card { flex-direction: row; }
  .card-media { flex: none; width: 116px; height: auto; min-height: 140px; }
  .card-media img { inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); }
  .card-body { padding: 12px 14px 14px; }
  .card-title { font-size: .9375rem; }
  .card-price { font-size: 1.0625rem; }
  .card-specs { display: none; }
  body[data-page-type="home"] .cards--popular { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(300px, 88vw); overflow-x: auto; padding: 2px 2px 14px; scroll-padding-inline: 2px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  body[data-page-type="home"] .cards--popular .card { scroll-snap-align: start; }
}
@media (min-width: 1000px) {
  .cards--popular { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Листинги: переходы к разделам (липкие) и ссылки на бренды */
.chips { display: flex; gap: 8px; margin: 0 0 20px; }
.chips--sections { position: sticky; top: 0; z-index: 25; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 10px 0; margin-inline: -4px; background: var(--bg); }
.chips--sections::-webkit-scrollbar { display: none; }
.chips--links { flex-wrap: wrap; }
.chips a { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 7px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; color: var(--navy-ink); font-size: .875rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.chips a:hover { border-color: var(--navy-2); }
.chips a[aria-current="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips a[aria-current="true"] .count { color: #b9cade; }
.chips .count { font-size: .8125rem; }
.chips-label { align-self: center; flex: none; font-size: .8125rem; font-weight: 650; color: var(--muted); }
.chips--links a { background: var(--soft); border-color: transparent; }
.group { margin: 32px 0 44px; scroll-margin-top: 84px; }
.group > h2 a { color: var(--navy-ink); text-decoration: none; }
.group > h2 a:hover { color: var(--link); text-decoration: underline; }
.group-more { margin: 20px 0 0; }
.group-more .button { display: inline-flex; }
.has-js .card[data-listing-overflow="true"] { display: none; }
.listing-more { display: none; justify-content: center; margin: -12px 0 38px; }
.has-js .listing-more { display: flex; }
.listing-more[hidden] { display: none; }
.listing-more .button { min-width: min(100%, 260px); }
/* Пагинатор страницы «бренд × категория»: крупная пара разбита по 96 карточек (ревью каталожного раунда, I2). */
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 32px 0 0; }
.pager-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pager-step, .pager-num { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--navy-ink); font-size: .9375rem; font-weight: 650; text-decoration: none; }
.pager-step:hover, a.pager-num:hover { border-color: var(--navy-2); }
.pager-num--current { background: var(--navy); border-color: var(--navy); color: #fff; }
@media (min-width: 1000px) {
  .chips--sections { top: var(--header-h); }
  .group { scroll-margin-top: calc(var(--header-h) + 64px); }
}

/* Фильтр над сеткой (каталожный раунд, раздел 5). Без скрипта чипсы — ссылки на страницы-хабы,
   поле и «Сбросить» скрыты атрибутом hidden. */
.filters { display: grid; gap: 14px; margin: 0 0 24px; padding: 18px 20px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.filter-group { display: grid; gap: 8px; }
.filter-label { margin: 0; font-size: .8125rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-2); }
.chips--filter, .chips--index { flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.chips--filter li, .chips--index li { display: inline-flex; min-width: 0; }
.chips--filter a { background: var(--tint); border-color: transparent; }
.chips--filter a:hover { background: var(--soft); border-color: var(--line-2); }
/* Выбранный чипс остаётся тёмно-синим и под курсором: у .chips--filter a:hover та же специфичность, что
   у .chips a[aria-current], и он шёл ниже — белый текст оказывался на светлом фоне (контраст 1,12:1). */
.chips--filter a[aria-current="true"], .chips--filter a[aria-current="true"]:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips--filter a[aria-current="true"] .count { color: #b9cade; }
/* Длинное название типа переносится, а не растягивает строку за экран («Клапан ходовой пропорционального
   регулирования» давал 430 px при ширине 390). Чипсы не сжимаются (flex: none), поэтому одного
   переноса мало — ширина ограничивается контейнером. */
.chips--filter li, .chips--index li { max-width: 100%; }
.chips--filter a, .chips--index a { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
/* Поле фильтра и чипсы без своей страницы-хаба работают только со скриптом: их показывает класс has-js,
   который ставится до первой отрисовки, поэтому содержимое не сдвигается (CLS 0). */
.filter-tools { display: none; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.has-js .filter-tools { display: flex; }
.chips--filter .chip-js { display: none; }
.has-js .chips--filter .chip-js { display: inline-flex; }
.filter-q-label { flex: 1 1 100%; margin: 0; font-size: .8125rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-2); }
#filter-q { flex: 1 1 240px; min-width: 0; min-height: 44px; padding: 10px 14px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-sm); -webkit-appearance: none; appearance: none; }
#filter-q:hover { border-color: var(--navy-2); }
#filter-q:focus { border-color: var(--navy); outline: 3px solid rgba(29, 111, 209, .3); outline-offset: 0; }
.filter-status { margin: 0; font-size: .9375rem; font-weight: 650; color: var(--navy-ink); }
.filter-status:empty { display: none; }
@media (min-width: 900px) {
  .filters { padding: 22px 24px; }
  .filter-q-label { flex: none; }
}

/* Общий шаблон /category/: содержимое строится из данных категории, поэтому визуальный вход,
   сводка и навигация масштабируются на весь каталог, а не только на один демонстрационный раздел. */
.category-hero { position: relative; isolation: isolate; display: grid; margin: 0 0 24px; overflow: hidden; border: 1px solid #dbe5ef; border-radius: 20px; background: radial-gradient(circle at 86% 20%, rgba(66, 139, 204, .18), transparent 34%), linear-gradient(125deg, #fff 0%, #f4f8fc 62%, #e8f1f8 100%); box-shadow: 0 18px 46px rgba(10, 31, 57, .1); }
.category-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .38; background-image: linear-gradient(rgba(30, 78, 122, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(30, 78, 122, .08) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(90deg, transparent 22%, #000 100%); }
.category-hero-copy { position: relative; z-index: 2; min-width: 0; padding: 28px 20px 16px; }
.category-kicker { margin: 0 0 8px; color: var(--accent); font-size: .75rem; font-weight: 750; letter-spacing: .1em; line-height: 1.3; text-transform: uppercase; }
.category-hero h1 { margin: 0 0 14px; overflow-wrap: normal; color: var(--navy-ink); font-size: clamp(2rem, 9.2vw, 3.75rem); font-weight: 790; letter-spacing: -.04em; line-height: 1.02; text-wrap: wrap; word-break: normal; }
.category-hero-lead { max-width: 50ch; margin: 0 0 22px; color: var(--muted); font-size: 1rem; line-height: 1.55; text-wrap: pretty; }
.category-hero-stats { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 0 0 22px; padding: 0; }
.category-hero-stats li { display: grid; min-width: 70px; }
.category-hero-stats strong { color: var(--navy-ink); font-size: 1.45rem; font-weight: 780; line-height: 1.05; font-variant-numeric: tabular-nums; }
.category-hero-stats span { color: var(--muted); font-size: .75rem; }
.category-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.category-hero-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--navy-ink); font-size: .9375rem; font-weight: 700; text-decoration: none; }
.category-hero-link:hover { color: var(--accent); }
.category-hero-link .icon { transition: transform .2s ease; }
.category-hero-link:hover .icon { transform: translateX(3px); }
.category-hero-media { position: relative; min-height: 220px; overflow: hidden; }
.category-hero-media::before { content: ""; position: absolute; inset: 12% 6% 8% 18%; border-radius: 50%; background: rgba(255, 255, 255, .72); filter: blur(2px); }
.category-hero-product { position: absolute; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(193, 207, 221, .74); border-radius: 14px; background: #fff; box-shadow: 0 14px 32px rgba(10, 31, 57, .14); }
.category-hero-product img { width: 100%; height: 100%; padding: 10px; object-fit: contain; }
.category-hero-product--1 { z-index: 3; right: 8%; bottom: 12%; width: 52%; height: 72%; transform: rotate(-2deg); }
.category-hero-product--2 { z-index: 2; left: 7%; bottom: 5%; width: 38%; height: 53%; transform: rotate(4deg); }
.category-hero-product--3 { display: none; }
.category-hero-note { position: absolute; z-index: 4; right: 5%; bottom: 5%; display: grid; gap: 1px; padding: 9px 12px; border: 1px solid rgba(255, 255, 255, .9); border-radius: 9px; background: rgba(255, 255, 255, .9); box-shadow: var(--shadow); backdrop-filter: blur(8px); }
.category-hero-note strong { color: var(--navy-ink); font-size: .75rem; }
.category-hero-note span { color: var(--muted); font-size: .6875rem; }
.category-hero-media--icon { display: grid; place-items: center; color: var(--navy-2); }
.category-hero-icon { width: 112px; height: 112px; opacity: .26; }

.category-directions { min-width: 0; scroll-margin-top: calc(var(--header-h) + 20px); padding: 22px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-card); }
.category-directions-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 0 0 16px; }
.category-directions-head h2 { margin: 0; font-size: 1.5rem; }
.category-directions-head > a { display: inline-flex; align-items: center; gap: 5px; flex: none; min-height: 36px; font-size: .875rem; font-weight: 650; text-decoration: none; }
.category-direction-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.category-direction { position: relative; display: grid; grid-template-rows: 126px auto; min-width: 0; height: 100%; overflow: hidden; border: 1px solid #dfe7ef; border-radius: 13px; background: #f7f9fc; color: var(--navy-ink); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.category-direction:hover { border-color: #b8cadb; box-shadow: 0 12px 26px rgba(10, 31, 57, .11); color: var(--navy-ink); transform: translateY(-2px); }
.category-direction-media { display: grid; place-items: center; min-width: 0; overflow: hidden; background: radial-gradient(circle at 50% 42%, #fff 0 45%, #edf3f8 100%); }
.category-direction-media img { width: 100%; height: 100%; padding: 10px 14px 5px; object-fit: contain; transition: transform .24s ease; }
.category-direction:hover .category-direction-media img { transform: scale(1.045); }
.category-direction-ph { display: grid; place-items: center; width: 72px; height: 72px; color: var(--navy-2); opacity: .34; }
.category-direction-ph .icon { width: 100%; height: 100%; }
.category-direction-copy { display: grid; align-content: start; gap: 3px; min-width: 0; padding: 13px 32px 14px 14px; background: #f7f9fc; }
.category-direction-title { display: block; font-size: .9375rem; font-weight: 720; line-height: 1.25; overflow-wrap: anywhere; text-wrap: wrap; }
.category-direction-count { color: var(--muted); font-size: .75rem; font-variant-numeric: tabular-nums; }
.category-direction-arrow { position: absolute; right: 12px; bottom: 15px; width: 15px; height: 15px; color: var(--accent); transition: transform .2s ease; }
.category-direction:hover .category-direction-arrow { transform: translateX(3px); }

body[data-page-type="category"] .filters { min-width: 0; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 0; background: transparent; box-shadow: none; }
body[data-page-type="category"] .filters > .filter-group, body[data-page-type="category"] .filters > .filter-tools { min-width: 0; padding: 17px 18px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
body[data-page-type="category"] .filters > .filter-group { align-content: start; }
body[data-page-type="category"] .filters .chips--filter { align-content: flex-start; align-items: flex-start; }
body[data-page-type="category"] .filters > .filter-tools { border: 0; box-shadow: var(--shadow-card); }
body[data-page-type="category"] .filter-status { padding-inline: 4px; }
body[data-page-type="category"] .group { margin-top: 34px; }
body[data-page-type="category"] .group > h2 { margin-bottom: 18px; font-size: 1.55rem; letter-spacing: -.02em; }
body[data-page-type="category"] .card { border: 1px solid rgba(199, 209, 221, .66); box-shadow: 0 8px 24px rgba(10, 31, 57, .055); }
body[data-page-type="category"] .card-media { background: radial-gradient(circle at 50% 45%, #fff 0 36%, #f1f5f9 80%); }

@media (max-width: 639px) {
  .category-directions { margin-inline: -16px; padding: 20px 16px; border-radius: 0; }
  .category-directions-head { align-items: start; }
  .category-directions-head > a { display: none; }
  .category-direction-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(248px, 82vw); inline-size: calc(100% + 16px); max-inline-size: calc(100% + 16px); gap: 10px; overflow-x: auto; padding: 2px 16px 12px 0; scroll-padding-inline: 0; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .category-direction-grid li { scroll-snap-align: start; }
  .category-direction { grid-template-rows: 150px auto; }
  body[data-page-type="category"] .filters > .filter-group { overflow: hidden; }
  body[data-page-type="category"] .chips--filter { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; padding: 2px 2px 9px; scroll-snap-type: x proximity; scrollbar-width: thin; }
  body[data-page-type="category"] .chips--filter li { flex: none; max-width: min(82vw, 290px); scroll-snap-align: start; }
  body[data-page-type="category"] .chips--filter a { height: 100%; }
}
@media (min-width: 640px) {
  .category-hero { grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); min-height: 390px; }
  .category-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 44px 22px 48px 42px; }
  .category-hero h1 { font-size: clamp(2.75rem, 5vw, 3.75rem); }
  .category-hero-media { min-height: 390px; }
  .category-hero-product--1 { right: 8%; bottom: 15%; width: 58%; height: 55%; }
  .category-hero-product--2 { left: 2%; bottom: 10%; width: 42%; height: 40%; }
  .category-hero-product--3 { display: grid; right: 12%; top: 8%; width: 39%; height: 34%; transform: rotate(3deg); }
  .category-direction-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  body[data-page-type="category"] .filters { grid-template-columns: minmax(240px, .36fr) minmax(0, .64fr); }
  body[data-page-type="category"] .filters > .category-directions, body[data-page-type="category"] .filters > .filter-tools, body[data-page-type="category"] .filters > .filter-status { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .category-hero-link .icon, .category-direction, .category-direction-media img, .category-direction-arrow { transition: none; }
  .category-direction:hover { transform: none; }
  .category-direction:hover .category-direction-media img { transform: none; }
}

/* Festo × пневмоцилиндры: визуальная архитектура каталога по мотивам сильных отраслевых магазинов.
   Цвет остаётся в системе КВ Техники, а изображения берутся из реальных карточек товаров. */
.bc-hero { position: relative; isolation: isolate; display: grid; min-height: 370px; margin: 0 0 28px; overflow: hidden; border-radius: 22px; background: radial-gradient(circle at 78% 28%, rgba(61, 132, 204, .5), transparent 31%), linear-gradient(125deg, #081d36 0%, #10365e 64%, #174e7e 100%); box-shadow: 0 20px 50px rgba(10, 31, 57, .18); color: #fff; }
.bc-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .17; background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(90deg, transparent 32%, #000 75%); }
.bc-hero-copy { position: relative; z-index: 2; max-width: 720px; padding: 36px 28px 40px; }
.bc-eyebrow, .bc-section-kicker { margin: 0 0 8px; color: #90b9df; font-size: .75rem; font-weight: 750; letter-spacing: .1em; line-height: 1.3; text-transform: uppercase; }
.bc-hero h1 { max-width: none; margin: 0 0 14px; overflow-wrap: normal; color: #fff; font-size: clamp(1.95rem, 9.6vw, 4.75rem); font-weight: 780; letter-spacing: -.045em; line-height: .98; text-wrap: balance; word-break: normal; }
.bc-hero h1 span { display: block; white-space: normal; }
.bc-lead { max-width: 56ch; margin: 0 0 24px; color: #d4e2f0; font-size: 1.025rem; line-height: 1.55; text-wrap: pretty; }
.bc-stats { display: flex; flex-wrap: wrap; gap: 12px 24px; list-style: none; margin: 0 0 26px; padding: 0; }
.bc-stats li { display: grid; gap: 0; min-width: 78px; }
.bc-stats strong { color: #fff; font-size: 1.5rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.bc-stats span { color: #a9c3dc; font-size: .75rem; }
.bc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.bc-hero-media { position: absolute; z-index: 1; right: -4%; bottom: -8%; width: 53%; height: 92%; pointer-events: none; }
.bc-hero-product { position: absolute; display: grid; place-items: center; filter: drop-shadow(0 22px 24px rgba(0, 12, 28, .34)); }
.bc-hero-product img { width: 100%; height: 100%; object-fit: contain; }
.bc-hero-product--1 { right: 2%; bottom: 9%; width: 72%; height: 63%; transform: rotate(-4deg); }
.bc-hero-product--2 { right: 55%; top: 4%; width: 39%; height: 38%; transform: rotate(9deg); opacity: .92; }
.bc-hero-product--3 { right: -3%; top: -2%; width: 37%; height: 35%; transform: rotate(-8deg); opacity: .72; }

/* Массовый шаблон brand × category. Обычное каталожное фото живёт внутри намеренной светлой
   предметной рамки: даже исходник с белым фоном не выглядит наклеенным на цветной баннер. */
.bc-hero--generic { border: 1px solid #d8e3ee; background: radial-gradient(circle at 83% 48%, rgba(255,255,255,.95) 0 15%, rgba(202,224,241,.62) 36%, transparent 58%), linear-gradient(125deg, #f8fbfe 0%, #edf4fa 68%, #e4eff7 100%); color: var(--navy-ink); box-shadow: 0 20px 50px rgba(10, 31, 57, .12); }
.bc-hero--generic::before { opacity: .42; background-image: linear-gradient(rgba(20,75,122,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(20,75,122,.08) 1px, transparent 1px); }
.bc-hero--generic .bc-eyebrow { color: #376f9f; }
.bc-hero--generic h1 { color: var(--navy-ink); font-size: clamp(2.25rem, 4.4vw, 4rem); overflow-wrap: break-word; word-break: normal; hyphens: auto; }
.bc-hero--generic h1 span { white-space: normal; }
.bc-hero--generic h1 small { display: block; margin-top: .32em; color: #52708d; font-size: .28em; font-weight: 700; letter-spacing: .02em; line-height: 1.15; text-transform: uppercase; }
.bc-hero--generic .bc-lead { color: #38536d; }
.bc-page-note, .bc-hero--generic .bc-lead + p { max-width: 62ch; margin: -12px 0 20px; color: #60778d; font-size: .875rem; line-height: 1.5; text-wrap: pretty; }
.bc-hero--generic .bc-stats strong { color: var(--navy-ink); }
.bc-hero--generic .bc-stats span { color: #60778d; }
.bc-hero--generic .bc-hero-media { z-index: auto; right: 1%; bottom: 2%; width: 50%; height: 94%; }
.bc-hero--generic .bc-hero-media::before { content: ""; position: absolute; inset: 15% 4% 10% 9%; border-radius: 50%; background: rgba(255,255,255,.34); filter: blur(18px); }
.bc-hero--generic .bc-hero-product { filter: none; }
.bc-hero--generic .bc-hero-product img { mix-blend-mode: multiply; }
.bc-hero--generic .bc-hero-product--1 { right: 1%; bottom: 5%; width: 92%; height: 84%; transform: none; }
.bc-hero--generic .bc-hero-product--2, .bc-hero--generic .bc-hero-product--3 { display: none; }
.bc-hero-media--icon { display: grid; place-items: center; }
.bc-hero-icon { width: min(250px, 62%); height: min(250px, 62%); color: #517a9e; opacity: .54; filter: drop-shadow(0 18px 24px rgba(10,31,57,.12)); }

.filters--engineering { min-width: 0; max-width: 100%; gap: 22px; padding: 0; background: transparent; box-shadow: none; }
.filters--engineering > *, .bc-family-zone, .bc-family-head, .bc-facet-head { min-width: 0; max-width: 100%; }
.bc-family-zone { padding: 24px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-card); }
.bc-family-head, .bc-facet-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.bc-family-head { margin: 0 0 18px; }
.bc-family-head h2, .bc-facet-head h2 { margin: 0; }
.bc-family-head > p, .bc-facet-head > p { max-width: 48ch; margin: 0; color: var(--muted); font-size: .9375rem; text-wrap: pretty; }
.bc-section-kicker { color: var(--accent); }
.bc-family-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.bc-family-grid li { grid-column: span 2; min-width: 0; }
.bc-family-grid li:nth-child(-n+2) { grid-column: span 3; }
.bc-family { position: relative; display: grid; min-height: 210px; overflow: hidden; border: 0; border-radius: 14px; background: #153d68; color: #fff; text-decoration: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.11); transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.bc-family-grid li:nth-child(-n+2) .bc-family { min-height: 236px; }
.bc-family::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 88% 78%, rgba(255,255,255,.20), transparent 38%); pointer-events: none; }
.bc-family:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 16px 30px rgba(10,31,57,.2), inset 0 0 0 1px rgba(255,255,255,.22); }
.bc-family:active { transform: translateY(-1px) scale(.995); }
.bc-family[aria-current="true"] { background: var(--accent); box-shadow: 0 0 0 3px rgba(194,65,12,.22), 0 16px 30px rgba(10,31,57,.18); }
.bc-family--round { background: #1d5687; }
.bc-family--compact { background: #294a67; }
.bc-family--guided { background: #0f5061; }
.bc-family--special { background: #435165; }
.bc-family-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; max-width: 78%; padding: 20px; }
.bc-family-title { font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 720; letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; }
.bc-family-note { max-width: 32ch; margin-top: 7px; color: #d5e3f0; font-size: .8125rem; line-height: 1.42; overflow-wrap: break-word; word-break: normal; text-wrap: pretty; }
.bc-family-count { margin-top: auto; padding-top: 18px; color: #b9d0e5; font-size: .75rem; font-weight: 650; }
.bc-family-media { position: absolute; z-index: 1; right: -9%; bottom: -8%; width: 62%; height: 78%; transition: transform .25s ease; }
.bc-family-media img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 14px 14px rgba(1,17,34,.3)); }
.bc-family:hover .bc-family-media { transform: translate(-3%, -2%) scale(1.04); }
.bc-family--generic { border: 1px solid #d9e3ed; background: radial-gradient(circle at 82% 78%, rgba(255,255,255,.68), transparent 42%), linear-gradient(145deg, #f9fbfd 0%, #eaf2f8 100%); color: var(--navy-ink); box-shadow: 0 10px 24px rgba(10,31,57,.075); }
.bc-family--generic::after { background: linear-gradient(110deg, rgba(249,251,253,.94) 0 34%, rgba(249,251,253,.58) 58%, transparent 76%); }
.bc-family--generic:hover { color: var(--navy-ink); background: #fff; box-shadow: 0 16px 30px rgba(10,31,57,.13); }
.bc-family--generic[aria-current="true"] { border-color: rgba(194,65,12,.42); background: #fff7ed; color: var(--navy-ink); }
.bc-family--generic .bc-family-copy { max-width: 88%; padding-right: 12px; }
.bc-family--generic .bc-family-title { text-wrap: pretty; }
.bc-family--generic .bc-family-note { color: #526b82; }
.bc-family--generic .bc-family-count { color: #6b7f91; }
.bc-family--generic .bc-family-media { z-index: auto; right: -2%; bottom: -8%; width: 58%; height: 66%; }
.bc-family--generic .bc-family-media img { mix-blend-mode: multiply; filter: none; }
.bc-family-icon { width: 70%; height: 70%; color: #6d8aa4; }
.bc-facet-head { padding: 4px 0 0; }
.filters--engineering > .filter-group, .filters--engineering > .filter-tools, .filters--engineering > .filter-status { margin-inline: 24px; }
.filters--engineering > .filter-group { padding: 16px 18px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.filters--engineering > .filter-tools { padding: 18px; border: 0; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-card); }
.filters--engineering .chips--filter a { min-height: 38px; background: var(--soft); }
.filters--engineering .filter-status { padding: 10px 14px; border-left: 3px solid var(--accent); background: #fff7ed; border-radius: 0 var(--radius-xs) var(--radius-xs) 0; }
body[data-page-type="brand-category"] .group { margin-top: 28px; }
body[data-page-type="brand-category"] .card { border: 1px solid rgba(199, 209, 221, .66); box-shadow: 0 8px 24px rgba(10,31,57,.055); }
body[data-page-type="brand-category"] .card-media { background: radial-gradient(circle at 50% 45%, #fff 0 34%, #f1f5f9 78%); }
body[data-page-type="brand-category"] .card-media img { mix-blend-mode: multiply; transition: transform .24s ease; }
body[data-page-type="brand-category"] .card:hover .card-media img { transform: scale(1.035); }

@media (min-width: 900px) {
  .bc-hero-copy { padding: 52px 48px 50px; }
  .bc-hero h1 { font-size: clamp(3rem, 5vw, 4.75rem); }
}
@media (max-width: 899px) {
  .bc-hero { min-height: 460px; }
  .bc-hero-copy { max-width: 100%; padding-bottom: 190px; }
  .bc-hero-media { right: -7%; bottom: -7%; width: 86%; height: 48%; }
  .bc-hero-product--2 { right: 64%; }
  .bc-family-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bc-family-grid li, .bc-family-grid li:nth-child(-n+2) { grid-column: span 1; }
  .bc-family-grid li:last-child { grid-column: 1 / -1; }
  .bc-family-grid li:nth-child(-n+2) .bc-family, .bc-family { min-height: 210px; }
  .bc-hero--generic .bc-hero-media { right: 1%; bottom: 0; width: 96%; height: 40%; }
}
@media (max-width: 639px) {
  .bc-hero { min-height: 520px; margin-inline: -16px; border-radius: 0; }
  .bc-hero-copy { padding: 28px 20px 218px; }
  .bc-hero h1 { max-width: none; }
  .bc-hero--generic h1 { font-size: clamp(2rem, 10.5vw, 3rem); overflow-wrap: break-word; word-break: normal; hyphens: auto; }
  .bc-lead { font-size: .9375rem; }
  .bc-stats { gap: 10px 18px; }
  .bc-actions { display: grid; }
  .bc-actions .button { width: 100%; }
  .bc-hero-media { width: 100%; height: 42%; }
  .bc-family-zone { margin-inline: -16px; padding: 22px 16px 18px; border-radius: 0; }
  .bc-family-head, .bc-facet-head { display: grid; gap: 8px; align-items: start; }
  .bc-family-grid { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(270px, 84vw); inline-size: calc(100% + 32px); max-inline-size: calc(100% + 32px); gap: 10px; margin-inline: -16px; padding: 0 16px 12px; overflow-x: auto; scroll-padding-inline: 16px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .bc-family-grid li, .bc-family-grid li:last-child { grid-column: auto; scroll-snap-align: start; }
  .bc-family-grid li:nth-child(-n+2) .bc-family, .bc-family { min-height: 218px; }
  .filters--engineering > .filter-group, .filters--engineering > .filter-tools, .filters--engineering > .filter-status { margin-inline: 0; }
  .filters--engineering > .filter-group { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .bc-family, .bc-family-media, body[data-page-type="brand-category"] .card-media img { transition: none; }
}

/* Указатели каталога: категории от А до Я и плитки брендов на /brands/ */
.az-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; }
.az-nav a { display: grid; place-items: center; min-width: 40px; min-height: 40px; padding: 4px 8px; background: var(--surface); border-radius: var(--radius-xs); box-shadow: var(--shadow); color: var(--navy-ink); font-weight: 700; text-decoration: none; }
.az-nav a:hover { background: var(--navy); color: #fff; }
.az-groups { display: grid; gap: 20px; }
.az-group { scroll-margin-top: 84px; }
.az-letter { margin: 0 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--line); font-size: 1.125rem; color: var(--navy-2); }
.az-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.az-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.az-list a { color: var(--navy-ink); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.az-list a:hover { color: var(--link); text-decoration: underline; }
/* Колонки, а не grid: у брендов от 2 до 25 категорий, и в сетке ряд равняется по самой длинной
   карточке — рядом с Festo (25 строк) у Parker (2 строки) оставалось полкарточки пустого фона. */
.brand-cards { list-style: none; margin: 0; padding: 0; columns: 280px; column-gap: 16px; }
.brand-card { display: grid; align-content: start; gap: 10px; min-width: 0; break-inside: avoid; margin-bottom: 16px; padding: 20px 22px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.brand-card h2 { margin: 0; font-size: 1.25rem; }
.brand-card h2 a { color: var(--navy-ink); text-decoration: none; overflow-wrap: anywhere; }
.brand-card h2 a:hover { color: var(--link); }
.brand-card-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.brand-card-cats li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 5px 0; border-top: 1px solid var(--line); }
.brand-card-cats a { font-size: .9375rem; font-weight: 600; color: var(--navy-ink); text-decoration: none; }
.brand-card-cats a:hover { color: var(--link); text-decoration: underline; }
@media (min-width: 640px) {
  .az-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .az-groups { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .az-group { scroll-margin-top: calc(var(--header-h) + 64px); }
}

/* Каталог: тёмная вводная связывает поиск и визуальные категории, дальше указатели остаются рабочими
   и светлыми. Прозрачные предметные иллюстрации не подменяют фотографии конкретных товаров. */
.catalog-hero { position: relative; display: grid; margin: 0 0 24px; overflow: hidden; border-radius: 18px; background: radial-gradient(circle at 85% 20%, #214f80 0%, #102f54 38%, var(--navy-ink) 78%); color: #c4d3e4; }
.catalog-hero::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--accent-bright); }
.catalog-hero-main { position: relative; z-index: 2; padding: 30px 22px 16px; }
.catalog-hero .page-head { margin-bottom: 22px; }
.catalog-hero .page-head h1 { margin-bottom: 10px; color: #fff; font-size: 2.25rem; }
.catalog-hero .page-head p { max-width: 64ch; color: #c4d3e4; }
.catalog-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; }
.catalog-shortcuts a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius-xs); background: rgba(255, 255, 255, .06); color: #fff; font-size: .875rem; font-weight: 600; text-decoration: none; }
.catalog-shortcuts a:hover { border-color: rgba(255, 255, 255, .42); background: rgba(255, 255, 255, .12); color: #fff; }
.catalog-hero-art { position: relative; min-height: 210px; overflow: hidden; }
.catalog-hero-art::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--navy-ink), transparent 28%); pointer-events: none; z-index: 1; }
.catalog-art { position: absolute; width: 210px; height: 210px; object-fit: contain; filter: drop-shadow(0 24px 28px rgba(0, 0, 0, .32)); }
.catalog-art--sensor { left: -18px; bottom: -20px; transform: rotate(-6deg); }
.catalog-art--drive { left: 29%; bottom: -46px; width: 240px; height: 240px; }
.catalog-art--automation { right: -32px; bottom: -18px; transform: rotate(6deg); }
body[data-page-type="catalog"] > .site-main .search-panel { z-index: 3; margin-top: -42px; }
body[data-page-type="catalog"] .az-group { padding: 18px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-card); }
body[data-page-type="catalog"] .az-letter { border-bottom-color: var(--line-2); }
body[data-page-type="catalog"] .chips--index a { min-height: 40px; padding: 8px 13px; background: var(--surface); border-color: var(--line); }
body[data-page-type="catalog"] .chips--index a:hover { border-color: var(--navy-2); background: var(--soft); }
@media (min-width: 900px) {
  .catalog-hero { grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr); min-height: 390px; }
  .catalog-hero-main { display: flex; flex-direction: column; justify-content: center; padding: 48px 12px 76px 48px; }
  .catalog-hero .page-head h1 { font-size: 3rem; }
  .catalog-hero-art { min-height: 390px; }
  .catalog-hero-art::before { background: linear-gradient(90deg, var(--navy-ink), transparent 24%); }
  .catalog-art { width: 250px; height: 250px; }
  .catalog-art--sensor { left: -30px; bottom: 54px; }
  .catalog-art--drive { left: 27%; bottom: -32px; width: 285px; height: 285px; }
  .catalog-art--automation { right: -58px; bottom: 68px; }
  body[data-page-type="catalog"] > .site-main .search-panel { width: calc(100% - 64px); margin: -62px auto 0; }
}

/* Главная: компактная конверсионная зона. Обязательные поля видны сразу, второстепенные — по запросу. */
.home-conversion-head { max-width: 760px; margin-bottom: 22px; }
.home-conversion-head h2 { margin-bottom: 8px; }
.home-conversion-head > p:last-child { margin: 0; color: var(--muted); }
.home-conversion-grid { display: grid; gap: 24px; align-items: start; }
.home-list { display: grid; gap: 14px; align-items: start; min-width: 0; scroll-margin-top: calc(var(--header-h) + 20px); }
.home-list-intro { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 16px; padding: 24px; background: var(--surface); border-left: 4px solid var(--accent); border-radius: var(--radius); box-shadow: var(--shadow-card); overflow: hidden; }
.home-list-art { grid-column: 1 / -1; width: calc(100% + 48px); max-width: none; height: 190px; margin: -24px -24px 8px; object-fit: cover; }
.home-list-intro h2 { margin: 0 0 8px; }
.home-list-intro .notfound-text { margin: 0; color: var(--muted); }
.home-list-help { grid-column: 1 / -1; border-top: 1px solid var(--line); }
.home-list-help summary { min-height: 44px; padding: 13px 0 0; color: var(--navy); font-size: .875rem; font-weight: 700; cursor: pointer; }
.home-list-rules { display: grid; gap: 6px; margin: 0; padding: 10px 0 0 20px; font-size: .875rem; color: var(--muted); }
.lead-source { margin: 0; padding: 12px 14px; border-radius: var(--radius-xs); background: var(--soft); color: var(--muted); font-size: .875rem; line-height: 1.45; }
.lead-source strong { color: var(--navy-ink); }
.lead--list #list-text { font-family: var(--mono); font-size: .9375rem; }
@media (min-width: 1100px) {
  .home-conversion-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-list-art { height: 220px; }
}

/* Как проходит поставка — горизонтальная линия шагов */
.order-steps { list-style: none; margin: 0; padding: 0; counter-reset: ostep; display: grid; gap: 14px; }
.order-steps li { counter-increment: ostep; position: relative; display: flex; align-items: center; gap: 16px; min-width: 0; padding: 18px 20px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.order-step-icon { position: relative; display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; }
.order-step-icon::after { content: counter(ostep); position: absolute; top: -6px; right: -8px; min-width: 24px; height: 24px; padding: 0 6px; border: 2px solid var(--surface); border-radius: 999px; background: var(--navy-2); color: #fff; font-size: .75rem; font-weight: 800; line-height: 20px; text-align: center; }
.order-steps p { margin: 0; font-weight: 600; line-height: 1.4; color: var(--navy-ink); }
@media (min-width: 900px) {
  .order-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .order-steps li { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; }
  .order-steps li:not(:last-child)::before { content: ""; position: absolute; top: 48px; right: -24px; width: 24px; height: 2px; background: var(--line-2); }
}
.home-delivery { display: grid; gap: 16px; overflow: hidden; }
.home-delivery > h2, .home-delivery-text, .home-delivery .region-chips, .home-delivery .more-link { margin-bottom: 0; }
.home-delivery-art { width: calc(100% + 40px); max-width: none; margin: 4px -20px -20px; aspect-ratio: 16 / 9; object-fit: cover; }
.home-delivery-text { max-width: 75ch; }
.region-chips { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.region-chips li { padding: 7px 14px; background: var(--soft); border-radius: 999px; font-size: .875rem; font-weight: 600; color: var(--navy-ink); }
.home-delivery .more-link { margin-top: 16px; }
@media (min-width: 900px) {
  .home-delivery { grid-template-columns: minmax(0, 6fr) minmax(360px, 5fr); column-gap: 34px; align-items: start; }
  .home-delivery > h2, .home-delivery-text, .home-delivery .region-chips, .home-delivery .more-link { grid-column: 1; }
  .home-delivery-art { grid-column: 2; grid-row: 1 / 6; width: calc(100% + 30px); height: calc(100% + 56px); min-height: 320px; margin: -28px -30px -28px 0; aspect-ratio: auto; object-fit: cover; object-position: 62% center; }
}
.home-contacts-seller { font-weight: 650; color: var(--navy-ink); }
.brands-note { margin: 16px 0 0; font-size: .9375rem; color: var(--muted); }
.brands-note a { font-weight: 650; }

/* Почему мы: каталоговые цифры остаются в hero, здесь только смысловые доказательства. */
.why-grid { display: grid; gap: 14px; }
.why .section-head { margin-bottom: 18px; }
.why .section-head h2 { margin: 0; }
.why-intro { display: flex; align-items: center; margin: 0; padding: 20px 22px; border-radius: var(--radius); background: var(--navy); color: #d4e0ec; font-weight: 600; line-height: 1.55; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.why-list li { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 16px 18px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-card); font-size: .9375rem; font-weight: 600; line-height: 1.4; color: var(--navy-ink); }
@media (min-width: 640px) {
  .why-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .why-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 20px; }
}
.faq .terms-more p { font-size: .9375rem; }
.legal-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.legal-notes { margin: 12px 0 0; color: var(--muted); }
.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

/* Карточка товара: коммерческая шапка.
   Мобильный порядок: заголовок → фото → ключевые параметры → цена → условия.
   От 1100 px — две колонки на плавающих блоках: слева фото (и условия, если так колонки ровнее),
   справа заголовок, параметры и панель покупки. Выравнивание доводит скрипт до первой отрисовки. */
.product-hero { display: grid; gap: 20px; margin: 0 0 40px; padding: 0; }
.product-head { min-width: 0; }
.product-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; font-size: .9375rem; color: var(--muted); }
.product-kicker a { color: var(--navy-2); font-weight: 650; text-decoration: none; }
.product-kicker a:hover { text-decoration: underline; }
.product-hero h1 { margin: 0 0 16px; font-size: 1.75rem; }
.product-meta { display: grid; gap: 0; margin: 0; }
.product-meta div { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.product-meta dt { color: var(--muted); font-size: .9375rem; }
.product-meta dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.product-meta .sku { font-family: var(--mono); font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }
.product-media { display: grid; place-items: center; min-height: 260px; padding: 24px; background: var(--tint); border-radius: var(--radius); }
/* Ширина 100% (не больше собственной ширины фото — inline max-width) и height: auto: место под фото
   резервируется по атрибутам width/height до загрузки, блок цены под ним не сдвигается (CLS). */
.photo { display: block; width: 100%; max-width: 100%; height: auto; max-height: 420px; object-fit: contain; }
.photo--empty { display: grid; place-items: center; gap: 10px; width: 100%; aspect-ratio: 4 / 3; max-height: 360px; color: #9aa9bb; font-weight: 700; font-size: 1.25rem; text-align: center; }
.photo--empty .icon { width: 64px; height: 64px; stroke-width: 1.2; }
.photo--empty span { color: var(--muted); }
.key-params { padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.key-params h2 { margin: 0 0 10px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.key-params dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px 24px; margin: 0; }
.key-params dl div { min-width: 0; }
.key-params dt { font-size: .875rem; color: var(--muted); }
.key-params dd { margin: 2px 0 0; font-weight: 600; font-size: .9375rem; overflow-wrap: anywhere; }
.price-box { padding: 22px 24px; background: var(--tint); border-radius: var(--radius); }
.price { margin: 0 0 8px; font-size: 1.75rem; font-weight: 800; line-height: 1.15; color: var(--navy-ink); font-variant-numeric: tabular-nums; }
.price-facts { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 3px; font-size: .9375rem; color: var(--muted); }
.quote-time { margin: 8px 0 0; font-size: .9375rem; font-weight: 650; color: var(--navy-ink); }
.cta-note { margin: 12px 0 0; font-size: .875rem; color: var(--muted); }
.buy-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 12px 0 0; }
.buy-link { font-size: .9375rem; font-weight: 600; text-decoration: none; border-bottom: 1px dashed var(--line-2); }
.buy-link:hover { border-bottom-color: currentColor; }
.price-box .add-req { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
.price-box .buy-cta { grid-column: 1 / -1; width: 100%; }
.price-box .add-req-btn { min-height: 46px; }
.terms { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: .9375rem; }
.terms li { position: relative; padding-left: 30px; color: var(--ink); }
.terms li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #e3f1ea; }
.terms li::after { content: ""; position: absolute; left: 7px; top: 6px; width: 5px; height: 9px; border: solid var(--ok); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.stepper { display: inline-flex; align-items: stretch; flex: none; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.stepper-btn { width: 42px; padding: 0; border: 0; background: none; color: var(--navy); font: inherit; font-size: 1.25rem; line-height: 1; cursor: pointer; }
.stepper-btn:hover { background: var(--soft); }
.stepper .add-req-qty { width: 54px; min-height: 46px; border: 0; border-inline: 1px solid var(--line); border-radius: 0; text-align: center; -moz-appearance: textfield; }
.stepper .add-req-qty::-webkit-outer-spin-button, .stepper .add-req-qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
@media (min-width: 1100px) {
  /* Две колонки: слева фото, справа заголовок, параметры и покупка; условия переезжают под фото,
     когда так колонки ровнее (класс ставит скрипт выравнивания). */
  .product-hero { display: flow-root; container-type: inline-size; margin-bottom: 56px; }
  .product-hero > * { margin-bottom: 20px; }
  .product-hero > .product-media { float: left; clear: left; width: calc((100% - 48px) * .47); }
  .product-hero > .product-head, .product-hero > .key-params, .product-hero > .price-box, .product-hero > .terms { float: right; clear: right; width: calc((100% - 48px) * .53); }
  .product-hero.is-terms-left > .terms { float: left; clear: left; width: calc((100% - 48px) * .47); padding: 4px 0 0; }
  .product-hero.is-params-left > .key-params { float: left; clear: left; width: calc((100% - 48px) * .47); }
  .product-hero h1 { font-size: 2.25rem; }
  /* Колонка фото — 47 % от (100% − 48px), внутри 24 px padding с каждой стороны: доступная ширина фото
     равна 47cqw − 71px. Высота блока = высота фото по пропорции плюс padding, поэтому пустота внутри ≤ 100 px. */
  .product-media[style] { min-height: calc(min(var(--ph, 520px), min(47cqw - 71px, var(--pw, 520px)) * var(--ar, 1)) + 48px); }
  .product-media[style*="--bh"] { min-height: var(--bh); }
  .product-media .photo { max-height: 520px; }
  .product-media .photo--empty { aspect-ratio: auto; height: 100%; min-height: 280px; max-height: none; }
  .price-box .add-req { grid-template-columns: auto minmax(0, 1fr); }
}

/* Карточка товара: тело страницы и липкая коммерческая карточка */
.product-body { display: grid; gap: 20px; }
.product-main, .product-aside { display: grid; gap: 20px; align-content: start; min-width: 0; }
.product-body .block { margin: 0; }
.description { width: 100%; max-width: none; margin: 0; font-size: 1.0625rem; line-height: 1.65; overflow-wrap: break-word; word-break: normal; hyphens: none; text-wrap: wrap; }
.product-aside { display: none; }
.commercial-card { display: grid; gap: 12px; padding: 22px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.cc-sku { margin: 0; font-family: var(--mono); font-size: .82rem; color: var(--muted); overflow-wrap: anywhere; }
.cc-price { margin: 0; font-size: 1.375rem; font-weight: 800; color: var(--navy-ink); }
.commercial-card .add-req { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
.commercial-card .commercial-cta { grid-column: 1 / -1; width: 100%; }
.cc-links { display: grid; gap: 8px; margin: 0; }
.commercial-link { display: inline-flex; align-items: center; gap: 4px; font-size: .9375rem; font-weight: 600; text-decoration: none; }
.commercial-link:hover { text-decoration: underline; }
@media (min-width: 1024px) {
  .product-body { grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
  .product-aside { display: grid; position: sticky; top: calc(var(--header-h) + 76px); }
}

/* Документы карточками */
.doc-cards, .doc-list { display: grid; gap: 10px; }
.doc-list { list-style: none; margin: 0; padding: 0; }
.doc-cards { margin: 0; }
.doc-link { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 14px 16px; background: var(--tint); border-radius: var(--radius-sm); font-weight: 600; color: var(--navy-ink); text-decoration: none; }
.doc-name { flex: 1 1 12ch; min-width: 0; overflow-wrap: anywhere; }
.doc-meta { font-size: .8125rem; font-weight: 500; color: var(--muted); white-space: nowrap; }
.doc-link .icon { color: var(--accent); }
.doc-arrow { width: 20px; height: 20px; margin-left: auto; color: var(--muted-2); }
.doc-link:hover { background: var(--soft); color: var(--link); }
@media (min-width: 900px) {
  .doc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.related { margin-top: 48px; }

/* Карточка: навигация по разделам и липкая «Запросить КП» */
.pnav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; margin: 0 -16px 20px; padding: 0 16px; background: var(--bg); box-shadow: 0 1px 0 var(--line); }
.pnav-links { display: flex; flex: 1; min-width: 0; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.pnav-links::-webkit-scrollbar { display: none; }
.pnav-links a { padding: 12px 10px; white-space: nowrap; color: var(--ink); font-size: .875rem; font-weight: 600; text-decoration: none; box-shadow: inset 0 -3px 0 transparent; }
.pnav-links a:first-child { padding-left: 0; }
.pnav-links a:hover { color: var(--navy); box-shadow: inset 0 -3px 0 var(--line-2); }
.pnav-links a:focus-visible { outline-offset: -3px; }
.pnav-cta { display: none; }
/* Мобильная навигация прокручивается вбок: правый край растворяется, последний пункт доезжает до видимой зоны (review M5). */
@media (max-width: 999px) {
  .pnav-links { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 44px), transparent); }
  .pnav-links::after { content: ""; flex: 0 0 36px; }
}
.site-main section[id] { scroll-margin-top: 72px; }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(10, 31, 57, .10); transform: translateY(110%); visibility: hidden; transition: transform .2s ease, visibility .2s; }
.is-past-buy .sticky-cta { transform: none; visibility: visible; }
.is-past-buy.is-quick-active .sticky-cta, .is-quick-active .sticky-cta, .is-drawer-open .sticky-cta, .is-utility-open .sticky-cta { transform: translateY(110%); visibility: hidden; }
.sticky-cta-text { display: flex; flex: 1; flex-direction: column; min-width: 0; line-height: 1.25; }
.sticky-cta-sku { font-family: var(--mono); font-size: .8125rem; color: var(--muted); line-height: 1.35; overflow-wrap: anywhere; white-space: normal; }
.sticky-cta-price { font-weight: 800; color: var(--navy-ink); white-space: nowrap; }
.sticky-cta .button { flex: none; }
body[data-page-type="product"] .site-footer { padding-bottom: 72px; }
@media (min-width: 1000px) {
  .pnav { top: var(--header-h); margin: 0 0 24px; padding: 6px 10px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-card); }
  .pnav-links a, .pnav-links a:first-child { padding: 8px 12px; border-radius: var(--radius-xs); box-shadow: none; }
  .pnav-links a:hover { background: var(--soft); box-shadow: none; }
  .pnav-cta { display: inline-flex; flex: none; visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s; }
  .is-past-buy .pnav-cta { visibility: visible; opacity: 1; }
  .sticky-cta { display: none; }
  body[data-page-type="product"] .site-footer { padding-bottom: 0; }
  .site-main section[id] { scroll-margin-top: calc(var(--header-h) + 72px); }
}
@media (prefers-reduced-motion: no-preference) {
  html:has(.pnav) { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-cta, .pnav-cta { transition: none; }
}

/* Карточка: артикул, копирование, «Добавить в запрос» */
.sku-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.copy-btn { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-xs); background: var(--surface); color: var(--muted); cursor: pointer; }
.copy-btn:hover { border-color: var(--navy-2); background: var(--soft); color: var(--navy); }
.copy-btn .icon { width: 18px; height: 18px; }
.copy-status { font: 600 .8125rem/1.2 var(--font); color: var(--ok); }
.copy-status:empty { display: none; }
.add-req { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.add-req-qty { width: 72px; min-height: 40px; padding: 6px 8px; font: inherit; font-size: .9375rem; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-xs); }
.add-req-qty:focus { border-color: var(--navy); outline: 3px solid rgba(29, 111, 209, .3); outline-offset: 0; }
.add-req-btn { display: inline-flex; flex: 1 1 auto; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--surface); color: var(--navy); font: inherit; font-size: .9375rem; font-weight: 650; line-height: 1.2; text-align: center; cursor: pointer; transition: background-color .15s, border-color .15s; }
.add-req-btn::before { content: "+" / ""; font-weight: 700; }
.add-req-btn:hover { background: var(--soft); border-color: var(--navy-2); }
.add-req-status { flex: 1 0 100%; margin: 0; font-size: .8125rem; font-weight: 600; color: var(--ok); }
.add-req-status:empty { display: none; }
.add-req-status a { margin-left: 4px; }
.card .add-req-btn { min-height: 38px; font-size: .875rem; }

/* Шторка запроса: справа на десктопе, снизу на телефоне */
.drawer { position: fixed; inset: 0; z-index: 70; display: flex; justify-content: flex-end; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(10, 31, 57, .45); }
.drawer-panel { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; width: min(100%, 460px); max-height: 100%; padding: 22px 22px calc(22px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; overscroll-behavior: contain; background: var(--surface); box-shadow: -20px 0 50px rgba(10, 31, 57, .25); }
.drawer-close { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: var(--radius-xs); background: none; color: var(--muted); cursor: pointer; }
.drawer-close:hover { background: var(--soft); color: var(--navy-ink); }
.drawer-item { margin: 0; padding-right: 44px; font-weight: 650; color: var(--navy-ink); overflow-wrap: anywhere; }
.drawer-item:empty { display: none; }
.drawer-panel form.lead { padding: 0; background: none; box-shadow: none; border: 0; }
.drawer-alt { margin: 0; font-size: .875rem; color: var(--muted); }
.is-drawer-open { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .drawer-panel { animation: drawer-in .22s ease-out; }
}
@keyframes drawer-in { from { transform: translateX(24px); opacity: .4; } to { transform: none; opacity: 1; } }
@media (max-width: 719px) {
  .drawer { align-items: flex-end; justify-content: stretch; }
  .drawer-panel { width: 100%; max-height: 92vh; border-radius: 18px 18px 0 0; box-shadow: 0 -20px 50px rgba(10, 31, 57, .3); }
  @media (prefers-reduced-motion: no-preference) {
    .drawer-panel { animation: sheet-in .22s ease-out; }
  }
}
@keyframes sheet-in { from { transform: translateY(24px); opacity: .5; } to { transform: none; opacity: 1; } }

/* Карточка: доставка и оплата, контакт, исполнения серии, недавние */
.card-terms .terms-part + .terms-part { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.card-terms h3 { margin: 0 0 8px; font-size: 1.0625rem; }
.card-terms p { font-size: .9375rem; }
.terms-label { margin: 12px 0 4px; font-weight: 650; color: var(--navy-ink); }
.terms-more { margin: 8px 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.terms-more summary { padding: 11px 14px; font-weight: 600; font-size: .9375rem; color: var(--navy-ink); cursor: pointer; }
.terms-more[open] summary { border-bottom: 1px solid var(--line); }
.terms-more > :not(summary) { margin: 0; padding: 10px 14px 12px; }
.region-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: .875rem; }
.terms-more .region-list { padding: 10px 14px 12px; }
.more-link { margin: 12px 0 0; font-size: .9375rem; font-weight: 600; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 10px; min-width: 0; overflow-wrap: anywhere; }
.contact-list .icon { color: var(--navy-2); }
.contact-list a { font-weight: 700; }
.series-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.series-list li { display: grid; align-content: start; gap: 2px; min-width: 0; padding: 12px 14px; background: var(--tint); border-radius: var(--radius-sm); }
.series-list a { justify-self: start; font-family: var(--mono); font-weight: 700; overflow-wrap: anywhere; }
.series-name { color: var(--muted); font-size: .875rem; }
.series-diff { display: grid; gap: 2px; margin: 8px 0 0; font-size: .8125rem; }
.series-diff div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.series-diff dt { color: var(--muted-2); }
.series-diff dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
@media (min-width: 640px) {
  .series-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.recent { margin-top: 48px; }
.recent-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.recent-list li { display: grid; gap: 2px; min-width: 0; padding: 14px 16px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.recent-list a { font-weight: 650; font-size: .9375rem; line-height: 1.3; color: var(--navy-ink); overflow-wrap: anywhere; text-decoration: none; }
.recent-list a:hover { color: var(--link); }
.recent-sku { font-family: var(--mono); font-size: .82rem; color: var(--muted); overflow-wrap: anywhere; }

/* Таблицы: высокие строки, крупнее текст, едва заметная зебра */
table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
th, td { padding: 13px 14px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
th { width: 42%; font-weight: 500; color: var(--muted); }
td { color: var(--ink); }
.specs, .decoded { font-size: 1rem; }
tbody tr:nth-child(even) { background: #fafbfd; }
.panel table { border-radius: var(--radius-sm); overflow: hidden; }
.panel table + .note { margin-top: 14px; }
@media (max-width: 480px) {
  th, td { padding: 10px; font-size: .875rem; }
  th { width: 45%; }
}

/* «Не нашли артикул?» */
.notfound { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: start; padding: 22px; background: var(--surface); border-left: 4px solid var(--accent); border-radius: var(--radius); box-shadow: var(--shadow-card); }
/* Оранжевый остаётся за действиями: значок блока, счётчики шагов и звёздочка перекрашены в синие токены
   (design v2 review, M7). Левая акцентная линия блока сохранена — её бриф разрешает. */
.notfound-icon { grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--soft); color: var(--navy-2); }
.notfound h2 { margin: 0; font-size: 1.1875rem; }
.notfound-text { margin: 0; color: var(--muted); }
.notfound-action { grid-column: 1 / -1; margin: 12px 0 0; }
@media (max-width: 420px) {
  .notfound-action .button { width: 100%; }
}
@media (min-width: 768px) {
  .notfound { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; padding: 24px 28px; column-gap: 20px; }
  .notfound-action { grid-column: 3; grid-row: 1 / span 2; margin: 0; }
}

/* Формы заявки */
.request-layout { display: grid; gap: 20px; align-items: start; }
.request-hero { position: relative; overflow: hidden; margin: 0 0 24px; padding: 28px 24px; border-radius: var(--radius); background: linear-gradient(115deg, #0a1f39 0%, #12395f 72%, #174d79 100%); color: #fff; box-shadow: var(--shadow); }
.request-hero::after { content: ""; position: absolute; right: -70px; bottom: -105px; width: 270px; height: 270px; border: 44px solid rgba(255, 255, 255, .055); border-radius: 50%; }
.request-hero > * { position: relative; z-index: 1; }
.request-hero h1 { max-width: 19ch; margin: 4px 0 12px; color: #fff; font-size: clamp(1.85rem, 5.8vw, 2.65rem); }
.request-hero > p:not(.commercial-kicker) { max-width: 66ch; margin: 0; color: #c9d7e6; font-size: 1.0625rem; }
.request-hero ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.request-hero li { padding: 7px 10px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(255, 255, 255, .07); color: #edf5fc; font-size: .8125rem; font-weight: 650; }
form.lead { display: grid; gap: 18px; padding: 22px; background: var(--surface); border-top: 4px solid var(--navy); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; font-size: .9375rem; font-weight: 600; color: var(--navy-ink); }
.req { color: var(--navy-2); }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 11px 13px; font: inherit; font-weight: 400; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-xs); }
.field textarea { min-height: 112px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--navy-2); }
.field input:focus, .field textarea:focus { border-color: var(--navy); outline: 3px solid rgba(29, 111, 209, .3); outline-offset: 0; }
.field input[type="file"] { padding: 8px; font-size: .9375rem; }
.field input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 14px; font: inherit; font-weight: 600; color: var(--navy); background: var(--soft); border: 1px solid var(--line-2); border-radius: var(--radius-xs); cursor: pointer; }
.lead .consent { display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; color: var(--muted); }
.lead .consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--navy); }
.lead .button { width: 100%; }
.lead h2 { margin: 0; font-size: 1.25rem; }
.lead-heading { display: grid; gap: 4px; }
.lead-heading h2 { font-size: 1.5rem; }
.lead-heading p { margin: 0; color: var(--muted); font-size: .875rem; }
.lead-heading .section-kicker { color: var(--navy-2); }
.contact-help { margin: -10px 0 0; color: var(--muted); font-size: .8125rem; }
.form-more, .quick-more { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--tint); }
.form-more summary, .quick-more summary { min-height: 44px; padding: 12px 14px; color: var(--navy); font-size: .9375rem; font-weight: 700; cursor: pointer; }
.form-more[open] summary, .quick-more[open] summary { border-bottom: 1px solid var(--line); }
.form-more-grid, .quick-more-grid { display: grid; gap: 16px; padding: 16px; }
.lead-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.lead-submit > span { color: var(--muted); font-size: .8125rem; }
.quick-note { margin: -8px 0 0; }
.status { margin: 0; font-weight: 600; color: var(--navy-ink); }
.status:empty { display: none; }
.status--ok { color: var(--ok); }
.status--error { color: var(--accent-hover); }
.request-main { display: grid; gap: 20px; min-width: 0; }
.request-list > h2 { display: flex; align-items: baseline; gap: 8px; }
.request-list h2:focus { outline: none; }
/* Позиции запроса — таблица; до 720 px строки складываются в карточки с подписями колонок (data-label). */
.req-table-wrap { margin: 0 0 14px; }
.panel .req-table { border-radius: var(--radius-sm); overflow: visible; }
.req-table th, .req-table td { width: auto; vertical-align: middle; }
.req-table thead th { padding: 10px 14px; background: var(--soft); font-size: .8125rem; font-weight: 650; color: var(--muted); white-space: nowrap; }
.req-table tbody tr:nth-child(even) { background: transparent; }
.req-table tbody td { border-top: 1px solid var(--line); }
.req-item-sku { font-family: var(--mono); font-weight: 700; color: var(--navy-ink); overflow-wrap: anywhere; }
a.req-item-sku { color: var(--link); }
.req-item-name { display: block; margin-top: 2px; font-size: .8125rem; color: var(--muted); overflow-wrap: anywhere; }
.req-item-qty-input, .req-item-comment { min-height: 42px; padding: 7px 9px; font: inherit; font-size: .9375rem; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-xs); }
.req-item-qty-input { width: 96px; }
.req-item-comment { width: 100%; min-width: 160px; }
.req-item-qty-input:focus, .req-item-comment:focus { border-color: var(--navy); outline: 3px solid rgba(29, 111, 209, .3); outline-offset: 0; }
.req-cell-remove { text-align: right; }
.req-item-remove { white-space: nowrap; }
.req-list-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.req-list-foot .note { margin: 0; }
.req-clear-feedback { margin: 14px 0 0; padding: 10px 12px; border-radius: var(--radius-xs); background: #eef7f2; color: var(--ok); font-size: .875rem; font-weight: 650; }
.link-button { min-height: 36px; padding: 4px 6px; border: 0; background: none; color: var(--link); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.request-aside { display: grid; gap: 16px; }
.request-help h2 { margin: 3px 0 16px; }
.request-checklist { margin: 0; padding: 0; list-style: none; counter-reset: request-step; }
.request-checklist li { position: relative; display: grid; gap: 2px; min-height: 54px; padding: 0 0 16px 48px; counter-increment: request-step; }
.request-checklist li:last-child { padding-bottom: 0; }
.request-checklist li::before { content: counter(request-step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--soft); color: var(--navy); font-weight: 800; }
.request-checklist span { color: var(--muted); font-size: .875rem; line-height: 1.4; }
@media (max-width: 719px) {
  .req-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .panel .req-table { border: 0; }
  .req-table tbody { display: grid; gap: 8px; }
  .req-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
  .req-table tbody td { display: block; padding: 0; border: 0; }
  .req-table td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: .75rem; font-weight: 600; color: var(--muted); }
  .req-table .req-cell-remove::before { content: none; }
  .req-cell-sku, .req-cell-comment { grid-column: 1 / -1; }
  .req-item-comment { min-width: 0; }
  .button--sm, .header-req, .card .add-req-btn { min-height: 44px; }
  .header-req { min-width: 44px; justify-content: center; }
  .copy-btn, .drawer-close { width: 44px; height: 44px; }
  .buy-link { display: inline-flex; align-items: center; min-height: 44px; padding-block: 8px; }
  .stepper-btn { width: 44px; }
}
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 640px) {
  form.lead { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; padding: 28px; }
  .field--wide, .lead .consent, .lead .button, .lead .status, .lead h2, .lead .quick-note, .lead-heading, .contact-help, .lead-source, .form-more, .quick-more, .lead-submit { grid-column: 1 / -1; }
  .form-more-grid, .quick-more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-more-grid .field--wide, .quick-more-grid .field--wide { grid-column: 1 / -1; }
  .lead .button { width: auto; justify-self: start; min-width: 240px; }
  .drawer-panel form.lead { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; }
  .drawer-panel form.lead .button { width: 100%; }
}
@media (min-width: 1024px) {
  .request-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
  .request-layout--single { grid-template-columns: minmax(0, 860px); }
  .request-aside { position: sticky; top: calc(var(--header-h) + 28px); }
}

/* Подсказка после «Добавить в запрос». Закрытая — прозрачна и не ловит указатель, но остаётся в документе:
   live-область должна существовать до сообщения. */
.req-toast { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); left: 16px; z-index: 60; display: grid; gap: 10px; max-width: 420px; margin-left: auto; padding: 16px 18px; color: #fff; background: var(--navy-ink); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(10, 31, 57, .28); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s, transform .2s; --focus: #fbbf24; }
.req-toast.is-open { opacity: 1; transform: none; pointer-events: auto; }
.req-toast-text { margin: 0; font-weight: 600; line-height: 1.35; }
.req-toast-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.req-toast .button--secondary { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.req-toast .button--secondary:hover { background: rgba(255, 255, 255, .12); color: #fff; }
@media (max-width: 999px) {
  body[data-page-type="product"] .req-toast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  .req-toast { transition: none; }
}

/* Страница бренда: шапка, поиск, направления, результаты поиска, документация */
.brand-hero { display: grid; gap: 24px; margin: 0 0 24px; padding: 28px 24px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.brand-hero-main { min-width: 0; }
.brand-hero h1 { margin: 0 0 8px; }
.brand-counts { margin: 0 0 10px; font-weight: 650; color: var(--navy-2); font-variant-numeric: tabular-nums; }
.brand-hero .brand-lead { max-width: 72ch; color: var(--muted); }
.brand-search { margin: 20px 0 0; }
.brand-search label { font-size: .9375rem; font-weight: 600; color: var(--muted); }
.brand-search input { min-height: 54px; font-size: 1rem; }
.brand-search-status { margin: 10px 0 0; font-size: .875rem; font-weight: 600; color: var(--navy-ink); }
.brand-dirs { margin: 18px 0 0; }
.dirs-label { margin: 0 0 8px; font-size: .8125rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-2); }
.dir-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dir-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; background: var(--tint); border-radius: 999px; color: var(--navy-ink); font-size: .875rem; font-weight: 600; text-decoration: none; }
.dir-chips a:hover { background: var(--soft); color: var(--link); }
.brand-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 0; }
.brand-offcat { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--muted); }
.brand-hero-media { display: none; }
.brand-results { margin: 0 0 24px; }
.brand-results-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.brand-results-list a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 12px 16px; background: var(--surface); border-radius: var(--radius-sm); box-shadow: var(--shadow); text-decoration: none; color: var(--navy-ink); }
.brand-results-list a:hover { box-shadow: var(--shadow-hover); }
.brand-docs .doc-list { margin-top: 4px; }
@media (min-width: 900px) {
  .brand-hero { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; padding: 36px 40px; }
  .brand-hero-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 120px; gap: 12px; align-content: start; }
  .bh-photo { position: relative; display: block; background: var(--tint); border-radius: var(--radius-sm); }
  .bh-photo:first-child { grid-column: 1 / -1; grid-row: span 2; }
  .bh-photo img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; }
  .brand-results-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Коммерческие страницы: не текстовые заглушки, а короткие рабочие маршруты к запросу. */
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 12px; }
.steps li { counter-increment: step; position: relative; padding: 14px 16px 14px 58px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.steps li::before { content: counter(step); position: absolute; left: 16px; top: 12px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: .875rem; }
.commercial-hero { position: relative; display: grid; margin: 0 0 44px; overflow: hidden; border-radius: 18px; background: var(--navy-ink); color: #c9d7e6; box-shadow: 0 18px 44px rgba(10, 31, 57, .16); }
.commercial-hero::before { content: ""; position: absolute; inset: 0 auto 0 0; z-index: 3; width: 5px; background: var(--accent-bright); }
.commercial-hero-main { position: relative; z-index: 2; padding: 30px 22px 32px; }
.commercial-kicker, .section-kicker { margin: 0 0 8px; font-size: .75rem; font-weight: 750; letter-spacing: .09em; line-height: 1.35; text-transform: uppercase; }
.commercial-kicker { color: #9eb7d3; }
.section-kicker { color: var(--navy-2); }
.commercial-hero h1 { margin: 0 0 14px; color: #fff; font-size: 2.125rem; }
.commercial-lead { max-width: 62ch; margin: 0; color: #c9d7e6; font-size: 1.0625rem; line-height: 1.65; }
.commercial-facts { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 8px; }
.commercial-facts li { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 10px; background: rgba(255, 255, 255, .055); color: #ecf3fa; font-size: .875rem; font-weight: 600; line-height: 1.35; }
.commercial-fact-icon { display: grid; place-items: center; flex: none; color: #ff9a61; }
.commercial-fact-icon .icon { width: 20px; height: 20px; }
.commercial-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.commercial-hero .button--secondary { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); color: #fff; }
.commercial-hero .button--secondary:hover { border-color: #fff; background: rgba(255, 255, 255, .16); color: #fff; }
.commercial-hero-media { position: relative; min-height: 230px; overflow: hidden; }
.commercial-hero-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, var(--navy-ink), transparent 30%); pointer-events: none; }
.commercial-hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.commercial-hero--contacts .commercial-hero-media img { object-position: 50% 70%; }
.commercial-hero--payment .commercial-hero-media img { object-position: 62% center; }
.commercial-hero--analog .commercial-hero-media img { object-position: 54% center; }
.commercial-hero--requisites .commercial-hero-media img { object-position: 62% center; }
.section-note { max-width: 52ch; margin: 0; color: var(--muted); }
.commercial-steps { list-style: none; margin: 0; padding: 0; counter-reset: cstep; display: grid; gap: 14px; }
.commercial-steps li { counter-increment: cstep; position: relative; display: flex; align-items: flex-start; gap: 16px; min-width: 0; padding: 20px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.commercial-step-icon { position: relative; display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--soft); color: var(--navy-2); }
.commercial-step-icon::after { content: counter(cstep); position: absolute; right: -7px; top: -7px; min-width: 22px; height: 22px; padding: 0 5px; border: 2px solid #fff; border-radius: 999px; background: var(--navy); color: #fff; font-size: .6875rem; font-weight: 800; line-height: 18px; text-align: center; }
.commercial-steps h3 { margin: 2px 0 6px; }
.commercial-steps p { margin: 0; color: var(--muted); font-size: .9375rem; }
.regions { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 10px; }
.regions li { padding: 12px 16px; background: var(--surface); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.regions--commercial { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; margin: 0; }
.regions--commercial li { display: flex; align-items: flex-start; gap: 14px; padding: 17px 18px; border: 1px solid transparent; border-radius: var(--radius); box-shadow: var(--shadow-card); transition: border-color .15s, transform .15s, box-shadow .15s; }
.regions--commercial li:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: var(--shadow-hover); }
.region-index { flex: none; color: var(--accent); font: 700 .75rem/1.5 var(--mono); }
.regions--commercial strong { display: block; color: var(--navy-ink); line-height: 1.4; }
.regions--commercial small { display: block; margin-top: 4px; color: var(--muted); font-size: .8125rem; line-height: 1.45; }
.payment-scheme-grid { display: grid; gap: 16px; }
.payment-scheme { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; margin: 0; }
.payment-scheme-number { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: #fff; font: 750 .875rem/1 var(--mono); }
.payment-scheme h3 { margin: 2px 0 10px; font-size: 1.375rem; }
.payment-scheme p { max-width: 68ch; color: var(--muted); }
.payment-faq { position: relative; overflow: hidden; }
.payment-faq::after { content: "?"; position: absolute; right: 20px; top: -44px; color: var(--soft); font-size: 11rem; font-weight: 850; line-height: 1; pointer-events: none; }
.payment-faq > * { position: relative; z-index: 1; }
.payment-faq .section-head { display: block; }
.payment-faq-list { display: grid; gap: 18px; }
.payment-faq-list article { max-width: 72ch; padding-top: 18px; border-top: 1px solid var(--line); }
.payment-faq-list h3 { margin-bottom: 8px; }
.payment-faq-list p { margin: 0; color: var(--muted); }
.contact-channels > table { margin-bottom: 22px; }
.contact-messengers { padding-top: 20px; border-top: 1px solid var(--line); }
.contact-messengers h2 { margin-bottom: 14px; font-size: 1.125rem; }
.contact-messengers .link-list { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-messengers a { display: inline-flex; min-height: 42px; align-items: center; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius-xs); background: var(--tint); font-weight: 600; text-decoration: none; }
.contact-layout { display: grid; gap: 18px; align-items: start; }
.company-card, .contact-guide { margin: 0; }
.company-card h2, .contact-guide h2 { margin-bottom: 18px; }
.contact-guide ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.contact-guide li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; padding: 13px 0; border-top: 1px solid var(--line); color: var(--ink); font-size: .9375rem; }
.contact-guide li span { color: var(--accent); font: 750 .75rem/1.75 var(--mono); }
.analog-request { margin-bottom: 0; }
.analog-aside { display: grid; gap: 18px; }
.analog-checklist, .analog-catalog { margin: 0; }
.analog-checklist h2, .analog-catalog h2 { margin-bottom: 18px; }
.analog-catalog .link-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.analog-catalog .link-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.analog-catalog .count { flex: none; }
.requisites-about { position: relative; overflow: hidden; }
.requisites-about::after { content: "KV"; position: absolute; right: 24px; top: -28px; color: var(--soft); font-size: 8rem; font-weight: 850; line-height: 1; pointer-events: none; }
.requisites-about > * { position: relative; z-index: 1; }
.requisites-about p:not(.section-kicker) { max-width: 75ch; color: var(--muted); }
.requisites-layout, .requisites-companies { display: grid; gap: 18px; align-items: start; }
.requisites-company, .requisites-next { margin: 0; }
.requisites-company h2, .requisites-next h2 { margin-bottom: 18px; }
.requisites-company table { table-layout: fixed; }
.requisites-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.requisites-links a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 68px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--tint); color: var(--navy-ink); text-decoration: none; transition: border-color .15s, background-color .15s, transform .15s; }
.requisites-links a:hover { transform: translateX(2px); border-color: var(--line-2); background: var(--soft); }
.requisites-link-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #fff; color: var(--navy-2); box-shadow: var(--shadow); }
.requisites-links strong, .requisites-links small { display: block; }
.requisites-links strong { margin-bottom: 2px; }
.requisites-links small { color: var(--muted); font-size: .8125rem; line-height: 1.35; }
.requisites-link-arrow { width: 18px; height: 18px; color: var(--navy-2); }
@media (min-width: 760px) {
  .commercial-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .commercial-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .commercial-steps li { display: block; padding: 24px; }
  .commercial-step-icon { margin-bottom: 18px; }
  .contact-layout { grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 24px; }
  .requisites-layout { grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 24px; }
}
@media (min-width: 960px) {
  .commercial-hero { grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr); min-height: 510px; }
  .commercial-hero-main { display: flex; flex-direction: column; justify-content: center; padding: 48px 42px 52px 48px; }
  .commercial-hero h1 { font-size: 3rem; }
  .commercial-lead { font-size: 1.125rem; }
  .commercial-hero-media { min-height: 510px; }
  .commercial-hero-media::before { background: linear-gradient(90deg, var(--navy-ink), transparent 28%); }
  .commercial-hero--delivery .commercial-hero-media img { object-position: 62% center; }
  .commercial-hero--contacts .commercial-hero-media img { object-position: 56% center; }
  .commercial-hero--payment .commercial-hero-media img { object-position: 58% center; }
  .commercial-hero--analog .commercial-hero-media img { object-position: 58% center; }
  .commercial-hero--requisites .commercial-hero-media img { object-position: 58% center; }
}
@media (prefers-reduced-motion: reduce) {
  .regions--commercial li { transition: none; }
  .regions--commercial li:hover { transform: none; }
  .requisites-links a { transition: none; }
  .requisites-links a:hover { transform: none; }
}
main > p, main > ul, main > table { max-width: 75ch; }
/* Кламп 75ch держит длину строки в тексте, но ловит и списки-сетки на уровне main:
   из-за него /brands/ и /dostavka/ ужимались до двух колонок вместо четырёх (бриф design-v2: 4 колонки на 1280-1440). */
main > .brand-cards, main > .regions { max-width: none; }

/* Глобальные утилиты: поиск по Ctrl+K, быстрый просмотр запроса и возврат наверх. */
.is-utility-open { overflow: hidden; }
.utility-kicker { margin: 0 0 4px; color: var(--accent); font-size: .6875rem; font-weight: 780; letter-spacing: .11em; line-height: 1.3; text-transform: uppercase; }
.utility-close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--tint); color: var(--navy-ink); cursor: pointer; }
.utility-close:hover { border-color: var(--line-2); background: var(--soft); color: var(--navy); }
.utility-close .icon { width: 20px; height: 20px; }
.global-search, .request-preview { padding: 0; border: 0; background: transparent; color: var(--ink); }
.global-search::backdrop, .request-preview::backdrop { background: rgba(5, 18, 33, .68); backdrop-filter: blur(4px); }
.global-search { width: min(760px, calc(100% - 32px)); max-width: none; max-height: min(82dvh, 760px); margin: max(7vh, 24px) auto auto; overflow: visible; }
.global-search-shell { overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: var(--surface); box-shadow: 0 30px 90px rgba(5, 18, 33, .34); }
.global-search-head, .request-preview-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 22px 24px 18px; }
.global-search-head { background: linear-gradient(120deg, #0a203a, #123c66); }
.global-search-head h2 { margin: 0; color: #fff; font-size: 1.5rem; }
.global-search-head .utility-kicker { color: #9fc1df; }
.global-search-head .utility-close { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: #fff; }
.global-search-head .utility-close:hover { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.15); }
.global-search-head form { margin: 0; }
.global-search-form { position: relative; margin: 20px 24px 0; }
.global-search-form > .icon { position: absolute; left: 18px; top: 50%; width: 22px; height: 22px; color: var(--navy-2); transform: translateY(-50%); pointer-events: none; }
.global-search-form input { width: 100%; min-height: 60px; padding: 13px 48px 13px 52px; border: 2px solid var(--line-2); border-radius: 12px; background: var(--tint); color: var(--navy-ink); font: 650 1.0625rem/1.35 var(--font); outline: 0; }
.global-search-form input:focus { border-color: var(--focus); background: #fff; box-shadow: 0 0 0 4px rgba(29,111,209,.12); }
.global-search-form input::placeholder { color: #718095; font-weight: 450; }
.global-search-hint { display: flex; justify-content: space-between; gap: 16px; margin: 8px 24px 0; color: var(--muted); font-size: .8125rem; }
.global-search-hint kbd { padding: 2px 5px; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 4px; background: var(--tint); color: var(--navy-ink); font: 650 .75rem/1.2 var(--font); }
.global-search-status { min-height: 24px; margin: 14px 24px 4px; color: var(--muted); font-size: .875rem; font-weight: 600; }
.global-search-status[data-state="empty"], .global-search-status[data-state="error"] { color: var(--accent-hover); }
.global-search-results { max-height: min(48dvh, 430px); margin: 0; padding: 0 12px 14px; overflow-y: auto; overscroll-behavior: contain; list-style: none; }
.global-search-results li + li { border-top: 1px solid var(--line); }
.global-search-results a { display: grid; grid-template-columns: minmax(0, 1fr) auto 24px; gap: 16px; align-items: center; min-height: 72px; padding: 12px; border-radius: 10px; color: var(--navy-ink); text-decoration: none; }
.global-search-results a:hover { background: var(--soft); color: var(--navy); }
.global-search-copy { display: grid; min-width: 0; }
.global-search-copy strong { font-size: .9375rem; line-height: 1.35; overflow-wrap: anywhere; white-space: normal; }
.global-search-meta { color: var(--muted); font-size: .75rem; overflow-wrap: anywhere; white-space: normal; }
.global-search-sku { color: var(--navy-2); font: 700 .8125rem/1.3 var(--mono); }
.global-search-arrow { color: var(--accent); font-size: 1.25rem; text-align: center; }

.request-preview { inset: 0; width: min(460px, 100%); max-width: none; height: 100dvh; max-height: none; margin: 0 0 0 auto; overflow: hidden; }
.request-preview-shell { display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; height: 100%; background: var(--surface); box-shadow: -24px 0 70px rgba(5,18,33,.28); }
.request-preview-head { padding: 24px 24px 18px; border-bottom: 1px solid var(--line); }
.request-preview-head h2 { margin: 0; font-size: 1.625rem; }
.request-preview-summary { margin: 0; padding: 13px 24px; background: var(--soft); color: var(--navy-2); font-size: .875rem; font-weight: 700; }
.request-preview-items { margin: 0; padding: 0 24px; overflow-y: auto; overscroll-behavior: contain; list-style: none; }
.request-preview-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.request-preview-copy { display: grid; min-width: 0; gap: 3px; }
.request-preview-sku { color: var(--navy-ink); font: 750 .9375rem/1.35 var(--mono); text-decoration: none; overflow-wrap: anywhere; }
a.request-preview-sku:hover { color: var(--link); text-decoration: underline; }
.request-preview-meta { display: block; color: var(--muted); font-size: .8125rem; line-height: 1.4; overflow-wrap: anywhere; }
.request-preview-qty { align-self: start; padding: 5px 8px; border-radius: 999px; background: var(--soft); color: var(--navy); font-size: .75rem; font-weight: 750; white-space: nowrap; }
.request-preview-more { padding: 14px 0; color: var(--muted); font-size: .8125rem; text-align: center; }
.request-preview-empty { align-self: center; padding: 40px 32px; text-align: center; }
.request-preview-empty > span { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 18px; background: var(--soft); color: var(--navy-2); }
.request-preview-empty > span .icon { width: 30px; height: 30px; }
.request-preview-empty h3 { margin-bottom: 8px; font-size: 1.25rem; }
.request-preview-empty p { max-width: 34ch; margin: 0 auto 18px; color: var(--muted); font-size: .9375rem; }
.request-preview-empty a { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; text-decoration: none; }
.request-preview-foot { padding: 18px 24px calc(20px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--tint); }
.request-preview-foot .button { width: 100%; }
.request-preview-foot p { margin: 8px 0 0; color: var(--muted); font-size: .75rem; line-height: 1.4; text-align: center; }

.back-top { position: fixed; z-index: 28; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: var(--navy); box-shadow: 0 10px 28px rgba(10,31,57,.24); color: #fff; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .18s, transform .18s, background-color .15s; }
.back-top:hover { background: var(--navy-2); }
.back-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.back-top .icon { width: 21px; height: 21px; transform: rotate(180deg); }
.is-utility-open .back-top, body:has(.req-toast.is-open) .back-top { opacity: 0; pointer-events: none; transform: translateY(12px); }
.is-utility-open .req-toast { opacity: 0; pointer-events: none; }
@media (max-width: 639px) {
  .global-search { width: calc(100% - 16px); max-height: calc(100dvh - 16px); margin: 8px auto auto; }
  .global-search-shell { border-radius: 14px; }
  .global-search-head { padding: 18px 16px 14px; }
  .global-search-head h2 { font-size: 1.25rem; }
  .global-search-form { margin: 14px 16px 0; }
  .global-search-form input { min-height: 56px; padding-right: 14px; font-size: 1rem; }
  .global-search-hint { margin-inline: 16px; }
  .global-search-hint span { display: none; }
  .global-search-status { margin: 12px 16px 2px; }
  .global-search-results { max-height: calc(100dvh - 252px); padding-inline: 6px; }
  .global-search-results a { grid-template-columns: minmax(0, 1fr) 20px; gap: 10px; min-height: 68px; padding: 10px; }
  .global-search-sku { grid-column: 1; grid-row: 2; justify-self: start; }
  .global-search-arrow { grid-column: 2; grid-row: 1 / span 2; }
  .request-preview { width: 100%; height: min(86dvh, 760px); margin: auto 0 0; }
  .request-preview-shell { border-radius: 18px 18px 0 0; }
  .request-preview-head { padding: 20px 16px 14px; }
  .request-preview-summary { padding-inline: 16px; }
  .request-preview-items { padding-inline: 16px; }
  .request-preview-foot { padding-inline: 16px; }
  .back-top { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); width: 46px; height: 46px; }
  body[data-page-type="product"].is-past-buy .back-top { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: no-preference) {
  .global-search[open] .global-search-shell { animation: utility-in .16s ease-out; }
  .request-preview[open] .request-preview-shell { animation: preview-in .2s ease-out; }
}
@keyframes utility-in { from { opacity: .5; transform: translateY(-10px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes preview-in { from { opacity: .6; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .back-top { transition: none; }
}

/* Подвал */
.site-footer { margin-top: 32px; color: #b6c5d6; background: var(--navy-ink); font-size: .9375rem; --focus: #fbbf24; }
.site-footer a { color: #dce5ef; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding-block: 40px 28px; }
.footer-brand { grid-column: 1 / -1; }
.logo--footer, .logo--footer:hover { color: #fff; text-decoration: none; }
.logo--footer .logo-tagline { display: block; color: #b6c5d6; white-space: normal; }
.logo--footer .m-bg { fill: #1b4577; }
.footer-h { margin: 0 0 12px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-list--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
.footer-col--brands { grid-column: 1 / -1; }
.footer-bottom { padding-block: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8125rem; }
.footer-bottom p { margin: 0; }
@media (min-width: 640px) {
  .footer-list--cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1.6fr 1fr; gap: 32px; padding-block: 52px 36px; }
  .footer-brand, .footer-col--brands { grid-column: auto; }
}

/* Industrial editorial pass, based on the Inspo catalogue references.
   Product imagery, type and rules carry the hierarchy; containers no longer imitate an app-card wall. */
body { background-image: linear-gradient(rgba(16,45,77,.018) 1px, transparent 1px); background-size: 100% 40px; }
h1, h2, h3 { letter-spacing: -.025em; text-wrap: pretty; }
h1 { font-weight: 760; }
h2 { font-weight: 680; }
.section-kicker, .commercial-kicker, .category-kicker, .utility-kicker { letter-spacing: .045em; text-transform: none; }
.button { border-radius: 2px; font-weight: 680; }
.panel { border: 1px solid var(--line); box-shadow: none; }
.section-head { align-items: end; }
.section-head h2 { max-width: 25ch; }
body[data-page-type="home"] .block > .section-head,
body[data-page-type="home"] .why > .section-head { padding-top: 18px; border-top: 1px solid var(--line-2); }

/* Home: editorial split hero and ruled facts instead of glass statistic cards. */
.hero { border-radius: 3px; box-shadow: none; }
.hero-stats { gap: 0; border-top: 1px solid rgba(255,255,255,.3); border-bottom: 1px solid rgba(255,255,255,.18); }
.hero-stats li { min-width: 0; padding: 14px 12px 13px 0; border: 0; border-radius: 0; background: transparent; backdrop-filter: none; }
.hero-stats li + li { padding-left: 14px; border-left: 1px solid rgba(255,255,255,.2); }
.hero-stats strong { font-family: var(--mono); font-size: 1.35rem; font-weight: 700; letter-spacing: -.04em; }
.search-panel--hero .search input { border-radius: 2px; box-shadow: none; }
.search-panel--hero .search-btn { min-width: 150px; }

/* Brand and category indexes behave like catalogue shelves, not floating cards. */
.brand-tiles { gap: 0; border-top: 1px solid var(--line-2); }
.brand-tile { min-height: 116px; padding: 18px 42px 17px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; transition: background-color .15s; }
.brand-tile:hover { background: var(--tint); box-shadow: none; }
.brand-tile--all { background: var(--soft); }
.brand-arrow { right: 15px; top: 20px; }
.brand-card, .az-nav a, body[data-page-type="catalog"] .az-group { border: 1px solid var(--line); border-radius: 2px; box-shadow: none; }

.sgroups { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1px; padding: 1px; background: var(--line-2); }
.sgroup { grid-column: span 6; height: 100%; border-radius: 0; box-shadow: none; transition: background-color .15s; }
.sgroup:hover { background: #fbfcfa; transform: none; box-shadow: none; }
.sgroup-art { height: 182px; background: #e9edef; }
.sgroup-art::after { display: none; }
.sgroup-art img { width: 205px; height: 205px; filter: drop-shadow(0 12px 12px rgba(10,31,57,.12)); }
.sgroup:hover .sgroup-art img { transform: translateY(5px) scale(1.015); }
.sgroup-body { padding: 20px 22px 24px; }
.sgroup-icon { right: 18px; top: -20px; width: 38px; height: 38px; border: 1px solid var(--line-2); border-radius: 2px; background: #fff; box-shadow: none; }
.sgroup-list li { padding: 7px 0; }
.sgroups--catalog { padding: 0; background: none; }
.sgroups--catalog .sgroup { border: 1px solid var(--line); }

/* Product grids keep transactional density but lose the repeated raised-card treatment. */
.cards { gap: 1px; padding: 1px; background: var(--line-2); }
.card { border-radius: 0; box-shadow: none; }
.card:hover { z-index: 1; box-shadow: 0 0 0 2px var(--navy-2); }
.card-media { height: 210px; background: #f4f4f0; }
.card-body { padding: 16px 16px 17px; }
.card-brand { font-family: var(--mono); font-size: .72rem; font-weight: 650; letter-spacing: .03em; }
.card-price--rfq { color: var(--navy-2); }
.card-cta, .card .add-req-btn { border-radius: 1px; }
body[data-page-type="brand-category"] .card { border: 0; box-shadow: none; }
body[data-page-type="brand-category"] .card-media { background: #f4f4f0; }

/* Filter bars read as technical controls: square tabs, strong rules, no pill cloud. */
.filters { padding: 18px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); border-radius: 0; background: transparent; box-shadow: none; }
.chips { gap: 5px; }
.chips a, .chips--filter a, .chips--index a, .region-chips li { border: 1px solid var(--line); border-radius: 2px; background: var(--surface); }
.chips--links a { border-color: var(--line); background: var(--surface); }
body[data-page-type="category"] .filters > .filter-group,
body[data-page-type="category"] .filters > .filter-tools,
.filters--engineering > .filter-group,
.filters--engineering > .filter-tools { padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.filters--engineering > .filter-group, .filters--engineering > .filter-tools, .filters--engineering > .filter-status { margin-inline: 0; }

/* Category headers: clean split layouts where the product cut-outs are the visual. */
.category-hero, .bc-hero, .catalog-hero, .brand-hero { border: 1px solid var(--line-2); border-radius: 3px; box-shadow: none; }
.category-hero { background: #f7f7f3; }
.category-hero::before { opacity: .28; }
.category-hero-product { border-radius: 2px; box-shadow: 0 8px 18px rgba(10,31,57,.08); }
.category-hero-note { border-radius: 2px; box-shadow: none; backdrop-filter: none; }
.category-directions, .bc-family-zone { padding: 22px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); border-radius: 0; background: transparent; box-shadow: none; }
.category-direction { border-radius: 2px; background: var(--surface); }
.category-direction:hover { border-color: var(--navy-2); box-shadow: none; transform: none; }
.category-direction-media, .category-direction-copy { background: #f4f4f0; }
.bc-family-grid { gap: 1px; padding: 1px; background: var(--line-2); }
.bc-family { border-radius: 0; box-shadow: none; }
.bc-family:hover { transform: none; box-shadow: inset 0 0 0 2px rgba(255,255,255,.3); }
.bc-family--generic { border: 0; background: #edf0ef; box-shadow: none; }
.bc-family--generic::after { background: linear-gradient(90deg, rgba(247,248,246,.96), rgba(247,248,246,.35) 68%, transparent); }
.bc-family--generic:hover { background: #f8f8f5; box-shadow: inset 0 0 0 2px var(--navy-2); }
.bc-family--generic[aria-current="true"] { box-shadow: inset 0 0 0 2px var(--accent); }

/* RFQ, proof and process sections use document-like ruled structures. */
.home-list-intro { border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 2px; box-shadow: none; }
.lead-source { border-radius: 2px; }
.why-grid { gap: 1px; padding: 1px; background: var(--line-2); }
.why-intro { border-radius: 0; background: var(--navy); }
.why-list { gap: 1px; background: var(--line-2); }
.why-list li, .advantages li { border-radius: 0; box-shadow: none; }
.advantages { gap: 1px; padding: 1px; background: var(--line-2); }
.order-steps, .commercial-steps { gap: 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.order-steps li, .commercial-steps li { border-right: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.order-step-icon, .commercial-step-icon { width: 42px; height: 42px; border-radius: 2px; }
.order-step-icon::after, .commercial-step-icon::after { border-radius: 2px; }
.home-delivery, .commercial-card, .company-card, .contact-guide, .analog-checklist, .analog-catalog, .requisites-company, .requisites-next { border-radius: 2px; box-shadow: none; }

/* Service pages: strong image/copy split and ledger-like facts and regions. */
.commercial-hero { border-radius: 3px; box-shadow: none; }
.commercial-facts { gap: 0; border-top: 1px solid rgba(255,255,255,.26); border-bottom: 1px solid rgba(255,255,255,.18); }
.commercial-facts li { padding: 12px 12px 12px 0; border: 0; border-radius: 0; background: transparent; }
.commercial-facts li + li { padding-left: 14px; border-left: 1px solid rgba(255,255,255,.18); }
.regions, .regions--commercial { gap: 0; border-top: 1px solid var(--line-2); }
.regions li, .regions--commercial li { border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.regions--commercial li:hover { background: var(--surface); border-color: var(--line); box-shadow: none; transform: none; }
.payment-scheme-number { border-radius: 2px; }
.requisites-links a, .contact-messengers a { border-radius: 2px; }
.requisites-link-icon { border-radius: 2px; box-shadow: none; }

/* Utilities follow the same restrained geometry. */
.global-search-shell, .global-search-form input, .global-search-results a,
.utility-close, .back-top, .request-preview-empty > span { border-radius: 3px; }
.request-preview-qty { border-radius: 2px; }
.global-search-head { background: var(--navy); }

@media (min-width: 760px) {
  .commercial-steps li { padding: 24px 24px 28px; }
}
@media (min-width: 900px) {
  .sgroup { grid-column: span 4; }
  .sgroup:nth-child(1) { grid-column: span 7; }
  .sgroup:nth-child(2) { grid-column: span 5; }
  .sgroup:nth-child(-n+2) { grid-template-columns: minmax(190px, .9fr) minmax(0, 1.1fr); }
  .sgroup:nth-child(-n+2) .sgroup-art { height: 100%; min-height: 282px; }
  .sgroup:nth-child(-n+2) .sgroup-icon { top: 18px; }
  .hero { min-height: 560px; border-radius: 3px; }
  .hero-stats li { padding-block: 16px; }
  .commercial-facts li { min-height: 54px; }
}
@media (max-width: 899px) {
  .sgroups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sgroup { grid-column: auto; }
}
@media (max-width: 639px) {
  body { background-size: 100% 32px; }
  .category-direction-grid { inline-size: 100%; max-inline-size: 100%; }
  .sgroups { display: grid; grid-template-columns: 1fr; columns: auto; }
  .sgroup, .sgroups--catalog .sgroup { grid-column: 1; margin: 0; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; }
  .card-media { height: 160px; }
  .card-body { padding: 13px 12px 14px; }
  .card-title { font-size: .95rem; }
  .card-price { font-size: 1.05rem; }
  .commercial-facts { display: grid; grid-template-columns: 1fr; }
  .commercial-facts li + li { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .global-search-shell, .request-preview-shell { border-radius: 3px 3px 0 0; }
}
@media (max-width: 420px) {
  .cards { grid-template-columns: 1fr; }
  .card-media { height: 210px; }
}

/* Final anti-template cleanup: functional labels stay, ornamental pills and empty coloured grid cells do not. */
h2 .count, .dir-chips a { border: 1px solid var(--line); border-radius: 2px; background: var(--surface); }
.adv-icon, .tile-icon, .notfound-icon { border-radius: 2px; }
.tile, .recent-list li, .brand-results-list a, .steps li, .notfound, form.lead {
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: none;
}
.tile:hover, .brand-results-list a:hover { border-color: var(--line-2); box-shadow: none; }
.recent-list { gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.recent-list li { border-top: 0; border-left: 0; }
.steps { gap: 0; }
.steps li + li { border-top: 0; }
.steps li::before, .request-checklist li::before { border-radius: 2px; }
.notfound-icon { width: 42px; height: 42px; }
form.lead { border-top: 4px solid var(--navy); }
.payment-faq::after, .requisites-about::after { display: none; }

.request-hero { border-left: 4px solid var(--accent-bright); border-radius: 3px; background: var(--navy); box-shadow: none; }
.request-hero::after { display: none; }
.request-hero ul { gap: 0; border-top: 1px solid rgba(255,255,255,.25); border-bottom: 1px solid rgba(255,255,255,.16); }
.request-hero li { padding: 9px 14px; border: 0; border-radius: 0; background: transparent; }
.request-hero li + li { border-left: 1px solid rgba(255,255,255,.18); }

/* Исходные фотографии товаров сняты на белом: единая белая подложка убирает заметный прямоугольник файла. */
.card-media,
body[data-page-type="category"] .card-media,
body[data-page-type="brand-category"] .card-media,
.product-media { background: #fff; }

.cards { gap: 0; padding: 0; background: transparent; border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.cards > .card,
body[data-page-type="category"] .cards > .card,
body[data-page-type="brand-category"] .cards > .card { border: 0; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.sgroups { padding: 0; background: transparent; }
.sgroups > .sgroup { border: 1px solid var(--line-2); }

@media (min-width: 900px) {
  .sgroups > .sgroup:nth-child(6):last-child { grid-column: span 12; grid-template-columns: minmax(250px, .55fr) minmax(0, 1.45fr); }
  .sgroups > .sgroup:nth-child(6):last-child .sgroup-art { height: 100%; min-height: 250px; }
  .sgroups > .sgroup:nth-child(6):last-child .sgroup-icon { top: 18px; }
}
@media (max-width: 639px) {
  .request-hero ul { display: grid; }
  .request-hero li + li { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
}
