/* /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 (см. выше). */
/* /catalog/view/theme/LESPROM/template/_blocks/rating/inline/style.css */
.rating-inline {
  display: flex;
  column-gap: 6px;
  align-items: center;
}
.rating-inline__star {
  --icon-size: 14px;
  --icon-fill: var(--primary-orange);
  transform: translateY(-2px);
}
.rating-inline__total {
  font-weight: var(--fw-medium);
  font-size: 0.813rem;
  color: var(--primary-grey);
}
.rating-inline__separator {
  width: 2px;
  height: 2px;
  background-color: var(--primary-blue);
}
.rating-inline__count {
  font-weight: var(--fw-regular);
  font-size: 0.813rem;
  color: var(--primary-blue);
}
/* /catalog/view/theme/LESPROM/template/_blocks/product/style.css */
#product {
  width: 100%;
  display: flex;
  row-gap: var(--page-containers-offset);
  flex-direction: column;
}

.product-headline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.product-headline__left {
  display: flex;
  row-gap: 20px;
  flex-direction: column;
}
.product-name {
  padding-right: 40px;

  @media screen and (max-width: 768px) {
    padding-right: 0px;
  }
}
.product-name h1 {
  font-size: 1.5rem;
  /* LPD-17 Э1: было --fw-regular, но из-за сломанных дескрипторов @font-face
     фактически рендерился Black. После починки вес 400 дал бы Regular — заголовок
     карточки товара резко похудел бы. 800 сохраняет текущий вид и совпадает
     с ролью H1 из ТЗ (RF Dewi 800). */
  font-weight: var(--fw-extrabold);
  font-family: var(--font-2);

  @media screen and (max-width: 768px) {
    font-size: 1.25rem;
  }
}
.product-headline__bottom {
  display: flex;
  column-gap: 32px;
  align-items: center;

  @media screen and (max-width: 768px) {
    column-gap: 16px;
  }
}
.product-headline__article-link {
  --link-color: var(--primary-grey5);
  --link-font-size: 0.813rem;
  --link-font-weight: var(--fw-regular);
}
.product-headline__article-link .icon {
  --link-icon-size: 16px;

  order: 2;
}
.product-headline__right {
  @media screen and (max-width: 768px) {
    margin-top: auto;
  }
}
.product-headline__share {
  --link-color: var(--primary-grey5);
  --link-icon-size: 18px;
  --link-icon-fill: var(--primary-blue);

  font-weight: var(--fw-regular);
  font-size: 0.875rem;
}
.product-headline__share .link__text {
  @media screen and (max-width: 768px) {
    display: none;
  }
}

/* DETAIL */
/* LPD-18 Э3. Две колонки вместо трёх.
   Было: галерея (4.5/12) | параметры (4.5/12) | покупка — и центральная колонка держала две
   строки характеристик со ссылкой, то есть треть первого экрана занимала пустота. Стало:
   слева весь контент товара (галерея, затем переключатель вариантов и характеристики),
   справа — липкий блок покупки во всю высоту.
   Сетка именованными областями, а не порядком: на мобильном она распускается в один столбец,
   где блок покупки обязан идти ПЕРВЫМ (order:1 у .product-buy ниже) — цена и кнопка должны
   встречаться до простыни характеристик. */
.product-detail {
  --product-detail-collumns-gap: 30px;

  margin-top: -40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.62fr);
  grid-template-areas:
    "media buy"
    "params buy";
  align-items: start;
  column-gap: 0;

  @media screen and (max-width: 768px) {
    margin-top: -14px;
    row-gap: 16px;
    display: flex;
    flex-direction: column;
  }
}

