@charset "UTF-8";

/* === assets/templates/s3/css/s3-colors.css === */
/* ==========================================================================
   Фирменные цвета проекта («Скатная-3»)
   ========================================================================== */

:root {
  /* Палитра */
  --color-tomato: #e22601;          /* Помидор */
  --color-pepper-orange: #fe8302;   /* Оранжевый перец */
  --color-pepper-yellow: #fdce04;   /* Жёлтый перец */
  --color-cucumber-light: #c9e241;  /* Огурец светлый */
  --color-basil: #4c9b04;           /* Базилик */
  --color-cucumber-dark: #297109;   /* Огурец тёмный */
  --color-eggplant: #491129;        /* Баклажан */

  /* Семантические роли */
  --color-default: var(--color-eggplant);
  --color-success: var(--color-basil);
  --color-info: var(--color-cucumber-light);
  --color-warning: var(--color-pepper-yellow);
  --color-danger: var(--color-tomato);
}

/* === assets/templates/s3/css/s3-base.css === */
/* Нативная плавная прокрутка страницы по якорям */
html {
  scroll-behavior: smooth;
}

/* Отступ сверху при переходе по якорю, чтобы липкая шапка сайта не перекрывала заголовок секции */
.s3 [id] {
  scroll-margin-top: 110px;
}

