/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/menu/style.css */
/* HEADER TOP MENU */
.header-top-menu .menu__links {
  display: flex;
  column-gap: 44px;
  align-items: center;
}
/* ВНИМАНИЕ (LPD-16, 5/5): верхняя полоса меню лежит на БЕЛОМ фоне (тёмная подложка —
   у шапки с логотипом ниже). Активный пункт здесь на #1C7BAC даёт 4.69:1 — трогать не нужно.
   Осветлённый акцент, наоборот, ломает контраст (3.39:1). Тёмный фон — только у меню футера. */

/* FOOTER MENU */
.footer-menu-links {
  display: flex;
  row-gap: 20px;
  flex-direction: column;
}
.footer-menu-links .menu__title {
  font-size: 1rem;
  font-weight: var(--fw-bold);
  font-family: var(--font-2);
  color: var(--primary-white-blue);
}
/* LPD-17 Э9: заголовок-переключатель — <button>; на десктопе он выглядит и ведёт
   себя как обычный заголовок (списки там раскрыты всегда). */
.footer-menu-links .menu__title--toggle {
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: default;
}
.footer-menu-links .menu__links {
  display: flex;
  row-gap: 15px;
  flex-direction: column;

  font-size: 0.88rem;
  font-weight: var(--fw-regular);
  color: var(--primary-white);

  /* LPD-16 (5/5): футер тёмный — активный пункт на общем --primary-grey-blue (#1C7BAC)
     давал 3.51:1. На мобильных это единственный видимый активный пункт (верхнее меню скрыто). */
  --link-active-color: var(--color-accent-on-dark);
}
/* LPD-17 Э9 (ТЗ §5.5 стр. 8): на мобильном меню подвала действительно сворачивается.
   Правило скрытия стояло закомментированным, поэтому клик по заголовку переключал
   класс .show вхолостую, а четыре раскрытых списка растягивали подвал на экраны. */
@media screen and (max-width: 768px) {
  .footer-menu-links .menu__title--toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 12px;
    min-height: 44px; /* WCAG 2.5.5 */
    cursor: pointer;
  }
  /* Шеврон рисуем рамкой: отдельная иконка ради одного треугольника не нужна */
  .footer-menu-links .menu__title--toggle::after {
    content: '';
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin-right: 4px;
    border-right: 2px solid var(--color-text-on-dark-muted);
    border-bottom: 2px solid var(--color-text-on-dark-muted);
    transform: translateY(-2px) rotate(45deg);
    transition: transform .2s ease;
  }
  .footer-menu-links .menu__title--toggle[aria-expanded="true"]::after {
    transform: translateY(2px) rotate(-135deg);
  }
  .footer-menu-links .menu__links:not(.show) {
    display: none;
  }
}

/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/footer/style.css */
footer {
  overflow: hidden;

  @media screen and (max-width: 768px) {
    /* Панель 56px + воздух: пересчитано вместе с её высотой (ТЗ §7.4) */
    padding-bottom: 72px;
  }
}

.footer-wrap {
  margin: 0 auto;
  width: var(--container);
}

/* TOP */
#footer_top {
  --link-color: var(--primary-white);
  /* LPD-17 Э9 (ТЗ §7.4): ховер ссылок подвала — акцент для тёмного фона.
     Дефолтный --primary-blue (#1877B8) на #191F2D даёт 3.4:1 и на наведении
     ссылка становилась хуже читаемой, чем в покое. */
  --link-hover-color: var(--color-accent-on-dark);

  display: flex;
  column-gap: 105px;
  align-items: stretch;
  justify-content: space-between;

  padding: 56px 0;
  color: var(--primary-white);
  position: relative;

  @media screen and (max-width: 768px) {
    padding: 30px 0 36px;
    row-gap: 16px;
    column-gap: 0;
    flex-wrap: wrap;
    justify-content: start;
  }
}
#footer_top::before {
  content: '';
  z-index: -1;
  position: absolute;
  top: 0;
  left: 50%;
  bottom: 0;
  background-color: var(--primary-grey);
  width: 1000vw;
  transform: translateX(-50%);
}
#footer_left {
  width: 300px;
  display: flex;
  row-gap: 24px;
  flex-direction: column;
  
  @media screen and (max-width: 768px) {
    width: 100%;
  }
}
#footer__logo {
  max-width: 300px;
}
/* 06.08.2026: блок «Рассчитаем под ваш проект» на месте формы подписки.
   Ширину не задаём — колонка #footer_left уже 300px, а на мобильном она 100%.
   Кнопка растянута по колонке: на 375px это даёт тач-цель во всю ширину,
   что для подвала удобнее, чем кнопка по содержимому. */
.footer-cta {
  display: flex;
  row-gap: 12px;
  flex-direction: column;
  align-items: flex-start;
}
.footer-cta__text {
  font-size: 14px;
  line-height: 1.45;
  color: var(--primary-white);
  opacity: .85;
}
.footer-cta__button {
  width: 100%;
}
#footer__socials {
  display: flex;
  column-gap: 24px;
  align-items: center;
}
.footer-socials-title {
  white-space: nowrap;
  font-weight: var(--fw-regular);
  font-size: 0.88rem;
}
.socials.footer-socials .icon {
  --icon-size: 32px;
  --icon-fill: var(--primary-light-grey2);
}

/* LPD-19 (A-03): иконки соцсетей в подвале были 32×32 при норме 44. Сама иконка
   остаётся 32px (правило выше) — растёт только зона нажатия, поэтому вид подвала не
   меняется. Только мобильная ширина: на десктопе указатель точный, а в подвале плотная
   раскладка. В попапе обратного звонка те же иконки уже 46×46 — там править нечего.
   ⚠️ Селектор целится в `.link` ВНУТРИ обёртки, а не в саму `.socials__link`: последняя —
   это <div>, а кликабельна вложенная <a class="link link--icon">. Правило на обёртке
   раздувает некликабельный контейнер и тач-цель не увеличивает вовсе. */
.socials.footer-socials .socials__link .link {
  @media screen and (max-width: 768px) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }
}
#footer_info_links {
  @media screen and (max-width: 768px) {
    margin-top: 16px;
    width: 100%;
    max-width: 245px;
  }

  @media screen and (max-width: 500px) {
    max-width: none;
  }
}
#footer_catalog_links {
  @media screen and (max-width: 768px) {
    padding-top: 16px;
    width: 100%;
    max-width: 245px;
  }

  @media screen and (max-width: 500px) {
    max-width: none;
    border-top: 1px solid var(--primary-grey5);
  }
}
#footer_right {
  @media screen and (max-width: 768px) {
    padding-top: 16px;
    width: 100%;
    max-width: 245px;
  }

  @media screen and (max-width: 500px) {
    max-width: none;
    border-top: 1px solid var(--primary-grey5);
  }
}
#footer_right .list__item {
  font-size: 0.88rem;
}
#footer_right .list__item::before {
  top: 8px;
}

/* BOTTOM */
#footer_bottom {
  --link-color: var(--primary-color);

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 12px 0;
  font-size: .88rem;

  @media screen and (max-width: 768px) {
    row-gap: 12px;
    flex-direction: column;
    align-items: start;
  }
}
/* LPD-16 (5/5) Оплата и реквизиты в подвале */
.footer-payments {
  display: flex;
  align-items: center;
}
.footer-payments__img {
  height: 24px;
  width: auto;
  max-width: 100%;
  opacity: .85;
}
#footer_requisites {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 0 0 12px;
  font-size: .75rem;
  line-height: 1.4;
  color: var(--primary-grey2);
}
@media screen and (max-width: 768px) {
  #footer_requisites {
    gap: 3px 12px;
    /* правая зона занята фиксированным чат-виджетом — переносим строку до него */
    padding-right: 64px;
  }
}
/* MOBILE PANEL — LPD-17 Э9 (ТЗ §7.4).
   Было: 50px, тень вверх и пять немых иконок 22px без подписей (имя жило только
   в aria-label). Стало: 56px, волосяная граница вместо тени, иконка 24px + подпись
   11/600, активный раздел акцентом. */
.footer-mobile-panel {
  z-index: 5;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;

  display: flex;
  align-items: stretch;

  width: 100%;
  /* env(safe-area-inset-bottom) — полоса под домашним индикатором iPhone (34px в портрете,
     0 на устройствах без выреза). Без неё подписи «Главная/Каталог/…» упирались в
     индикатор, а нижние пиксели панели уходили под него. Высота растёт ровно на эту
     полосу, содержимое остаётся на своих 56px. */
  height: calc(56px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-hairline);

  @media screen and (min-width: 769px) {
    display: none;
  }
}
.footer-mobile-panel__item {
  /* Зона тапа — равная доля ширины на всю высоту панели (WCAG 2.5.5). */
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  row-gap: 2px;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  color: var(--color-text-muted);
  text-decoration: none;
}
.footer-mobile-panel__item .icon {
  --icon-size: 24px;
  --icon-fill: var(--color-text-muted);
}
.footer-mobile-panel__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-mobile-panel__label {
  font-size: 11px;
  font-weight: var(--fw-semibold);
  line-height: var(--leading-none);
  white-space: nowrap;
}
.footer-mobile-panel__item:is(:hover, .link--active, .button--active) {
  color: var(--color-accent-strong);
}
.footer-mobile-panel__item:is(:hover, .link--active, .button--active) .icon {
  --icon-fill: var(--color-accent-strong);
}
/* Счётчик — бейдж у иконки, а не подпись: подпись занята названием раздела */
.footer-mobile-panel__count {
  position: absolute;
  left: 60%;
  bottom: 60%;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  background-color: var(--color-accent);
  font-size: 10px;
  font-weight: var(--fw-bold);
  line-height: var(--leading-none);
  color: var(--primary-white);
  font-variant-numeric: tabular-nums;
}
/* Пульс при изменении корзины/избранного. 19.08.2026: на телефоне цифра менялась
   бесшумно, и добавление товара выглядело как «ничего не произошло» — замечание
   владельца. Класс ставит и снимает basket/script.js (и его близнец в account).
   Этот же keyframes использует счётчик в шапке — basket/header/style.css. */
@keyframes counter-bump {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.4); }
  100% { transform: scale(1); }
}
.footer-mobile-panel__count.counter-bump {
  animation: counter-bump .4s ease-out;
}
@media screen and (prefers-reduced-motion: reduce) {
  .footer-mobile-panel__count.counter-bump {
    animation: none;
  }
}

/* LPD-19 (M-07): последний магический цвет подвала. #252e3b — прорезь глифа в плашке
   третьей соцсети; заменён на ближайший объявленный токен --color-ink-raised (#232A38),
   разница ниже порога различимости. Остальные упоминания цветов в этом файле сидят
   внутри комментария про контраст (строка 19) и значениями не являются.
   ⚠️ Вне этой правки: плашка той же иконки залита #259EDC — акцентом, который LPD-16 1.4
   заменил на #1877B8 ради WCAG. Цвет задан в самом SVG, не здесь. */
.footer-socials .socials__link:nth-child(3) .icon svg path:last-child {
  fill: var(--color-ink-raised);
}

/* LPD-19 (A-03): юридические ссылки подвала (политика, согласие, условия продажи) были
   18px в высоту. В перечне A-03 их нет — они появились позже аудита, вместе с юрправками
   06.08, — но дефект тот же. Это стопка ссылок, поэтому зону нажатия расширяем реальной
   высотой, а не псевдоэлементом: иначе соседние цели наложились бы. */
.menu.footer-bottom-links .menu__links .link {
  @media screen and (max-width: 768px) {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/cookie/style.css */
/* Уведомление о cookie. 06.08.2026, задача 7 плана lpd-19-legal-remediation.

   Полоса снизу, а не модальное окно: уведомление информирует, а не спрашивает
   разрешения (счётчик по решению владельца стартует сразу), поэтому перекрывать
   им контент и требовать реакции незачем. */
.cookie-notice {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 98; /* под шапкой (99), над остальным */

  padding: 14px 0;
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-hairline);
  box-shadow: 0 -4px 16px rgba(30, 30, 30, .08);
}
.cookie-notice[hidden] {
  display: none;
}
.cookie-notice__inner {
  margin: 0 auto;
  width: var(--container);

  display: flex;
  column-gap: 24px;
  row-gap: 12px;
  align-items: center;
  justify-content: space-between;

  @media screen and (max-width: 768px) {
    flex-direction: column;
    align-items: stretch;
  }
}
.cookie-notice__text {
  /* Текст забирает свободное место, кнопка — только своё. Без явного flex базовая
     ширина текста считается по min-content: он сжимается в узкую колонку, а кнопка
     растягивается на весь остаток. */
  flex: 1 1 auto;
  min-width: 0;

  font-size: 0.81rem;
  line-height: 1.45;
  color: var(--color-text-secondary);
}
.cookie-notice__text a {
  --link-color: var(--primary-blue);
}
.cookie-notice .cookie-notice__button {
  --button-height: 44px; /* тач-цель по правилу AGENTS.md */
  flex: 0 0 auto;
  width: auto;
  min-width: 160px;

  @media screen and (max-width: 768px) {
    width: 100%;
  }
}

/* На мобильном снизу висит панель навигации (footer/panel, 56px + воздух).
   Без отступа уведомление легло бы прямо на неё. */
@media screen and (max-width: 768px) {
  .cookie-notice {
    bottom: 72px;
  }
}

/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/float/style.css */
.float {
  z-index: 5;
  position: fixed;
  right: 20px;
  bottom: 20px;

  /* 70px = высота .footer-mobile-panel (56px) плюс зазор 14px; env(safe-area-inset-bottom)
     добавляет полосу домашнего индикатора, на которую панель подросла. */
  @media screen and (max-width: 768px) {
    bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  }
}

/* В корзине и на оформлении к нижней панели добавляется вторая фиксированная полоса —
   кнопка «Оформить заказ» на всю ширину (#basket-checkout .button, 65px, bottom: 56px).
   Виджет стоял на своих 70px и садился прямо на её правый край: у виджета z-index 5,
   у кнопки 4, поэтому круг перекрывал сумму заказа и часть зоны нажатия — на телефоне
   промах по кнопке оплаты вместо открытия чата.

   Поднимаем виджет над кнопкой: 56px панель + 65px кнопка + тот же зазор 14px. Условие
   на #basket-checkout, а не на класс страницы: класса корзины на <body> нет
   (setBodyClasses в теме не вызывается), зато сама кнопка есть ровно на тех двух
   страницах, где мешает. :has() в теме уже используется — _blocks/steps/style.css. */
body:has(#basket-checkout) .float {
  @media screen and (max-width: 768px) {
    bottom: calc(135px + env(safe-area-inset-bottom, 0px));
  }
}

.float__buttons {
  z-index: 0;
  position: absolute;
  left: 50%;
  bottom: calc(100% - 30px);
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  padding: 10px 8px 30px;
  transition: .3s;
}
.float__buttons::before {
  content: '';
  z-index: -1;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: calc(100% - 24px);
  border-radius: var(--radius-sm);
  background-color: var(--primary-white);
  box-shadow: var(--shadow-1);
}
/* LPD-17 Э11: раскрытое состояние — это либо наведение (чистый CSS), либо явное
   переключение кликом/клавиатурой (класс float--open от script.js). Прежний
   класс float--hover ставился ОБОИМИ путями сразу — инлайновым onmouseenter в
   разметке и обработчиком клика со своим флагом — из-за чего они расходились и
   кнопка «залипала». Селекторы ниже читают одно и то же состояние. */
.float:hover .float__buttons,
.float--open .float__buttons {
  opacity: 1;
  visibility: visible;
  bottom: calc(100% - 2px);
}
.float__buttons .socials {
  row-gap: 12px;
  flex-direction: column;
  position: relative;
}
.float__buttons .link {
  --link-icon-fill: var(--color-ink);
  --link-active-icon-fill: var(--color-ink);
}
.float__buttons .link:hover {
  --link-icon-fill: var(--color-accent);
  --link-active-icon-fill: var(--color-accent);
}
/* LPD-19 (A-03): плавающие кнопки связи были 32×32. В перечне A-03 они не названы —
   там только подвал и шапка, — но это ровно та же мелкая цель вне основной навигации,
   причём на постоянном оверлее и с самой высокой ценой промаха: это основной способ
   позвонить с телефона. Иконка остаётся 32px, растёт только зона нажатия. */
.float__buttons .socials__link .link {
  @media screen and (max-width: 768px) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }
}
.float__buttons .icon {
  --icon-size: 32px;
  overflow: hidden;
  /* border-radius: var(--radius-sm); */
  /* background-color: var(--primary-white); */
}