/* IMAGES */
.product-slider {
  --thumbs-slider-item-size: 74px;

  grid-area: media;
  display: flex;
  column-gap: 22px;
  align-items: stretch;
  min-width: 0;
  padding-right: var(--product-detail-collumns-gap);
  /* Sticky снят: галерея больше не отдельная колонка, а верх левой. Липнуть должен только
     блок покупки, иначе при прокрутке к характеристикам фото уезжает поверх них. */

  @media screen and (max-width: 768px) {
    margin-bottom: 5px;
    padding-right: 0;
  }
}
.product-slider__thumbs {
  --slider-height: 100%;

  min-width: var(--thumbs-slider-item-size);
  max-width: var(--thumbs-slider-item-size);
  overflow: hidden;
  height: 355px;

  @media screen and (max-width: 768px) {
    display: none;
  }
}
.product-slider__thumbs :is(.block-slider, .container, .block-slider__container, .block-slider__swiper) {
  height: calc(1 * 100%);
  max-height: 100vw;
}
.product-slider__thumbs .block-slider__swiper {
  padding-bottom: 0;
}
.product-slider__thumbs .block-slider__item {
  width: var(--thumbs-slider-item-size);
  height: var(--thumbs-slider-item-size);
}
.product-slider__thumbs .block-slider__image {
  width: var(--thumbs-slider-item-size);
  height: var(--thumbs-slider-item-size);
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--primary-grey-opacity4);
}
.product-slider__thumbs .swiper-slide-thumb-active .block-slider__image {
  border-color: var(--primary-blue);
}
.product-slider__thumbs img {
  object-fit: cover;
  aspect-ratio: 1.19 / 1;
}
.product-slider__images {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--primary-grey-opacity5);

  @media screen and (max-width: 768px) {
    width: var(--container);
  }
}
#product-slider-images, #product-slider-images :is(.container, .block-slider__container, .block-slider__swiper) {
  height: 100%;
}
.product-slider__images img {
  object-fit: cover;
  aspect-ratio: 1.22 / 1;
  /* LPD-18 Э3: галерея стала шире (левая колонка вместо трети экрана), и при свободной
     пропорции кадр вырастал до ~600px, выдавливая цену и кнопку за первый экран. */
  max-height: 460px;
}

/* ═══ LPD-18 Э3. Переключатель вариантов ═══
   Живёт в центральной колонке, которая до этого держала две строки характеристик и ссылку —
   на первом экране там зияла пустота шириной в треть страницы. */
.variant-axes {
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* Родитель .product-parameters — колоночный flex с flex-wrap:wrap, а в такой раскладке
     дети НЕ растягиваются до его ширины, а берут ширину по содержимому. Из-за этого ряд
     чипов раздувал контейнер до 398px при родителе 351px и уезжал под его overflow:hidden
     вместо переноса. Ширину задаём явно, min-width:0 снимает дефолтный min-width:auto. */
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.variant-axis,
.variant-axis__chips {
  min-width: 0;
  max-width: 100%;
}

.variant-axis__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.variant-axis__name {
  font-size: .875rem;
  font-weight: var(--fw-bold);
  color: var(--color-text);
}

.variant-axis__note {
  font-size: .75rem;
  color: var(--color-text-muted);
}

.variant-axis__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.variant-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  min-height: 44px;
  justify-content: center;
  padding: 7px 13px;
  width: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--primary-white);
  font-size: .8125rem;
  font-weight: var(--fw-semibold);
  line-height: var(--leading-tight);
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}

.variant-chip:hover,
.variant-chip:focus-visible {
  border-color: var(--color-border-strong);
  color: var(--color-text);
}

.variant-chip__price {
  font-size: .6875rem;
  font-weight: var(--fw-semibold);
  color: var(--color-text-muted);
  white-space: nowrap;
}

/* Текущий вариант отмечен рамкой, а не заливкой: заливка синим сделала бы его похожим на
   кнопку действия, хотя нажимать на него незачем. */
.variant-chip--current {
  border-color: var(--color-accent);
  box-shadow: inset 0 0 0 1px var(--color-accent);
  background-color: var(--primary-blue-opacity2);
  color: var(--color-text);
  cursor: default;
}

.variant-chip--current .variant-chip__price {
  color: var(--color-accent-strong);
}

