/* =====================================================================
   Сувениры Алтая — новый дизайн (redesign.css)
   Подключается после style.css и custom.css и переопределяет их.
   Сетка и скрипты — прежние (Bootstrap 3 из style.css).
   ===================================================================== */

:root {
  --sa-green: #23402F;        /* основной тёмно-зелёный */
  --sa-green-deep: #1A2E22;   /* подвал */
  --sa-green-soft: #2E4A39;
  --sa-cream: #F7F2E8;        /* фон секций */
  --sa-sand: #E9DDC7;         /* плашки */
  --sa-line: #E5DAC6;         /* линии */
  --sa-resin: #A4541F;        /* акцент: кнопки, ссылки */
  --sa-resin-dark: #7E3F15;
  --sa-amber: #E7B98F;        /* акцент на тёмном фоне */
  --sa-ink: #1E2A22;          /* основной текст */
  --sa-text: #3E4A41;         /* второстепенный текст */
  --sa-muted: #5B6356;
  --sa-on-dark: #D5E2D8;
  --sa-radius: 14px;
  --sa-font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --sa-font-display: 'Lora', Georgia, 'Times New Roman', serif;
}

/* ---------- Базовая типографика ---------- */
body {
  font-family: var(--sa-font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--sa-ink);
  background: #fff;
}
h1, .h1, h2, .h2, h3, .h3 {
  font-family: var(--sa-font-display);
  font-weight: 700;
  color: var(--sa-ink);
}
a { color: var(--sa-resin); }
a:hover, a:focus { color: var(--sa-resin-dark); }

