/* Стили первой версии, часть 2 (до 09.11.2026 - второй встроенный <style> в <head> index.html): после внешних
   css первой версии и до assets/v2/*.css, на прежнем месте - docs/ARCHITECTURE.md, «Порядок CSS».
   При правке поднять ?v= в index.html (tests/asset-versions.test.mjs). */
    /* Шапка по одной линии с контентом страницы. */
    .hd-header,
    .global-hd-header-shell .hd-header,
    body.is-home-d-view .global-hd-header-shell .hd-header {
      --hd-inline: max(24px, calc((100vw - var(--container, 1600px)) / 2));
      align-items: center;
      padding-inline: var(--hd-inline);
    }

    /* ===== Hero внутренних страниц — во всю ширину экрана =====
       Блоки лежат внутри .container (1600px), из-за чего по бокам оставались
       широкие пустые поля. Растягиваем сам блок на всю ширину окна, а текст
       внутри держим по линии контейнера. Главную (вариант D) не трогаем —
       у неё свой полноширинный hero. Подключено после внешних css,
       чтобы не бороться со специфичностью. */
    /* ===== Скругления по всему сайту =====
       Мест с острыми углами оставалось много: фото товаров, плитки,
       факты в hero решений, поля форм. Приводим к общему радиусу. */
    .bp-tile,
    .hd-cat-compare__body,
    .hd-audience-homepane__facts,
    .contacts-service-strip,
    .contacts-list,
    .sol-hero__fact,
    .sol-hero__facts,
    .sol-condition,
    .sol-info__item,
    .sol-product__media,
    .dlv-flow__step {
      border-radius: var(--r-lg);
    }

    .bs-product,
    .bs-use-case,
    .price-block,
    .main-photo img,
    .about-hero__meta > div,
    .related-card__media,
    figcaption,
    .hd-audience-panel,
    .hd-audience-homepane__facts,
    .hd-audience-businesspane__facts,
    .hd-deep__shot figcaption,
    .hd-deep figcaption {
      border-radius: var(--r-lg);
    }

    /* Фото в карточках прилегают к верхней кромке — скругляем только сверху */
    .product-card__media,
    .catalog-product-image,
    .hd-popular-product__media,
    .hd-route__media,
    .bs-product__media,
    .hd-audience-homepane__media,
    .hd-audience-businesspane__media {
      border-radius: 0;
      overflow: hidden;
    }

    /* Карточки — белый фон и мягкая тень вместо тонкой рамки со светлой заливкой */
    .dlv-flow__step:hover,
    .dlv-brief__fact:hover,
    .dlv-zone:hover {
      border: 0;
      box-shadow: 0 8px 22px rgba(17, 24, 20, .10);
    }

    /* Иконки на контактах — в стилистике главной: брендовая плашка,
       белая контурная иконка внутри (было: светлая плашка с чёрной картинкой). */
    /* Чистая контурная иконка без плашки: тяжёлый зелёный квадрат
       в мелком размере выглядел грубо */
    .contacts-service-item__icon,
    .contact-line__icon,
    .contacts-address__icon {
      flex: 0 0 auto;
      width: auto;
      height: auto;
      background: none;
      border-radius: 0;
      box-shadow: none;
    }
    .contacts-service-item__icon svg,
    .contact-line__icon svg,
    .contacts-address__icon svg {
      width: 26px;
      height: 26px;
      fill: none;
      /* именно цветом, а не currentColor: правило .contacts-service-item span
         специфичнее и перекрашивало иконку-спан в серый */
      stroke: var(--brand);
      stroke-width: 1.6;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    /* У этих hero контент лежит во внутренней обёртке — центрируем её по контейнеру */
    .bs-hero__inner,
    .sol-hero__content {
      max-width: var(--container, 1600px);
      margin-left: auto;
      margin-right: auto;
      /* Свои боковые отступы обнуляем: линию задаёт центрирование по контейнеру */
      padding-left: 0;
      padding-right: 0;
    }

    /* ===== Подборки: мини-каталог категории, выбор позиций, липкая полоса и форма ===== */

    .bp-sort {
      display: inline-grid;
      gap: 6px;
      justify-items: start;
    }

    .bp-sort select {
      min-width: 236px;
      min-height: 46px;
      padding: 0 14px;
      border: 1px solid var(--line-strong);
      border-radius: var(--r-md);
      background: var(--panel);
      color: var(--ink);
      font: inherit;
      font-size: var(--fs-sm);
      font-weight: var(--fw-regular);
      cursor: pointer;
    }

    .bp-sort select:focus-visible {
      outline: 2px solid var(--brand);
      outline-offset: 1px;
    }

    /* Карточка мини-каталога = <label> с чекбоксом: клик по любому месту отмечает позицию */
    .bp-item {
      position: relative;
      display: grid;
      grid-template-rows: auto minmax(0, 1fr);
      background: var(--panel);
      border: 1px solid transparent;
      border-radius: var(--r-lg);
      box-shadow: 0 2px 10px rgba(17, 24, 20, .06);
      cursor: pointer;
      transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
    }

    .bp-item:hover {
      border-color: var(--line-strong);
      box-shadow: 0 10px 26px rgba(17, 24, 20, .12);
      transform: translateY(-2px);
    }

    .bp-item.is-picked {
      border-color: var(--brand);
      box-shadow: 0 8px 22px rgba(44, 96, 51, .18);
    }

    .bp-item:focus-within {
      outline: 2px solid var(--brand);
      outline-offset: 2px;
    }

    .bp-item__input {
      position: absolute;
      top: 12px;
      right: 12px;
      width: 1px;
      height: 1px;
      opacity: 0;
      pointer-events: none;
    }

    .bp-item__media img,
    .bp-item__media svg {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
    }

    .bp-item__mark {
      position: absolute;
      top: 10px;
      right: 10px;
      width: 28px;
      height: 28px;
      display: grid;
      place-items: center;
      border: 1px solid var(--line-strong);
      border-radius: 50%;
      background: rgba(255, 255, 255, .94);
      transition: background-color .18s ease, border-color .18s ease;
    }

    .bp-item__mark svg {
      width: 15px;
      height: 15px;
      fill: none;
      stroke: var(--line-strong);
      stroke-width: 2.2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .bp-item:hover .bp-item__mark { border-color: var(--brand); }
    .bp-item:hover .bp-item__mark svg { stroke: var(--brand); }
    .bp-item.is-picked .bp-item__mark { background: var(--brand); border-color: var(--brand); }
    .bp-item.is-picked .bp-item__mark svg { stroke: var(--on-dark); }

    /* Количество прямо на карточке: меняется из полосы внизу, поэтому не сдвигает сетку */
    .bp-item__qty {
      position: absolute;
      top: 10px;
      left: 10px;
      z-index: 2;
      display: none;
      /* Индикатор, а не кнопка. pointer-events: none пробрасывал тап на <img>
         внутри <label> и выбор снимался, поэтому клик ловим и гасим в обработчике */
      pointer-events: auto;
      cursor: default;
      touch-action: manipulation;
      padding: 4px 8px;
      border-radius: var(--r-md);
      background: var(--brand);
      color: var(--on-dark);
      font-size: 11.5px;
      line-height: 1;
      font-weight: var(--fw-medium);
    }

    .bp-item.is-picked .bp-item__qty { display: block; }

    /* Подсказка при наведении: только мышь, на тач-устройствах не мешает выбору */
    .bp-item__tip {
      position: absolute;
      left: 50%;
      bottom: calc(100% + 10px);
      /* выше плавающих кнопок связи (68), но ниже липкой полосы (80) */
      z-index: 70;
      width: clamp(200px, 26vw, 300px);
      /* По умолчанию подсказки нет вовсе: на тач-устройствах она не нужна,
         а скрытый видимостью блок раздвигал страницу по горизонтали. */
      display: none;
      gap: 9px;
      padding: 12px 14px 13px;
      border-radius: var(--r-md);
      background: var(--graphite);
      color: rgba(238, 243, 239, .86);
      box-shadow: 0 18px 42px rgba(5, 18, 11, .3);
      font-size: 12.5px;
      line-height: 1.55;
      font-weight: var(--fw-regular);
      text-align: left;
      opacity: 0;
      visibility: hidden;
      transform: translate(-50%, 6px);
      pointer-events: none;
      transition: opacity .16s ease, transform .16s ease, visibility .16s;
    }

    .bp-item__tip::after {
      content: "";
      position: absolute;
      top: 100%;
      left: 50%;
      margin-left: -6px;
      border: 6px solid transparent;
      border-top-color: var(--graphite);
    }

    .bp-item__tip-text { display: block; }

    .bp-item__tip-facts {
      display: grid;
      gap: 5px;
    }

    .bp-item__tip-row {
      display: flex;
      gap: 12px;
      justify-content: space-between;
      padding-top: 5px;
      border-top: 1px solid rgba(255, 255, 255, .12);
      font-size: var(--fs-micro);
    }

    .bp-item__tip-row span { color: rgba(238, 243, 239, .58); font-weight: var(--fw-regular); }
    .bp-item__tip-row b { color: var(--on-dark); font-weight: var(--fw-semibold); white-space: nowrap; }

    @media (hover: hover) and (pointer: fine) {
      .bp-item__tip { display: grid; }

      .bp-item:hover .bp-item__tip,
      .bp-item:focus-within .bp-item__tip {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
      }
    }

    /* На тач-устройствах наведения нет: показываем короткое описание
       обычной строкой в карточке, иначе о товаре там вообще ничего не сказано */
    @media (hover: none), (pointer: coarse) {
      .bp-item__tip {
        display: block;
        position: static;
        inset: auto;
        opacity: 1;
        visibility: visible;
        transform: none;
        width: auto;
        max-width: 100%;
        box-sizing: border-box;
        overflow-wrap: anywhere;
        margin: 4px 14px 12px;
        padding: 0;
        background: none;
        box-shadow: none;
        color: var(--muted);
        font-size: 11.5px;
        line-height: 1.45;
        font-weight: var(--fw-regular);
      }
      .bp-item__tip::after { display: none; }
      .bp-item__tip-facts { display: none; }
      .bp-item__tip-text {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }
    }

    /* Карточка-приглашение рядом с готовым пакетом */
    .bp-cta {
      display: grid;
      /* Блок тянется до высоты пакета: свободное место отдаём шагам,
         иначе внизу оставалась пустая полоса */
      grid-template-rows: auto auto minmax(0, 1fr) auto auto;
      gap: 12px;
      padding: 24px 26px 22px;
      background: var(--panel);
      border: 1px solid var(--line-strong);
      border-radius: var(--r-lg);
    }

    .bp-cta > p {
      margin: 0;
      color: var(--muted);
      font-size: 13.5px;
      line-height: 1.6;
      font-weight: var(--fw-regular);
    }

    .bp-cta__now {
      margin: 0;
      padding: 10px 12px;
      border-radius: var(--r-md);
      background: var(--steel);
      color: var(--brand-deep);
      font-size: var(--fs-meta);
      line-height: 1.45;
      font-weight: var(--fw-regular);
      transition: background-color .18s ease;
    }

    /* Как только что-то отмечено, блок заявки на странице тоже подсвечивается */
    .bp-cta.is-ready {
      border-color: var(--brand);
      box-shadow: 0 10px 28px rgba(44, 96, 51, .14);
    }

    .bp-cta.is-ready .bp-cta__now { background: var(--brand-soft); }

    .bp-cta .bp-btn--ghost:hover {
      background: var(--brand-soft);
      border-color: var(--brand);
    }

    /* Липкая полоса выбора: сами позиции миниатюрами, количество и вход в заявку */
    .bp-bar {
      --bp-bar-bg: rgba(13, 26, 18, .97);
      /* Не полоса во всю ширину, а окно, привязанное к левому нижнему углу:
         правый угол занят плавающими кнопками связи */
      position: fixed;
      left: 24px;
      right: auto;
      bottom: 24px;
      z-index: 80;
      width: min(400px, calc(100vw - 48px));
      padding: 14px;
      border: 1px solid rgba(255, 255, 255, .14);
      border-radius: var(--r-lg);
      background: var(--bp-bar-bg);
      box-shadow: 0 18px 46px rgba(5, 18, 11, .38);
      backdrop-filter: blur(12px);
      transition: background-color .2s ease, box-shadow .2s ease;
    }

    /* С первой отмеченной позицией полоса становится заметнее: это и есть путь к заявке */
    .bp-bar.is-active {
      --bp-bar-bg: rgba(23, 59, 36, .985);
      box-shadow: 0 22px 54px rgba(5, 18, 11, .46);
    }

    .bp-bar__inner {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 8px;
      align-items: stretch;
    }

    .bp-bar__info {
      min-width: 0;
      display: grid;
      gap: 2px;
    }

    .bp-bar__info > span {
      color: rgba(238, 243, 239, .7);
      font-size: 12.5px;
      line-height: 1.4;
      font-weight: var(--fw-regular);
    }

    /* Лента выбранного: прокручивается вбок, полоса от этого не растёт */
    .bp-bar__picks {
      position: relative;
      min-width: 0;
      display: block;
      max-height: min(32vh, 232px);
      padding-right: 4px;
      overflow-y: auto;
      overscroll-behavior: contain;
      /* Полоса прокрутки занимает место и видна всегда: с оверлейной было
         непонятно, что список листается */
      scrollbar-gutter: stable;
    }

    .bp-bar__picks.is-scrollable {
      border-bottom: 1px solid var(--on-dark-line);
      padding-bottom: 6px;
    }

    .bp-bar__picks::-webkit-scrollbar { width: 6px; }
    .bp-bar__picks::-webkit-scrollbar-track { background: transparent; }

    .bp-bar__picks::-webkit-scrollbar-thumb {
      border-radius: var(--r-full);
      background: rgba(255, 255, 255, .34);
    }

    .bp-bar__picks::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, .5); }

    .bp-bar__picks[hidden] { display: none; }

    /* Позиции в окне идут столбиком, а не лентой */
    .bp-bar .bp-chips {
      display: grid;
      grid-auto-flow: row;
      gap: 6px;
      overflow: visible;
    }

    .bp-bar .bp-chip { width: 100%; }

    .bp-chips {
      display: flex;
      gap: 8px;
      align-items: center;
      overflow-x: auto;
      overflow-y: hidden;
      padding: 2px 2px 4px;
      scrollbar-width: thin;
      scrollbar-color: rgba(255, 255, 255, .28) transparent;
      -webkit-overflow-scrolling: touch;
      overscroll-behavior-x: contain;
    }

    .bp-chips::-webkit-scrollbar { height: 5px; }
    .bp-chips::-webkit-scrollbar-track { background: transparent; }
    .bp-chips::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .26); border-radius: var(--r-sm); }

    .bp-chip {
      position: relative;
      flex: 0 0 auto;
      display: flex;
      /* Управление и крестик стоят плотнее друг к другу */
      gap: 4px;
      align-items: center;
      padding: 4px;
      border: 1px solid var(--on-dark-line);
      border-radius: var(--r-md);
      background: rgba(255, 255, 255, .08);
    }

    .bp-chip__media {
      width: 36px;
      height: 36px;
      flex: 0 0 auto;
      display: block;
      border-radius: var(--r-sm);
      background: var(--steel);
      overflow: hidden;
    }

    .bp-chip__media img,
    .bp-chip__media svg {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
    }

    /* Название видно в самом чипе: на тач-экранах атрибут title не показывается никогда */
    .bp-chip__body {
      min-width: 0;
      flex: 1 1 auto;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    /* Название занимает всё свободное место, поэтому управление количеством
       у всех позиций стоит по правому краю, а не сразу за коротким названием */
    .bp-chip__label { flex: 1 1 auto; }
    .bp-chip__qty { margin-left: auto; }

    /* Подпись чипа в две строки: сверху название, снизу объём и конфигурация.
       Без второй строки «…750 л на колёсах с крышкой» и «…750 л без колёс»
       обрезаются в одинаковое «Оцинкованны…» */
    .bp-chip__label {
      min-width: 0;
      max-width: 226px;
      display: grid;
      gap: 1px;
    }

    /* Название целиком в две строки: обрезка в одну строку делала «Оцинкованный
       контейнер 1100 л, на колёсах, с крышкой» и «…, без колёс, без крышки»
       неразличимым «Оцинкованны…» */
    .bp-chip__name {
      min-width: 0;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      color: var(--on-dark);
      font-size: 12.5px;
      line-height: 1.25;
      font-weight: var(--fw-semibold);
      white-space: normal;
      overflow-wrap: anywhere;
    }

    .bp-chip__vol {
      min-width: 0;
      overflow: hidden;
      color: rgba(238, 243, 239, .82);
      font-size: 11px;
      line-height: 1.3;
      font-weight: var(--fw-regular);
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    .bp-chip__qty {
      flex: 0 0 auto;
      display: flex;
      align-items: center;
      gap: 1px;
    }

    .bp-chip__step {
      width: 32px;
      height: 32px;
      padding: 0;
      display: grid;
      place-items: center;
      border: 0;
      border-radius: var(--r-sm);
      background: rgba(255, 255, 255, .1);
      cursor: pointer;
      transition: background-color .16s ease, opacity .16s ease;
    }

    .bp-chip__step svg {
      width: 14px;
      height: 14px;
      fill: none;
      stroke: var(--on-dark);
      stroke-width: 2.2;
      stroke-linecap: round;
    }

    .bp-chip__step:hover { background: rgba(255, 255, 255, .22); }
    .bp-chip__step:disabled { opacity: .34; cursor: default; }
    .bp-chip__step:disabled:hover { background: rgba(255, 255, 255, .1); }

    /* Количество в полосе - только текст: поле ввода у нижней кромки перекрывает клавиатура */
    .bp-chip__num {
      min-width: 26px;
      padding: 0 2px;
      display: block;
      color: var(--on-dark);
      font-size: var(--fs-meta);
      line-height: 1;
      font-weight: var(--fw-semibold);
      text-align: center;
      font-variant-numeric: tabular-nums;
    }

    .bp-chip__drop {
      width: 32px;
      height: 32px;
      padding: 0;
      display: grid;
      place-items: center;
      border: 0;
      border-radius: var(--r-sm);
      background: transparent;
      cursor: pointer;
      transition: background-color .16s ease;
    }

    .bp-chip__drop svg {
      width: 14px;
      height: 14px;
      fill: none;
      stroke: rgba(238, 243, 239, .72);
      stroke-width: 2.1;
      stroke-linecap: round;
    }

    .bp-chip__drop:hover { background: rgba(214, 96, 78, .3); }
    .bp-chip__drop:hover svg { stroke: var(--on-dark); }

    /* Хвост длинной ленты сворачивается в «ещё N» - оттуда открывается полный список в шторке */

    /* Мобильная конструкция полосы: стопка миниатюр + итог одной большой кнопкой.
       Степперы и крестик на узком экране живут в шторке заявки */
    .bp-bar__peek {
      display: none;
      align-items: center;
      gap: 10px;
      width: 100%;
      min-height: 48px;
      margin: 0;
      padding: 5px 10px;
      border: 1px solid rgba(255, 255, 255, .18);
      border-radius: var(--r-lg);
      background: rgba(255, 255, 255, .08);
      color: var(--on-dark);
      font: inherit;
      text-align: left;
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
      touch-action: manipulation;
      transition: background-color .16s ease, border-color .16s ease;
    }

    .bp-bar__peek[hidden] { display: none; }

    .bp-bar__peek:hover,
    .bp-bar__peek:focus-visible {
      background: rgba(255, 255, 255, .17);
      border-color: rgba(255, 255, 255, .34);
    }

    .bp-bar__thumbs {
      flex: 0 0 auto;
      display: flex;
      align-items: center;
    }

    /* Миниатюры внахлёст: набор виден целиком и не занимает ширину ленты */
    .bp-bar__thumb {
      box-sizing: border-box;
      width: 34px;
      height: 34px;
      flex: 0 0 auto;
      display: grid;
      place-items: center;
      margin-left: -9px;
      border: 1.5px solid rgba(20, 48, 30, .92);
      border-radius: var(--r-sm);
      background: var(--steel);
      overflow: hidden;
    }

    .bp-bar__thumb:first-child { margin-left: 0; }

    .bp-bar__thumb img,
    .bp-bar__thumb svg {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
    }

    /* Остаток набора: отдельный кружок рядом со стопкой, а не поверх последнего фото */
    .bp-bar__thumb--more {
      width: auto;
      min-width: 34px;
      padding: 0 7px;
      margin-left: 5px;
      border-color: rgba(255, 255, 255, .26);
      background: rgba(255, 255, 255, .16);
      color: var(--on-dark);
      font-size: 11.5px;
      line-height: 1;
      font-weight: var(--fw-medium);
    }

    .bp-bar__peek-txt {
      min-width: 0;
      flex: 1 1 auto;
      display: grid;
      gap: 1px;
    }

    .bp-bar__peek-txt strong {
      overflow: hidden;
      color: var(--on-dark);
      font-size: var(--fs-meta);
      line-height: 1.25;
      font-weight: var(--fw-semibold);
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    .bp-bar__peek-txt span {
      overflow: hidden;
      color: rgba(238, 243, 239, .76);
      font-size: 11.5px;
      line-height: 1.3;
      font-weight: var(--fw-regular);
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    .bp-bar__peek-arrow {
      width: 18px;
      height: 18px;
      flex: 0 0 auto;
      fill: none;
      stroke: rgba(238, 243, 239, .82);
      stroke-width: 2.1;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .bp-bar__actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
      justify-content: flex-end;
    }

    /* .bp-btn задаёт display, иначе атрибут hidden не срабатывает */
    .bp-btn[hidden] { display: none; }

    .bp-bar__go svg {
      width: 17px;
      height: 17px;
      flex: 0 0 auto;
      fill: none;
      stroke: currentColor;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    /* Одноразовый импульс на первой отметке: подсказывает, где заявка */
    @keyframes bp-go-pulse {
      0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); }
      70% { box-shadow: 0 0 0 13px rgba(255, 255, 255, 0); }
      100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
    }

    .bp-bar.is-bump .bp-bar__go { animation: bp-go-pulse 1.1s ease-out 2; }

    .bp-bar__clear {
      min-height: 32px;
      padding: 8px 10px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid transparent;
      border-radius: var(--r-md);
      background: none;
      color: rgba(238, 243, 239, .72);
      font: inherit;
      font-size: 12.5px;
      font-weight: var(--fw-medium);
      text-decoration: underline;
      text-underline-offset: 3px;
      cursor: pointer;
      transition: color .16s ease, background-color .16s ease, border-color .16s ease;
    }

    .bp-bar__clear:hover { color: var(--on-dark); }
    .bp-bar__clear[hidden] { display: none; }

    /* Первый тап только взводит кнопку: набор стирается вторым */
    .bp-bar__clear.is-armed {
      border-color: rgba(214, 96, 78, .78);
      background: rgba(214, 96, 78, .26);
      color: var(--on-dark);
      text-decoration: none;
      font-weight: var(--fw-medium);
    }

    /* Мобильная нижняя навигация каталога живёт на другом экране, но подстрахуемся */
    body.is-category-view.has-bp-bar .mobile-catalog-nav {
      bottom: calc(var(--bp-bar-h, 120px) + 12px);
    }

    /* Форма заявки: панель снизу со списком выбранных позиций */
    .bp-sheet {
      position: fixed;
      inset: 0;
      z-index: 120;
      display: grid;
      align-items: center;
      justify-items: center;
      padding: 24px 16px;
    }

    .bp-sheet[hidden] { display: none; }

    .bp-sheet__backdrop {
      position: absolute;
      inset: 0;
      background: rgba(8, 14, 10, .62);
      opacity: 0;
      transition: opacity .2s ease;
    }

    .bp-sheet.is-open .bp-sheet__backdrop { opacity: 1; }

    .bp-sheet__panel {
      position: relative;
      width: min(760px, 100%);
      max-height: min(88vh, 900px);
      display: grid;
      grid-template-rows: auto minmax(0, 1fr);
      background: var(--panel);
      border-radius: var(--r-lg);
      box-shadow: 0 26px 70px rgba(5, 18, 11, .38);
      opacity: 0;
      transform: translateY(18px);
      transition: opacity .22s ease, transform .22s ease;
    }

    .bp-sheet__panel:focus { outline: none; }
    .bp-sheet.is-open .bp-sheet__panel { opacity: 1; transform: translateY(0); }

    .bp-sheet__head {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 12px 18px;
      align-items: start;
      padding: 20px 24px 16px;
      border-bottom: 1px solid var(--line);
    }

    .bp-sheet__head h3 {
      margin: 2px 0 0;
      font-size: 21px;
      line-height: 1.2;
      font-weight: var(--fw-semibold);
    }

    .bp-sheet__count {
      margin: 5px 0 0;
      color: var(--muted);
      font-size: 12.5px;
      font-weight: var(--fw-regular);
    }

    .bp-sheet__close {
      width: 40px;
      height: 40px;
      display: grid;
      place-items: center;
      border: 1px solid var(--line-strong);
      border-radius: var(--r-md);
      background: var(--panel);
      cursor: pointer;
      transition: border-color .18s ease, background-color .18s ease;
    }

    .bp-sheet__close svg {
      width: 18px;
      height: 18px;
      fill: none;
      stroke: var(--ink);
      stroke-width: 1.8;
      stroke-linecap: round;
    }

    .bp-sheet__close:hover { border-color: var(--brand); background: var(--brand-soft); }

    /* Одна колонка и прокрутка сверху вниз: сначала весь список позиций,
       потом форма. Две колонки заставляли скакать глазами и обрезали список. */
    .bp-sheet__body {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 20px;
      align-items: start;
      padding: 20px 24px 24px;
      overflow-y: auto;
      overscroll-behavior: contain;
    }

    .bp-sheet__items { min-width: 0; }

    .bp-sheet__empty {
      margin: 0;
      padding: 16px 18px;
      border: 1px dashed var(--line-strong);
      border-radius: var(--r-md);
      color: var(--muted);
      font-size: var(--fs-meta);
      line-height: 1.6;
      font-weight: var(--fw-regular);
    }

    .bp-picked {
      margin: 0;
      padding: 0;
      display: grid;
      gap: 8px;
      list-style: none;
    }

    .bp-picked__row {
      display: grid;
      grid-template-columns: 60px minmax(0, 1fr) auto auto auto;
      gap: 12px;
      align-items: center;
      padding: 8px;
      border: 1px solid var(--line);
      border-radius: var(--r-md);
      background: var(--panel);
    }

    .bp-picked__qty {
      display: flex;
      align-items: center;
      gap: 2px;
      padding: 2px;
      border: 1px solid var(--line);
      border-radius: var(--r-md);
      background: var(--steel);
    }

    .bp-picked__step {
      width: 28px;
      height: 28px;
      display: grid;
      place-items: center;
      border: 0;
      border-radius: var(--r-sm);
      background: var(--panel);
      cursor: pointer;
      transition: background-color .16s ease, opacity .16s ease;
    }

    .bp-picked__step svg {
      width: 14px;
      height: 14px;
      fill: none;
      stroke: var(--brand-deep);
      stroke-width: 2.2;
      stroke-linecap: round;
    }

    .bp-picked__step:hover { background: var(--brand-soft); }
    .bp-picked__step:disabled { opacity: .4; cursor: default; }
    .bp-picked__step:disabled:hover { background: var(--panel); }

    .bp-picked__num {
      width: 34px;
      height: 28px;
      padding: 0;
      border: 0;
      background: transparent;
      color: var(--ink);
      font: inherit;
      font-size: 13.5px;
      font-weight: var(--fw-semibold);
      text-align: center;
    }

    .bp-picked__num:focus { outline: 2px solid var(--brand); outline-offset: 1px; }

    .bp-picked__media {
      width: 60px;
      height: 60px;
      display: block;
      border-radius: var(--r-sm);
      background: var(--steel);
      overflow: hidden;
    }

    .bp-picked__media img,
    .bp-picked__media svg {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
    }

    .bp-picked__body {
      min-width: 0;
      display: grid;
      gap: 2px;
    }

    .bp-picked__body strong {
      font-size: var(--fs-meta);
      line-height: 1.35;
      font-weight: var(--fw-semibold);
    }

    .bp-picked__body small {
      color: var(--muted);
      font-size: 11.5px;
      font-weight: var(--fw-regular);
    }

    .bp-picked__price {
      color: var(--brand-deep);
      font-size: 13.5px;
      font-weight: var(--fw-semibold);
      white-space: nowrap;
    }

    .bp-picked__drop {
      width: 32px;
      height: 32px;
      display: grid;
      place-items: center;
      border: 1px solid var(--line);
      border-radius: var(--r-sm);
      background: var(--panel);
      cursor: pointer;
      transition: border-color .18s ease, background-color .18s ease;
    }

    .bp-picked__drop svg {
      width: 15px;
      height: 15px;
      fill: none;
      stroke: var(--muted);
      stroke-width: 1.9;
      stroke-linecap: round;
    }

    .bp-picked__drop:hover { border-color: #b3402f; background: #fbeceb; }
    .bp-picked__drop:hover svg { stroke: #b3402f; }

    .bp-picked__total {
      display: flex;
      flex-wrap: wrap;
      gap: 4px 12px;
      align-items: baseline;
      justify-content: space-between;
      margin-top: 12px;
      padding-top: 12px;
      border-top: 1px solid var(--line);
    }

    .bp-picked__total span {
      color: var(--muted);
      font-size: 12.5px;
      font-weight: var(--fw-regular);
    }

    .bp-picked__total strong {
      color: var(--brand-deep);
      font-size: 20px;
      font-weight: var(--fw-semibold);
      white-space: nowrap;
    }

    /* Снять весь набор можно из шторки: на узком экране полоса эту кнопку не показывает */
    .bp-picked__foot {
      display: flex;
      justify-content: flex-end;
      margin-top: 12px;
    }

    .bp-picked__clear {
      min-height: 40px;
      padding: 9px 14px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--line-strong);
      border-radius: var(--r-md);
      background: var(--panel);
      color: var(--muted);
      font: inherit;
      font-size: var(--fs-meta);
      font-weight: var(--fw-medium);
      cursor: pointer;
      touch-action: manipulation;
      transition: color .16s ease, background-color .16s ease, border-color .16s ease;
    }

    .bp-picked__clear:hover { border-color: #b3402f; background: #fbeceb; color: #b3402f; }

    /* Первый тап только взводит кнопку: набор стирается вторым */
    .bp-picked__clear.is-armed {
      border-color: #b3402f;
      background: #fbeceb;
      color: #a3372a;
      font-weight: var(--fw-medium);
    }

    .bp-sheet .bp-form {
      padding: 0;
      border: 0;
      background: none;
    }

    body.has-bp-sheet { overflow: hidden; }

    /* Пока открыта форма, полоса не нужна: место под неё остаётся зарезервированным */
    body.has-bp-sheet .bp-bar { visibility: hidden; }

    @media (max-width: 1100px) {
      .bp-sheet__body { grid-template-columns: minmax(0, 1fr); }
    }

    /* Ниже 1100px окно перестраивается: содержимое в ряд, кнопка уходит вправо вниз */
    @media (max-width: 1100px) {
      .bp-bar__inner,
      .bp-bar.is-empty .bp-bar__inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px 12px;
      }
      .bp-bar__actions { display: contents; }
      .bp-bar__picks { order: 1; flex: 1 1 100%; }
      .bp-bar__info { order: 2; flex: 1 1 200px; }
      .bp-bar__clear { order: 3; flex: 0 0 auto; padding: 6px 4px; }
      .bp-bar__go { order: 4; flex: 0 0 auto; }
    }

    @media (max-width: 860px) {
      .bp-mini__head { grid-template-columns: minmax(0, 1fr); align-items: start; }
      .bp-sort { justify-items: stretch; width: 100%; }
    }

    @media (max-width: 640px) {
      /* Раскладка полосы на узком экране задаётся ниже, в блоке max-width: 900px */
      .bp-item__qty { top: 8px; left: 8px; padding: 3px 6px; font-size: 11px; }
      .bp-sheet__panel { max-height: 92vh; }
      .bp-sheet__head { padding: 16px 16px 14px; }
      .bp-sheet__head h3 { font-size: var(--fs-h3); }
      .bp-sheet__body { padding: 16px; gap: 16px; }
      .bp-picked__row { grid-template-columns: 52px minmax(0, 1fr) auto; row-gap: 8px; column-gap: 10px; }
      /* Название переносится в несколько строк - фото и крестик держим у верхней кромки */
      .bp-picked__media,
      .bp-picked__drop { align-self: start; }
      .bp-picked__media { width: 52px; height: 52px; }
      .bp-picked__qty { grid-row: 2 / 3; grid-column: 1 / 3; justify-self: start; }
      .bp-picked__price { grid-row: 2 / 3; grid-column: 3 / 4; justify-self: end; }
      .bp-picked__drop { grid-row: 1 / 2; grid-column: 3 / 4; }
    }

    /* Пальцевые зоны: количество и удаление на тач-экранах правятся в шторке,
       поэтому её кнопки не меньше 44x44, а «+» и удаление разведены */
    /* Тач-планшет шире мобильной границы: лента чипов ещё видна, а палец тот же */
    @media (pointer: coarse) {
      .bp-chip__step,
      .bp-chip__drop { width: 44px; height: 44px; }
    }

    @media (pointer: coarse), (max-width: 900px) {
      .bp-chip { column-gap: 10px; }
      .bp-chip__step,
      .bp-chip__drop { width: 40px; height: 40px; }
      .bp-chip__step svg,
      .bp-chip__drop svg { width: 15px; height: 15px; }
      .bp-chip__num { min-width: 28px; font-size: 13.5px; }
      .bp-bar__clear { min-height: 40px; padding: 8px 12px; }

      .bp-sheet__close { width: 44px; height: 44px; }
      .bp-picked__row { column-gap: 12px; row-gap: 10px; }
      .bp-picked__step { width: 44px; height: 44px; }
      .bp-picked__step svg { width: 16px; height: 16px; }
      .bp-picked__num { width: 48px; height: 44px; font-size: var(--fs-ui); }
      .bp-picked__drop { width: 44px; height: 44px; }
      .bp-picked__drop svg { width: 17px; height: 17px; }
      /* Зазор между «+» и удалением не меньше 12px */
      .bp-picked__price { margin: 0 4px; }
      .bp-picked__clear { min-height: 44px; padding: 11px 16px; }
      /* Название позиции видно целиком: обрезки до неразличимости быть не должно */
      .bp-picked__body strong { font-size: 13.5px; }
    }

    /* Низкий экран (телефон в альбомной): полоса в одну строку и не съедает высоту */
    @media (max-height: 560px) {
      .bp-bar { padding: 10px; }
      .bp-bar__inner,
      .bp-bar.is-empty .bp-bar__inner {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 10px;
      }
      .bp-bar__actions { display: contents; }
      .bp-bar:not(.is-empty) .bp-bar__info { display: none; }
      .bp-bar__picks { order: 1; flex: 1 1 auto; min-width: 0; }
      .bp-bar__clear { order: 2; flex: 0 0 auto; }
      .bp-bar__go { order: 3; flex: 0 0 auto; width: auto; padding: 9px 14px; min-height: 40px; font-size: var(--fs-meta); }
      .bp-chips { gap: 8px; padding: 1px 1px 2px; }
      .bp-chip { padding: 3px; }
      .bp-chip__media { width: 28px; height: 28px; }
      .bp-chip__body { flex-direction: row; align-items: center; gap: 8px; }
      .bp-chip__label { max-width: 116px; }
      .bp-chip__name { font-size: var(--fs-micro); }
    }

    /* ≤900px: полоса — компактное напоминание и вход в шторку.
       Лента чипов со степперами в узкий экран физически не помещается:
       чип 242px при видимой ширине ленты 366px давал «Оцинкованны…» у всех позиций */
    @media (max-width: 900px) {
      .bp-bar__inner,
      .bp-bar.is-empty .bp-bar__inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
      }
      .bp-bar__actions { display: contents; }
      /* Лента чипов и деструктивное «Снять выбор» остаются десктопу.
         Очистить набор можно из шторки заявки */
      .bp-bar__picks,
      .bp-bar__clear { display: none; }
      .bp-bar:not(.is-empty) .bp-bar__info { display: none; }
      .bp-bar.is-empty .bp-bar__peek { display: none; }
      .bp-bar__peek { display: flex; order: 1; flex: 1 1 100%; }
      .bp-bar__info { order: 1; flex: 1 1 100%; gap: 0; }
      .bp-bar__info strong { display: none; }
      .bp-bar__go { order: 2; flex: 1 1 100%; padding: 10px 14px; font-size: 13.5px; }
    }

    /* Самые узкие телефоны (320px): миниатюры и подписи чуть меньше */
    @media (max-width: 359px) {
      .bp-bar { padding: 9px; }
      .bp-bar__peek { gap: 8px; padding: 4px 8px; }
      .bp-bar__thumb { width: 30px; height: 30px; margin-left: -8px; }
      .bp-bar__thumb--more { min-width: 30px; margin-left: 4px; padding: 0 6px; }
      .bp-bar__peek-txt strong { font-size: 12.5px; }
      .bp-bar__peek-txt span { font-size: 11px; }
      .bp-bar__peek-arrow { width: 16px; height: 16px; }
      .bp-bar__go { padding: 10px 10px; font-size: var(--fs-meta); }
    }

    /* Телефон в альбомной: сводка и кнопка в одну строку */
    @media (max-width: 900px) and (max-height: 560px) {
      .bp-bar { padding: 9px; }
      .bp-bar__inner,
      .bp-bar.is-empty .bp-bar__inner { flex-wrap: nowrap; gap: 10px; }
      .bp-bar__peek { flex: 1 1 auto; min-height: 44px; }
      .bp-bar__peek-txt span { display: none; }
      .bp-bar__info { flex: 1 1 auto; }
      .bp-bar__go { flex: 0 0 auto; width: auto; min-height: 44px; padding: 9px 14px; font-size: var(--fs-meta); }
    }

    @media (max-width: 760px) {
      body.has-cart-items.is-business-selection-view.has-bp-bar:not(.is-category-view):not(.is-quote-view) .mobile-cart-fab {
        bottom: calc(var(--bp-bar-h, 120px) + 12px);
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .bp-item,
      .bp-item__tip,
      .bp-sheet__panel,
      .bp-sheet__backdrop { transition: none; }
      .bp-item:hover { transform: none; }
      .bp-bar.is-bump .bp-bar__go { animation: none; }
    }

    /* ----- Тендеры: заявка прямо на странице (trq-) ----- */

    /* Липкая шапка не должна накрывать начало секции при переходе по якорю */

    .trq__picked-count {
      padding: 3px 11px;
      border: 1px solid var(--line-strong);
      border-radius: var(--r-full);
      background: var(--panel);
      color: var(--muted);
      font-size: var(--fs-micro);
      font-weight: var(--fw-regular);
      white-space: nowrap;
    }

    .trq__picked-link:hover { color: var(--brand-deep); border-bottom-color: var(--brand-deep); }

    .trq__picked-item {
      display: grid;
      grid-template-columns: 22px minmax(0, 1fr);
      gap: 10px;
      align-items: baseline;
      padding: 9px 12px;
      border: 1px solid var(--line);
      border-radius: var(--r-md);
      background: var(--panel);
      color: var(--ink);
      font-size: 13.5px;
      font-weight: var(--fw-regular);
      line-height: 1.45;
      overflow-wrap: anywhere;
    }

    .trq .field input[aria-invalid="true"] {
      border-color: #f3a33b;
      box-shadow: 0 0 0 3px rgba(243, 163, 59, .18);
    }

    .trq__legal {
      flex: 1 1 240px;
      margin: 0;
      color: var(--muted);
      font-size: 12.5px;
      font-weight: var(--fw-regular);
      line-height: 1.5;
    }

    .trq__media figcaption {
      padding: 14px 16px 16px;
      color: var(--muted);
      font-size: 12.5px;
      font-weight: var(--fw-regular);
      line-height: 1.55;
    }

    .trq__fact-ic {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 38px;
      height: 38px;
      border-radius: var(--r-md);
      background: var(--brand-soft);
      color: var(--brand-deep);
    }

    .trq__fact-ic svg {
      width: 19px;
      height: 19px;
      fill: none;
      stroke: currentColor;
      stroke-width: 1.8;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .trq__fact strong {
      display: block;
      color: var(--ink);
      font-size: var(--fs-sm);
      font-weight: var(--fw-semibold);
      line-height: 1.3;
    }

    .trq__fact span {
      display: block;
      margin-top: 4px;
      color: var(--muted);
      font-size: 12.5px;
      font-weight: var(--fw-regular);
      line-height: 1.5;
    }

    @media (max-width: 1180px) {
      /* Колонки выравниваются по высоте: фото тянется, подпись остаётся видимой */
      .trq__media { display: flex; flex-direction: column; }
      /* height: 0, а не auto: вертикальное фото иначе разворачивается во всю высоту
         и растягивает соседнюю колонку с фактами */
      .trq__media img { flex: 1 1 auto; height: 0; min-height: 220px; }
    }

    @media (max-width: 860px) {
      .trq__media { display: block; }
      .trq__media img { height: 220px; min-height: 0; }
    }

    /* Быстрая заявка с главной: модалка поверх страницы. Поведение и стилистика - как у .bp-sheet */
    .quote-popup {
      /* 100dvh там, где он есть: на мобильных панель не уезжает под адресную строку */
      --qp-vh: 100vh;
      position: fixed;
      inset: 0;
      z-index: 1200;
      display: grid;
      place-items: center;
      padding: 32px 24px;
    }

    @supports (height: 100dvh) {
      .quote-popup { --qp-vh: 100dvh; }
    }

    .quote-popup[hidden] { display: none; }

    .quote-popup__backdrop {
      position: absolute;
      inset: 0;
      background: rgba(8, 14, 10, .72);
      opacity: 0;
      transition: opacity .2s ease;
    }

    .quote-popup.is-open .quote-popup__backdrop { opacity: 1; }

    .quote-popup__panel {
      position: relative;
      width: min(560px, 100%);
      max-height: min(calc(var(--qp-vh) * .92), 900px);
      display: grid;
      grid-template-rows: auto minmax(0, 1fr);
      border-radius: var(--r-lg);
      background: var(--panel);
      box-shadow: 0 28px 68px rgba(5, 18, 11, .38);
      opacity: 0;
      transform: translateY(18px);
      transition: opacity .22s ease, transform .22s ease;
    }

    .quote-popup__panel:focus { outline: none; }
    .quote-popup.is-open .quote-popup__panel { opacity: 1; transform: translateY(0); }

    .quote-popup__head {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 12px 18px;
      align-items: start;
      padding: 20px 24px 14px;
      border-bottom: 1px solid var(--line);
    }

    .quote-popup__sub {
      margin: 7px 0 0;
      color: var(--muted);
      font-size: var(--fs-meta);
      line-height: 1.55;
      font-weight: var(--fw-regular);
    }

    .quote-popup__close {
      width: 40px;
      height: 40px;
      display: grid;
      place-items: center;
      border: 1px solid var(--line-strong);
      border-radius: var(--r-md);
      background: var(--panel);
      cursor: pointer;
      transition: border-color .18s ease, background-color .18s ease;
    }

    .quote-popup__close svg {
      width: 18px;
      height: 18px;
      fill: none;
      stroke: var(--ink);
      stroke-width: 1.8;
      stroke-linecap: round;
    }

    .quote-popup__close:hover { border-color: var(--brand); background: var(--brand-soft); }

    .quote-popup__form {
      display: grid;
      gap: 12px;
      align-content: start;
      padding: 18px 24px 20px;
      overflow-y: auto;
    }

    .quote-popup__row {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }

    .quote-popup__actions {
      display: grid;
      gap: 10px;
    }

    .quote-popup__legal {
      margin: 0;
      color: var(--muted);
      font-size: 12.5px;
      font-weight: var(--fw-regular);
      line-height: 1.5;
    }

    @media (max-height: 820px) {
      .quote-popup { padding: 16px 24px; }
      .quote-popup__panel { max-height: calc(var(--qp-vh) - 32px); }
    }

    @media (max-width: 640px) {
      .quote-popup__row { grid-template-columns: minmax(0, 1fr); }
    }

    @media (prefers-reduced-motion: reduce) {
      .quote-popup__panel,
      .quote-popup__backdrop { transition: none; }
    }

    /* ----- Оформление: поиск «Добавить позицию» на узких экранах.
       Живёт здесь, потому что mobile.css грузится раньше этого блока. ----- */
    @media (max-width: 760px) {
      .quote-add__suggest { max-height: 60vh; }
      .quote-add__item { grid-template-columns: 46px minmax(0, 1fr) auto; gap: 10px; }
      .quote-add__media { width: 46px; height: 46px; }
    }

    /* 1. Первый экран */
    .mvo-hero {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 280px;
      gap: 56px;
      align-items: center;
      width: 100%;
    }

    .mvo-hero__text { min-width: 0; }


    .mvo-hero__facts.sol-hero__facts {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Вертикальные ролики с телефона: карточка 9:16, постер из фото, кнопка запуска поверх */
    .mvo-video {
      position: relative;
      margin: 0;
      overflow: hidden;
      aspect-ratio: 9 / 16;
      border-radius: var(--r-lg);
      background: #0b1a10;
    }

    .mvo-video video {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      cursor: pointer;
    }

    .mvo-video__poster {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: opacity var(--speed);
      pointer-events: none;
    }

    .mvo-video.is-started .mvo-video__poster { opacity: 0; }

    .mvo-video__play {
      position: absolute;
      top: 50%;
      left: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 66px;
      height: 66px;
      border: 0;
      border-radius: 50%;
      background: rgba(255, 255, 255, .94);
      color: var(--brand-deep);
      box-shadow: 0 12px 30px rgba(0, 0, 0, .32);
      cursor: pointer;
      transform: translate(-50%, -50%);
      transition: transform var(--speed), background-color var(--speed), opacity var(--speed);
    }

    .mvo-video__play:hover { background: var(--surface); transform: translate(-50%, -50%) scale(1.06); }

    /* Пока ролик идёт, кнопку прячем; клик по самому видео ставит на паузу */
    .mvo-video.is-playing .mvo-video__play { opacity: 0; pointer-events: none; }
    .mvo-video.is-playing .mvo-video__play:focus-visible { opacity: 1; }

    /* 2. Почему удобно: четыре карточки */

    .mvo-why__ic svg,
    .mvo-term__ic svg {
      width: 24px;
      height: 24px;
      fill: none;
      stroke: currentColor;
      stroke-width: 1.7;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .mvo-why__item p {
      margin: 0;
      color: var(--muted);
      font-size: var(--fs-sm);
      line-height: 1.6;
      font-weight: var(--fw-regular);
    }

    /* 3. Выбор контейнера: три карточки, BM1100 — основная */

    .mvo-pick__media img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }

    /* Каталожное фото на белом фоне: показываем целиком, а не режем */

    .mvo-pick__lead {
      margin: 0;
      color: var(--muted);
      font-size: var(--fs-sm);
      line-height: 1.55;
      font-weight: var(--fw-regular);
    }

    .mvo-pick__variant {
      min-height: 36px;
      padding: 0 14px;
      border: 0;
      border-radius: var(--r-md);
      background: transparent;
      color: var(--muted);
      font: inherit;
      font-size: var(--fs-meta);
      font-weight: var(--fw-medium);
      cursor: pointer;
      transition: background-color var(--speed), color var(--speed), box-shadow var(--speed);
    }

    .mvo-pick__price span {
      display: block;
      margin-top: 4px;
      color: var(--muted);
      font-size: 12.5px;
      font-weight: var(--fw-regular);
    }

    .mvo-pick__actions .btn { min-height: 46px; padding-inline: 22px; }

    /* 4. Проверка совместимости: текст + три вертикальных кадра */

    .mvo-compat__text > p {
      margin: 16px 0 0;
      color: var(--muted);
      font-size: var(--fs-body);
      line-height: 1.6;
      font-weight: var(--fw-regular);
    }

    .mvo-compat__list li {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      font-size: var(--fs-ui);
      line-height: 1.45;
      font-weight: var(--fw-regular);
    }

    .mvo-compat__list svg {
      flex: 0 0 auto;
      width: 22px;
      height: 22px;
      fill: none;
      stroke: var(--brand);
      stroke-width: 2.2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    /* 5. Доказательства: цифры, производство, отгрузки */
    .mvo-stats {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 20px;
      margin-bottom: 28px;
    }

    /* Плейсхолдер: цифру или город заказчик ещё не дал — заметная пунктирная плашка */

    .mvo-subhead p {
      margin: 10px 0 0;
      color: var(--muted);
      font-size: var(--fs-ui);
      line-height: 1.6;
      font-weight: var(--fw-regular);
    }

    /* 6. Условия для компаний: список + фото брендирования */

    .mvo-term > div { min-width: 0; }

    .mvo-term div span {
      display: block;
      margin-top: 5px;
      color: var(--muted);
      font-size: 13.5px;
      line-height: 1.55;
      font-weight: var(--fw-regular);
    }

    /* 7. Форма расчёта партии — на странице, без попапа */

    .mvo-form .field input[aria-invalid="true"] {
      border-color: #f3a33b;
      box-shadow: 0 0 0 3px rgba(243, 163, 59, .18);
    }

    .mvo-form__legal {
      flex: 1 1 240px;
      margin: 0;
      color: var(--muted);
      font-size: 12.5px;
      line-height: 1.5;
      font-weight: var(--fw-regular);
    }

    .mvo-form .qf-sent { margin-top: 0; }

    @media (min-width: 1600px) {
      .mvo-hero { grid-template-columns: minmax(0, 1fr) 320px; gap: 72px; }
    }

    @media (max-width: 1050px) {
      .mvo-hero { grid-template-columns: minmax(0, 1fr) 240px; gap: 32px; }
    }

    @media (max-width: 680px) {
      .mvo-hero { grid-template-columns: minmax(0, 1fr); gap: 22px; }
      /* Плитки на телефоне — горизонтальная лента, чтобы кадры не мельчали */
      .mvo-compat__media::-webkit-scrollbar,
      .mvo-gallery::-webkit-scrollbar { display: none; }
      .mvo-stats { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    }

    /* ===== Данные из админки (docs/ADMIN.md) ===== */
    /* Второй телефон, Telegram и часы работы скрыты, пока их не заполнят в настройках;
       блоки data-setting-show (реквизиты на «Контактах» и в оферте, юрназвание в подвале) - пока пусто.
       !important нужен против display у ссылок футера, строк контактов и сетки раздела оферты. */
    [data-setting-optional][hidden],
    [data-setting-show][hidden] { display: none !important; }
    .contacts-address__hours {
      display: block;
      margin-top: 6px;
      color: var(--muted);
      font-size: var(--fs-sm);
      font-weight: var(--fw-regular);
    }
    /* balance: часы переносятся после запятой, а не на дефисе «12:00-» / «13:00» */
    .footer-contacts__hours { display: block; margin-top: 6px; text-wrap: balance; }

    /* Реквизиты из «Контакты и реквизиты» админки: страница контактов и подвал */
    .contacts-requisites {
      margin-top: 40px;
      padding: 28px 30px;
    }

    .contacts-requisites h2 {
      margin: 8px 0 14px;
      font-size: 26px;
      line-height: 1.15;
    }

    .requisites-text {
      margin: 0;
      color: var(--ink);
      font-size: var(--fs-ui);
      line-height: 1.7;
      overflow-wrap: anywhere;
    }

    /* Строка прижата влево: справа внизу экрана висят кнопки «Позвонить» и WhatsApp */
    .footer-bottom {
      display: flex;
      flex-wrap: wrap;
      gap: 6px 24px;
      margin-top: 32px;
      padding-top: 20px;
      border-top: 1px solid var(--line);
      color: var(--muted);
      font-size: var(--fs-meta);
      line-height: 1.5;
    }

    .footer-bottom__legal {
      display: flex;
      flex-wrap: wrap;
      gap: 2px 16px;
    }

    .footer-bottom__legal[hidden],
    .footer-bottom__legal [hidden] { display: none; }

    @media (max-width: 760px) {
      .contacts-requisites {
        margin-top: 32px;
        padding: 22px 18px;
      }
    }

    /* Свои страницы и новости: оформление HTML из редактора админки */
    .cms-content h3 { margin: 18px 0 8px; font-size: 19px; }
    .cms-content h4 { margin: 14px 0 6px; font-size: var(--fs-body); }
    .cms-content img { display: block; max-width: 100%; height: auto; margin: 16px 0; border-radius: var(--r-lg); }
    .cms-content figure { margin: 18px 0; }
    .cms-content figure img { margin: 0; }
    .cms-content figcaption { margin-top: 8px; color: var(--muted); font-size: var(--fs-meta); }
    .cms-content blockquote {
      margin: 18px 0;
      padding: 14px 18px;
      border-left: 3px solid var(--brand);
      border-radius: 0 var(--r-md) var(--r-md) 0;
      background: var(--brand-soft);
      color: var(--ink);
    }
    .cms-content table { width: 100%; margin: 18px 0; border-collapse: collapse; font-size: var(--fs-ui); }
    .cms-content th,
    .cms-content td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
    .cms-content th { background: #f7faf8; font-weight: var(--fw-semibold); }
    .cms-content hr { margin: 22px 0; border: 0; border-top: 1px solid var(--line); }
    @media (max-width: 680px) {
      .cms-content table { display: block; overflow-x: auto; }
    }
    .news-article__placeholder { display: grid; place-items: center; width: 100%; height: 100%; }
    .news-article__media .news-article__placeholder img { width: 42%; height: auto; aspect-ratio: auto; object-fit: contain; opacity: .45; }

    /* Приманка для ботов в формах заявок: человек её не видит и не заполняет */
    .lead-hp {
      position: absolute !important;
      left: -10000px !important;
      width: 1px !important;
      height: 1px !important;
      overflow: hidden !important;
      opacity: 0 !important;
      pointer-events: none !important;
    }
    /* Заявка не ушла: сеть или сервер. Текст говорит, что делать дальше */
    .lead-error {
      margin: 12px 0 0;
      padding: 11px 14px;
      border-left: 3px solid #b3261e;
      border-radius: 0 var(--r-md) var(--r-md) 0;
      background: #fdf0ef;
      color: #8c1d18;
      font-size: var(--fs-meta);
      font-weight: var(--fw-medium);
      line-height: 1.55;
    }
    .lead-error[hidden] { display: none; }
    .toast.toast--error { background: #8c1d18; }
    [aria-busy="true"].btn,
    button[aria-busy="true"] { cursor: progress; opacity: .7; }