.variant-chip--absent {
  border-style: dashed;
  color: var(--color-text-muted);
  cursor: default;
}

/* PARAMETERS */
.product-parameters {
  /* LPD-18 Э3: параметры переехали под галерею в левую колонку. min-width 4.5/12 снят —
     он держал их отдельным столбцом и был причиной пустоты в центре первого экрана. */
  grid-area: params;
  padding-right: var(--product-detail-collumns-gap);
  padding-top: 28px;
  min-width: 0;

  display: flex;
  row-gap: 28px;
  flex-wrap: wrap;
  flex-direction: column;

  @media screen and (max-width: 768px) {
    order: 2;
    width: 100%;
    padding-right: 0;
    min-width: none;
    overflow: hidden;
    max-width: var(--container);
  }
}

/* ATTRIBUTES
   LPD-22 (06.10.2026), вопрос владельца «это в таком дизайне должно быть?». Таблица шириной
   100% с авто-раскладкой делила колонку пополам: на десктопе значения стояли в ~600px от
   подписей, глаз не связывал «Материал:» с «Лиственница». На телефоне ячейки шли блоками
   одна под другой с одинаковыми интервалами — пары тоже не читались. Теперь везде одна
   раскладка: подпись по ширине самой длинной (width: 1% сжимает колонку до содержимого),
   значение сразу за ней, строки разделены волосяной линией. max-width держит линии
   короткими в широкой колонке под галереей. */
.product-attributes {
  max-width: 560px;
  border-collapse: collapse;
}
.product-attribute {
  font-weight: var(--fw-regular);
  font-size: 0.875rem;
  line-height: 1.4;
  font-family: var(--font);
  border-bottom: 1px solid var(--color-hairline);
}
.product-attribute:last-child {
  border-bottom: 0;
}
.product-attribute td {
  padding: 9px 0;
  vertical-align: top;
}
.product-attribute td:first-child {
  width: 1%;
  padding-right: 32px;
  white-space: nowrap;

  /* На телефоне подпись может переноситься: длинное имя атрибута не должно
     съесть колонку значения. */
  @media screen and (max-width: 768px) {
    max-width: 45vw;
    padding-right: 16px;
    white-space: normal;
  }
}
.product-attribute span {
  color: var(--primary-grey5);
}
.product-attribute strong {
  font-weight: var(--fw-regular);
  white-space: break-spaces;
  color: var(--primary-color);
}


/* OFFERS */
.product-offers-wrap {
  display: flex;
  row-gap: 28px;
  flex-direction: column;
}
.product-offers {
  display: flex;
  row-gap: 32px;
  flex-direction: column;
}
.product-offers__group {
  display: flex;
  row-gap: 16px;
  flex-direction: column;
}
.product-offers__title {
  font-weight: var(--fw-semibold);
  font-size: 1rem;
  font-family: var(--font);
  color: var(--product-offers-title-color, var(--primary-color));
}
.product-offers__list {
  display: grid;
  row-gap: 8px;
  column-gap: 8px;
  /* flex-wrap: wrap; */
  box-sizing: border-box;
  grid-template-columns: repeat( auto-fill, minmax(112px, 1fr) );
}
.product-offers__item {
  cursor: pointer;
  width: 100%;
  min-height: 34px;
  align-self: stretch;
  justify-self: center;
  box-sizing: border-box;
  /* padding: 0 8px; */
  border: 1px solid var(--product-offers-item-border-color, var(--primary-grey-opacity4));
}
.product-offers__detail {
  display: flex;
  row-gap: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 8px 8px;
  box-sizing: border-box;
}
.product-offers__item--active {
  pointer-events: none;
}
.product-offers__item--disabled {
  pointer-events: none;
  opacity: .5;
}
.product-offers__item:hover, .product-offers__item--active {
  border-color: var(--product-offers-item-border-hover-color, var(--primary-blue));
}
.product-offers__name {
  font-weight: var(--fw-regular);
  font-size: 0.813rem;
  font-family: var(--font);
  text-align: center;
  /* white-space: nowrap; */
  color: var(--product-offers-item-name-color, var(--primary-color));
}
.product-offers__item:hover .product-offers__name, .product-offers__item--active .product-offers__name {
  color: var(--product-offers-item-name-hover-color, var(--primary-blue));
}
.product-offers__text {
  font-weight: var(--fw-regular);
  font-size: 0.813rem;
  font-family: var(--font);
  color: var(--product-offers-item-text-color, var(--primary-grey2));
}