/* ---------- Кнопки (используются в шапке, подвале и блоках главной) ---------- */
.sa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 12px;
  border: 2px solid transparent;
  font-family: var(--sa-font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.sa-btn--primary { background: var(--sa-resin); color: #fff !important; }
.sa-btn--primary:hover, .sa-btn--primary:focus { background: var(--sa-resin-dark); color: #fff !important; }
.sa-btn--outline { border-color: var(--sa-green); color: var(--sa-green) !important; background: transparent; }
.sa-btn--outline:hover, .sa-btn--outline:focus { background: var(--sa-green); color: #fff !important; }
.sa-btn--amber { background: var(--sa-amber); color: var(--sa-ink) !important; }
.sa-btn--amber:hover, .sa-btn--amber:focus { background: #F0CBA6; }
.sa-btn--light-outline { border-color: var(--sa-cream); color: var(--sa-cream) !important; }
.sa-btn--light-outline:hover, .sa-btn--light-outline:focus { background: var(--sa-cream); color: var(--sa-ink) !important; }
.sa-btn--sm { min-height: 46px; padding: 0 20px; font-size: 15px; }

/* =====================================================================
   ШАПКА
   ===================================================================== */
body > header.sa-header {
  background: #fff;
  box-shadow: none;
  border-bottom: 0;
}

/* --- Верхняя полоса --- */
body > header .top-line {
  background: var(--sa-green);
  color: var(--sa-sand);
  padding: 0;
  font-size: 14px;
}
.sa-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
}
.sa-topline__left,
.sa-topline__right {
  display: flex;
  align-items: center;
  gap: 28px;
}
.sa-topline__item { color: var(--sa-sand); }
body > header .top-line a.sa-topline__item {
  color: #F7F2E8;
  text-decoration: none;
}
body > header .top-line a.sa-topline__item:hover { color: var(--sa-amber); }
.sa-topline__max {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

/* --- Линия с логотипом --- */
body > header .middle-line {
  padding: 18px 0;
  background: #fff;
  border-bottom: 1px solid var(--sa-line);
}
.sa-mainline {
  display: flex;
  align-items: center;
  gap: 28px;
}
body > header .middle-line a.logo.sa-mainline__logo {
  flex: 0 0 auto;
  display: block;
  margin: 0;
  text-align: left;
}
.sa-mainline__logo img {
  display: block;
  width: auto;
  height: 64px;
  max-width: 100%;
}
.sa-mainline__search { flex: 1 1 auto; min-width: 0; }
.sa-mainline__cart   { flex: 0 0 auto; }
.sa-mainline__phone  {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}
.sa-phone {
  font-size: 20px;
  font-weight: 800;
  color: var(--sa-ink) !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.sa-phone:hover { color: var(--sa-resin) !important; }
.sa-phone__note { margin-top: 4px; font-size: 13px; color: var(--sa-muted); }

/* --- Поиск (модуль в позиции «search»).
       Стили общие: подойдут и для стандартного поиска Joomla, и для модуля JBZoo --- */
.sa-mainline__search form {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}
.sa-mainline__search input[type="text"],
.sa-mainline__search input[type="search"],
.sa-mainline__search #mod-search-searchword {
  float: none;
  flex: 1 1 auto;
  width: auto !important;
  min-width: 0;
  height: 46px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid #D6C8AE;
  border-right: 0;
  border-radius: 10px 0 0 10px;
  background: var(--sa-cream);
  color: var(--sa-ink);
  font-size: 15px;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.sa-mainline__search input[type="text"]:focus,
.sa-mainline__search input[type="search"]:focus {
  outline: none;
  background: #fff;
  border-color: var(--sa-resin);
}
.sa-mainline__search button,
.sa-mainline__search input[type="submit"],
.sa-mainline__search .button {
  float: none;
  flex: 0 0 auto;
  width: auto !important;
  height: 46px;
  margin: 0;
  padding: 0 20px;
  border: 0;
  border-radius: 0 10px 10px 0;
  background: var(--sa-green);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s ease;
}
.sa-mainline__search button:hover,
.sa-mainline__search input[type="submit"]:hover,
.sa-mainline__search .button:hover { background: var(--sa-green-soft); }
/* Подписи и лишние поля фильтра JBZoo в шапке не нужны */
.sa-mainline__search label,
.sa-mainline__search .jbfilter-label,
.sa-mainline__search .jbfilter-reset,
.sa-mainline__search .module-title { display: none; }
.sa-mainline__search .jbfilter-row,
.sa-mainline__search .jbfilter-element,
.sa-mainline__search .jbfilter-static,
.sa-mainline__search .jbfilter-buttons {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
}

/* --- Корзина (модуль JBZoo в позиции «cart») --- */
.sa-mainline__cart .jbcart-module {
  position: relative;
  min-width: 170px;
  padding: 6px 0 6px 56px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--sa-text);
}
.sa-mainline__cart .jbcart-module::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border-radius: 12px;
  background: var(--sa-sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2323402F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3Cpath d='M2 3h3l2.5 12h12L22 7H6'/%3E%3C/svg%3E") center no-repeat;
}
.sa-mainline__cart .jbcart-module-empty { margin: 0; }
.sa-mainline__cart .count,
.sa-mainline__cart .jbcart-module-line { margin: 0; font-weight: 700; color: var(--sa-ink); }
.sa-mainline__cart .price { color: var(--sa-muted); }
.sa-mainline__cart .green,
.sa-mainline__cart a.jbbutton {
  display: inline-block;
  margin-top: 4px;
  padding: 4px 12px;
  border-radius: 8px;
  background: var(--sa-resin);
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
  text-decoration: none !important;
}
.sa-mainline__cart .green:hover,
.sa-mainline__cart a.jbbutton:hover { background: var(--sa-resin-dark); }

/* --- Главное меню отдельной строкой --- */
.menu-line {
  background: var(--sa-cream);
  border-bottom: 1px solid var(--sa-line);
}
.menu-line .navbar-collapse { padding: 0; }
.menu-line ul.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0 !important;
  list-style: none;
  font-size: 16px;
  font-weight: 700;
}
.menu-line ul.menu > li {
  display: block;
  position: relative;
  white-space: nowrap;
}
.menu-line ul.menu > li > a {
  display: block;
  padding: 16px 18px !important;
  color: var(--sa-ink);
  text-decoration: none;
  box-shadow: inset 0 -3px 0 transparent;
  transition: color .2s ease, box-shadow .2s ease;
}
.menu-line ul.menu > li:first-child > a { padding-left: 0 !important; }
.menu-line ul.menu > li:last-child > a { padding-right: 0 !important; }
.menu-line ul.menu > li > a:hover,
.menu-line ul.menu > li > a:focus,
.menu-line ul.menu > li.active > a {
  color: var(--sa-resin);
  box-shadow: inset 0 -3px 0 var(--sa-resin);
}
/* Стрелка у пункта с подменю */
.menu-line ul.menu > li.parent > a::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 0 3px 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
/* Выпадающее подменю «Каталог товаров» — в три колонки */
.menu-line ul.menu > li > .nav-child {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 50;
  width: 720px;
  min-width: 0;
  margin: 0;
  padding: 18px 22px;
  list-style: none;
  columns: 3;
  column-gap: 24px;
  background: #fff;
  border: 1px solid var(--sa-line);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 16px 32px rgba(30, 42, 34, .14);
  font-size: 14px;
  font-weight: 500;
  white-space: normal;
  text-align: left;
}
.menu-line ul.menu > li > .nav-child li { break-inside: avoid; }
.menu-line ul.menu > li > .nav-child li a {
  display: block;
  padding: 6px 0 !important;
  color: var(--sa-text);
  text-decoration: none;
}
.menu-line ul.menu > li > .nav-child li a:hover,
.menu-line ul.menu > li > .nav-child li.active > a { color: var(--sa-resin); }
@media (min-width: 768px) {
  .menu-line ul.menu > li:hover > .nav-child,
  .menu-line ul.menu > li:focus-within > .nav-child { display: block; }
}

/* =====================================================================
   ПОДВАЛ
   ===================================================================== */
body > footer.sa-footer {
  margin-top: 80px;
  background: var(--sa-green-deep);
  color: #B8CBBE;
  font-size: 15px;
}
.sa-footer__main { padding: 64px 0 24px; }
.sa-footer__main .row { display: flex; flex-wrap: wrap; }
.sa-footer__main .row::before, .sa-footer__main .row::after { display: none; }
.sa-footer__col { margin-bottom: 32px; }
.sa-footer__logo {
  display: inline-block;
  margin-bottom: 18px;
  padding: 10px 14px;
  background: #fff;
  border-radius: 14px;
}
.sa-footer__logo img { display: block; width: auto; height: 54px; }
.sa-footer__about { margin: 0 0 20px; line-height: 1.6; color: #B8CBBE; }
.sa-footer__title {
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sa-amber);
}
.sa-footer__list { margin: 0; padding: 0; list-style: none; }
.sa-footer__list li { margin-bottom: 10px; line-height: 1.5; }
.sa-footer a { color: var(--sa-sand); text-decoration: none; }
.sa-footer a:hover, .sa-footer a:focus { color: #fff; text-decoration: underline; }
.sa-footer .sa-footer__more { color: var(--sa-amber); font-weight: 700; }
.sa-footer .sa-footer__phone {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}
.sa-footer .sa-btn--primary { color: #fff; }
.sa-footer__bottom {
  border-top: 1px solid var(--sa-green-soft);
  padding: 22px 0;
  font-size: 13px;
}
.sa-footer__bottom-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}
.sa-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.sa-footer__legal a { color: #B8CBBE; text-decoration: underline; }

/* =====================================================================
   АДАПТИВ
   ===================================================================== */

/* Планшеты и небольшие ноутбуки */
@media (max-width: 1199px) {
  .menu-line ul.menu { font-size: 15px; }
  .menu-line ul.menu > li > a { padding: 14px 12px !important; }
  .sa-mainline { gap: 20px; }
  .sa-mainline__logo img { height: 56px; }
}

@media (max-width: 991px) {
  /* логотип и телефон — первая строка, поиск и корзина — вторая */
  .sa-mainline { flex-wrap: wrap; row-gap: 14px; }
  .sa-mainline__logo   { order: 1; }
  .sa-mainline__phone  { order: 2; margin-left: auto; }
  .sa-mainline__search { order: 3; flex: 1 1 60%; }
  .sa-mainline__cart   { order: 4; }
  .sa-mainline__search form { max-width: none; }
  .menu-line ul.menu { font-size: 14px; justify-content: flex-start; }
  .menu-line ul.menu > li > a { padding: 12px 10px !important; }
  .menu-line ul.menu > li > .nav-child { width: 560px; columns: 2; }
}

/* Телефоны */
@media (max-width: 767px) {
  body > header .top-line { font-size: 13px; }
  .sa-topline { min-height: 38px; }
  .sa-topline__left, .sa-topline__right { gap: 16px; }

  body > header .middle-line { padding: 12px 0; }
  .sa-mainline { gap: 12px; }
  .sa-mainline__logo img { height: 46px; }
  .sa-phone { font-size: 17px; }
  .sa-phone__note { display: none; }
  .sa-mainline__search { flex: 1 1 100%; }
  .sa-mainline__cart { order: 2; margin-left: auto; }
  .sa-mainline__search { order: 3; }
  .sa-mainline__phone { order: 4; margin-left: 0; flex: 1 1 100%; align-items: center; }
  .sa-mainline__cart .jbcart-module { min-width: 0; padding-left: 50px; }
  .sa-mainline__cart .price { display: none; }

  /* Меню: кнопка «Меню» и вертикальный список */
  .menu-line { text-align: left; }
  .menu-line .btn-collapse {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 46px;
    margin: 10px 0;
    padding: 0 16px;
    border: 1px solid var(--sa-green);
    border-radius: 10px;
    background: #fff;
    color: var(--sa-green);
    font-size: 16px;
    font-weight: 700;
    text-transform: none;
  }
  .menu-line .btn-collapse:hover { background: var(--sa-green); color: #fff; }
  .menu-line ul.menu { display: block; padding-bottom: 10px; font-size: 16px; }
  .menu-line ul.menu > li { white-space: normal; border-top: 1px solid var(--sa-line); }
  .menu-line ul.menu > li > a,
  .menu-line ul.menu > li:first-child > a { padding: 13px 4px !important; box-shadow: none !important; }
  /* Подменю каталога раскрывается по нажатию (это делает site.js) */
  .menu-line ul.menu > li > .nav-child {
    position: static;
    width: auto;
    columns: 1;
    padding: 0 0 10px 14px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .sa-footer__main { padding-top: 48px; }
  .sa-footer__bottom-row { flex-direction: column; }
}

/* =====================================================================
   БЛОКИ ГЛАВНОЙ СТРАНИЦЫ (модули «HTML-код» в позициях home-top / home-bottom)
   ===================================================================== */
.sa-home .custom { margin: 0; }
.sa-home img { max-width: 100%; height: auto; }
.sa-home p { margin: 0; }

/* Общие элементы */
.sa-section { padding: 80px 0 0; }
.sa-h2 {
  margin: 0;
  font-family: var(--sa-font-display);
  font-size: 40px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--sa-ink);
}
.sa-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.sa-head--row { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 24px; }
.sa-head--row > div { display: flex; flex-direction: column; gap: 12px; }
.sa-sub { font-size: 18px; line-height: 1.5; color: var(--sa-text); }
.sa-eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sa-amber);
}
.sa-badge {
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--sa-sand);
  color: var(--sa-green);
  font-size: 14px;
  font-weight: 700;
}
.sa-tag {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--sa-sand);
  color: var(--sa-green);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.sa-tag--amber { background: var(--sa-amber); color: var(--sa-ink); }
.sa-card { background: var(--sa-cream); border-radius: 18px; }
.sa-link-more { font-size: 16px; font-weight: 700; white-space: nowrap; }
.sa-checklist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.sa-checklist li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; line-height: 1.5; }
.sa-checklist .sa-ico { flex-shrink: 0; margin-top: 2px; color: var(--sa-amber); }

/* 1. Главный экран */
.sa-hero { padding: 56px 0 48px; }
.sa-hero__grid { display: flex; align-items: center; gap: 64px; }
.sa-hero__text { flex: 1 1 0; display: flex; flex-direction: column; gap: 26px; }
.sa-hero__title {
  margin: 0;
  font-family: var(--sa-font-display);
  font-size: 52px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--sa-ink);
}
.sa-hero__lead { font-size: 19px; line-height: 1.55; color: var(--sa-text); }
.sa-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.sa-hero__media { flex: 0 0 480px; position: relative; }
.sa-hero__media img { display: block; width: 100%; aspect-ratio: 480 / 520; object-fit: cover; border-radius: 24px; }
.sa-hero__chip {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 20px;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(35, 64, 47, .18);
}
.sa-hero__chip--light { left: -36px; bottom: 36px; background: #fff; }
.sa-hero__chip--dark { right: -24px; top: 36px; background: var(--sa-green); color: var(--sa-cream); }
.sa-hero__chip-label { font-size: 13px; color: var(--sa-muted); }
.sa-hero__chip--dark .sa-hero__chip-label { color: #CFE0D3; }
.sa-hero__chip-value { font-size: 17px; font-weight: 700; }
.sa-hero__chip--light .sa-hero__chip-value { font-family: var(--sa-font-display); font-size: 26px; color: var(--sa-green); }

/* 2. Цифры */
.sa-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--sa-cream);
  border-radius: 20px;
}
.sa-stats__item { display: flex; flex-direction: column; gap: 6px; padding: 32px 36px; }
.sa-stats__item + .sa-stats__item { border-left: 1px solid var(--sa-line); }
.sa-stats__value { font-family: var(--sa-font-display); font-size: 40px; font-weight: 700; line-height: 1.1; color: var(--sa-green); }
.sa-stats__label { font-size: 15px; color: var(--sa-muted); }

/* 3. Ваш регион */
.sa-region { margin-top: 80px; padding: 88px 0; background: var(--sa-green); color: var(--sa-cream); }
.sa-region__grid { display: flex; gap: 56px; align-items: stretch; }
.sa-region__text { flex: 0 0 430px; display: flex; flex-direction: column; gap: 24px; }
.sa-region .sa-h2 { color: var(--sa-cream); }
.sa-region__lead { font-size: 18px; line-height: 1.6; color: var(--sa-on-dark); }
.sa-region .sa-btn { align-self: flex-start; }
.sa-region__media { flex: 1 1 0; min-width: 0; }
.sa-region__media img { display: block; width: 100%; height: 100%; min-height: 420px; object-fit: cover; border-radius: 20px; }

/* 4. Условия */
.sa-terms__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.sa-terms__card { display: flex; flex-direction: column; gap: 10px; padding: 28px; }
.sa-terms__label { font-size: 15px; color: var(--sa-muted); }
.sa-terms__value { font-family: var(--sa-font-display); font-size: 32px; font-weight: 700; line-height: 1.15; color: var(--sa-green); }
.sa-terms__text { font-size: 15px; line-height: 1.5; color: var(--sa-text); }
.sa-terms__delivery {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 20px;
  padding: 22px 28px;
  border-radius: 18px;
  background: var(--sa-sand);
}
.sa-terms__delivery-ico { flex-shrink: 0; color: var(--sa-green); }
.sa-terms__delivery p { font-size: 17px; line-height: 1.5; }

/* 5. Как проходит заказ */
.sa-steps__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.sa-steps__item { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px; }
.sa-steps__num {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--sa-resin); color: #fff; font-size: 18px; font-weight: 800;
}
.sa-steps__title { font-size: 18px; font-weight: 700; }
.sa-steps__text { font-size: 15px; line-height: 1.5; color: var(--sa-text); }

/* 6. Для кого */
.sa-audience__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sa-audience__item { display: flex; flex-direction: column; gap: 14px; padding: 30px; }
.sa-audience__ico {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--sa-sand); color: var(--sa-green);
}
.sa-audience__title { margin: 0; font-family: var(--sa-font); font-size: 20px; font-weight: 700; line-height: 1.3; }
.sa-audience__text { font-size: 15px; line-height: 1.55; color: var(--sa-text); }