/* Внутристраничная якорная ссылка */
.s3-anchor {
  display: inline;
  padding-bottom: 1px;
  color: var(--color-basil, #4c9b04);
  border-bottom: 1px dashed color-mix(in srgb, var(--color-basil, #4c9b04) 60%, transparent);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.s3-anchor:hover,
.s3-anchor:focus {
  color: var(--color-cucumber-dark, #297109);
  border-bottom-color: transparent;
  text-decoration: none;
}

/* === assets/templates/s3/css/s3-badges.css === */
/* ==========================================================================
   Модуль единой системы бейджей и их групп (.s3-badge, .s3-badges)
   ========================================================================== */

:root {
  --s3-badge-radius: 999px;
  --s3-badge-padding: 5px 12px;
  --s3-badge-gap: 6px;
  --s3-badge-font-size: 12px;
  --s3-badge-font-weight: 600;
  --s3-badge-line-height: 1.2;

  --s3-badge-bg: #fff;
  --s3-badge-border: color-mix(in srgb, var(--color-basil, #4c9b04) 22%, #e6ece0);
  --s3-badge-color: #6c7564;
  --s3-badge-shadow: 0 4px 10px color-mix(in srgb, var(--color-cucumber-dark, #297109) 6%, transparent);
}

/* Группа бейджей */
.s3-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* Базовый бейдж (эталон — капсула счётчика) */
.s3-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s3-badge-gap);
  padding: var(--s3-badge-padding);
  border: 1px solid var(--s3-badge-border);
  border-radius: var(--s3-badge-radius);
  background: var(--s3-badge-bg);
  font-size: var(--s3-badge-font-size);
  font-weight: var(--s3-badge-font-weight);
  line-height: var(--s3-badge-line-height);
  letter-spacing: 0.02em;
  color: var(--s3-badge-color);
  box-shadow: var(--s3-badge-shadow);
  white-space: nowrap;
}

.s3-badge > i {
  font-size: 11px;
  line-height: 1;
}

/* Модификатор: фирменный зелёный (В наличии, Выгода) */
.s3-badge--soft {
  --s3-badge-bg: color-mix(in srgb, var(--color-basil, #4c9b04) 8%, #fff);
  --s3-badge-border: color-mix(in srgb, var(--color-basil, #4c9b04) 26%, transparent);
  --s3-badge-color: var(--color-cucumber-dark, #297109);
}

/* Модификатор: акцентный красный (Скидка) */
.s3-badge--sale {
  --s3-badge-bg: var(--color-tomato, #e22601);
  --s3-badge-border: transparent;
  --s3-badge-color: #fff;
  --s3-badge-shadow: 0 4px 12px color-mix(in srgb, var(--color-tomato, #e22601) 28%, transparent);
  font-weight: 700;
}

/* Модификатор: тёмный полупрозрачный поверх фото (Фото товара) */
.s3-badge--dark {
  --s3-badge-bg: color-mix(in srgb, var(--color-eggplant, #491129) 78%, transparent);
  --s3-badge-border: color-mix(in srgb, #fff 16%, transparent);
  --s3-badge-color: #fff;
  --s3-badge-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(4px);
}

/* Модификатор: жёлтый акцентный (резерв под акции/хиты) */
.s3-badge--yellow {
  --s3-badge-bg: var(--color-pepper-yellow, #fdce04);
  --s3-badge-border: transparent;
  --s3-badge-color: var(--color-eggplant, #491129);
}

/* === assets/templates/s3/css/s3-hero.css === */
/* --------------------------------------------------------------------------
   2. Hero — первый экран карточки товара
   -------------------------------------------------------------------------- */
.s3-hero {
  position: relative;
  margin: 0 0 40px;
  padding: 26px;
  border: 1px solid #e3ecd8;
  border-radius: 14px;
  background:
    radial-gradient(120% 120% at 100% 0%, #f2f9e9 0%, rgba(242, 249, 233, 0) 55%),
    linear-gradient(180deg, #fbfdf8 0%, #f5f9ef 100%);
  box-shadow: 0 10px 30px rgba(41, 113, 9, 0.06);
}

/* --- Грид-раскладка Hero (автономная, без сетки Bootstrap) --- */
.s3-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(390px, 1fr);
  grid-template-areas:
    "gallery info"
    "gallery price"
    "gallery actions";
  column-gap: 28px;
  row-gap: 18px;
  align-items: stretch;
}

.s3-hero__gallery { grid-area: gallery; }
.s3-hero__info    { grid-area: info; }
.s3-hero__price   { grid-area: price; }
.s3-hero__actions { grid-area: actions; }

.s3-hero__gallery,
.s3-hero__info,
.s3-hero__price,
.s3-hero__actions {
  min-width: 0;
}

/* Вертикальные отступы между областями задаёт row-gap грида */
.s3-hero__info .s3-usp {
  margin-bottom: 0;
}

.s3-hero__actions {
  display: flex;
  flex-direction: column;
}

.s3-hero__actions .s3-actions {
  margin-top: 0;
  margin-bottom: 16px;
}

/* Строка гарантий прижимается к низу блока, чтобы её низ совпал с низом счётчика кадров */
.s3-hero__actions .s3-buybox__trust {
  margin-top: auto;
}

/* --- Галерея --- */
.s3-gallery {
  position: relative;
}

.s3-gallery__main {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid #dde7d2;
  border-radius: 12px;
  background: #0d0d0d;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.s3-gallery__main img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.2s ease;
}

.s3-gallery__main:hover img {
  transform: scale(1.015);
  opacity: 0.95;
}

.s3-gallery__main .s3-gallery__zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(76, 155, 4, 0.92);
  color: #fff;
  font-size: 17px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s ease;
}

.s3-gallery__main:hover .s3-gallery__zoom {
  background: var(--color-cucumber-dark, #297109);
}

.s3-gallery__tag {
  position: absolute;
  left: 14px;
  top: 14px;
}

/* --- Лента миниатюр: одна строка с прокруткой --- */
.s3-gallery__strip {
  position: relative;
  margin-top: 10px;
}

.s3-gallery__thumbs {
  --visible-thumbs: 4;
  --thumb-gap: 8px;
  display: flex;
  gap: var(--thumb-gap);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.s3-gallery__thumbs::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.s3-gallery__thumb {
  position: relative;
  display: block;
  flex: 0 0 calc((100% - (var(--visible-thumbs) - 1) * var(--thumb-gap)) / var(--visible-thumbs));
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid #dfe8d5;
  border-radius: 8px;
  background: #0d0d0d;
  transition: border-color 0.2s ease;
}

.s3-gallery__thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.s3-gallery__thumb:hover img,
.s3-gallery__thumb:focus img {
  transform: scale(1.06);
  opacity: 0.9;
}

.s3-gallery__thumb.is-active {
  border-color: var(--color-basil, #4c9b04);
}

.s3-gallery__thumb:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 7px;
  box-shadow: inset 0 0 0 0 rgba(76, 155, 4, 0);
  transition: box-shadow 0.2s ease;
}

.s3-gallery__thumb:hover:after {
  box-shadow: inset 0 0 0 2px rgba(76, 155, 4, 0.65);
}

.s3-gallery__thumb.is-active:after {
  box-shadow: inset 0 0 0 2px var(--color-basil, #4c9b04);
}

/* Круглые полупрозрачные стрелки поверх краёв ленты */
.s3-gallery__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(13, 13, 13, 0.5);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 0.2s ease, opacity 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.s3-gallery__arrow span {
  margin-top: -3px;
}

.s3-gallery__arrow:hover,
.s3-gallery__arrow:focus {
  background: rgba(76, 155, 4, 0.95);
  outline: none;
}

.s3-gallery__arrow[disabled] {
  opacity: 0.3;
  cursor: default;
}

.s3-gallery__arrow[disabled]:hover {
  background: rgba(13, 13, 13, 0.5);
}

.s3-gallery__arrow--prev { left: 4px; }
.s3-gallery__arrow--next { right: 4px; }

/* Счётчик кадров */
.s3-gallery__meta {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.s3-gallery__counter {
}

.s3-gallery__counter-current {
  margin: 0 4px 0 3px;
  font-weight: 700;
  color: var(--color-cucumber-dark, #297109);
}

.s3-gallery__counter-total {
  margin-left: 3px;
  font-weight: 700;
  color: var(--color-eggplant, #491129);
}

/* Десктоп: галерея тянется на всю высоту грида, главное фото работает как «окошко» */
@media (min-width: 992px) {
  .s3-hero__gallery {
    display: flex;
    flex-direction: column;
  }

  .s3-gallery__main {
    flex: 1 1 auto;
    min-height: 360px;
  }

  .s3-gallery__main img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
  }

  .s3-gallery__strip,
  .s3-gallery__meta {
    flex: 0 0 auto;
  }
}

/* --- Покупательский блок --- */
.s3-buybox__badges {
  margin-bottom: 12px;
}

.s3-h1 {
  margin: 0 0 10px;
  font-family: "Roboto Slab", serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-eggplant, #491129);
}

.s3-h1 small {
  display: block;
  margin-top: 8px;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #6c7564;
}

.s3-usp {
  margin: 16px 0 18px;
  padding: 0;
  list-style: none;
}

.s3-usp li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed #dce7cf;
  font-size: 14px;
  line-height: 1.45;
}

.s3-usp li:last-child {
  border-bottom: 0;
}

.s3-usp i {
  flex: 0 0 20px;
  margin-top: 1px;
  font-size: 15px;
  color: var(--color-basil, #4c9b04);
}

.s3-usp b {
  color: var(--color-eggplant, #491129);
}

.s3-price {
  padding: 16px 18px;
  border: 1px solid #dbe7ce;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(41, 113, 9, 0.06);
}

.s3-price__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #7d8674;
}

.s3-price__row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 3px;
}

.s3-price__value {
  font-family: "Oswald", sans-serif;
  font-size: 40px;
  font-weight: 300;
  line-height: 1.1;
  color: var(--color-cucumber-dark, #297109);
}

.s3-price__cur {
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  color: var(--color-cucumber-dark);
}

/* Базовая (старая) цена: мельче и бледнее актуальной, перечёркнута косой чертой */
.s3-price__old {
  position: relative;
  display: inline-block;
  padding: 0 2px;
  font-family: "Oswald", sans-serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.1;
  color: #7d8674;
  white-space: nowrap;  
}

.s3-price__old::after {
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  top: calc(50% - 1px);
  height: 2px;
  border-radius: 2px;
  background: rgba(216, 3, 45, 0.55);
  transform: rotate(-12deg);
  pointer-events: none;
}

/* Плашка «выгода» — только для состояния со скидкой */
.s3-price__save {
  margin: 0 0 6px;
}

.s3-price__save i {
  font-size: 11px;
}

.s3-price__note {
  font-size: 12px;
  line-height: 1.5;
  color: #8b9383;
}

.s3-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.s3-actions .s3-btn {
  flex: 1 1 180px;
  min-width: 0;
}

/* --- Кнопки (автономные, в стилистике сайта) --- */
.s3-btn {
  display: inline-block;
  min-width: 160px;
  margin: 0;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.42857143;
  letter-spacing: 0.035em;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: 1px 1px 0 rgba(51, 51, 51, 0.5);
  vertical-align: middle;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  background-image: none;
  box-shadow: 0 7px 10px 0 rgba(102, 102, 102, 0.3);
  transition: background-color 0.2s ease, border-color 0.2s ease,
    color 0.2s ease, box-shadow 0.2s ease;
}

.s3-btn:hover,
.s3-btn:focus {
  text-decoration: none;
  outline: none;
  box-shadow: 0 7px 10px 0 rgba(102, 102, 102, 0.6);
}

.s3-btn:active {
  outline: none;
}

.s3-btn > i {
  margin-right: 6px;
}

/* Заливная зелёная кнопка */
.s3-btn--success {
  color: #fff;
  background-color: var(--color-basil, #4c9b04);
  border-color: var(--color-basil, #4c9b04);
}

.s3-btn--success:hover,
.s3-btn--success:focus {
  color: #fff;
  background-color: var(--color-cucumber-dark, #297109);
  border-color: var(--color-cucumber-dark, #297109);
}

/* Контурная зелёная кнопка */
.s3-btn--reverse {
  color: var(--color-basil, #4c9b04);
  background-color: #fff;
  border-color: var(--color-basil, #4c9b04);
  text-shadow: 1px 1px 0 rgba(51, 51, 51, 0.15);
  box-shadow: 0 7px 10px 0 rgba(102, 102, 102, 0.07);
}

.s3-btn--reverse:hover,
.s3-btn--reverse:focus {
  color: #fff;
  background-color: var(--color-basil, #4c9b04);
  border-color: var(--color-basil, #4c9b04);
  box-shadow: 0 7px 10px 0 rgba(102, 102, 102, 0.4);
}

.s3-btn--reverse:active {
  background-color: var(--color-cucumber-dark, #297109);
  border-color: var(--color-basil, #4c9b04);
}

.s3-buybox__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed #dce7cf;
  font-size: 12.5px;
  color: #6c7564;
}

.s3-buybox__trust span {
  white-space: nowrap;
}

.s3-buybox__trust span i {
  margin-right: 5px;
  color: var(--color-basil, #4c9b04);
}

/* --------------------------------------------------------------------------
   9.1. Дополнения разметки
   -------------------------------------------------------------------------- */
.s3-h1__sub {
  display: block;
  margin-top: 10px;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #6c7564;
}

/* --------------------------------------------------------------------------
   10. Адаптивность
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .s3-hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(390px, 1fr);
    column-gap: 22px;
  }

  .s3-hero__actions .s3-actions {
    flex-wrap: nowrap;
  }

  .s3-hero__actions .s3-actions .s3-btn {
    flex: 1 1 0;
    min-width: 0;
    padding-left: 14px;
    padding-right: 14px;
  }
}

@media (max-width: 991px) {
  .s3-hero {
    padding: 20px;
  }

  .s3-hero__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "gallery"
      "info"
      "price"
      "actions";
    column-gap: 0;
    row-gap: 20px;
  }

  .s3-hero__actions .s3-actions {
    flex-wrap: wrap;
  }

  .s3-hero__actions .s3-actions .s3-btn {
    flex: 1 1 180px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .s3-h1 {
    font-size: 30px;
  }

  .s3-price__value {
    font-size: 34px;
  }  
}

@media (max-width: 767px) {
  .s3-hero {
    padding: 14px;
    border-radius: 12px;
  }
}

@media (max-width: 575px) {
  .s3-gallery__thumbs {
    --visible-thumbs: 3;
  }
}

@media (max-width: 480px) {
  .s3-actions .s3-btn {
    flex: 1 1 100%;
  }
}

/* === assets/templates/s3/css/s3-desc.css === */
/* --------------------------------------------------------------------------
   4. Описание товара
   -------------------------------------------------------------------------- */
.s3-about {
  padding: 26px 28px;
  border: 1px solid #e3ecd8;
  border-radius: 14px;
  background: #fff;
}

.s3-lead {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.65;
  color: #3a3a3a;
}

.s3-lead strong {
  color: var(--color-eggplant, #491129);
}

.s3-desc-body {
  font-size: 14.5px;
  line-height: 1.7;
  color: #4a4a4a;
}

.s3-desc-body p {
  margin-bottom: 12px;
}

.s3-desc-body h4 {
  margin: 22px 0 8px;
  font-family: "Roboto Slab", serif;
  font-size: 17px;
  color: var(--color-eggplant, #491129);
}

.s3-desc-body ul {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.s3-desc-body ul li {
  position: relative;
  margin-bottom: 7px;
  padding-left: 22px;
}

.s3-desc-body ul li:before {
  content: "\f00c";
  position: absolute;
  left: 0;
  top: 1px;
  font-family: FontAwesome;
  font-size: 12px;
  color: var(--color-basil, #4c9b04);
}

.s3-desc-quote {
  margin: 18px 0 0;
  padding: 16px 20px;
  border-left: 4px solid var(--color-cucumber-light, #c9e241);
  background: #f8fbf4;
  font-size: 14.5px;
  font-style: italic;
  line-height: 1.65;
  color: #44503b;
}

.s3-readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 9px 16px;
  border: 1px solid #cfe0bd;
  border-radius: 4px;
  background: #f4f9ee;
  color: var(--color-cucumber-dark, #297109);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: none;
}

.s3-readmore:hover,
.s3-readmore:focus {
  background: var(--color-basil, #4c9b04);
  border-color: var(--color-basil, #4c9b04);
  color: #fff;
  text-decoration: none;
}

/* Развёрнуто (класса .collapsed нет): показываем «Свернуть» и стрелку вверх */
.s3-readmore .sver {
  display: none;
}

.s3-readmore .razver {
  display: inline-block;
}

/* Свёрнуто (есть класс .collapsed): показываем «Читать» и стрелку вниз */
.s3-readmore.collapsed .sver {
  display: inline-block;
}

.s3-readmore.collapsed .razver {
  display: none;
}

#readMoreS3 {
  margin-top: 16px;
}

/* --------------------------------------------------------------------------
   10. Адаптивность
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {
  .s3-about {
    padding: 20px 18px;
  }
}

/* === assets/templates/s3/css/s3-advantages.css === */
/* --------------------------------------------------------------------------
   3. Преимущества и характеристики
   -------------------------------------------------------------------------- */
.s3-adv-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.s3-adv {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px 18px 18px;
  border: 1px solid #e3ecd8;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(41, 113, 9, 0.05);
  overflow: hidden;
}

.s3-adv:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-basil, #4c9b04), var(--color-cucumber-light, #c9e241));
}

.s3-adv__value {
  font-family: "Oswald", sans-serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  color: var(--color-cucumber-dark, #297109);
  white-space: nowrap;
}

.s3-adv__value small {
  margin-left: 3px;
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #7d8674;
  white-space: normal;
}

.s3-adv__name {
  margin: 6px 0 8px;
  font-family: "Roboto Slab", serif;
  font-size: 16px;
  line-height: 1.3;
  color: var(--color-eggplant, #491129);
}

.s3-adv__text {
  font-size: 13px;
  line-height: 1.55;
  color: #6c7564;
}

.s3-adv i {
  position: absolute;
  right: 14px;
  top: 16px;
  font-size: 22px;
  color: rgba(76, 155, 4, 0.26);
}

.s3-spec {
  margin-top: 18px;
  padding: 18px 22px 8px;
  border: 1px solid #e3ecd8;
  border-radius: 12px;
  background: #fff;
}

.s3-spec__title {
  margin: 0 0 8px;
  font-family: "Roboto Slab", serif;
  font-size: 18px;
  color: var(--color-eggplant, #491129);
}

.s3-spec__grid {
  columns: 2;
  column-gap: 34px;
}

.s3-spec__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed #e4ebdc;
  font-size: 13.5px;
  line-height: 1.45;
  break-inside: avoid;
}

.s3-spec__key {
  color: #7d8674;
}

.s3-spec__val {
  max-width: 62%;
  font-weight: 600;
  text-align: right;
  color: #333;
}

.s3-spec__val_stub {
  font-weight: 400;
  color: #9aa392;
  border-bottom: 1px dashed #c9d2c0;
}

/* --------------------------------------------------------------------------
   10. Адаптивность
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .s3-adv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .s3-adv-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .s3-spec__grid {
    columns: 1;
    column-gap: 0;
  }

  .s3-spec__val {
    max-width: 58%;
  }
}

/* === assets/templates/s3/css/s3-promo.css === */
/* --------------------------------------------------------------------------
   5. Акционный баннер «Скидка 30%»
   -------------------------------------------------------------------------- */
.s3-promo {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background-color: #113004;
  background-image:
    linear-gradient(90deg, rgba(17, 48, 4, 0.94) 0%, rgba(17, 48, 4, 0.82) 45%, rgba(17, 48, 4, 0.45) 100%),
    url("/assets/images/bgs/banner_bg_w1920_h800_q40.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  box-shadow: 0 14px 34px rgba(17, 48, 4, 0.18);
}

.s3-promo__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 38px;
}

.s3-promo__content {
  flex: 1 1 420px;
}

.s3-promo__label {
  margin-bottom: 8px;
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-cucumber-light, #c9e241);
}

.s3-promo__title {
  font-family: "Oswald", sans-serif;
  font-size: 52px;
  font-weight: 200;
  line-height: 1.05;
  text-transform: uppercase;
}

.s3-promo__title b {
  font-weight: 400;
  color: var(--color-pepper-yellow, #fdce04);
}

.s3-promo__text {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.5;
  color: #eef5e5;
}

.s3-promo__text b {
  color: var(--color-pepper-yellow, #fdce04);
  font-weight: 700;
}

.s3-promo__footer {
  margin-top: 14px;
  font-family: "Oswald", sans-serif;
  font-size: 22px;
  font-weight: 300;
  color: #fff;
}

.s3-promo__footer span {
  color: var(--color-cucumber-light, #c9e241);
}

.s3-promo__aside {
  flex: 0 0 auto;
  text-align: center;
}

.s3-promo__stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 132px;
  margin-bottom: 14px;
  border: 2px dashed var(--color-pepper-yellow, #fdce04);
  border-radius: 50%;
  font-family: "Oswald", sans-serif;
  font-size: 17px;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  color: var(--color-pepper-yellow, #fdce04);
  transform: rotate(-6deg);
}

.s3-promo .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  background: var(--color-pepper-yellow, #fdce04);
  border-color: var(--color-pepper-yellow, #fdce04);
  color: var(--color-eggplant, #491129);
  text-shadow: none;
  font-weight: 700;
}

.s3-promo .btn:hover,
.s3-promo .btn:focus {
  background: #ffdb33;
  border-color: #ffdb33;
  color: var(--color-eggplant, #491129);
}

/* --------------------------------------------------------------------------
   10. Адаптивность
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .s3-promo__title {
    font-size: 42px;
  }

  .s3-promo__inner {
    padding: 28px 26px;
  }
}

@media (max-width: 767px) {
  .s3-promo__inner {
    padding: 24px 20px;
  }

  .s3-promo__title {
    font-size: 34px;
  }

  .s3-promo__footer {
    font-size: 19px;
  }

  .s3-promo__stamp {
    width: 104px;
    height: 104px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .s3-promo__stamp {
    display: none;
  }
}

/* === assets/templates/s3/css/s3-accessories.css === */
/* --------------------------------------------------------------------------
   7. Аксессуары (CSS Grid, одинаковая высота карточек, gap: 14px)
   -------------------------------------------------------------------------- */
.s3-config .accessories-block {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 24px;
}

.s3-config .accessories-block::before,
.s3-config .accessories-block::after {
  display: none;
}

.s3-config .accessories-block .column {
  display: flex;
  width: auto;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.s3-config .accessories-block-item-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 14px 14px 12px;
  border: 1px solid #e6eedc;
  border-radius: 10px;
  background: #fff;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.s3-config .accessories-block-item-inner:hover {
  box-shadow: 0 10px 22px rgba(41, 113, 9, 0.1);
}

.s3-config .accessories-block-item-header {
  min-height: 0;
  margin: 0 0 10px;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-eggplant, #491129);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s3-config .accessories-block-item-link {
  position: relative;
  margin-bottom: 10px;
  background: transparent;
}

.s3-config .accessories-block-item-pic {
  overflow: hidden;
  border-radius: 8px;
  background: #f3f8ec;
}

.s3-config .accessories-block-item-image {
  display: block;
  width: 100%;
  height: 116px;
  object-fit: cover;
}

.s3-config .accessories-block-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 116px;
  border: 1px dashed #d5e3c6;
  border-radius: 8px;
  background: linear-gradient(135deg, #f6faf1, #eef6e4);
  color: var(--color-basil, #4c9b04);
  font-size: 38px;
}

.s3-config .accessories-block-item-price {
  margin: 0 0 10px;
  font-size: 13px;
  color: #6c7564;
}

.s3-config .accessories-block-item-price span {
  font-family: "Oswald", sans-serif;
  font-size: 19px;
  font-weight: 400;
  color: var(--color-cucumber-dark, #297109);
}

.s3-config .accessories-block-item-input-counter {
  margin-bottom: 10px;
}

.s3-config .accessories-block-item-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.s3-config .accessories-block-item-buttons .btn {
  flex: 1 1 auto;
  margin: 0;
  min-width: 0;
  padding: 6px 8px;
  font-size: 12px;
  border-radius: 5px;
  text-shadow: none;
  box-shadow: none;
}

.s3-config .accessory-add-button.active {
  background: var(--color-basil, #4c9b04);
  border-color: var(--color-basil, #4c9b04);
  color: #fff;
}

.s3-config .accessory-remove-button:disabled,
.s3-config .accessory-ust-button:disabled {
  opacity: 0.45;
}

/* Адаптивность сетки аксессуаров */
@media (max-width: 1199px) {
  .s3-config .accessories-block {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .s3-config .accessories-block {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .s3-config .accessories-block {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

/* === assets/templates/s3/css/s3-video.css === */
/* --------------------------------------------------------------------------
   8. Видео
   -------------------------------------------------------------------------- */
.s3-video__frame {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}

.s3-video__card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: #0d0d0d;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  text-decoration: none;
}

.s3-video__card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.s3-video__card:hover img,
.s3-video__card:focus img {
  transform: scale(1.04);
}

.s3-video__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(13, 30, 4, 0.1) 0%, rgba(13, 30, 4, 0.55) 100%);
  color: #fff;
  text-align: center;
}

.s3-video__play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(76, 155, 4, 0.92);
  color: #fff;
  font-size: 26px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, background 0.25s ease;
}

.s3-video__play i {
  margin-left: 4px;
}

.s3-video__card:hover .s3-video__play,
.s3-video__card:focus .s3-video__play {
  transform: scale(1.08);
  background: var(--color-cucumber-dark, #297109);
}

.s3-video__caption {
  padding: 7px 14px;
  border-radius: 20px;
  background: rgba(13, 30, 4, 0.72);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.s3-video .s3-title:empty,
.s3-video__caption:empty {
  display: none;
}

/* === assets/templates/s3/css/skatnaya-3.css === */
/* ==========================================================================
   Теплица «Скатная-3» — редизайн карточки товара
   --------------------------------------------------------------------------
   Файл подключается ТОЛЬКО на странице /kupit-teplicu/skatnaya-3 после
   bootstrap.css / commons.css / main.css. Глобальные стили сайта не меняются:
   все правила изолированы префиксом .s3- и контекстом .s3-config.
   Дизайн-система: Bootstrap 3.3.7 + фирменные токены main.css
   (--color-tomato #e22601, --color-pepper-orange #fe8302,
    --color-pepper-yellow #fdce04, --color-cucumber-light #c9e241,
    --color-basil #4c9b04, --color-cucumber-dark #297109,
    --color-eggplant #491129), шрифты Roboto Slab / Open Sans / Oswald.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Общие обёртки и типографика
   -------------------------------------------------------------------------- */
.s3 {
  color: #3a3a3a;
}

.s3-section {
  margin: 0 0 46px;
}

.s3-section__head {
  margin-bottom: 22px;
}

.s3-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-basil, #4c9b04);
}

.s3-title {
  margin: 0 0 10px;
  font-family: "Roboto Slab", serif;
  font-size: 30px;
  line-height: 1.25;
  color: var(--color-eggplant, #491129);
}

.s3-title_small {
  font-size: 24px;
}

.s3-subtitle {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #6c7564;
}

.s3-note {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #7d8674;
}

.s3-note a {
  color: var(--color-basil, #4c9b04);
  border-bottom: 1px dashed rgba(76, 155, 4, 0.6);
  text-decoration: none;
}

.s3-note a:hover,
.s3-note a:focus {
  color: var(--color-cucumber-dark, #297109);
  border-bottom-color: transparent;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Здесь был 2. Hero — первый экран карточки товара
   -------------------------------------------------------------------------- */


/* --------------------------------------------------------------------------
   Здесь был 3. Преимущества и характеристики
   -------------------------------------------------------------------------- */   

/* --------------------------------------------------------------------------
   Здесь был 4. Описание товара
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   Здесь был 5. Акционный баннер «Скидка до 30%»
   -------------------------------------------------------------------------- */


/* --------------------------------------------------------------------------
   6. Конфигуратор и локальная корзина
   -------------------------------------------------------------------------- */
.s3-config {
  padding: 26px 26px 22px;
  border: 1px solid #e3ecd8;
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfdf8 0%, #ffffff 40%);
}

.s3-config__panel {
  padding: 22px 22px 6px;
  border: 1px solid #e6eedc;
  border-radius: 12px;
  background: #fff;
}

.s3-step {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px dashed #e3ebd9;
}

.s3-step:last-child {
  padding-bottom: 4px;
  margin-bottom: 0;
  border-bottom: 0;
}

.s3-step__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.s3-step__num {
  display: flex;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-basil, #4c9b04);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(76, 155, 4, 0.28);
}

.s3-step__title {
  margin: 0;
  font-family: "Roboto Slab", serif;
  font-size: 18px;
  line-height: 1.3;
  color: var(--color-eggplant, #491129);
}

.s3-step__hint {
  margin: 2px 0 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: #8b9383;
}

.s3-step__label {
  margin: 0 0 10px;
  font-family: "Roboto Slab", serif;
  font-size: 15px;
  color: #5d6753;
}

/* Кнопки шага дуг / размеров / СПК / монтажа */
.s3-config .btn-mini {
  padding: 9px 14px;
  min-width: 0;
  border-radius: 6px;
  font-size: 13.5px;
  line-height: 1.2;
  text-transform: none;
  box-shadow: none;
}

.s3-config .btn-reverse.btn-success {
  border-color: #cfe0bd;
  background: #f6faf1;
  color: #3d7b06;
}

.s3-config .btn-reverse.btn-success:hover,
.s3-config .btn-reverse.btn-success:focus {
  border-color: var(--color-basil, #4c9b04);
  background: #eaf4de;
  color: var(--color-cucumber-dark, #297109);
}

.s3-config .btn-reverse.btn-success.active,
.s3-config .btn-reverse.btn-success.active:hover,
.s3-config .btn-reverse.btn-success.active:focus {
  border-color: var(--color-basil, #4c9b04);
  background: var(--color-basil, #4c9b04);
  color: #fff;
  box-shadow: 0 6px 14px rgba(76, 155, 4, 0.28);
}

.s3-shag-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 420px;
}

.s3-shag-grid .shag-button {
  margin: 0;
  width: 100%;
}

.s3-size-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 9px;
  margin-bottom: 4px;
}

.s3-size-grid .razmer-button,
.s3-size-grid .razmer-button-alt {
  margin: 0;
  width: 100%;
  white-space: nowrap;
}

.s3-config #shag-alt {
  margin-bottom: 4px;
}

.s3-spk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin-bottom: 0;
}

.s3-spk-grid .spk-button-wrap {
  display: block;
  margin: 0;
}

.s3-spk-grid .spk-button {
  width: 100%;
  text-align: left;
}

.s3-spk-grid .spk-button-wrap > .spk-button.btn.btn-mini {
  padding: 10px 34px 10px 12px;
}

.s3-spk-grid .spk-button-wrap > .spk-button.btn.btn-mini.last {
  padding-right: 12px;
}

.s3-spk-grid .spk-desc-button {
  top: 9px;
  right: 8px;
  width: 24px;
  height: 24px;
  font-size: 17px;
  line-height: 21px;
}

.s3-install-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 420px;
}

.s3-install-grid .btn {
  margin: 0;
  width: 100%;
}

.s3-optional {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px dashed #d9e4cd;
  border-radius: 10px;
  background: #fafcf7;
}

/* Таблица заказа / локальная корзина */
.s3-cart {
  border: 1px solid #dfe9d3;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(41, 113, 9, 0.08);
}

@media (min-width: 992px) {
  .s3-cart {
    position: sticky;
    top: 165px;
  }
}

.s3-cart__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid #eef3e8;
}

.s3-cart__title {
  margin: 0;
  font-family: "Roboto Slab", serif;
  font-size: 17px;
  color: var(--color-eggplant, #491129);
}

.s3-cart__hint {
  font-size: 11.5px;
  color: #8b9383;
  text-align: right;
}

.s3-cart__body {
  padding: 12px 14px 4px;
}

.s3-cart__body .table {
  margin-bottom: 10px;
}

.s3-config .s3-cart .table > thead > tr > th {
  padding: 6px 5px;
  border-bottom: 1px solid #e6eedc;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8b9383;
  vertical-align: middle;
}

.s3-config .s3-cart .table > tbody > tr > td {
  padding: 7px 5px;
  border-top: 1px solid #f0f4eb;
  font-size: 12.5px;
  line-height: 1.4;
  vertical-align: middle;
}

.s3-config .s3-cart .table-striped > tbody > tr:nth-of-type(odd) {
  background-color: #f8fbf4;
}

.s3-config .s3-cart .table > tbody > tr > td:first-child {
  font-size: 12.5px;
  color: #3a3a3a;
}

.s3-config .s3-cart .dims,
.s3-config .s3-cart .shag {
  font-weight: 700;
  color: var(--color-eggplant, #491129);
}

.s3-config .s3-cart .itogo {
  font-family: "Oswald", sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--color-cucumber-dark, #297109);
}

.s3-config .s3-cart .old-price_table {
  font-size: 11px;
}

.s3-config .s3-cart .table-btn-remove {
  display: inline-block;
  width: 22px;
  height: 22px;
  line-height: 19px;
  border-radius: 50%;
  background: #f1f4ee;
  color: #8b9383;
  font-size: 16px;
  text-align: center;
}

.s3-config .s3-cart .table-btn-remove:hover {
  background: #e5eddd;
  color: var(--color-tomato, #e22601);
  text-decoration: none;
}

.s3-cart__foot {
  padding: 4px 18px 18px;
}

.s3-cart__foot .btn {
  display: block;
  width: 100%;
  min-width: 0;
}

.s3-cart__foot .btn i {
  margin-right: 7px;
}

.s3-cart__legend {
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.5;
  color: #8b9383;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Здесь был 7. Аксессуары (сохраняем inline-showcase и классы донора)
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   Здесь было 8. Видео
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   9. Фото с участков
   -------------------------------------------------------------------------- */
.s3-owners {
  padding: 26px;
  border: 1px solid #e3ecd8;
  border-radius: 14px;
  background: #f8fbf4;
}

.s3-owners__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.s3-owners__item {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  background: #0d0d0d;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.s3-owners__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.2s ease;
}

.s3-owners__item:hover img,
.s3-owners__item:focus img {
  transform: scale(1.05);
  opacity: 0.92;
}

.s3-owners__item:after {
  content: "\f00e";
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(76, 155, 4, 0.9);
  color: #fff;
  font-family: FontAwesome;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.s3-owners__item:hover:after {
  opacity: 1;
}

.s3-owners__foot {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.55;
  color: #6c7564;
}

/* --------------------------------------------------------------------------
   9.1. Дополнения разметки
   -------------------------------------------------------------------------- */
.s3-config__more {
  margin: 4px 0 0;
  padding: 14px 0 6px;
  border-top: 1px dashed #e3ebd9;
  font-size: 13px;
  line-height: 1.55;
  color: #6c7564;
}

.s3-config__order {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 6px;
}

.s3-config__order .btn {
  min-width: 240px;
}

.s3-config__order-note {
  flex: 1 1 280px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #8b9383;
}

/* --------------------------------------------------------------------------
   10. Адаптивность
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .s3-owners__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .s3-owners__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .s3-config {
    padding: 20px 16px 14px;
  }

  .s3-config__panel {
    padding: 18px 16px 4px;
  }
}

@media (max-width: 767px) {
  .s3-section {
    margin-bottom: 34px;
  }

  .s3-title {
    font-size: 24px;
  }

  .s3-owners {
    padding: 18px 14px;
  }

  .s3-owners__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
}

@media (max-width: 480px) {
  .s3-size-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .s3-spk-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .s3-shag-grid,
  .s3-install-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }
}