/* LPD-17 Э11 (ТЗ §3.5): зелёный снят. Кнопка была --primary-green3 #7ac142 в
   покое и --primary-green5 #2ED6BF в раскрытом состоянии — единственный крупный
   зелёный объект на сайте, который спорил со статусом «в наличии»
   (--color-stock-in) и висел поверх любой страницы.

   Взят --color-ink: это цвет рамы сайта (шапка, подвал, тёмные секции), белая
   иконка на нём даёт 16.5:1, и виджет перестаёт претендовать на роль акцента.
   Синим он становится ровно на время взаимодействия — правило §3.4 «синяя
   заливка остаётся у действия» не нарушено: постоянной синей поверхности на
   экране не появляется. */
.float-button {
  --button-width: 60px;
  --button-height: 60px;
  --button-icon-size: 24px;
  --button-background: var(--color-ink);
  --button-hover-background: var(--color-accent);
  /* Белое кольцо обязательно, а не для красоты: кнопка fixed и проезжает над
     тёмными поверхностями сайта, которые сделаны тем же --color-ink — замер
     показал точки с контрастом 1:1 (тёмная секция «Почему мы» на главной, тёмный
     блок на категории). Заливка там сливается с фоном, и границу кнопки держит
     только это кольцо: 16.5:1 к ink. На белом поле оно невидимо, работает
     заливка. Требование WCAG 1.4.11 к нетекстовым элементам закрыто на любой
     подложке. */
  --button-border: var(--primary-white);

  cursor: pointer;
  border-radius: var(--radius-circle);
  box-shadow: 0 0 0 1px var(--primary-white), var(--shadow-1);

  @media screen and (max-width: 768px) {
  --button-width: 50px;
  --button-height: 50px;
  }
}
.float:hover .float-button,
.float--open .float-button {
  --button-background: var(--color-accent);
  --button-hover-background: var(--color-accent);
}
.float:hover .float-button .icon--message,
.float--open .float-button .icon--message {
  display: none;
}
.float-button .icon--close {
  --button-icon-size: 32px;
}
.float:not(:hover):not(.float--open) .float-button .icon--close {
  display: none;
}
.float-button::before, .float-button::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
  border-radius: var(--radius-circle);
  border: 2px solid var(--button-background);
  width: 105%;
  height: 105%;
  opacity: .9;
  animation: floatButton_animate 2s infinite cubic-bezier(.1,.2,.3,1);
    -webkit-animation: floatButton_animate 2s infinite cubic-bezier(.1,.2,.3,1);
    -moz-animation: floatButton_animate 2s infinite cubic-bezier(.1, .2, .3, 1);
    -o-animation: floatButton_animate 2s infinite cubic-bezier(.1, .2, .3, 1);
  box-sizing: border-box;
  cursor: pointer;
  pointer-events: none;
}
.float-button::after {
  -webkit-animation-delay: -1.5s;
  animation-delay: -1.5s;
}
.float:hover .float-button::before,
.float:hover .float-button::after,
.float--open .float-button::before,
.float--open .float-button::after {
  content: none;
}
@keyframes floatButton_animate {
  100% {
    width: 200%;
    height: 200%;
    border-color: transparent;
    opacity: 0;
  }
}

/* Иконки соцсетей приходят готовым SVG из админки (pxl.getSocials → icon_str), и
   в разметке у путей зашит fill="#259EDC" — тот самый яркий синий, который Э6
   убрал из палитры темы. Презентационный атрибут на самом <path> не перебивается
   ни --link-icon-fill, ни fill на родительском <svg>, поэтому перекраска
   возможна только правилом по <path>.

   Было: пять правил по :nth-child со своим набором путей у каждой иконки и
   fill: #7ac142 !important. Они держались на ПОРЯДКЕ соцсетей в админке —
   добавление или перестановка ссылки красила не тот путь; вдобавок каждая
   иконка выходила двухцветной (зелёная подложка + синий глиф).

   Стало: одно правило по значению самого атрибута. Оно попадает ровно в те пути,
   что пришли синими, не зависит от порядка ссылок и не трогает белый глиф
   пятой иконки (fill="#ffffff") — иначе он слился бы с подложкой.

   Цвет берётся из --link-icon-fill, который уже объявлен выше на самой ссылке и
   переключается на синий по :hover — второго источника правды не заводим. */
.float__buttons .socials__link .icon svg path[fill="#259EDC"] {
  fill: var(--link-icon-fill, var(--color-ink));
  transition: fill 0.3s;
}
/* Пока висит тост «добавлено в корзину» (basket/script.js ставит на body класс
   has-basket-toast), кнопка чата уступает ему место: оба сидят в правом нижнем углу,
   и на 375px они накладываются друг на друга. Подтверждение заказа важнее чата, а
   висит оно 5 секунд. */
body.has-basket-toast .float {
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility .18s ease;
}

/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/popup/style.css */
.popup {
  z-index: 9999;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s;
}
.popup--open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.popup__overlay {
  z-index: 0;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  
  opacity: .6;
  background-color: var(--primary-grey);
}
.popup__container {
  z-index: 1;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  width: var(--popup-container-width, 480px);
  max-width: 90%;
  min-height: 80px;
  max-height: calc(100vh - var(--popup-height-offset, 80px));
  padding: var(--popup-container-padding, 46px);
  padding-top: var(--popup-container-padding-top, var(--popup-container-padding, 30px));
  padding-right: 0;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--primary-white);

  @media screen and (max-width: 525px) {
    max-width: 100%;
    height: 100%;
    max-height: 100%;

    padding: var(--popup-mobile-container-padding, 24px);
    padding-top: var(--popup-mobile-container-padding-top, var(--popup-mobile-container-padding, 30px));
  }
}
.popup--top .popup__container {
  left: 50%;
  top: 138px;
  transform: translate(-50%, 0);
}
.on-scroll .popup--top .popup__container {
  top: 94px !important;
}
.popup--right .popup__container {
  left: auto;
  right: calc((100vw - var(--container)) / 2);
  top: 50%;
  transform: translate(0, -50%);
}
.popup--top.popup--right .popup__container {
  left: auto;
  right: calc((100vw - var(--container)) / 2);
  top: 138px;
  transform: translate(0, 0);
}
.popup__body {
  padding-right: var(--popup-container-padding, 54px);
  overflow-y: auto;
  scroll-behavior: smooth;
  max-height: calc(100vh - var(--popup-height-offset, 80px) - (var(--popup-container-padding-top, var(--popup-container-padding, 30px)) + var(--popup-container-padding, 46px)));

  @media screen and (max-width: 525px) {
    width: calc(100% + var(--popup-mobile-container-padding, 24px));
    max-width: calc(100% + var(--popup-mobile-container-padding, 24px));
    max-height: calc(100vh * 1);
    padding-right: var(--popup-mobile-container-padding, 24px);
  }
}
.popup--top .popup__body {
  --popup-height-offset: 138px;
  /* padding-bottom: 138px; */
}
.on-scroll .popup--top .popup__body {
  --popup-height-offset: 94px;
  /* padding-bottom: 94px; */
}

.popup__close {
  z-index: 2;
  position: absolute;
  right: 20px;
  top: 20px;
  
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: .3s;
  border: 1px solid transparent;
  background-color: var(--primary-white-grey);
}
.popup__close svg {
  width: 15px;
  height: 15px;
}
.popup__close svg path {
  transition: .3s;
  fill: var(--primary-light-grey2);
}
.popup__close:hover {
  border-color: var(--primary-blue);
  background-color: var(--primary-light-blue);
  box-shadow: 0px 6px 8.2px 0px var(--primary-blue-opacity);
}
.popup__close:hover svg path {
  fill: var(--primary-white);
}
.popup__close:hover:active {
  box-shadow: none;
  border-color: transparent;
  background-color: var(--primary-grey-blue);
}

.popup__title {
  font-size: var(--popup-title-size, 1.25rem);
  font-weight: var(--fw-bold);
  font-family: var(--font-2);
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 24px;

  display: flex;
  column-gap: 12px;
  align-items: center;
  justify-content: center;
  /* Крестик закрытия висит absolute в правом верхнем углу (40px + 20px отступа): без
     коридора под него заголовок «Заказать звонок» на 320px заезжал под кнопку и терял
     последнюю букву. Слева столько же, чтобы центровка осталась честной. */
  padding-inline: 52px;
  flex-wrap: wrap;
  overflow-wrap: break-word;
}
.popup__title[data-align="left"] {
  text-align: left;
  justify-content: start;
  /* Коридор под крестик нужен только справа: слева он сдвинул бы левый заголовок
     («Ваш заказ», «Заявка отправлена») на 52px от края попапа. */
  padding-left: 0;
}
.popup__title span {
  font-weight: var(--fw-regular);
}

/* LPD-15 (2.4) Быстрый заказ «в 1 клик» */
.quickorder__hint {
  margin: 0 0 4px;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--primary-grey2);
}
.quickorder__product {
  margin-bottom: 4px;
  font-size: 0.9375rem;
  font-weight: var(--fw-bold);
  color: var(--primary-color);
}
.quickorder__product:empty {
  display: none;
}
/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/popup/basket/style.css */
#popup-basket {
  @media screen and (max-width: 768px) {
    display: none !important;
  }
}

#popup-basket .popup__container {
  --popup-title-size: 1.5rem;
  --popup-container-width: 600px;
  --popup-container-padding: 34px;
  --popup-container-padding-top: 32px;

  /* padding-bottom: 120px; */
}
#popup-basket .popup__title span {
  font-size: 0.875rem;
  font-weight: var(--fw-regular);
  font-family: var(--font);
  color: var(--primary-grey5);
  margin-top: auto;
}

.basket-popup {
  display: flex;
  row-gap: 30px;
  flex-direction: column;
}
.basket-popup__item {
  display: flex;
  column-gap: 24px;
  align-items: center;
}
.basket-popup__image {
  width: 110px;
  min-width: 110px;
  height: 82px;
  overflow: hidden;
}
.basket-popup__image img {
  display: block;
  object-fit: cover;
}
.basket-popup__name {
  width: 100%;
  min-height: 43px;
  font-size: 0.875rem;
  font-weight: var(--fw-regular);
  color: var(--primary-color);
}
.basket-popup__article {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--primary-grey3);
}
.basket-popup__option {
  margin-top: 10px;
  font-size: 0.8rem;
}
.basket-popup__prices {
  min-height: 43px;
  min-width: 120px;
  display: flex;
  row-gap: 6px;
  flex-direction: column;
  align-items: end;
}
.basket-popup__price {
  font-size: 1.25rem;
  font-weight: var(--fw-semibold);
  color: var(--primary-color);
}
.basket-popup__oldprice {
  font-size: 0.875rem;
  font-weight: var(--fw-regular);
  text-decoration: line-through;
  color: var(--primary-white-blue);
}
.basket-popup__separator {
  width: 100%;
  height: 1px;
  background-color: var(--primary-grey-opacity3);
}

.basket-popup-buttons {
  --button-height: 53px;
  --button-font-size: 1rem;

  display: flex;
  column-gap: 24px;
  align-items: center;
  margin-top: 35px;
}

/* ─── ТОСТ «ДОБАВЛЕНО В КОРЗИНУ». 19.08.2026 ────────────────────────────────────
   Подтверждение для телефона: попап корзины на ≤768px скрыт правилом в начале этого
   же файла, и до этой правки нажатие «В корзину» не давало на экране ничего. Тост
   живёт только на мобильной ширине — на десктопе ту же работу делает попап.
   Стили лежат здесь, а не в basket/style.css: тот грузится лишь на странице корзины,
   а тост нужен там, где есть кнопка «В корзину», то есть на любой странице каталога.
   Разметку создаёт basket/script.js, точное значение bottom тоже ставит он: низ экрана
   занят по-разному (панель навигации, кнопки покупки на карточке, уведомление о cookie). */
.basket-toast {
  z-index: 97; /* выше панели (5) и чат-виджета, ниже cookie-уведомления (98) и шапки (99) */
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 68px;

  display: grid;
  grid-template-columns: auto 1fr auto;
  column-gap: 12px;
  row-gap: 12px;
  align-items: start;

  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background-color: var(--color-surface);
  box-shadow: 0 10px 30px rgba(25, 31, 45, .18);

  opacity: 0;
  transform: translateY(14px);
  transition: opacity .18s ease, transform .18s ease;
}
.basket-toast--visible {
  opacity: 1;
  transform: none;
}
.basket-toast[hidden] {
  display: none;
}
.basket-toast__mark {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-circle);
  background-color: var(--color-stock-in);
  color: var(--primary-white);
}
.basket-toast__body {
  min-width: 0; /* иначе длинное название распирает грид и тост вылезает за экран */
}
.basket-toast__title {
  font-size: 0.94rem;
  font-weight: var(--fw-semibold);
  line-height: var(--leading-tight);
  color: var(--color-text);
}
.basket-toast__name {
  margin-top: 4px;
  /* Название позиции бывает длинным («Вагонка штиль из сосны 12.5х96 мм 6 м, сорт AB») —
     две строки, дальше многоточие: тост не должен расти на пол-экрана. */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;

  font-size: 0.81rem;
  line-height: 1.35;
  color: var(--color-text-secondary);
}
.basket-toast__name[hidden],
.basket-toast__meta[hidden] {
  display: none;
}
.basket-toast__meta {
  margin-top: 6px;
  font-size: 0.88rem;
  font-weight: var(--fw-semibold);
  line-height: var(--leading-none);
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
}
.basket-toast__close {
  /* Тач-цель 44px (AGENTS.md), сам крестик мелкий — отсюда отрицательные поля:
     без них кнопка распирала бы верхнюю строку тоста. */
  width: 44px;
  height: 44px;
  margin: -12px -12px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;

  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  color: var(--color-text-muted);
}
.basket-toast__link {
  grid-column: 1 / -1;
  /* width обязателен: normalize.css:195 даёт всем <a> max-width: max-content, и без него
     кнопка съёживается по тексту вместо ширины тоста (ловушка описана в DOMAIN_MAP §12). */
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: var(--radius-md);
  background-color: var(--color-accent);
  color: var(--primary-white);
  font-size: 0.94rem;
  font-weight: var(--fw-semibold);
  text-decoration: none;
}
.basket-toast__link:hover {
  color: var(--primary-white);
}
@media screen and (prefers-reduced-motion: reduce) {
  .basket-toast {
    transition: none;
    transform: none;
  }
}
/* Десктопу тост не нужен — правило последним, чтобы перекрыть .basket-toast--visible. */
@media screen and (min-width: 769px) {
  .basket-toast {
    display: none;
  }
}

/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/popup/wishlist/style.css */
#popup-wishlist {
  @media screen and (max-width: 768px) {
    display: none !important;
  }
}

#popup-wishlist .popup__container {
  --popup-title-size: 1.5rem;
  --popup-container-width: 600px;
  --popup-container-padding: 34px;
  --popup-container-padding-top: 32px;

  /* padding-bottom: 120px; */
}
#popup-wishlist .popup__title span {
  font-size: 0.875rem;
  font-weight: var(--fw-regular);
  font-family: var(--font);
  color: var(--primary-grey5);
  margin-top: auto;
}

.wishlist-popup {
  display: flex;
  row-gap: 30px;
  flex-direction: column;
}
.popup__body.loader .wishlist-popup {
  display: none;
}