/* 7. Готовые решения */
.sa-sets__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sa-sets__item { display: flex; flex-direction: column; gap: 18px; padding: 32px; border: 1px solid var(--sa-line); background: #fff; }
.sa-sets__item--dark { background: var(--sa-green); border-color: var(--sa-green); color: var(--sa-cream); }
.sa-sets__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sa-sets__title { font-size: 22px; font-weight: 800; }
.sa-sets__price { font-family: var(--sa-font-display); font-size: 34px; font-weight: 700; color: var(--sa-green); }
.sa-sets__item--dark .sa-sets__price { color: var(--sa-cream); }
.sa-sets__text { font-size: 15px; line-height: 1.6; color: var(--sa-text); }
.sa-sets__item--dark .sa-sets__text { color: var(--sa-on-dark); }
.sa-sets__item .sa-btn { margin-top: auto; width: 100%; }

/* 8. Производство */
.sa-production__head { max-width: 960px; gap: 16px; }
.sa-production__head p { font-size: 18px; line-height: 1.65; color: var(--sa-text); }
.sa-production__gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }
.sa-production__gallery img { display: block; width: 100%; height: auto; border-radius: 18px; }
.sa-production__gallery .sa-production__big { grid-column: span 2; grid-row: span 2; }

/* 9. Частые вопросы */
.sa-faq__grid { display: flex; gap: 64px; }
.sa-faq__intro { flex: 0 0 340px; display: flex; flex-direction: column; gap: 16px; }
.sa-faq__intro p { font-size: 17px; line-height: 1.6; color: var(--sa-text); }
.sa-faq__list { flex: 1 1 0; min-width: 0; }
.sa-faq__item { border-bottom: 1px solid #DCCFB6; }
.sa-faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.sa-faq__item summary::-webkit-details-marker { display: none; }
.sa-faq__item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  color: var(--sa-resin);
}
.sa-faq__item[open] summary::after { content: "−"; }
.sa-faq__item summary:hover { color: var(--sa-resin); }
.sa-faq__item p { max-width: 720px; padding: 0 0 22px; font-size: 16px; line-height: 1.6; color: var(--sa-text); }