/* BACK TO LEVEL (LPD-14 Э2): возврат с позиции на срез размеров.
   Единственная навигационная ссылка на карточке позиции — цвет ссылки берём
   штатный (--primary-blue из .link), приглушать её нечем. */
.product-back-level {
  display: flex;
}
.product-back-level__link {
  --link-font-size: 0.875rem;
  --link-font-weight: var(--fw-regular);
  --link-font-family: var(--font);
  /* width:auto гасит глобальное `a { width: max-content }`: на 360px строка «Другие
     размеры и сорта: Блок-хаус из лиственницы» растягивалась до 366px и хвост срезался
     контейнером параметров. */
  width: auto;
  /* Стрелка — к первой строке: при переносе на две строки center опускал её между ними. */
  align-items: flex-start;
}
.product-back-level__link .icon {
  margin-top: 4px;
}

.product-offers-wrap--table {
  width: 100%;
}
.product-offers--table {
  row-gap: 18px;
}
.product-offers-table__header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  column-gap: 24px;
}
.product-offers-table__header h2 {
  margin: 0 0 8px;
  font-weight: var(--fw-semibold);
  font-size: 1.375rem;
  line-height: 1.25;
  font-family: var(--font-2);
  color: var(--primary-color);
}
.product-offers-table__header p {
  margin: 0;
  font-weight: var(--fw-regular);
  font-size: 0.938rem;
  line-height: var(--leading-comfortable);
  color: var(--primary-grey5);
}
.product-offers-table__rows {
  display: flex;
  row-gap: 12px;
  flex-direction: column;
}
.product-offers-table__row {
  display: grid;
  grid-template-columns: 128px minmax(260px, 1fr) minmax(410px, 0.92fr);
  column-gap: 24px;
  align-items: center;
  padding: 20px 22px;
  border: 1px solid var(--primary-grey-opacity4);
  border-radius: 6px;
  background-color: var(--primary-white);
}
.product-offers-table__row--active {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 1px var(--primary-blue);
}
.product-offers-table__image {
  display: block;
  width: 128px;
  height: 104px;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--primary-grey-opacity5);
  background-color: var(--primary-white-grey);
}
.product-offers-table__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.product-offers-table__main {
  min-width: 0;
  display: flex;
  row-gap: 10px;
  flex-direction: column;
}
.product-offers-table__name {
  font-weight: var(--fw-semibold);
  font-size: 1.125rem;
  line-height: var(--leading-snug);
  color: var(--primary-color);
}
.product-offers-table__name:hover {
  color: var(--primary-blue);
}
.product-offers-table__specs {
  display: flex;
  row-gap: 6px;
  column-gap: 14px;
  flex-wrap: wrap;
  font-size: 0.875rem;
  line-height: var(--leading-normal);
  color: var(--primary-grey5);
}
.product-offers-table__specs span {
  display: inline-flex;
  column-gap: 4px;
  min-width: 0;
}
.product-offers-table__specs strong {
  font-weight: var(--fw-medium);
  color: var(--primary-grey2);
}
.product-offers-table__stock {
  display: inline-flex;
  column-gap: 8px;
  align-items: center;
  width: fit-content;
  font-weight: var(--fw-medium);
  font-size: 0.875rem;
  color: var(--primary-gey-green);
}
.product-offers-table__stock-icon {
  width: 12px;
  height: 12px;
  padding: 2px;
  flex: 0 0 auto;
  background-color: var(--product-offer-stock-bg, var(--primary-green-opacity));
}
.product-offers-table__stock-icon::before {
  content: '';
  width: 100%;
  height: 100%;
  display: block;
  background-color: var(--product-offer-stock-dot, var(--primary-green-opacity2));
}
.product-offers-table__stock-icon--no {
  --product-offer-stock-bg: var(--primary-red-opacity);
  --product-offer-stock-dot: var(--primary-red-opacity2);
}
.product-offers-table__stock-icon--middle {
  --product-offer-stock-bg: var(--primary-yellow-opacity);
  --product-offer-stock-dot: var(--primary-yellow-opacity2);
}
.product-offers-table__stock-icon--few {
  --product-offer-stock-bg: var(--primary-orange-opacity);
  --product-offer-stock-dot: var(--primary-orange-opacity2);
}
.product-offers-table__commerce {
  display: grid;
  grid-template-columns: minmax(112px, auto) minmax(138px, auto) minmax(170px, 1fr);
  column-gap: 18px;
  align-items: center;
  width: 100%;
  min-width: 0;
}
.product-offers-table__price-box {
  width: 100%;
  min-width: 0;
}
.product-offers-table__price {
  font-weight: var(--fw-bold);
  font-size: 1.25rem;
  line-height: 1.15;
  white-space: nowrap;
  color: var(--primary-color);
}
.product-offers-table__price--request {
  font-size: 1rem;
  white-space: normal;
}
.product-offers-table__oldprice {
  margin-top: 2px;
  font-size: 0.813rem;
  text-decoration: line-through;
  color: var(--primary-grey3);
}
.product-offers-table__measure {
  margin-top: 4px;
  font-size: 0.875rem;
  line-height: var(--leading-tight);
  color: var(--primary-grey5);
}
.product-offers-table__qty {
  display: flex;
  row-gap: 6px;
  flex-direction: column;
  font-size: 0.813rem;
  line-height: var(--leading-tight);
  color: var(--primary-grey5);
}
.product-offers-table__stepper {
  display: grid;
  grid-template-columns: 44px 54px 44px;
  height: 48px;
  overflow: hidden;
  border: 1px solid var(--primary-grey-opacity4);
  border-radius: 5px;
  background-color: var(--primary-white);
}
.product-offers-table__stepper button,
.product-offers-table__stepper input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: var(--font);
  color: var(--primary-color);
}
.product-offers-table__stepper button {
  cursor: pointer;
  font-size: 1.625rem;
  line-height: var(--leading-none);
  color: var(--primary-grey5);
}
.product-offers-table__stepper button:hover {
  color: var(--primary-blue);
}
.product-offers-table__stepper input {
  font-weight: var(--fw-semibold);
  font-size: 1rem;
  text-align: center;
  appearance: textfield;
}
.product-offers-table__stepper input::-webkit-outer-spin-button,
.product-offers-table__stepper input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}
.product-offers-table__actions {
  display: flex;
  row-gap: 10px;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  justify-self: stretch;
}
.product-offers-table__checkout,
.product-offers-table__basket,
.product-offers-table__callback {
  --button-width: 100%;
  --button-padding: 0 18px;
  --button-font-size: 0.938rem;
  white-space: nowrap;
}
.product-offers-table__actions .button {
  width: 100% !important;
}