.wishlist-popup__item {
  display: flex;
  column-gap: 24px;
  align-items: center;
}
.wishlist-popup__image {
  width: 110px;
  min-width: 110px;
  height: 82px;
}
.wishlist-popup__name {
  width: 100%;
  min-height: 43px;
  font-size: 0.875rem;
  font-weight: var(--fw-regular);
  color: var(--primary-color);
}
.wishlist-popup__prices {
  min-height: 43px;
  min-width: 120px;
  display: flex;
  row-gap: 6px;
  flex-direction: column;
  align-items: end;
}
.wishlist-popup__price {
  font-size: 1.25rem;
  font-weight: var(--fw-semibold);
  color: var(--primary-color);
}
.wishlist-popup__oldprice {
  font-size: 0.875rem;
  font-weight: var(--fw-regular);
  text-decoration: line-through;
  color: var(--primary-white-blue);
}
.wishlist-popup__separator {
  width: 100%;
  height: 1px;
  background-color: var(--primary-grey-opacity3);
}

.wishlist-popup-buttons {
  --button-height: 53px;
  --button-font-size: 1rem;

  display: flex;
  column-gap: 24px;
  align-items: center;
  margin-top: 35px;
}
/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/form/fields/text/style.css */
.field--text {
  width: 100%;
  height: 100%;

  display: flex;
  row-gap: 8px;
  flex-direction: column;
}
.field--text input {
  padding: 0;
  padding-left: var(--field-text-padding, 20px);
  padding-right: var(--field-text-padding, 20px);
  border-radius: var(--radius-sm);
  background-color: transparent;
  width: var(--field-text-width, 100%);
  height: var(--field-text-height, 54px);
  border: 1px solid var(--field-text-border, var(--primary-white-opacity2));
  background-color: var(--field-text-background, var(--primary-white-opacity));
  color: var(--field-text-color, var(--primary-color));
  font-size: var(--field-text-fsize, 0.88rem);
  font-weight: var(--field-text-weight, 300);
}
.field--text input:focus {
  border-color: var(--field-text-focus-border, var(--field-text-border, var(--primary-white-opacity2)));
}
.field--text.field--error input {
  border: 1px solid var(--field-text-border-error, var(--primary-red));
}
.field--text.field--success input {
  border: 1px solid var(--field-text-border-success, var(--primary-green3));
}
/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/form/style.css */
.form {
  --field-text-background: #ECF0F2;
  --field-placeholder: var(--color-placeholder);
  --field-text-focus-border: var(--primary-light-grey);

  display: flex;
  row-gap: 18px;
  flex-direction: column;
}
.form__groups {
  display: flex;
  row-gap: 24px;
  flex-direction: column;
}
.form__group, .form__subgroup {
  position: relative;
  display: flex;
  row-gap: 14px;
  flex-direction: column;
}
.form__group-title {
  min-width: 100%;
  margin-bottom: 20px;
  font-size: 1.5rem;
  font-weight: var(--fw-semibold);
  font-family: var(--font-2);
  color: var(--primary-color);

  @media screen and (max-width: 768px) {
    margin-bottom: 8px;
    font-size: 1.25rem;
  }
}
.form__group--inline, .form__subgroup--inline {
  column-gap: 24px;
  align-items: start;
  flex-direction: row;

  @media screen and (max-width: 768px) {
    row-gap: 14px;
    flex-direction: column;
  }
}
.form__group-html {
  width: 100%;
  margin-top: 18px;
  font-size: 0.875rem;
  font-weight: var(--fw-regular);
  /* LPD-16 (5/5): было --primary-light-grey2 (#87929F) — 3.16:1 на белом.
     Роль текста — пояснение/вторичка, поэтому берём семантический --color-text-muted (4.89:1).
     Сам токен палитры не меняем: он нужен светлым для иконок и границ. */
  color: var(--color-text-muted);
}

.form__agree {
  font-size: 0.75rem;
  font-weight: var(--fw-regular);
  text-align: center;
  /* LPD-16 (5/5): было --primary-light-grey (#88A3BD) — 2.52-2.62:1 на белом.
     Это тот самый «под-хвост» пункта 1/5, отложенный из-за неясности фонов: рантайм-замер
     показал, что .form__agree ВЕЗДЕ на белом (корзина, чекаут, попап звонка, попап входа),
     тёмных контекстов нет → затемнение безопасно. Согласие на обработку ПДн — юридический
     текст, он обязан читаться. */
  color: var(--color-text-muted);
}
.form__agree:not(:first-child) {
  margin-top: 18px;
}
/* 07.08.2026: согласие переехало из хвоста формы внутрь .form__groups — оно стоит перед
   группой с кнопкой отправки. Расстояние там задаёт row-gap: 24px, свой margin лишний
   (иначе над кнопкой копится 42px и блок отрывается от формы). Специфичность равна
   правилу выше, поэтому правило идёт ниже по файлу. */
.form__groups .form__agree {
  margin-top: 0;
}

/* 06.08.2026 (задача 3 плана lpd-19-legal-remediation): согласие стало чекбоксом.
   text-align: center выше рассчитан на строку текста без элемента управления —
   у чекбокса он растянул бы галочку по центру и оторвал её от подписи. */
.form__agree .form__agree-checkbox {
  text-align: left;
  /* Тач-цель: сам чекбокс 20px, но кликается вся строка с подписью.
     На узких экранах подпись переносится и высота растёт, минимум держим здесь. */
  min-height: 44px;
  align-items: center;
}
/* Селектор из двух классов намеренно: у элемента классы .checkbox__label и
   .form__agree-text одновременно, а fields/checkbox/style.css попадает в бандл позже,
   и по одному классу его display:flex побеждает. */
.form__agree .form__agree-text {
  /* .checkbox__label — флекс-контейнер (там внутри одна короткая подпись). Здесь подпись
     длинная и со ссылками: во флексе каждый инлайновый кусок становится отдельным
     флекс-элементом, текст рвётся на колонки и часть уезжает за границу блока.
     Возвращаем обычный поток. */
  display: block;
  line-height: 1.4;
  /* Наследуем размер и цвет от .form__agree — юридический текст остаётся
     вторичным по виду, но читаемым (--color-text-muted, 4.89:1 на белом). */
  font-size: inherit;
  color: inherit;
}
.form__agree-text a {
  --link-color: var(--primary-blue);
  /* 07.08.2026: `.link` объявлен `display: inline-block` (common.css), а такой элемент
     переносится на новую строку целиком, не разрываясь по словам. На 375px длинная ссылка
     не влезала в остаток строки и уезжала вниз, оставляя «Я даю» висеть в одиночку.
     Внутри сплошного юридического текста ссылка должна вести себя как обычный инлайн. */
  display: inline;
}
.form__agree--error .checkbox__control {
  border-color: var(--primary-red);
}
.form__agree-error {
  margin-top: 6px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: var(--fw-regular);
  color: var(--primary-red);
}

.form__error {
  font-size: 0.75rem;
  font-weight: var(--fw-regular);
  color: var(--primary-red);
}
.form__error a {
  --link-color: var(--primary-blue);
}

.field {
  z-index: 0;
  position: relative;
}
.field__label {
  font-size: 0.75rem;
  font-weight: var(--fw-regular);
  color: var(--field-label-color, var(--primary-light-grey));
}
.field__label-required {
  color: var(--primary-red);
}
.field__error {
  font-size: 0.75rem;
  font-weight: var(--fw-regular);
  color: var(--primary-red);
  z-index: 1;
  /* position: absolute; */
  /* right: 8px; */
  /* top: 50%; */
  /* padding: 6px 10px; */
  /* border-radius: var(--radius-sm); */
  /* transform: translateY(-50%); */
  /* background-color: var(--primary-white); */
}
.field__label ~ .field__error {
  /* margin-top: 11px; */
}

.field__label-required {
  display: none !important;
}

.form-success {
  display: flex;
  row-gap: 24px;
  flex-direction: column;
  align-items: center;
  padding: 30px 0;
}
.form-success .icon {
  --icon-fill: none;
  width: 60px;
  height: 60px;
}
.form-success .checkmark {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-circle);
  display: block;
  stroke-width: 2;
  stroke: #fff;
  stroke-miterlimit: 10;
  margin: 10% auto;
  box-shadow: inset 0px 0px 0px var(--primary-green3);
  animation: checkmark_fill .4s ease-in-out .4s forwards, checkmark_scale .3s ease-in-out .9s both;
}
.form-success .checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: checkmark_stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}
.form-success .checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: var(--primary-green3);
  fill: none;
  animation: checkmark_stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
@keyframes checkmark_stroke {
  100% {
    stroke-dashoffset: 0;
  }
}
@keyframes checkmark_scale {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}
@keyframes checkmark_fill {
  100% {
    box-shadow: inset 0px 0px 0px 30px #7ac142;
  }
}
.form-success__text {
  font-size: 1.125rem;
  font-weight: var(--fw-regular);
  text-align: center;
  color: var(--primary-accent);
}
/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/form/fields/submit/style.css */
.field--submit .button {
  --button-height: 58px;
}
.field--submit .form__error ~ .button {
  margin-top: 12px;
}
.form__group .field--submit:not(:first-child) {
  margin-top: 10px;
}
/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/form/templates/callback/style.css */
.callback-to-whatsapp {
  --button-height: 58px;
  --button-color: var(--primary-green2);
  --button-background: var(--primary-white);
  --button-border: var(--primary-green2);
  --button-icon-fill: var(--primary-green2);
  --button-icon-size: 34px;

  justify-content: space-between;
}
.callback-to-whatsapp:hover {
  --button-hover-background: var(--primary-green2);
  --button-border: var(--primary-green2);
  --button-hover-icon-fill: var(--primary-white);
  --button-hover-shadow: var(--primary-green-opacity2);
  --button-active-icon-fill: var(--primary-white);
}
.callback-to-whatsapp .icon {
  order: 9;
}

.callback-to-telegram {
  --button-height: 58px;
  --button-color: #2AABEE;
  --button-background: var(--primary-white);
  --button-border: #2AABEE;
  --button-icon-fill: #2AABEE;
  --button-icon-size: 34px;

  justify-content: space-between;
}
.callback-to-telegram:hover {
  --button-hover-background: #2AABEE;
  --button-border: #2AABEE;
  --button-hover-icon-fill: var(--primary-white);
}
.callback-to-telegram .icon {
  order: 9;
}

.callback-to-max {
  --button-height: 58px;
  --button-color: #6C4DFF;
  --button-background: var(--primary-white);
  --button-border: #6C4DFF;
  --button-icon-fill: #6C4DFF;
  --button-icon-size: 34px;
  
  justify-content: space-between;
}

.callback-to-max:hover {
  --button-hover-background: #6C4DFF;
  --button-border: #6C4DFF;
  --button-hover-icon-fill: var(--primary-white);
  --button-hover-shadow: rgba(108, 77, 255, 0.35);
}

.callback-to-max .icon {
  order: 9;
}
/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/form/fields/textarea/style.css */
.field--textarea {
  width: 100%;
  height: 100%;

  display: flex;
  row-gap: 8px;
  flex-direction: column;
}
.field--textarea textarea {
  padding: 0;
  padding-top: var(--field-text-top-padding, 16px);
  padding-left: var(--field-text-padding, 20px);
  padding-right: var(--field-text-padding, 20px);
  border-radius: var(--radius-sm);
  background-color: transparent;
  width: var(--field-text-width, 100%);
  height: var(--field-text-height, 162px);
  border: 1px solid var(--field-text-border, var(--primary-white-opacity2));
  background-color: var(--field-text-background, var(--primary-white-opacity));
  color: var(--field-text-color, var(--primary-color));
  font-size: var(--field-text-fsize, 0.88rem);
  font-weight: var(--field-text-weight, 300);
}
.field--textarea textarea:focus {
  border-color: var(--field-text-focus-border, var(--field-text-border, var(--primary-white-opacity2)));
}
/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/form/templates/review/style.css */
#popup-add-review .popup__title {
  --icon-size: 35px;
  --icon-fill: var(--icon-star-active);
  column-gap: 4px;
}
/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/form/fields/password/style.css */
.field--password {
  width: 100%;
  height: 100%;

  display: flex;
  row-gap: 8px;
  flex-direction: column;
}
.field--password input {
  padding: 0;
  padding-left: var(--field-text-padding, 20px);
  padding-right: var(--field-text-padding, 20px);
  border-radius: var(--radius-sm);
  /* background-color: transparent; */
  width: var(--field-text-width, 100%);
  height: var(--field-text-height, 54px);
  border: 1px solid var(--field-text-border, var(--primary-white-opacity2));
  background-color: var(--field-text-background, var(--primary-white-opacity));
  color: var(--field-text-color, var(--primary-color));
  font-size: var(--field-text-fsize, 0.88rem);
  font-weight: var(--field-text-weight, 300);
}
.field--password input:focus {
  border-color: var(--field-text-focus-border, var(--field-text-border, var(--primary-white-opacity2)));
}

.field__password {
  width: 100%;
  z-index: 0;
  position: relative;
}
.field__password-eyes {
  z-index: 1;
  position: absolute;
  right: 1px;
  top: 1px;
  width: 45px;
  height: calc(100% - 2px);
  background-color: var(--field-text-background, var(--primary-white-opacity));
  display: flex;
  align-items: center;
  justify-content: start;
  cursor: pointer;
  user-select: none;
}
.field__password-eyes .icon {
  --icon-size: 23px;
  --icon-fill: var(--primary-light-grey);
}
.field--password:not(.field--password-shown) .field__password-eyes .icon--eye-open {
  display: none;
}
.field--password.field--password-shown .field__password-eyes .icon--eye-close {
  display: none;
}
/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/form/fields/checkbox/style.css */
.checkbox {
  display: flex;
  column-gap: 12px;
  align-items: start;
  cursor: pointer;
}
.field__checkbox-items {
  display: flex;
  row-gap: 10px;
  flex-direction: column;
}
.checkbox__control {
  width: var(--checkbox-size, 20px);
  height: var(--checkbox-size, 20px);
  min-width: var(--checkbox-size, 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--primary-blue);
  background-color: transparent;
  transition: .3s;
  margin-top: 2px;
}
.checkbox__input:checked ~ .checkbox__control {
  background-color: var(--primary-blue);
}
.checkbox__control .icon {
  --icon-size: 16px;
  --icon-fill: var(--primary-white);
}
.checkbox__input:not(:checked) ~ .checkbox__control .icon {
  opacity: 0;
}
.checkbox__label {
  font-size: 0.75rem;
  font-weight: var(--fw-regular);
  color: var(--primary-grey5);
  min-height: calc(var(--checkbox-size, 20px) + 2px);
  display: flex;
  align-items: center;
}
/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/form/templates/authorization/style.css */
.authorization-wrap {
  max-width: 500px;
}
.authorization-wrap .checkbox__control {
  --checkbox-size: 13px;

  position: relative;
  background-color: transparent !important;
}
.authorization-wrap .checkbox__control .icon {
  display: none;
}
.authorization-wrap .checkbox__input:checked ~ .checkbox__control::before {
  content: '';
  z-index: 1;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translate(-50%, -50%);
  background-color: var(--primary-blue);
}
.authorization-wrap .checkbox__label {
  color: var(--primary-light-grey);
}
.authorization-wrap .field--forgotten_password {
  margin-left: auto;
}
.authorization-wrap a[href="#popup-forgotten-password"] {
  --link-font-size: 0.75rem;
  --link-color: var(--primary-light-grey);
}
/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/popup/account/style.css */
/* ACCOUNT POPUP FORM */
#popup-account:not(.account-login) .popup__container {
  --popup-container-width: 800px;
  --popup-mobile-container-width: 400px;
  --popup-container-padding: 0px;
  --popup-mobile-container-padding: 0px;
}

.account-form {
  display: flex;
  column-gap: 0;
  align-self: stretch;

  @media screen and (max-width: 768px) {
    row-gap: 0;
    flex-direction: column;
  }
}
.account-form__sidebar {
  width: 370px;
  min-width: 370px;
  min-height: 600px;
  z-index: 1;
  position: relative;
  display: flex;
  row-gap: 0;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px;
  /* padding-right: 0; */

  @media screen and (max-width: 768px) {
    width: 100%;
    min-width: 100%;
    height: 130px;
    min-height: auto;
    padding: 0;
    justify-content: end;
  }
}

.account-form__background {
  z-index: -1;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}
.account-form__background :is(img, picture) {
  display: block;
  object-fit: cover;
}

.account-form__logo {
  width: 205px;

  @media screen and (max-width: 768px) {
    display: none;
  }
}