/* 10. Призыв */
.sa-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 56px 64px;
  border-radius: 28px;
  background: var(--sa-green);
  color: var(--sa-cream);
}
.sa-cta__text { display: flex; flex-direction: column; gap: 14px; max-width: 620px; }
.sa-cta .sa-h2 { font-size: 36px; color: var(--sa-cream); }
.sa-cta__text p { font-size: 17px; line-height: 1.6; color: var(--sa-on-dark); }
.sa-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; flex-shrink: 0; }

/* Каталог на главной между блоками */
.sa-home--top + .main-content,
.sa-home--top ~ .main-content { margin-top: 80px; }

/* ---------- Адаптив блоков ---------- */
@media (max-width: 1199px) {
  .sa-hero__title { font-size: 44px; }
  .sa-hero__media { flex-basis: 400px; }
  .sa-region__text { flex-basis: 380px; }
  .sa-steps__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sa-cta { padding: 48px; }
}
@media (max-width: 991px) {
  .sa-section { padding-top: 64px; }
  .sa-h2 { font-size: 34px; }
  .sa-hero__grid { flex-direction: column; align-items: stretch; gap: 40px; }
  .sa-hero__media { flex-basis: auto; max-width: 520px; margin: 0 auto; width: 100%; }
  .sa-hero__chip--light { left: -12px; }
  .sa-hero__chip--dark { right: -12px; }
  .sa-region { margin-top: 64px; padding: 64px 0; }
  .sa-region__grid { flex-direction: column; gap: 36px; }
  .sa-region__text { flex-basis: auto; }
  .sa-region__media img { min-height: 0; height: auto; }
  .sa-terms__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sa-audience__grid, .sa-sets__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sa-faq__grid { flex-direction: column; gap: 24px; }
  .sa-faq__intro { flex-basis: auto; }
  .sa-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) {
  .sa-section { padding-top: 56px; }
  .sa-h2 { font-size: 28px; }
  .sa-head { margin-bottom: 24px; }
  .sa-head--row { flex-direction: column; align-items: flex-start; }
  .sa-sub { font-size: 16px; }
  .sa-btn { width: 100%; }
  .sa-hero { padding: 32px 0 32px; }
  .sa-hero__title { font-size: 32px; }
  .sa-hero__lead { font-size: 17px; }
  .sa-hero__chip { position: static; box-shadow: none; padding: 12px 16px; }
  .sa-hero__media { display: flex; flex-direction: column; gap: 10px; }
  .sa-hero__chip--light { background: var(--sa-cream); }
  .sa-stats__grid { grid-template-columns: 1fr; }
  .sa-stats__item { padding: 20px 24px; }
  .sa-stats__item + .sa-stats__item { border-left: 0; border-top: 1px solid var(--sa-line); }
  .sa-stats__value { font-size: 32px; }
  .sa-region { margin-top: 56px; padding: 48px 0; }
  .sa-region__lead, .sa-checklist li { font-size: 16px; }
  .sa-terms__grid, .sa-steps__grid, .sa-audience__grid, .sa-sets__grid { grid-template-columns: 1fr; gap: 12px; }
  .sa-terms__card { padding: 22px; }
  .sa-terms__value { font-size: 28px; }
  .sa-terms__delivery { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; }
  .sa-terms__delivery p { font-size: 16px; }
  .sa-steps__item { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 20px; gap: 8px 14px; }
  .sa-steps__num { width: 38px; height: 38px; font-size: 16px; }
  .sa-steps__text { flex-basis: 100%; }
  .sa-audience__item { padding: 22px; }
  .sa-sets__item { padding: 24px; }
  .sa-production__head p { font-size: 16px; }
  .sa-production__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sa-production__gallery img { border-radius: 12px; }
  .sa-faq__item summary { font-size: 17px; padding: 16px 0; }
  .sa-cta { padding: 32px 22px; border-radius: 20px; gap: 24px; }
  .sa-cta .sa-h2 { font-size: 26px; }
  .sa-cta__actions { width: 100%; }
  .sa-home--top ~ .main-content { margin-top: 56px; }
}

/* SEO-текст после блоков главной */
.sa-home--bottom ~ .about-line { margin-top: 72px; }

/* Товары JBZoo на телефоне: две карточки в ряд вместо трёх узких */
@media (max-width: 767px) {
  #yoo-zoo .items > .col-xs-4 { width: 50%; }
  #yoo-zoo .items > .col-xs-4:nth-child(odd) { clear: left; }
}