@media screen and (max-width: 1180px) {
  .product-offers-table__row {
    grid-template-columns: 112px minmax(220px, 1fr);
  }
  .product-offers-table__commerce {
    grid-column: 2;
    grid-template-columns: minmax(112px, auto) minmax(138px, auto) minmax(170px, 1fr);
  }
  .product-offers-table__image {
    width: 112px;
    height: 96px;
  }
}

@media screen and (max-width: 768px) {
  .product-offers-wrap--table {
    width: var(--container);
    max-width: var(--container);
  }
  .product-offers-table__header h2 {
    font-size: 1.125rem;
  }
  .product-offers-table__header p {
    font-size: 0.875rem;
  }
  .product-offers-table__row {
    grid-template-columns: 88px minmax(0, 1fr);
    row-gap: 16px;
    column-gap: 14px;
    padding: 14px;
    max-width: 100%;
    box-sizing: border-box;
  }
  .product-offers-table__image {
    width: 88px;
    height: 84px;
  }
  .product-offers-table__name {
    font-size: 0.938rem;
    line-height: 1.32;
  }
  .product-offers-table__specs {
    row-gap: 4px;
    font-size: 0.813rem;
  }
  .product-offers-table__specs span {
    display: flex;
    width: 100%;
  }
  .product-offers-table__commerce {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    row-gap: 14px;
  }
  .product-offers-table__price {
    font-size: 1.125rem;
  }
  .product-offers-table__qty {
    width: 100%;
  }
  .product-offers-table__stepper {
    grid-template-columns: 48px 1fr 48px;
  }
  .product-offers-table__actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .product-offers-table__checkout,
  .product-offers-table__basket,
  .product-offers-table__callback {
    min-height: 48px;
    white-space: normal;
  }
}