.account-form__tabs {
  display: flex;
  row-gap: 0;
  flex-direction: column;
  align-items: end;
  margin-right: -36px;

  @media screen and (max-width: 768px) {
    column-gap: 0;
    flex-direction: row;
    margin-right: 0;
  }
}
.account-form__button {
  width: 180px;
  height: 50px;
  text-align: center;
  font-size: 1.188rem;
  font-weight: var(--fw-regular);
  color: var(--primary-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 2px 0 0 2px;
  z-index: 0;
  position: relative;

  @media screen and (max-width: 768px) {
    width: 50%;
    min-width: 50%;
    border-radius: 2px 2px 0 0;
    font-size: 1rem;
  }
}
.account-form__button[data-account-form-button-active="Y"] {
  pointer-events: none;
  color: var(--primary-color);
  background-color: var(--primary-white);
}
.account-form__button[data-account-form-button-active="Y"]::before, .account-form__button[data-account-form-button-active="Y"]::after {
  content: '';
  z-index: 1;
  position: absolute;
  right: 0;
  width: 22px;
  height: 20px;

  @media screen and (max-width: 768px) {
    display: none;
  }
}
.account-form__button[data-account-form-button-active="Y"]::before {
  top: -21px;
  right: -1px;
  rotate: -90deg;

  border-radius: 0 0 0 10px;
	-moz-border-radius: 0 0 0 10px;
	-webkit-border-radius: 0 0 0 10px;

	-webkit-box-shadow: -10px 0 0 0 #fff;
	box-shadow: -10px 0 0 0 #fff;
}
.account-form__button[data-account-form-button-active="Y"]::after {
  bottom: -21px;
  right: -1px;
  rotate: -90deg;

  border-radius: 0 0 10px 0;
	-moz-border-radius: 0 0 10px 0;
	-webkit-border-radius: 0 0 10px 0;

	-webkit-box-shadow: 10px 0 0 0 #fff;
	box-shadow: 10px 0 0 0 #fff;
}

.account-form__socials {
  @media screen and (max-width: 768px) {
    display: none;
  }
}
.account-form__socials a {
  --link-icon-fill: var(--primary-white);
  opacity: .42;
  transition: opacity .3s;
}
.account-form__socials a:hover {
  opacity: 1;
}
.account-form__agree {
  font-size: 0.75rem;
  font-weight: var(--fw-regular);
  color: var(--primary-white);

  @media screen and (max-width: 768px) {
    display: none;
  }
}

.account-form__forms {
  width: 100%;
}
.account-form__wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 74px;

  @media screen and (max-width: 768px) {
    padding: 30px 34px;
  }
}
.account-form__wrap:not([data-account-form-active="Y"]) {
  display: none;
}
.account-form__wrap > * {
  width: 100%;
}
.account-form__wrap input {
  --field-text-height: 50px;
}


/* ACCOUNT POPUP */
.account-popup {
  display: flex;
  row-gap: 32px;
  flex-direction: column;
}
.account-headline {
  display: flex;
  column-gap: 14px;
  align-items: center;
}
.account-photo {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-circle);
  background-color: var(--primary-white-grey);
}
.account-info {
  display: flex;
  row-gap: 8px;
  flex-direction: column;
}
.account-fio {
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  font-family: var(--font-2);
  color: var(--primary-blue);
}
.account-telephone {
  font-size: 0.813rem;
  font-weight: var(--fw-bold);
  font-family: var(--font-2);
  color: var(--primary-color);
}
.account-links {
  display: flex;
  row-gap: 30px;
  flex-direction: column;
}
.account-link .link {
  --link-font-size: 1rem;
  --link-font-weight: var(--fw-regular);
  --link-active-font-weight: var(--fw-bold);
  --link-font-family: var(--font);
  --link-color: var(--primary-grey2);
  --link-hover-color: var(--primary-color);
  --link-active-color: var(--primary-color);

  --link-icon-size: 22px;
  --link-icon-fill: var(--primary-grey2);
  --link-hover-icon-fill: var(--primary-blue);
  --link-active-icon-fill: var(--primary-blue);
}
.account-logout .link {
  --link-font-size: 0.938rem;
  --link-font-weight: var(--fw-bold);
  --link-font-family: var(--font-2);
  --link-color: var(--primary-color);
}
/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/popup/city/style.css */
#popup-city .popup__container {
  --popup-container-width: 800px;
}

.city-list {
  display: grid;
  row-gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.city-list__item a {
  --link-color: var(--primary-color);

  font-weight: var(--fw-regular);
  font-size: 1rem;
}
.city-list__item--current a {
  --link-color: var(--primary-blue);
}
/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/form/templates/kalkulyator_raschyota/style.css */
#popup-kalkulyator-raschyota .popup__container {
  --popup-container-width: 1200px;
  --popup-container-padding: 57px;
  --popup-container-padding-top: 49px;
  --popup-title-size: 2.25rem;
}
/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/header/style.css */
/* TOP */
/* LPD-17 Э8 (ТЗ §7.1): верхняя полоса — служебная строка на светлом поле.
   Раньше фон был transparent и полоса ничем не отделялась от тёмной шапки под
   ней: две зоны читались одним блоком высотой 130px. Теперь у неё своё поле и
   волосяная граница, а цвет текста — роль вторичного текста (7.41:1). */
#header_top {
  --link-color: var(--color-text-secondary);

  padding: 8px 0;
  color: var(--color-text-secondary);
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-hairline);
  font-size: var(--fs-13);
  font-weight: var(--fw-regular);

  display: flex;
  align-items: center;
  column-gap: 44px;

  @media screen and (max-width: 768px) {
    display: none !important;
  }
}
#header_city {
  display: flex;
  align-items: center;
  column-gap: 44px;
  white-space: nowrap;
}
#header_city .city-title {
  display: flex;
  column-gap: 8px;
  align-items: center;
}
#header_city .city-title .icon {
  --icon-size: 20px;
  --icon-fill: var(--primary-blue);
}
#header_city .warehouse-title {
  display: flex;
  column-gap: 8px;
  align-items: center;
}
#header_city .warehouse-title .icon {
  --icon-size: 20px;
  --icon-fill: var(--primary-blue);
}
#header_schedule {
  margin-left: auto;
}
#header_socials {
  
}

/* CENTER */
header {
  position: sticky;
  top: 0;
  z-index: 99;
}
/* LPD-17 Э10: тёмное поле шапки во всю ширину окна.
   Заливка стояла на самом #header_center, а он — .container, то есть не шире
   1416px. На мониторе от ~1460px шапка обрывалась тёмной коробкой с белыми
   полями по бокам, тогда как hero, тёмная секция «Почему мы» и подвал идут
   от края до края — шапка была единственной тёмной полосой сайта, которая
   этого не делала.
   Псевдоэлемент висит на <header>: он и так full-width и уже positioned
   (sticky), поэтому inset:0 даёт ровно нужную полосу — без 1000vw, которым
   тот же приём решён в подвале, и без риска горизонтальной прокрутки.
   На мобильном тёмное поле рисует #header_logo::before высотой 75px (строка
   логотипа тёмная, поиск под ней — на светлом), поэтому там правило не нужно. */
@media screen and (min-width: 769px) {
  header::before {
    content: '';
    z-index: -1;
    position: absolute;
    inset: 0;
    background-color: var(--primary-grey);
  }
}
#header_center {
  padding: var(--container-padding);
  color: var(--primary-white);

  display: flex;
  align-items: stretch;
  position: relative;

  @media screen and (max-width: 768px) {
    flex-wrap: wrap;
    width: 100%;
    z-index: 1;
    position: relative;
  }
}
#header_logo {
  height: 50px;
  min-width: 205px;

  @media screen and (max-width: 768px) {
    width: 180px;
    min-width: 180px;
  }
}
@media screen and (max-width: 768px) {
  #header_logo::before {
    content: '';
    z-index: -1;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 75px;
    background-color: var(--primary-grey);
  }
}
#header_menu_catalog {
  min-width: 156px;
  margin-left: 50px;

  @media screen and (max-width: 768px) {
    min-width: 56px;
    margin-left: auto;
  }
}
@media screen and (max-width: 768px) {
  #header_menu_catalog .button__text {
    display: none;
  }
}
#header_search {
  width: 100%;
  margin-left: 24px;

  @media screen and (max-width: 768px) {
    margin-left: 0;
    margin-top: 24px;
  }
}
body.on-scroll #header_search {
  @media screen and (max-width: 768px) {
    /* opacity: 0;
    pointer-events: none; */
    display: none;
  }
}
#header_search input {
  @media screen and (max-width: 768px) {
    /* LPD-17 Э8: та же приподнятая тёмная поверхность, что на десктопе —
       было #373C48 против #232A38, поле поиска отличалось тоном по ширине экрана. */
    --field-text-background: var(--color-ink-raised);
  }
}
#header_callback {
  width: auto;
  margin-left: 28px;

  display: flex;
  row-gap: 6px;
  flex-direction: column;
  align-items: end;
  justify-content: center;

  @media screen and (max-width: 768px) {
    display: none !important;
  }
}
#header_callback .header-phone {
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  font-family: var(--font-2);
}
#header_callback .header-phone:hover {
  color: var(--primary-blue);
}
#header_callback a.header-callback {
  font-size: 0.88rem;
  font-weight: var(--fw-regular);
  font-family: var(--font);
  text-decoration: none;
  color: var(--primary-white-blue);
  border-bottom: 1px solid var(--primary-white-blue);
}
#header_callback a.header-callback:hover {
  border-bottom: 1px solid transparent;
}
/* LPD-17 Э8 (ТЗ §7.1): три иконки без рамок-коробок.
   Было: у каждой кнопки подложка rgba(255,255,255,.13) и светлая рамка, ширина
   зоны 100px — три «коробки» спорили с логотипом и кнопкой «Каталог». Стало:
   иконка на своём тёмном поле, подложка появляется только на наведении/фокусе.
   Размер 46px — тот же, что у поля поиска и кнопки «Каталог» рядом. */
#header_wishlist {
  min-width: 46px;
  margin-left: 20px;

  @media screen and (max-width: 768px) {
    display: none !important;
  }
}
#header_basket {
  min-width: 46px;
  margin-left: 8px;

  @media screen and (max-width: 768px) {
    display: none !important;
  }
}
#header_account {
  min-width: 46px;
  margin-left: 8px;

  @media screen and (max-width: 768px) {
    display: none !important;
  }
}
/* Счётчик-бейдж был рассчитан на кнопку-коробку шириной 100px (right:20px) и на
   узкой иконке наезжал на сам глиф. Пересчитан под 46px; правило мобильной
   панели (.footer-mobile-panel-*) не затрагивается — оно живёт своим смещением. */
#header_center :is(.header-wishlist-button, .header-basket-button, .header-account-button) .button__text {
  right: 0;
  top: 0;
  width: 18px;
  height: 18px;
  font-size: 0.65rem;
  border-radius: var(--radius-circle);
}
#header_center :is(.header-wishlist-button, .header-basket-button, .header-account-button) {
  --button-width: 46px;
  --button-background: transparent;
  --button-border: transparent;
  --button-icon-fill: var(--primary-white);
  --button-hover-background: var(--color-ink-raised);
  --button-hover-border: var(--color-ink-raised);
  --button-hover-icon-fill: var(--primary-white);
  --button-hover-shadow: transparent;
  --button-active-background: var(--color-ink-raised);
  --button-active-icon-fill: var(--primary-white);
}

#header_menu_catalog {
  @media screen and (max-width: 768px) {
    display: flex;
    column-gap: 24px;
    align-items: center;
  }
}
.header-mobile-telephone {
  --link-icon-size: 32px;
  --link-icon-fill: var(--primary-white);

  /* LPD-19 (A-03): элемент был ровно 32×32 при норме 44. Иконка остаётся 32px —
     растёт только зона нажатия. Медиазапрос не нужен: блок и так существует лишь на
     мобильной ширине (ниже он скрыт при ≥769px). */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;

  @media screen and (min-width: 769px) {
    display: none;
  }
}

/* ПЛАНШЕТ (769-1047px) — раскладка между мобильным брейкпоинтом и десктопом.

   До 06.08.2026 этого диапазона у темы не было: вместо него в common.css стояло
   `html { min-width: 1048px }`, то есть сайт просто получал горизонтальный скролл.
   Диапазон покрывает iPad в портрете (810-834), половину экрана ноутбука и
   небольшие окна — постоянная прокрутка вбок там заметно хуже, чем перенос строк.

   Что именно не помещалось (замер на 846px, контейнер 806px):
   - #header_top: min-content 880px, из них 646px — меню в одну строку;
   - #header_center: сумма фиксированных ширин и отступов 788px, поэтому
     #header_search получал 18px и схлопывался в иконку.

   Правки минимальные — разрешаем перенос там, где он и так безопасен. */
@media screen and (min-width: 769px) and (max-width: 1047px) {
  /* Служебная полоса переносится: город и меню в первой строке, режим работы
     и соцсети — во второй. margin-left:auto у #header_schedule продолжает
     прижимать его вправо в своей строке. Гэп 44px здесь избыточен. */
  #header_top {
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 2px;
  }

  /* Поиск уходит на собственную строку целиком. order нужен, чтобы он встал
     ПОСЛЕ иконок: без него он остаётся третьим по потоку и утаскивает за собой
     на вторую строку телефон, избранное, корзину и кабинет. */
  #header_center {
    flex-wrap: wrap;
  }
  #header_search {
    order: 10;
    width: 100%;
    margin-left: 0;
    margin-top: 14px;
  }
}


/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/menu/catalog_bigmenu.css */
/* ═══ LPD-17 Э8: мегаменю одной панелью (ТЗ §7.2) ══════════════════════════
   Было: z-index:-1 (панель рисовалась ПОД шапкой, отсюда и ограничение по ширине,
   §2 п. 3), тёмный левый рельс на 340px с hover-переключением одной группы и
   правая область, где 36 ссылок раскладывались в 10 строк с колонками по 250px.
   Стало: одна светлая панель во всю ширину контейнера, высота по контенту,
   все группы видны сразу — 9 групп и 36 ссылок помещаются на один экран. */
/* Обёртка — прозрачный слой во всю ширину: сама панель это карточка внутри
   контейнера. pointer-events снимается, иначе клик по пустому полю слева/справа
   от карточки считался бы «кликом внутри меню» и панель не закрывалась бы. */
#catalog-bigmenu {
  z-index: 40;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  /* поля вокруг карточки: сверху — просвет до шапки, снизу — чтобы панель не
     упиралась в первый заголовок страницы */
  padding: 10px 0 24px;
  pointer-events: none;
}
/* Панель-карточка: своё поле, контур и тень. Раньше фон, тень и скролл висели на
   обёртке во всю ширину — белая панель на белой странице читалась как «страница
   разъехалась», без границ слева, справа и снизу. */
#catalog-bigmenu > .container {
  pointer-events: auto;
  /* ширина задаётся явно: обёртка абсолютная и растянута на всю ширину окна,
     поэтому наследуемая ширина контейнера тут не срабатывает */
  width: var(--container);
  margin-inline: auto;
  max-height: calc(100vh - 160px);
  overflow-y: auto;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background-color: var(--color-bg);
  box-shadow: var(--shadow-3);
}

@media screen and (max-width: 768px) {
  #catalog-bigmenu {
    /* Панель начинается ниже поля поиска — раньше top:75px перекрывал его,
       и поиск при открытом каталоге был недоступен (§2 п. 4, §7.3 п. 1). */
    top: 100%;
    padding: 8px 0 12px;
  }
  /* 2026-08-10. На телефоне панель занимает всю ширину окна, а не карточку с полями.
     Прежний вид — карточка шириной --container с боковыми границами и скруглением —
     оставлял по краям полосы фона страницы, и меню читалось как всплывшее окно поверх
     контента. На узком экране это просто съедало ширину: заголовкам разделов её и так
     не хватало (см. правку .catalog-bigmenu__title выше). Верхнее и нижнее скругление
     тоже снято: панель примыкает к полю поиска сверху и к краю экрана снизу. */
  #catalog-bigmenu {
    padding: 0 0 12px;
  }
  #catalog-bigmenu > .container {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    max-height: calc(100vh - 178px);
    padding: 8px 16px 16px;
    border-inline: 0;
    border-radius: 0;
  }
}
body:not(.catalog-bigmenu-open) #catalog-bigmenu {
  display: none;
}