/* BUY BLOCK */
.product-buy {
  /* LPD-18 Э3: правая колонка на всю высоту двух левых рядов. Рамка и белый фон появились
     вместе с ней: раньше блок висел в воздухе без границы и на длинной странице терялся. */
  grid-area: buy;
  display: flex;
  row-gap: 24px;
  flex-direction: column;
  padding: 20px 24px;
  min-width: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background-color: var(--color-surface);
  box-shadow: 0 1px 2px rgba(25, 31, 45, .06), 0 8px 24px rgba(25, 31, 45, .06);
  top: 120px;
  position: sticky;

  /* LPD-22 (05.10.2026): на телефоне колонка идёт во всю ширину страницы, и отступ внутри
     обнулён, чтобы не сжимать калькулятор. Рамка с тенью при этом оставались — цена и
     «Условия заказа» ложились вплотную на линию. Рамку снимаем вместе с отступом: внутренние
     карточки (доставка, покраска, калькулятор) рисуют свои, а текст встаёт на поле страницы. */
  @media screen and (max-width: 768px) {
    order: 1;
    width: 100%;
    padding: 0;
    position: initial;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
  }
}
.product-prices {
  display: flex;
  column-gap: 10px;
  align-items: center;
}
.product-price {
  font-weight: var(--fw-semibold);
  font-size: 1.625rem;
  font-family: var(--font);
  color: var(--primary-color);

  display: flex;
  column-gap: 3px;
  align-items: flex-start;
}
.product-price span {
  font-weight: var(--fw-medium);
  font-size: 0.875rem;
  transform: translateY(4px);
}
.product-oldprice {
  font-weight: var(--fw-regular);
  font-size: 0.875rem;
  font-family: var(--font);
  text-decoration: line-through;
  color: var(--primary-grey3);
}
.product-mesure {
  font-weight: var(--fw-regular);
  font-size: 0.875rem;
  font-family: var(--font);
  text-decoration: line-through;
  color: var(--primary-grey2);
}
.product-minimum {
  font-weight: var(--fw-regular);
  font-size: 0.875rem;
  font-family: var(--font);
  color: var(--primary-grey2);
  margin-top: -20px;
}
.product-buttons {
  display: flex;
  row-gap: 20px;
  column-gap: 16px;
  flex-wrap: wrap;

  @media screen and (max-width: 768px) {
    position: fixed;
    left: 0;
    bottom: 50px;
    right: 0;
    padding: 12px;
    z-index: 9;
    width: 100vw;
    flex-wrap: nowrap;
    overflow: hidden;
    border-radius: 5px 5px 0 0;
    background-color: var(--primary-white);
    box-shadow: 0 -3px 4px 0 var(--primary-color-opacity2);
  }
}
.product-add-basket {
  @media screen and (max-width: 768px) {
    width: 100% !important;
  }
}
.product-checkout ~ .product-add-basket {
  @media screen and (max-width: 768px) {
    width: calc(50% - 10px) !important;
  }
}
.product-checkout {
  order: 3;
  
  @media screen and (max-width: 768px) {
    order: -1;
    width: calc(50% - 10px) !important;
  }
}
.product-offers-table__checkout ~ .product-offers-table__basket {
  @media screen and (max-width: 768px) {
    width: 100% !important;
  }
}
.product-offers-table__checkout {
  order: 0;
}
.product-offers-table__basket {
  order: 1;
}
[href="#wishlist-add"] .icon--wishlist-fill {
  display: none;
}
[href="#wishlist-delete"] .icon--wishlist {
  display: none;
}
[href="#wishlist-delete"] .icon {
  --button-icon-fill: var(--primary-blue);
}
.product-add-wishlist {
  @media screen and (max-width: 768px) {
    display: none;
  }
}

.product-stock {
  display: flex;
  column-gap: 12px;
  align-items: center;

  padding: 0 24px;
  height: 48px;
  background-color: var(--primary-white-grey);
}
.product-stock__info {
  display: flex;
  column-gap: 20px;
  align-items: center;
  font-weight: var(--fw-regular);
  font-size: 0.813rem;
  color: var(--primary-gey-green);
}
[class^="product-stock__info-"] {
  width: 10px;
  height: 10px;
  padding: 2px;
  background-color: var(--product-stock-background, var(--primary-green-opacity));
}
[class^="product-stock__info-"]::before {
  content: '';
  width: 100%;
  height: 100%;
  display: block;
  background-color: var(--product-stock-background2, var(--primary-green-opacity2));
}
.product-stock__info-no {
  --product-stock-background: var(--primary-red-opacity);
  --product-stock-background2: var(--primary-red-opacity2);
}
.product-stock__info-many {
  --product-stock-background: var(--primary-green-opacity);
  --product-stock-background2: var(--primary-green-opacity2);
}
.product-stock__info-middle {
  --product-stock-background: var(--primary-yellow-opacity);
  --product-stock-background2: var(--primary-yellow-opacity2);
}
.product-stock__info-few {
  --product-stock-background: var(--primary-orange-opacity);
  --product-stock-background2: var(--primary-orange-opacity2);
}
.product-stock__quantity {
  font-weight: var(--fw-regular);
  font-size: 0.813rem;
  font-family: var(--font);
  color: var(--primary-blue);
}

/* LPD-15 (2.3) REASSURANCE у цены */
.product-reassurance {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  padding: 14px 24px;
  background-color: var(--primary-white-grey);
}

.product-reassurance__item {
  display: flex;
  column-gap: 10px;
  align-items: center;
  font-size: 0.875rem;
  font-weight: var(--fw-regular);
  color: var(--primary-color);
}

.product-reassurance .icon {
  --icon-size: 18px;
  --icon-fill: var(--primary-blue);
  min-width: 18px;
}

.product-reassurance__pay {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 6px;
  column-gap: 12px;
  font-size: 0.8125rem;
  color: var(--primary-grey2);
}

.product-reassurance__pay img {
  width: auto;
  height: 18px;
  max-width: 100%;
}

/* ORDER TERMS — условия заказа и отгрузки (LPD-23 T7, ТЗ R5.3).
   Карточка с контуром и пункты на волосяных разделителях: не чеклист (там галочки
   у proof_quality), не таблица (grade_defects) и не проза — пары «термин → что это
   значит». Иконок нет намеренно: truck и pickup заняты соседним .product-reassurance
   в той же колонке, повтор глифа читался бы как повтор смысла (ТЗ, Images/icons). */
.order-terms {
  font-family: var(--font);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  padding: 16px;
  color: var(--color-text);
}

/* Внутри .product-buy (оффер, одиночный товар): колонка уже в рамке, вторая рамка
   подряд читалась бы как чужой блок — остаётся только верхний разделитель. */