/* Промо-строка над сеткой: разделы без вложенных пунктов (сегодня «Все акции»).
   Как колонка сетки такой раздел съедал четверть ширины пустотой. */
.catalog-bigmenu__top {
  display: flex;
  column-gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-hairline);
}
.catalog-bigmenu__promo {
  display: inline-flex;
  column-gap: 8px;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: var(--fs-14);
  font-weight: var(--fw-bold);
  color: var(--color-accent-strong);
  text-decoration: none;
}
.catalog-bigmenu__promo:hover {
  border-color: var(--color-border-strong);
  color: var(--color-accent-strong);
}
/* Хаб каталога — основное действие строки, поэтому заливкой, а не контуром */
.catalog-bigmenu__promo--hub {
  border-color: var(--color-accent);
  background-color: var(--color-accent);
  color: var(--primary-white);
}
.catalog-bigmenu__promo--hub:hover {
  border-color: var(--color-accent);
  background-color: var(--primary-light-blue);
  color: var(--primary-white);
}
.catalog-bigmenu__promo .icon {
  --icon-size: 18px;
  --icon-fill: currentColor;
}

@media screen and (max-width: 768px) {
  .catalog-bigmenu__promo {
    min-height: 44px; /* WCAG 2.5.5 */
  }
  /* 2026-08-10. Зазор между «Весь каталог» и «Все акции». Базовые 12px рассчитаны на
     десктоп; на телефоне кнопки крупнее (44px по WCAG) и вплотную читались как одна
     группа. Правило стоит именно здесь, после базового .catalog-bigmenu__top: в
     мобильной секции выше оно проигрывало ему по порядку в файле при равной
     специфичности — проверено замером, зазор оставался 12px. */
  .catalog-bigmenu__top {
    column-gap: 16px;
    row-gap: 10px;
  }
}

/* Сетка групп + пятая колонка справа (ТЗ §7.2). Промо-строка живёт выше и на
   всю ширину, поэтому во flex входит только тело панели. */
.catalog-bigmenu__body {
  display: flex;
  column-gap: 32px;
  align-items: flex-start;

  @media screen and (max-width: 991px) {
    flex-direction: column;
    row-gap: 24px;
    /* 2026-08-10. Обязательно: с наследованным align-items:flex-start дети
       колоночного flex получают ширину по содержимому. Сетка групп сжималась до
       303px при доступных 343px, и справа от шевронов оставалась пустая полоса в
       40px — разделители обрывались, не доходя до края панели. */
    align-items: stretch;
  }
}
.catalog-bigmenu__grid {
  flex: 1 1 auto;
  min-width: 0;
}

/* Колонки приходят из PXL уже разложенными (getMenuColumns) — сетка просто ставит
   их рядом. CSS-многоколоночник балансировал по строкам и на группах в 2–8 пунктов
   давал перекос до 120px, а на широком экране оставлял последнюю колонку с одной
   группой из двух пунктов. */
.catalog-bigmenu__grid {
  display: grid;
  grid-template-columns: repeat(var(--bigmenu-columns, 4), minmax(0, 1fr));
  column-gap: var(--grid-gap);

  @media screen and (max-width: 1200px) {
    --bigmenu-columns: 2;
  }

  @media screen and (max-width: 768px) {
    --bigmenu-columns: 1;
  }
}
.catalog-bigmenu__column {
  min-width: 0;
  display: flex;
  row-gap: 26px;
  flex-direction: column;

  @media screen and (max-width: 768px) {
    row-gap: 0;
  }
}

.catalog-bigmenu__group {
  min-width: 0;
}

.catalog-bigmenu__head {
  display: flex;
  column-gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

/* Чип 40×40: монограмма на светлой подложке. Иконка-глиф здесь врала — одна
   древесная иконка повторялась у «Террас», «Вагонки» и «Бруса» (ТЗ §7.2). */
.catalog-bigmenu__chip {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-md);
  background-color: var(--color-field);
  font-size: var(--fs-18);
  font-weight: var(--fw-extrabold);
  font-family: var(--font-2);
  line-height: var(--leading-none);
  color: var(--color-text-secondary);
}
/* Кадр материала кропается по центру: исходники разного формата (ресайзер темы
   вписывает картинку в бокс, сохраняя пропорцию исходника — §2 п. 14).
   Контур обязателен: часть кадров почти белая (крепёж, светлая доска) и без
   границы чип растворяется в поле панели. */
.catalog-bigmenu__chip--image {
  border: 1px solid var(--color-hairline);
}
.catalog-bigmenu__chip--image :is(img, picture) {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-bigmenu__title {
  min-width: 0;
  /* 15px и balance: «Вагонка и интерьер» на 16px ломалось так, что во второй
     строке оставалось одно слово. */
  font-size: var(--fs-15);
  text-wrap: balance;
  font-weight: var(--fw-bold);
  font-family: var(--font-2);
  line-height: var(--leading-tight);
  color: var(--color-text);
  text-decoration: none;
}
a.catalog-bigmenu__title:hover {
  color: var(--color-accent-strong);
}

/* Шеврон раскрытия нужен только мобильному аккордеону */
.catalog-bigmenu__toggle {
  display: none;
}

.catalog-bigmenu__list {
  display: flex;
  row-gap: 6px;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}
.catalog-bigmenu__child {
  list-style: none;
}
.catalog-bigmenu__link {
  display: flex;
  column-gap: 10px;
  align-items: baseline;
  justify-content: space-between;
  /* 2026-08-10. Обязательно, иначе space-between не работает: normalize.css темы
     задаёт всем ссылкам `a { width: max-content }`. Для inline-ссылки ширина
     игнорируется, но здесь display:flex — и строка ужималась по содержимому.
     Пункты вставали лесенкой разной длины, счётчик прилипал к названию вместо
     правого столбца, а тап-цель 44px была уже строки: на телефоне пункты
     читались как висящие в пустоте. Те же грабли уже описаны в common.css
     (.channel) и в contacts/style.css. */
  width: auto;
  padding: 2px 0;
  font-size: var(--fs-14);
  font-weight: var(--fw-regular);
  color: var(--color-text-secondary);
  text-decoration: none;
}
.catalog-bigmenu__link:hover {
  color: var(--color-accent-strong);
}
.catalog-bigmenu__link-text {
  min-width: 0;
}
/* Счётчик живых товаров поддерева — правым столбцом, моноширинными цифрами */
.catalog-bigmenu__count {
  flex: 0 0 auto;
  font-size: var(--fs-13);
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
}

.catalog-bigmenu__all {
  display: inline-flex;
  column-gap: 6px;
  align-items: center;
  margin-top: 10px;
  min-height: 24px;
  font-size: var(--fs-13);
  font-weight: var(--fw-bold);
  color: var(--color-accent-strong);
  text-decoration: none;
}
.catalog-bigmenu__all:hover {
  text-decoration: underline;
}
.catalog-bigmenu__all .icon {
  --icon-fill: currentColor;
  --icon-size: 13px;
}

/* Пятая колонка — «Подобрать по материалу» */
.catalog-bigmenu__aside {
  flex: 0 0 300px;
  width: 300px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background-color: var(--color-field);

  @media screen and (max-width: 991px) {
    flex: 1 1 auto;
    width: 100%;
  }
}
.catalog-bigmenu__aside-title {
  margin-bottom: 12px;
  font-size: var(--fs-14);
  font-weight: var(--fw-bold);
  font-family: var(--font-2);
  color: var(--color-text);
}
.catalog-bigmenu__list--materials {
  row-gap: 6px;
}

@media screen and (max-width: 768px) {
  /* Мобильный аккордеон (ТЗ §7.3 п. 2): тап-цель раскрытия — ВСЯ строка 56px,
     а не только шеврон у правого края. Кнопка растянута на строку абсолютом, чип
     и заголовок лежат под ней и не перехватывают тап. Ссылка на сам раздел на
     мобильном живёт в «Смотреть все →» внутри раскрытого списка — так строка
     остаётся одним предсказуемым действием, а не двумя целями в 8px друг от друга. */
  .catalog-bigmenu__group {
    border-bottom: 1px solid var(--color-hairline);
  }
  .catalog-bigmenu__head {
    position: relative;
    margin-bottom: 0;
    min-height: 56px;
  }
  .catalog-bigmenu__head > :is(.catalog-bigmenu__chip, .catalog-bigmenu__title) {
    pointer-events: none;
  }
  .catalog-bigmenu__title {
    flex: 1 1 auto;
    font-size: var(--fs-16);
    /* Шеврон лежит поверх всей строки (кнопка ниже — position:absolute; inset:0),
       поэтому длинный заголовок заезжал прямо под него: «Фасад и отделка»,
       «Террасы и настил», «Вагонка и интерьер» и «Термодревесина» упирались
       последней буквой в стрелку. Резервируем под неё место здесь, а не паддингом
       на .catalog-bigmenu__head: у head тот же inset:0 у кнопки, и его паддинг
       сдвинул бы саму стрелку внутрь строки. 44px = иконка 20px + её отступ 10px
       + 14px воздуха: при 34px самый длинный заголовок («Вагонка и интерьер»)
       подходил к стрелке вплотную — формально без наложения, но читалось тесно. */
    padding-right: 44px;
  }
  .catalog-bigmenu__toggle {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 10px 0 0;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .catalog-bigmenu__toggle .icon {
    --icon-size: 20px;
    --icon-fill: var(--color-text-muted);
  }
  .catalog-bigmenu__group[data-catalog-bigmenu-parent-active="Y"] .catalog-bigmenu__toggle .icon {
    transform: scale(1, -1);
  }
  .catalog-bigmenu__list[data-catalog-bigmenu-childs-active="N"] {
    display: none;
  }
  /* «Смотреть все» принадлежит списку: у свёрнутой группы оно висело отдельной
     строкой под заголовком и читалось как чужой пункт. */
  .catalog-bigmenu__group[data-catalog-bigmenu-parent-active="N"] .catalog-bigmenu__all {
    display: none;
  }
  /* 2026-08-10. Пункты раскрытого раздела читались как висящие сами по себе:
     они начинались от края панели — вровень с чипом раздела, — а между строками
     стоял зазор 6px поверх тап-цели 44px, из-за чего текст плавал в пустоте и не
     принадлежал ни заголовку сверху, ни соседнему пункту снизу.
     Отступ 52px = чип 40px + его зазор 12px: пункты встают ровно под заголовком
     раздела. Зазор снят — строки идут сплошной колонкой с шагом 44px (тап-цель
     не уменьшилась, изменился только воздух между целями). */
  .catalog-bigmenu__list {
    row-gap: 0;
    padding: 0 0 12px 52px;
  }
  .catalog-bigmenu__link {
    min-height: 44px; /* WCAG 2.5.5 */
    align-items: center;
  }
  .catalog-bigmenu__all {
    margin-left: 52px;
    margin-bottom: 12px;
    min-height: 44px;
  }
}

/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/catalog/header/style.css */
.header-catalog-button {
  --button-height: 100%;
  --button-icon-size: 26px;
  --button-column-gap: 12px;
  --button-font-weight: var(--fw-bold);
  --button-font-family: var(--font-2);
  --button-active-color: var(--primary-blue);
  --button-active-background: var(--primary-white);

  @media screen and (max-width: 768px) {
    --button-width: 60px;
    --button-icon-fill: var(--primary-white);
    --button-background: var(--primary-white-opacity);
  }

  text-transform: uppercase;
}
body.catalog-bigmenu-open .header-catalog-button {
  --button-color: var(--primary-blue);
  --button-icon-fill: var(--primary-blue);
  --button-background: var(--primary-white);
  --button-hover-color: var(--primary-blue);
  --button-hover-icon-fill: var(--primary-blue);
  --button-hover-background: var(--primary-white);
}
.header-catalog-button .icon--catalog-wood {
  @media screen and (max-width: 768px) {
    display: none;
  }
}
.header-catalog-button .icon--mobile-menu {
  @media screen and (min-width: 769px) {
    display: none;
  }
}
.header-catalog-button .icon--close {
  --button-icon-size: 32px;
}
body:not(.catalog-bigmenu-open) .header-catalog-button .icon--close {
  display: none;
}
body.catalog-bigmenu-open .header-catalog-button :is(.icon--catalog-wood, .icon--mobile-menu) {
  display: none;
}
/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/form/fields/search/style.css */
.field--search {
  width: 100%;
  height: 100%;

  display: flex;
  row-gap: 8px;
  flex-direction: column;
}
.field--search input {
  padding: 0;
  padding-left: var(--field-text-padding, 20px);
  padding-right: var(--field-text-padding, 20px);
  border-radius: var(--radius-sm);
  background-color: transparent;
  width: var(--field-text-width, 100%);
  height: var(--field-text-height, 54px);
  border: 1px solid var(--field-text-border, var(--primary-white-opacity2));
  background-color: var(--field-text-background, var(--primary-white-opacity));
  color: var(--field-text-color, var(--primary-color));
  font-size: var(--field-text-fsize, 0.88rem);
  font-weight: var(--field-text-weight, 300);
}
.field--search input:focus {
  border-color: var(--field-text-focus-border, var(--field-text-border, var(--primary-white-opacity2)));
}
.field--search.field--error input {
  border: 1px solid var(--field-text-border-error, var(--primary-red));
}

.field__control {
  z-index: 0;
  position: relative;
}
.field__control .button {
  --button-width: 55px;
  --button-height: calc(100% - 16px);

  z-index: 1;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
}
.field__control input:placeholder-shown ~ .button {
  display: none;
}
/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/search/header/style.css */
/* LPD-17 Э8 (ТЗ §7.1): поиск живёт на приподнятой тёмной поверхности, а не на
   полупрозрачной белой плёнке: rgba(255,255,255,.13) поверх #191F2D давала
   непредсказуемый тон и спорила с рамками иконок справа. --color-ink-raised —
   штатная роль «приподнятая поверхность внутри тёмного» из Э3. */
.header-search-input input {
  --field-placeholder: var(--color-text-on-dark-muted);
  --field-text-color: var(--primary-white);
  --field-text-background: var(--color-ink-raised);
}
/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/wishlist/header/style.css */
.header-wishlist-button {
  --button-icon-size: 22px;
  --button-background: var(--primary-white-opacity);
  --button-border-color: var(--primary-white-opacity2);
  --button-active-background: var(--primary-white);
  --button-active-icon-color: var(--primary-blue);

  text-transform: uppercase;
}
/* 19.08.2026: .footer-mobile-panel-wishlist убрана по той же причине, что и у корзины
   (basket/header/style.css): счётчик панели — это .footer-mobile-panel__count. */
.header-wishlist-button .button__text {
  position: absolute;
  right: 20px;
  top: 10px;
  color: var(--primary-white);
  background-color: var(--primary-blue);
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  border-radius: var(--radius-sm);

  @media screen and (max-width: 768px) {
    right: -10px;
    top: -5px;
  }
}
.header-wishlist-button .button__text.counter-bump {
  animation: counter-bump .4s ease-out; /* keyframes — в footer/style.css */
}
@media screen and (prefers-reduced-motion: reduce) {
  .header-wishlist-button .button__text.counter-bump {
    animation: none;
  }
}
/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/basket/header/style.css */
.header-basket-button {
  --button-icon-size: 22px;
  --button-background: var(--primary-white-opacity);
  --button-border-color: var(--primary-white-opacity2);
  --button-active-background: var(--primary-white);
  --button-active-icon-color: var(--primary-blue);

  text-transform: uppercase;
}
/* 19.08.2026: из селектора убрана .footer-mobile-panel-basket. Бейдж нижней панели
   называется .footer-mobile-panel__count и стилизован в footer/style.css; сюда он
   попадал только потому, что скрипт корзины ошибочно дописывал панели .button__text —
   и тот, будучи absolute, отсчитывался от всей панели и уезжал в её правый угол. */
.header-basket-button .button__text {
  position: absolute;
  right: 20px;
  top: 10px;
  color: var(--primary-white);
  background-color: var(--primary-blue);
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  border-radius: var(--radius-sm);

  @media screen and (max-width: 768px) {
    right: -10px;
    top: -5px;
  }
}
/* keyframes counter-bump объявлен в footer/style.css рядом со счётчиком панели —
   оба бандла (header и footer) грузятся на каждой странице, дублировать незачем. */
.header-basket-button .button__text.counter-bump {
  animation: counter-bump .4s ease-out;
}
@media screen and (prefers-reduced-motion: reduce) {
  .header-basket-button .button__text.counter-bump {
    animation: none;
  }
}
/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/account/header/style.css */
.header-account-button {
  --button-icon-size: 22px;
  --button-background: var(--primary-white-opacity);
  --button-border-color: var(--primary-white-opacity2);
  --button-active-background: var(--primary-white);
  --button-active-icon-color: var(--primary-blue);

  text-transform: uppercase;
}
.header-account-button .button__text {
  position: absolute;
  right: 20px;
  top: 10px;
  color: var(--primary-white);
  background-color: var(--primary-blue);
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  border-radius: var(--radius-sm);
}
/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/breadcrumbs/style.css */
.breadcrumbs {
  display: flex;
  column-gap: 12px;
  align-items: center;
  /* LPD-17: вместо обрезки хвоста (см. комментарий внизу файла) — длинная цепочка
     не переносится и скроллится по горизонтали. На десктопе самая глубокая цепочка
     (карточка товара, 6 пунктов) умещается целиком; скролл работает на мобильном. */
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.breadcrumbs::-webkit-scrollbar {
  display: none;
}
.breadcrumbs__item {
  white-space: nowrap;
}
.breadcrumbs__separator {
  width: 1px;
  min-width: 1px;
  height: 8px;
  transform: translateY(2px);
  background-color: var(--primary-grey2);
}
.breadcrumbs__link {
  --link-color: var(--primary-grey2);

  font-size: 0.75rem;
  font-weight: var(--fw-regular);
  font-family: var(--font);
}
.breadcrumbs__link:hover {
  --link-hover-color: var(--primary-blue);
}
/* LPD-17: здесь стояло .breadcrumbs li:nth-child(1n + 6) { display:none } —
   обрезка «хвоста» длинных цепочек. Разделители — тоже <li>, поэтому с 6-го li
   скрывался сам текущий пункт: на «Вагонке» посетитель видел только
   «Главная · Каталог · Пиломатериалы», на карточке товара скрывалась половина пути.
   Заменено на overflow-x: auto у .breadcrumbs (см. выше). */
/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/noscript_order/style.css */
/* LPD-19 (U-02): сообщение о покупке без JavaScript.

   Стиль намеренно спокойный, а не тревожный: посетитель не сделал ничего плохого, ему
   просто объясняют, как купить. Поэтому нейтральная поверхность и hairline вместо
   красной рамки предупреждения.

   Блок виден только внутри <noscript>, то есть при выключенном JS. Проверять его в
   браузере нужно с отключённым JavaScript — иначе разметки не будет в DOM вовсе. */
/* Подложка — --color-surface (белая, штатная поверхность карточек). НЕ
   --color-surface-sunken: у неё в common.css стоит прямая пометка «ТЕКСТ НА НЕЙ
   ЗАПРЕЩЁН» — это фон боксов фото, скелетонов и трека ползунка. Контур берёт на себя
   роль выделения. */
.noscript-order {
  margin-top: 16px;
  padding: 16px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md, 8px);
  background-color: var(--color-surface);
}

.noscript-order__text {
  margin: 0;
  font-size: var(--fs-15);
  line-height: var(--leading-normal, 1.5);
  color: var(--color-text);
}

.noscript-order__phone {
  margin-top: 12px;
  font-size: var(--fs-20);
  font-weight: var(--fw-semibold);
}

/* Тач-цель: номер здесь — основной способ купить, он не должен быть мельче 44px
   (то же правило, что в A-03). */
.noscript-order__phone .phone-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-text);
  text-decoration: none;
}