.order-terms--buy {
  border: 0;
  border-top: 1px solid var(--color-hairline);
  border-radius: 0;
  padding: 20px 0 0;
}

/* Карточка-семейство: блока покупки нет, занимаем его колонку сетки .product-detail.
   Липкость та же, что у .product-buy, — иначе карточка условий уезжает вверх на первом
   же экране прокрутки витрины. */
.order-terms--column {
  grid-area: buy;
  position: sticky;
  top: 120px;
  min-width: 0;
  background-color: var(--color-surface);
}

.order-terms__title {
  font-family: var(--font-2);
  font-size: var(--fs-16);
  font-weight: var(--fw-bold);
  line-height: 1.3;
  color: var(--color-text);
  margin: 0;
}

.order-terms__intro {
  margin-top: 8px;
  font-size: var(--fs-13);
  line-height: 1.45;
  color: var(--color-text-muted);
}

.order-terms__intro p {
  margin: 0;
}

.order-terms__intro p + p {
  margin-top: 8px;
}

.order-terms__list {
  margin: 16px 0 0;
  padding: 0;
}

.order-terms__item {
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid var(--color-hairline);
}

.order-terms__item:first-child {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.order-terms__term {
  font-size: var(--fs-14);
  font-weight: var(--fw-semibold);
  line-height: 1.35;
  color: var(--color-text);
}

.order-terms__text {
  margin: 4px 0 0;
  font-size: var(--fs-13);
  line-height: 1.5;
  color: var(--color-text-secondary);
}

/* Грабли проекта: normalize.css:195 даёт всем <a> ширину max-content — в узкой колонке
   такая ссылка не сжимается и распирает карточку, а хвост срезается (DOMAIN_MAP §12). */
.order-terms a {
  width: auto;
  max-width: 100%;
}

@media screen and (max-width: 768px) {
  .order-terms--column {
    /* .product-detail на телефоне — flex-столбец: у .product-buy order 1, у параметров 2.
       Условия идут последними. */
    order: 3;
    width: 100%;
    position: static;
    top: auto;
  }
}

/* DESCRIPTION
   LPD-26 (10.09.2026): описание рисует блок text в раскладке split — вид задаёт theme.css,
   как у SEO-блока главной. Прежняя надпись-вкладка «Описание» с синей чертой ушла вместе с
   разметкой (product/description.twig): заголовок теперь H2 в левой колонке. Здесь только
   отбивка секции: над описанием — плотная зона покупки и параметров того же белого поля,
   и без линии текст читался бы её продолжением. */
.product-description-wrap {
  padding-top: var(--space-7);
  border-top: 1px solid var(--color-hairline);

  @media screen and (max-width: 768px) {
    padding-top: var(--space-6);
  }
}

#popup-palitra {
  --popup-container-width: 800px;
  --popup-title-size: 1.5rem;
}

@media screen and (max-width: 768px) {
  footer {
    padding-bottom: 120px;
  }
}

/* GRADE GLOSSARY (UX-3): подсказка активного сорта. Полный глоссарий перенесён
   на уровень L3 — блок _blocks/grade_glossary (LPD-14 Э4, правило §5.1),
   с карточки на него ведёт однострочная ссылка. */
.product-offers__grade-hint {
  margin: 0;
  font-weight: var(--fw-regular);
  font-size: 0.875rem;
  line-height: var(--leading-comfortable);
  font-family: var(--font);
  color: var(--primary-grey5);
}
.product-offers__grade-link {
  display: inline-flex;
  align-items: center;
  width: auto;
  min-height: 44px;
  font-weight: var(--fw-medium);
  font-size: 0.875rem;
  line-height: var(--leading-comfortable);
  font-family: var(--font);
  color: var(--primary-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.product-offers__grade-link:hover {
  text-decoration: none;
}
.product-offers__grade-link:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* /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;
}
/* /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);
}

/* /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));
}
/* /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);
}
/* /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;
}

/* /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;
}