.noscript-order__phone .phone-link:hover,
.noscript-order__phone .phone-link:focus-visible {
  color: var(--primary-blue);
}

.noscript-order__more {
  margin: 8px 0 0;
  font-size: var(--fs-14);
  color: var(--color-text-secondary);
}

.noscript-order__more a {
  color: var(--primary-blue);
}

/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/grade_defects/style.css */
/* GRADE DEFECTS — таблица допустимых пороков по сортам (LPD-23 T1, ТЗ R5.2).
   Пара к .grade-scale: та отвечает на «какой сорт красивее», эта — на «сучок 12 мм это
   брак или норма». Поэтому на срезе стоит сразу под шкалой и свёрнута, а на странице
   «Сорта древесины» раскрыта. */
.grade-defects {
  font-family: var(--font);
  /* Отрицательный верхний отступ съедает нижний margin .grade-scale: два бордера подряд
     с воздухом между ними читались как два разных блока, а это один разговор о сортах. */
  margin: -12px 0 20px;
  color: var(--color-text);
}

.grade-defects--page {
  margin: 0 0 var(--space-6);
}

/* — Свёрнутый вид (срез материала) — */
.grade-defects__details {
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  background-color: var(--color-surface);
}

.grade-defects__summary {
  /* 44px цели касания: 14px+14px паддинга + 1.3 строки от 15px ≈ 48px. */
  padding: 14px 18px;
  font-family: var(--font-2);
  font-size: .9375rem;
  font-weight: var(--fw-bold);
  line-height: 1.3;
  color: var(--color-accent-strong);
  cursor: pointer;
  list-style: none;
}

.grade-defects__summary::-webkit-details-marker {
  display: none;
}

/* Маркер рисуем сами: браузерный треугольник у Safari и Chrome разной формы и не
   наследует цвет ссылки. ::after, а не ::before, — чтобы не сдвигать текст. */
.grade-defects__summary::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .15s ease;
}

.grade-defects__details[open] .grade-defects__summary::after {
  transform: translateY(2px) rotate(-135deg);
}

.grade-defects__summary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.grade-defects__details .grade-defects__body {
  padding: 0 18px 18px;
}

/* — Общее тело — */
.grade-defects__intro,
.grade-defects__lead,
.grade-defects__note {
  font-size: .875rem;
  line-height: 1.55;
  color: var(--color-text-secondary);
}

.grade-defects__intro p,
.grade-defects__lead p,
.grade-defects__note p {
  margin: 0 0 8px;
}

.grade-defects__intro p:last-child,
.grade-defects__lead p:last-child,
.grade-defects__note p:last-child {
  margin-bottom: 0;
}

.grade-defects__note {
  margin-top: 10px;
  color: var(--color-text-muted);
}

/* ⚠️ normalize.css:195 задаёт всем `a` ширину max-content (DOMAIN_MAP §12). Такая ссылка
   не только не растягивается, но и не сжимается: на 390 px она распирает ячейку или абзац
   по самому длинному содержимому, и хвост уходит под обрез. width:auto — обязателен. */
.grade-defects a {
  width: auto;
  color: var(--color-accent-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.grade-defects__section {
  margin-top: var(--space-5);
}

.grade-defects__section + .grade-defects__section {
  margin-top: var(--space-6);
}

.grade-defects__title {
  margin: 0 0 6px;
  font-family: var(--font-2);
  font-size: 1rem;
  font-weight: var(--fw-bold);
  line-height: 1.3;
  color: var(--color-text);
}

/* — Таблица — */

/* Контейнер прокрутки. Без него широкая матрица «порок × сорт» тянет за собой всю
   страницу: горизонтальный скролл документа на телефоне и есть та поломка, которую
   ловит tools/check-mobile-layout-cdp.mjs. tabindex в разметке — чтобы область можно
   было прокрутить с клавиатуры. */
.grade-defects__scroll {
  margin-top: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
}

.grade-defects__scroll:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.grade-defects__table {
  width: 100%;
  border-collapse: collapse;
  font-size: .8125rem;
  line-height: 1.45;
  /* Матрица без фиксированной минимальной ширины схлопывается в столбик из двух букв
     на строку. 520px — предел, ниже которого колонка сорта перестаёт читаться. */
  min-width: 520px;
}

/* caption виден только скринридеру: тот же текст стоит заголовком секции над таблицей.
   Скрытие клип-прямоугольником, а не display:none — иначе элемент выпадает из дерева
   доступности и caption перестаёт работать вовсе (приём из prices_table). */
.grade-defects__caption {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.grade-defects__table th,
.grade-defects__table td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--color-hairline);
}

.grade-defects__table thead th {
  font-family: var(--font-2);
  font-size: .75rem;
  font-weight: var(--fw-bold);
  line-height: 1.3;
  color: var(--color-text);
  background-color: var(--color-field);
  white-space: nowrap;
}

.grade-defects__table tbody th {
  font-weight: var(--fw-semibold);
  color: var(--color-text);
}

.grade-defects__table tbody td {
  color: var(--color-text-secondary);
}

.grade-defects__table tbody tr:last-child th,
.grade-defects__table tbody tr:last-child td {
  border-bottom: 0;
}

/* Первая колонка липкая: прокрутив таблицу до сорта «С», человек иначе не видит, о каком
   пороке строка, — и таблица превращается в набор чисел без подписей. Фон обязателен,
   иначе под липкой ячейкой просвечивают уезжающие соседние. */
.grade-defects__table th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 140px;
  background-color: var(--color-surface);
  box-shadow: 1px 0 0 var(--color-hairline);
}

.grade-defects__table thead th:first-child {
  z-index: 2;
  background-color: var(--color-field);
}

/* Подсказка о боковой прокрутке: только там, где таблица заведомо не помещается.
   min-width таблицы — 520px, при ширине экрана до 600px колонка контента заведомо уже,
   поэтому подсказка не соврёт. На широких экранах она скрыта. */
.grade-defects__hint {
  display: none;
  margin: 6px 0 0;
  font-size: .75rem;
  line-height: 1.4;
  color: var(--color-text-muted);
}

.grade-defects__hint::before {
  content: '\2194\00a0';
}

@media screen and (max-width: 600px) {
  .grade-defects__hint {
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .grade-defects__details .grade-defects__body {
    padding: 0 14px 14px;
  }

  .grade-defects__summary {
    padding: 14px;
  }

  .grade-defects__table {
    font-size: .75rem;
  }

  .grade-defects__table th,
  .grade-defects__table td {
    padding: 8px 10px;
  }

  .grade-defects__table th:first-child {
    min-width: 118px;
  }
}

/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/grade_glossary/style.css */
/* GRADE SCALE — шкала сортов (UX-3 → LPD-14 Э4 → LPD-05 R2, вариант B).
   Было: <details> с двухколоночным списком. Стало: раскрытая шкала над прайс-листом.
   Ширину и подложку задаёт секция, полоса — только положение на шкале внешнего вида. */
.grade-scale {
  font-family: var(--font);
  display: grid;
  gap: 14px;
  /* Верхний отступ обязателен: блок переехал под сетку карточек и без него прилипает
     к нижней карточке вплотную — на живой странице читалось как её продолжение. */
  margin: 32px 0 20px;
  padding: 20px;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  background-color: var(--color-field);
}

.grade-scale__title {
  margin: 0;
  font-family: var(--font-2);
  font-size: 1.0625rem;
  font-weight: var(--fw-bold);
  line-height: 1.3;
  color: var(--color-text);
}

/* Градиент идёт от «лучшего внешнего вида» к «худшему» в одной семье — это шкала одного
   свойства, а не светофор: красного и зелёного «оценочных» цветов здесь нет намеренно. */
.grade-scale__bar {
  height: 8px;
  border-radius: var(--radius-pill);
  background-image: linear-gradient(90deg, #1E7A4E 0%, #4E9C6B 34%, #9E8A45 68%, #9E5525 100%);
}

.grade-scale__marks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin: 0;
}

.grade-scale__mark {
  min-width: 0;
}

.grade-scale__term {
  font-family: var(--font-2);
  font-size: .9375rem;
  font-weight: var(--fw-bold);
  line-height: 1.3;
  color: var(--color-text);
}

.grade-scale__text {
  margin: 4px 0 0;
  font-size: .875rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.grade-scale__note {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--color-hairline);
  font-size: .875rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

@media screen and (max-width: 768px) {
  .grade-scale {
    padding: 16px;
    gap: 12px;
  }

  .grade-scale__marks {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/catalog/price_list/style.css */
/* PRICE LIST — прайс-лист по размерам и сортам (LPD-05 R2, новый тип, вариант B).
   Раскладка одна для десктопа и телефона: группы по размеру, внутри строки «сорт — цена».
   Отдельной десктопной таблицы нет намеренно — 16 строк одинаково читаются в обоих случаях,
   а две раскладки означали бы два места для ошибки. */
/* Верхний отступ нужен для случая, когда шкалы сортов на странице нет (у раздела нет
   сортов): тогда прайс-лист идёт сразу за сеткой карточек и без отступа липнет к ней. */
.price-list {
  margin: 32px 0;
}

/* Шкала уже отбила себя от карточек — второй отступ подряд не нужен. */
.grade-scale + .price-list {
  margin-top: 0;
}

.price-list__head {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.price-list__title {
  margin: 0;
  font-family: var(--font-2);
  font-size: 1.375rem;
  font-weight: var(--fw-extrabold);
  line-height: 1.25;
  color: var(--color-text);
}

.price-list__note {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.55;
  color: var(--color-text-secondary);
}

.price-list__family {
  margin: 18px 0 10px;
  font-family: var(--font-2);
  font-size: 1rem;
  font-weight: var(--fw-bold);
  line-height: 1.3;
  color: var(--color-text);
}

.price-list__groups {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-surface);
}

.price-list__group + .price-list__group {
  border-top: 1px solid var(--color-hairline);
}

.price-list__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
  padding: 12px 16px;
  cursor: pointer;
  list-style: none;
  background-color: var(--color-field);
}

.price-list__summary::-webkit-details-marker {
  display: none;
}

.price-list__summary:hover {
  background-color: var(--color-surface-sunken);
}

.price-list__summary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: -2px;
}

.price-list__size {
  font-size: .9375rem;
  font-weight: var(--fw-semibold);
  line-height: 1.35;
  color: var(--color-text);
}

.price-list__from {
  flex: none;
  font-size: .875rem;
  font-weight: var(--fw-medium);
  line-height: 1.35;
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
}

.price-list__rows {
  padding: 4px 16px 10px;
}

.price-list__row {
  display: grid;
  /* width:auto гасит глобальное `a { width: max-content }` темы: строка прайса — ссылка, и
     без сброса она растягивалась по самому длинному перечню профилей (564px при контейнере
     334) — на телефоне список профилей и цены обрезался по правому краю. */
  width: auto;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 0;
  border-top: 1px solid var(--color-hairline);
  color: var(--color-text);
  text-decoration: none;
}

.price-list__rows > .price-list__row:first-child {
  border-top: 0;
}

.price-list__row:hover .price-list__grade {
  color: var(--color-accent-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.price-list__row:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.price-list__grade {
  font-size: .9375rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.price-list__stock {
  font-size: .8125rem;
  line-height: 1.3;
  white-space: nowrap;
  color: var(--color-stock-in);
}

.price-list__stock--order {
  color: var(--color-stock-order);
}

.price-list__price {
  font-family: var(--font-2);
  font-size: .9375rem;
  font-weight: var(--fw-bold);
  line-height: 1.3;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: var(--color-text);
}

.price-list__price s {
  margin-right: 6px;
  font-family: var(--font);
  font-weight: var(--fw-regular);
  color: var(--color-text-muted);
}

@media screen and (max-width: 768px) {
  .price-list {
    margin-bottom: 26px;
  }

  .price-list__title {
    font-size: 1.1875rem;
  }

  .price-list__summary {
    padding: 12px 14px;
  }

  .price-list__rows {
    padding: 4px 14px 10px;
  }

  /* Наличие уходит под цену: три колонки на 375px сжимают название сорта до переноса
     по буквам. Цена остаётся в правом столбце — по ней и сравнивают. */
  .price-list__row {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 2px;
  }

  .price-list__stock {
    grid-column: 1;
    grid-row: 2;
    font-size: .75rem;
  }

  .price-list__price {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/seo/landing_blocks/style.css */
.seo-landing-blocks {
  margin: 44px 0 0;
}

/* Навигация по разделам стоит внутри контентной колонки, сразу под выбором материала:
   её собственный контейнер здесь лишний, отступ снизу отбивает её от следующей секции. */
.seo-landing-blocks--nav {
  margin: 28px 0 0;
}

/* 2026-08-29. Снятие ограничений — ТОЛЬКО внутри #page-body, и это не перестраховка.
   Правило выше написано для случая «блок уже лежит в контентной колонке»: там свой
   контейнер действительно лишний, ширину задаёт родитель. Но секции кладут в страницу
   двумя способами: CONTENT_CENTER — внутрь #page-body.container (термообработка, сорта,
   обычные инфостраницы), CONTENT_TOP — СНАРУЖИ него, чтобы секция могла нести подложку
   во всю ширину экрана (цех окраски, шесть посадочных покраски, производство).
   Во втором случае max-width: none снимал единственное ограничение, и на мониторе 1920
   чипы навигации разъезжались от края до края при норме 1416. */
#page-body .seo-landing-blocks--nav .container {
  padding-left: 0;
  padding-right: 0;
  width: 100%;
  max-width: none;
}

.seo-landing-blocks *,
.seo-landing-blocks *::before,
.seo-landing-blocks *::after {
  box-sizing: border-box;
}

.seo-landing-blocks .container {
  display: grid;
  gap: 28px;
}

.seo-landing-block {
  min-width: 0;
}

.seo-landing-block__eyebrow {
  position: relative;
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  min-height: 24px;
  padding-left: 14px;
  align-items: center;
  font-size: .9375rem;
  font-weight: var(--fw-bold);
  line-height: 1.25;
  font-family: var(--font-2);
  letter-spacing: 0;
  color: var(--primary-blue);
}

.seo-landing-block__eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 16px;
  background-color: var(--primary-blue);
  transform: translateY(-50%);
}

.seo-landing-block__title {
  margin: 0;
  font-family: var(--font-2);
  font-size: 1.5rem;
  font-weight: var(--fw-extrabold);
  line-height: 1.25;
  color: var(--primary-color);
  overflow-wrap: anywhere;
}

.seo-landing-block__content {
  max-width: 68ch;                 /* 1.2: длина строки 60–80 знаков (было 920px ≈ 100+ рус-символов) */
  font-size: 1rem;
  line-height: 1.65;
  color: var(--primary-color);
  overflow-wrap: anywhere;
}

.seo-landing-block__content :is(p, ul, ol) {
  margin-top: 0;
}

.seo-landing-block__content :is(p, ul, ol):last-child {
  margin-bottom: 0;
}

.seo-landing-block__content :is(ul, ol) {
  display: grid;
  gap: 8px;
  padding-left: 22px;
}

.seo-landing-block__content a {
  color: var(--primary-blue);
  text-decoration: none;
}

.seo-landing-block__content a:hover,
.seo-landing-block__content a:focus-visible {
  text-decoration: underline;
}

/* Delivery: dark service panel */
.seo-delivery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 34px;
  padding: 38px 42px;
  border-radius: var(--radius-sm);
  align-items: stretch;
  color: var(--primary-white);
  background-color: var(--primary-grey);
}

.seo-delivery__content {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 16px;
}

.seo-delivery__eyebrow {
  color: var(--primary-white-blue2);
}

.seo-delivery__title {
  max-width: 700px;
  color: var(--primary-white);
}

.seo-delivery__text {
  max-width: 760px;
  color: var(--primary-white-blue2);
}

/* Related: navigation board */
.seo-related {
  display: grid;
  gap: 22px;
  padding: 32px 0 38px;
  border-top: 1px solid var(--primary-grey-opacity6);
  border-bottom: 1px solid var(--primary-grey-opacity6);
}

.seo-related__head {
  display: flex;
  gap: 20px;
  align-items: end;
  justify-content: space-between;
}

.seo-related__title {
  max-width: 620px;
}

/* Guide: развилка по задаче (LPD-05 R2, вариант B).
   Синяя боковая полоса слева снята: она держалась на декоративном акценте, а роль блока
   читается заголовком и подложкой. Раскладка вертикальная — текст, под ним сценарии:
   правая колонка исчезла вместе с захардкоженными критериями. */
.seo-guide {
  display: grid;
  gap: 24px;
  padding: 34px;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-sm);
  background-color: var(--primary-white-grey);
}

.seo-guide__copy {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 16px;
}

.seo-guide__text {
  max-width: 780px;
}

/* Application: material use-case matrix */
.seo-application {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 26px;
  padding: 30px;
  border: 1px solid var(--primary-grey-opacity6);
  border-radius: var(--radius-md);
  background-color: var(--primary-white);
  box-shadow: 0 10px 28px rgba(24, 42, 60, .04);
}

.seo-application__head {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 14px;
}

.seo-application__text > :is(h3, h4) {
  display: none;
}

/* FAQ: clean accordion */
.seo-faq {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 44px;
  padding: 34px 0 10px;
  border-top: 1px solid var(--primary-grey-opacity6);
}

.seo-faq__head {
  min-width: 0;
}

.seo-faq__eyebrow {
  margin-bottom: 12px;
}

/* Proof: quality and service evidence board */
.seo-proof {
  display: grid;
  grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
  gap: 32px;
  padding: 32px;
  border-radius: var(--radius-md);
  color: var(--primary-white);
  background: linear-gradient(135deg, var(--primary-grey) 0%, #20384a 100%);
}

.seo-proof__head {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 14px;
}

.seo-proof__text > :is(h3, h4) {
  display: none;
}

.seo-proof__eyebrow {
  color: var(--primary-white-blue2);
}

.seo-proof__title {
  color: var(--primary-white);
}

.seo-proof__text {
  color: var(--primary-white-blue);
}

/* ═══ LPD-05 R2 (2026-08-01): раскладки варианта B ═══
   Решение владельца по демонстрации plans/media-review/lpd-05-seo-blocks-demo-2026-08-01.html.
   ТЗ — plans/lpd-05-seo-block-design-spec.md, раздел «Ревизия 2026-08-01». */

/* Доставка: порядок отгрузки. Нумерация — счётчиком, а не картинкой: список остаётся
   списком для скринридера, а номер не попадает в текст при копировании. */
.seo-delivery__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: seo-step;
  display: grid;
  align-content: center;
}

.seo-delivery__steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 4px 12px;
  padding: 14px 0;
  border-top: 1px solid var(--primary-white-opacity);
}

.seo-delivery__steps li:first-child {
  border-top: 0;
  padding-top: 0;
}

/* Позиции заданы ЯВНО. Автоплейсмент здесь ошибался: номер объявлен на две строки, но
   строка в шаге одна, и `strong` уезжал в колонку номера — название шага и описание
   наезжали друг на друга. Сетка из трёх ячеек не должна зависеть от порядка обхода. */
.seo-delivery__steps li::before {
  /* ⚠️ position/right/margin сбрасываются ЯВНО. В теме есть глобальная стилизация
     нумерованных списков прозы: `ol > li { position: relative }` +
     `ol > li::before { position: absolute; right: 100%; margin-right: 6px }`
     (common.css) — маркер там вешается СНАРУЖИ пункта, слева от текста.
     Она перебивала раскладку этого блока: у абсолютно спозиционированного
     элемента grid-column/grid-row не работают, и номер шага уезжал за левый
     край тёмной карточки на светлый фон страницы. Видно было на всех страницах
     с блоком, а не только на «Доставке и оплате» (LPD-17 §13.6, 2026-08-07). */
  position: static;
  right: auto;
  margin-right: 0;
  counter-increment: seo-step;
  content: counter(seo-step, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1 / span 2;
  font-family: var(--font-2);
  font-size: .9375rem;
  font-weight: var(--fw-bold);
  line-height: 1.5;
  color: var(--color-accent-on-dark);
}

.seo-delivery__steps strong {
  grid-column: 2;
  grid-row: 1;
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  line-height: 1.4;
  color: var(--primary-white);
}

.seo-delivery__steps span {
  grid-column: 2;
  grid-row: 2;
  font-size: .9375rem;
  line-height: 1.55;
  color: var(--primary-white-blue2);
}

/* Гайд: сценарии. auto-fit, чтобы два и три сценария выглядели одинаково правильно. */
.seo-guide__fork {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.seo-guide__case {
  padding: 18px;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-sm);
  background-color: var(--primary-white);
}

.seo-guide__case h3 {
  margin: 0 0 8px;
  font-family: var(--font-2);
  font-size: 1rem;
  font-weight: var(--fw-bold);
  line-height: 1.3;
  color: var(--primary-color);
}

.seo-guide__case p {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* Связанные разделы: строка ссылок. 44px высоты держится паддингом — mobile gate. */
.seo-related__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seo-related__chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background-color: var(--color-field);
  font-size: .9375rem;
  font-weight: var(--fw-medium);
  line-height: 1.35;
  color: var(--color-accent-strong);
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease;
}

.seo-related__chip:hover {
  border-color: var(--color-border-strong);
  background-color: var(--primary-white);
}

.seo-related__chip:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* FAQ: ответы открыты. Колонки, а не grid: пара «вопрос-ответ» не должна разрываться,
   а высоты у них разные — column-count раскладывает плотнее любой сетки. */
.seo-faq__grid {
  column-count: 2;
  column-gap: 34px;
}

.seo-faq__item {
  break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: 22px;
  padding-bottom: 4px;
}

.seo-faq__q {
  margin: 0 0 6px;
  font-family: var(--font-2);
  font-size: 1rem;
  font-weight: var(--fw-bold);
  line-height: 1.35;
  color: var(--primary-color);
}

.seo-faq__a {
  margin: 0;
  max-width: 68ch;
  font-size: .9375rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

/* Применение: таблица. Скролл живёт на обёртке, страница вбок не едет. */
.seo-application__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.seo-application__table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9375rem;
  line-height: 1.55;
}

.seo-application__table th,
.seo-application__table td {
  padding: 14px 16px 14px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--color-hairline);
}

.seo-application__table thead th {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-2);
  font-size: .8125rem;
  font-weight: var(--fw-bold);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.seo-application__table tbody th {
  width: 30%;
  min-width: 160px;
  font-weight: var(--fw-semibold);
  color: var(--primary-color);
}

.seo-application__table tbody td {
  color: var(--color-text-secondary);
}

/* Контроль качества: чеклист. Маркер — маска, а не файл: цвет берётся из токена
   и не требует второй иконки для тёмной подложки. */
.seo-proof__checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.seo-proof__checklist li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 4px 12px;
  padding: 14px 0;
  border-top: 1px solid var(--primary-white-opacity);
}

.seo-proof__checklist li:first-child {
  border-top: 0;
  padding-top: 0;
}

/* Те же явные позиции, что у шагов доставки: сетка «маркер | название / описание». */
.seo-proof__checklist li::before {
  content: '';
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 16px;
  height: 16px;
  margin-top: 5px;
  background-color: var(--primary-green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.2 12.5 2 8.3l1.4-1.4 2.8 2.8 6.4-6.4L14 4.7z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.2 12.5 2 8.3l1.4-1.4 2.8 2.8 6.4-6.4L14 4.7z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.seo-proof__checklist strong {
  grid-column: 2;
  grid-row: 1;
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  line-height: 1.4;
  color: var(--primary-white);
}

.seo-proof__checklist span {
  grid-column: 2;
  grid-row: 2;
  font-size: .9375rem;
  line-height: 1.55;
  color: var(--primary-white-blue);
}

/* Производство: кадр и текст на той же тёмной базе, что шапка и подвал (LPD-17 §3.4). */
.seo-production {
  display: grid;
  grid-template-columns: minmax(200px, 320px) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 34px 38px;
  border-radius: var(--radius-sm);
  color: var(--primary-white);
  background-color: var(--color-ink);
}

.seo-production__shot {
  overflow: hidden;
  border-radius: var(--radius-sm);
  background-color: var(--color-surface-sunken);
  aspect-ratio: 4 / 3;
}

.seo-production__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seo-production__copy {
  min-width: 0;
  display: grid;
  gap: 14px;
  justify-items: start;
}

.seo-production__eyebrow {
  color: var(--primary-white-blue2);
}

.seo-production__title {
  color: var(--primary-white);
}

.seo-production__text {
  color: var(--color-text-on-dark-muted);
}

.seo-production__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-accent-on-dark);
  font-weight: var(--fw-semibold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.seo-production__link:hover {
  text-decoration: none;
}

.seo-production__link:focus-visible {
  outline: 2px solid var(--color-accent-on-dark);
  outline-offset: 3px;
}

/* LPD-14 Э4: однострочник вместо полного блока proof_quality (правило §5.1) */
.seo-proof-link {
  margin: 0;
  font-size: 1rem;
  line-height: var(--leading-relaxed);
}

.seo-proof-link__anchor {
  display: inline-block;
  width: auto;
  min-height: 44px;
  padding: 10px 0;
  color: var(--primary-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.seo-proof-link__anchor:hover {
  text-decoration: none;
}

.seo-proof-link__anchor:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

@media screen and (max-width: 768px) {
  .seo-landing-blocks {
    margin: 40px 0 0;
  }

  .seo-landing-blocks .container {
    gap: 24px;
  }

  .seo-landing-block__title {
    font-size: 1.1875rem;
  }

  .seo-landing-block__content,
  .seo-faq__a {
    font-size: .9375rem;
    line-height: var(--leading-loose);
  }

  .seo-delivery {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 26px 20px;
  }

  /* LPD-05 R2: мобильные раскладки варианта B */
  .seo-faq__grid {
    column-count: 1;
  }

  .seo-guide__fork {
    grid-template-columns: 1fr;
  }

  .seo-production {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 18px;
  }

  .seo-production__shot {
    max-width: 320px;
  }

  .seo-application__table th,
  .seo-application__table td {
    padding: 12px 14px 12px 0;
  }

  .seo-application__table tbody th {
    min-width: 130px;
  }

  .seo-related {
    gap: 18px;
    padding: 26px 0 30px;
  }

  .seo-related__head {
    display: grid;
    gap: 8px;
  }

  .seo-guide {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px 18px;
  }

  .seo-application {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 18px;
  }

  .seo-faq {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 28px;
  }

  .seo-faq__eyebrow {
    margin-bottom: 8px;
  }

  .seo-proof {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 18px;
  }}

/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/rating/stars/style.css */
.rating-stars {
  display: flex;
  column-gap: 13px;
  align-items: center;
}
.rating-star {
  --icon-size: 16px;
  --icon-fill: transparent;
}
.rating-star .icon svg {
  stroke-width: 1px;
  stroke: var(--rating-star-icon-fill, var(--primary-orange));
}
.rating-star--active .icon {
  --icon-fill: var(--rating-star-icon-fill, var(--primary-orange));
}
/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/rating/sidebar/style.css */
.rating-sidebar {
  display: flex;
  row-gap: 60px;
  flex-direction: column;

  @media screen and (max-width: 768px) {
    row-gap: 16px;
  }
}

.rating-sidebar__headline {
  display: flex;
  column-gap: 18px;
  align-items: start;

  @media screen and (max-width: 768px) {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--primary-grey-opacity6);
  }
}

/* LPD-17 Э7: оценка — первое, что читается в блоке. Была строкой «Рейтинг 5.0»
   в 20px рядом с декоративной картинкой-кавычкой (test/rating-quote.png, 82px);
   картинка снята вместе с разметкой — место отдано самой оценке. */
.rating-sidebar__score {
  font-size: var(--fs-40);
  font-weight: var(--fw-extrabold);
  font-family: var(--font-2);
  line-height: var(--leading-none);
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
}

.rating-sidebar__info {
  display: flex;
  row-gap: 4px;
  flex-direction: column;
}

.rating-sidebar__text {
  font-weight: var(--fw-regular);
  font-size: var(--fs-13);
  font-family: var(--font);
  color: var(--color-text-muted);
}

.rating-sidebar__providers {
  display: flex;
  row-gap: 24px;
  flex-direction: column;

  @media screen and (max-width: 768px) {
    column-gap: 60px;
    flex-direction: row;
  }
}

.rating-sidebar__provider {
  display: flex;
  column-gap: 12px;
  align-items: end;

  @media screen and (max-width: 768px) {
    row-gap: 5px;
    align-items: start;
    flex-direction: column;
  }
}

.rating-sidebar__provider-logo {
  min-width: 100px;
}
.rating-sidebar__provider-logo img {
  width: initial;
}

.rating-sidebar__provider-link {
  transform: translateY(-6px);

  @media screen and (max-width: 768px) {
    transform: none;
  }
}

/* LPD-19 (A-03): ссылка на отзывы провайдера была 22px в высоту. */
.rating-sidebar__provider-link .link {
  @media screen and (max-width: 768px) {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

.rating-sidebar__list {
  position: relative;
  display: flex;
  row-gap: 4px;
  flex-direction: column;
}
.rating-sidebar__list::before {
  content: '';
  display: block;
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--primary-grey-opacity6);

  @media screen and (max-width: 768px) {
    display: none;
  }
}
.rating-sidebar__item {
  display: flex;
  column-gap: 8px;
  align-items: center;
}
.rating-sidebar__total {
  min-width: 50px;
  font-weight: var(--fw-regular);
  font-size: 0.688rem;
  font-family: var(--font);
  color: var(--primary-grey5);
}
.rating-sidebar__progress {
  width: 100%;
  height: 4px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background-color: var(--primary-grey-opacity6);
}
.rating-sidebar__progress-bar {
  width: 0;
  height: 100%;
  background-color: var(--primary-blue);
}
.rating-sidebar__count {
  min-width: 30px;
  font-weight: var(--fw-regular);
  font-size: 0.688rem;
  font-family: var(--font);
  color: var(--primary-grey5);
}
/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/reviews/item/detail/style.css */
/* LPD-17 Э7 (ТЗ §6.4): карточка отзыва — поверхность, звёзды, текст, подвал с
   купленным товаром. Обложка-градиент с одной буквой во всю ширину снята вместе
   с разметкой: буква была первой буквой НАЗВАНИЯ ТОВАРА, то есть заполнителем
   пустоты поверх неверных данных (§2 п. 10). */
.reviews-item-detail {
  /* Карточки одной высоты: ширину задаёт слайд, высоту тянет строка слайдера,
     подвал прижат книзу — «Читать полностью» больше не болтается на трёх уровнях. */
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background-color: var(--color-surface);
}

.reviews-item-detail__rating {
  margin-bottom: 12px;
}
.reviews-item-detail__rating .rating-stars {
  display: flex;
  column-gap: 2px;
}
.reviews-item-detail__rating .rating-star .icon {
  --icon-size: 16px;
}

.reviews-item-detail__text {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;

  font-size: var(--fs-15);
  font-weight: var(--fw-regular);
  font-family: var(--font);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
}

.reviews-item-detail__open {
  margin-top: 8px;
  width: max-content;
}
.reviews-item-detail__open .link {
  --link-font-size: var(--fs-14);

  /* LPD-19 (A-03): «Читать полностью» было 123×19 — тач-цель вдвое ниже нормы.
     Высота настоящая, не псевдоэлемент: ссылка одна в своём контейнере, накладываться
     не на что, а невидимая зона в списке отзывов сбивала бы попадание по соседней
     карточке. Только мобильная ширина — на десктопе указатель точный. */
  @media screen and (max-width: 768px) {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

/* Подвал: миниатюра купленного товара + его название + автор и дата отзыва */
.reviews-item-detail__foot {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  column-gap: 12px;
  align-items: center;
  border-top: 1px solid var(--color-hairline);
}
.reviews-item-detail__product-image {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background-color: var(--color-surface-sunken);
}
.reviews-item-detail__product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reviews-item-detail__product {
  min-width: 0;
}
.reviews-item-detail__product-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;

  font-size: var(--fs-14);
  font-weight: var(--fw-semibold);
  line-height: var(--leading-normal);
  color: var(--color-text);
}
.reviews-item-detail__meta {
  margin-top: 2px;
  display: flex;
  column-gap: 8px;
  flex-wrap: wrap;
  font-size: var(--fs-13);
  color: var(--color-text-muted);
}
.reviews-item-detail__date {
  font-variant-numeric: tabular-nums;
}

/* Раскрытие в попапе: карточка показывается целиком, без рамки и клэмпа */
#reviews_item_detail {
  --popup-container-padding: 46px;
}
#reviews_item_detail .reviews-item-detail {
  height: auto;
  border: 0;
  padding: 0;
}
#reviews_item_detail .reviews-item-detail__text {
  display: block;
}
#reviews_item_detail .reviews-item-detail__open {
  display: none;
}

/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/slider/style.css */
.block-slider {
  --slider-pagination-bottom: 40px;

  height: var(--slider-height, auto);

  @media screen and (max-width: 768px) {
    --slider-body-left-padding: 24px;
    --slider-body-top-padding: 42px;

    overflow: hidden;
  }
}
.block-slider > .container {
  display: flex;
  row-gap: 30px;
  flex-direction: column;

  @media screen and (max-width: 768px) {
    row-gap: 6px;
  }
}
.block-slider .block-slider__swiper {
  height: var(--slider-height, auto);
}

.block-slider__title {
  margin-bottom: 14px;
}

.block-slider__wrap {
  align-items: stretch;
}

.block-slider__item {
  height: auto;
}

.block-slider__html, .block-slider__html > *  {
  height: 100%;
}

.block-slider__image {
  height: 100%;
  z-index: 0;
  position: relative;
}
.block-slider__image :is(img, picture) {
  display: block;

  @media screen and (max-width: 768px) {
    object-fit: cover;
  }
}

.block-slider__body {
  z-index: 1;
  position: absolute;
  left: var(--slider-body-left-padding, 100px);
  top: var(--slider-body-top-padding, 64px);
  /* top: 50%; */
  /* transform: translateY(-50%); */
  min-height: 300px;

  display: flex;
  row-gap: 12px;
  /* justify-content: center; */
  flex-direction: column;

  @media screen and (max-width: 768px) {
    height: calc(100% - var(--slider-body-top-padding) * 2 - 50px - var(--slider-pagination-bottom));
    right: var(--slider-body-left-padding, 100px);
  }
}

.block-slider__title {
  font-size: 6.875rem;
  font-weight: var(--fw-bold);
  font-family: var(--font-2);

  background: linear-gradient(180deg, var(--slider-title-color, var(--primary-white)) 0%, rgba(255, 255, 255, 0.21) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  
  @media screen and (max-width: 768px) {
    font-size: 2.875rem;
    height: auto;
    max-height: 70px;
  }
}
.block-slider__title img {
  width: max-content;
}

.block-slider__subtitle {
  font-size: 2.125rem;
  font-weight: var(--fw-light);
  font-family: var(--font-2);
  color: var(--slider-subtitle-color, var(--primary-white));

  @media screen and (max-width: 768px) {
    font-size: 1.25rem;
  }
}

.block-slider__buttons:not(:first-child) {
  margin-top: 42px;

  @media screen and (max-width: 768px) {
    margin-top: auto;
  }
}
.block-slider__button {
  --button-font-size: 1.125rem;
  --button-width: max-content;
  --button-padding: 0 52px;
  --button-height: 56px;
}

.block-slider--carousel .block-slider__swiper {
  padding-bottom: 41px;

  @media screen and (max-width: 768px) {
    overflow: initial;
  }
}

.block-slider--default .block-slider__thumbs {
  z-index: 1;
  position: absolute;
  left: 0;
  right: 0;
  top: auto;
  bottom: 0;

  display: flex;
  column-gap: 0;
  align-items: center;

  backdrop-filter: blur(4px);
  background-color: var(--primary-white-opacity);
}
.block-slider--default .block-slider__thumb {
  width: 100%;
  min-width: 350px;
  height: 70px;
  padding: 0 30px;
  cursor: pointer;
  z-index: 0;
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 0.88rem;
  font-weight: var(--fw-medium);
  font-family: var(--font);
  text-transform: uppercase;
  color: var(--slider-thumbs-text-color, var(--primary-white-blue2));
  transition: .3s;
}
.block-slider--default .block-slider__thumb--active {
  color: var(--slider-thumbs-text-active-color, var(--primary-white));
}
.block-slider--default .block-slider__thumb:hover {
  color: var(--slider-thumbs-text-hover-color, var(--primary-white));
}
.block-slider--default .block-slider__thumb a {
  border-bottom: 1px solid transparent;
}
.block-slider--default .block-slider__thumb a:hover {
  color: currentColor;
  border-color: currentColor;
}
.block-slider--default .block-slider__thumb a::before {
  content: '';
  display: block;
  z-index: 1;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.block-slider--default .block-slider__pagination {
  width: max-content;
  left: var(--slider-body-left-padding, 100px);
  bottom: var(--slider-pagination-bottom, 40px);

  display: flex;
  column-gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.block-slider--default .block-slider__thumbs ~ .block-slider__pagination {
  --slider-pagination-bottom: 144px;
  /* bottom: var(--slider-pagination-bottom, 100px); */
}
.block-slider--default .swiper-pagination-bullet {
  --swiper-pagination-bullet-width: 12px;
  --swiper-pagination-bullet-height: 12px;
  --swiper-pagination-bullet-border-radius: var(--radius-sm);
  --swiper-pagination-bullet-horizontal-gap: 0px;
  --swiper-pagination-color: var(--primary-white);
  --swiper-pagination-bullet-inactive-color: var(--primary-white);
  
  opacity: 1;
  position: relative;
  font-size: 0 !important;
}
.block-slider--default .swiper-pagination-bullet-active::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  background-color: var(--primary-grey2);
  transform: translateX(-50%) translateY(-50%);
}

.block-slider__scrollbar {
  --swiper-scrollbar-top: 40px;
  --swiper-scrollbar-bottom: 0;
  --swiper-scrollbar-size: 1px;
  --swiper-scrollbar-sides-offset: 0;

  width: 100% !important;
}
.block-slider--default .block-slider__scrollbar {
  --swiper-scrollbar-top: auto;
  --swiper-scrollbar-bottom: 8px;
  --swiper-scrollbar-border-radius: var(--radius-sm);
  --swiper-scrollbar-bg-color: var(--primary-white-blue2);
  --swiper-scrollbar-drag-bg-color: var(--primary-white-blue2);
}
.block-slider--default .block-slider__thumbs ~ .block-slider__scrollbar {
  --swiper-scrollbar-top: auto;
  --swiper-scrollbar-bottom: 70px;
}
.block-slider--default .block-slider__scrollbar .swiper-scrollbar-drag {
  height: 2px;
}
.block-slider--carousel .block-slider__scrollbar {
  /* margin-top: 60px; */
  position: relative !important;
}

.block-slider__pagination {
  --swiper-pagination-bottom: 0;
  --swiper-pagination-bullet-size: 38px;
  --swiper-pagination-bullet-border-radius: var(--radius-sm);
  --swiper-pagination-bullet-inactive-color: transparent;
  --swiper-pagination-bullet-inactive-opacity: 1;

  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 40px;
  user-select: none;
}
.block-slider__pagination .swiper-pagination-bullet {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: var(--fw-regular);
  color: var(--primary-grey5);
}
.block-slider__pagination .swiper-pagination-bullet-active {
  --swiper-pagination-color: transparent;

  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

/* Если внутри другого блока */
[class^="block-"] .block-slider, [class^="block-"] .block-slider :is(.block-slider__container, .block-slider__swiper) {
  height: 100%;
}
[class^="block-"] .block-slider .block-slider__swiper {
  /* padding-bottom: 61px; */
}

/*  */
.works-carousel :is(picture, img) {
  object-fit: cover;
}
/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/reviews/carousel/style.css */
.reviews-carousel {
  padding: 60px 0;
  background-color: var(--primary-white-grey);

  @media screen and (max-width: 768px) {
    padding: 30px 0;
  }
}
/* .reviews-carousel::before {
  content: '';
  z-index: -1;
  position: absolute;
  left: 50%;
  top: 0;
  height: 100%;
  width: 2000vw;
  transform: translateX(-50%);
  background-color: var(--primary-white-grey);
} */
.reviews-carousel > .container {
  display: flex;
  row-gap: 24px;
  flex-direction: column;
}

.reviews-carousel__container {
  display: flex;
  column-gap: 24px;
  align-items: stretch;

  @media screen and (max-width: 768px) {
    row-gap: 40px;
    flex-direction: column;
    position: relative;
    padding-bottom: 100px;
  }
}

.reviews-carousel__sidebar {
  display: flex;
  row-gap: 60px;
  flex-direction: column;

  width: var(--reviews-carousel-sidebar-size, var(--column-size));
}
.reviews-carousel__page-all {
  margin-top: auto;

  @media screen and (max-width: 768px) {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
  }
}

.reviews-carousel__slider {
  width: 100%;
  overflow: hidden;
}
/* https://www.sochi.lespromdom.ru/catalog/view/theme/LESPROM/template/_blocks/seo/category_text/style.css */
/* SEO-ТЕКСТ КАТЕГОРИИ (LPD-05 R3).
   Отдельная секция, а не абзац в потоке: у неё своя рубрика, ширина строки под чтение и
   спокойная подложка, чтобы текст не выглядел технической подписью под каталогом. */
.seo-text {
  margin: 44px 0 0;
}

.seo-text .container {
  display: grid;
  gap: 16px;
  padding-top: 32px;
  padding-bottom: 32px;
  border-top: 1px solid var(--color-hairline);
}

.seo-text__head {
  display: grid;
  gap: 8px;
}

.seo-text__eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 24px;
  padding-left: 14px;
  font-family: var(--font-2);
  font-size: .9375rem;
  font-weight: var(--fw-bold);
  line-height: 1.25;
  color: var(--primary-blue);
}

.seo-text__eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 16px;
  background-color: var(--primary-blue);
  transform: translateY(-50%);
}

.seo-text__title {
  margin: 0;
  font-family: var(--font-2);
  font-size: 1.5rem;
  font-weight: var(--fw-extrabold);
  line-height: 1.25;
  color: var(--color-text);
  text-wrap: balance;
}

/* 68ch — та же мера строки, что у остальных SEO-блоков (правило Shared Design Rules). */
.seo-text__body {
  max-width: 68ch;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.seo-text__body p {
  margin: 0 0 14px;
}

.seo-text__body p:last-child {
  margin-bottom: 0;
}

.seo-text__body :is(h3, h4) {
  margin: 22px 0 8px;
  font-family: var(--font-2);
  font-size: 1.0625rem;
  font-weight: var(--fw-bold);
  line-height: 1.3;
  color: var(--color-text);
}

.seo-text__body :is(ul, ol) {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  padding-left: 22px;
}

.seo-text__body a {
  color: var(--color-accent-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Свёртка на чекбоксе — без JS, как в блоке text после LPD-17 Э7: состояние держит
   разметка, клавиатура работает нативно. */
.seo-text__toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.seo-text--collapsible .seo-text__body {
  position: relative;
  max-height: 7.5em;
  overflow: hidden;
}

.seo-text--collapsible .seo-text__body::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3em;
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--color-bg));
}

.seo-text__toggle:checked ~ .seo-text__body {
  max-height: none;
}

.seo-text__toggle:checked ~ .seo-text__body::after {
  content: none;
}

.seo-text__more {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  cursor: pointer;
  font-size: .9375rem;
  font-weight: var(--fw-semibold);
  color: var(--color-accent-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.seo-text__more span::before {
  content: attr(data-open);
}

.seo-text__toggle:checked ~ .seo-text__more span::before {
  content: attr(data-close);
}

.seo-text__toggle:focus-visible ~ .seo-text__more {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media screen and (max-width: 768px) {
  .seo-text {
    margin-top: 32px;
  }

  .seo-text .container {
    padding-top: 24px;
    padding-bottom: 24px;
    gap: 14px;
  }

  .seo-text__title {
    font-size: 1.1875rem;
  }

  .seo-text__body {
    font-size: .9375rem;
    line-height: var(--leading-loose);
  }
}

