/* ==========================================================================
   Тестовые страницы новой главной: new-style-2026, -v2, -v3 ...
   Подключается ТОЛЬКО для шаблона «Шаблон - главная 2026 (тест)» (см. chunk meta).
   Настоящую главную сайта (шаблон «Шаблон - главная») не затрагивает.
   ========================================================================== */

/* ---------- Шапка: логотип в белом круге - крупнее ---------- */
.test-2026 .headerer__inner > .headerer__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  margin-right: 40px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 24px rgba(27, 36, 51, 0.22);
}
.test-2026 .headerer__inner > .headerer__logo-wrap img {
  width: 80%;
  height: auto;
  max-height: 60%;
  object-fit: contain;
}
.test-2026 .headerer_scroll-fixed .headerer__inner > .headerer__logo-wrap {
  width: 84px;
  height: 84px;
  margin-right: 40px;
  box-shadow: none;
}
@media (max-width: 1199px) {
  .test-2026 .headerer__inner > .headerer__logo-wrap {
    width: 112px;
    height: 112px;
    margin-right: 28px;
  }
  .test-2026 .headerer_scroll-fixed .headerer__inner > .headerer__logo-wrap {
    width: 76px;
    height: 76px;
    margin-right: 28px;
  }
}
@media (max-width: 991px) {
  .test-2026 .headerer__inner > .headerer__logo-wrap {
    width: 92px;
    height: 92px;
  }
  .test-2026 .headerer_scroll-fixed .headerer__inner > .headerer__logo-wrap {
    width: 64px;
    height: 64px;
  }
}
@media (max-width: 767px) {
  .test-2026 .headerer__inner > .headerer__logo-wrap {
    width: 72px;
    height: 72px;
    margin-right: 0;
  }
  .test-2026 .headerer_scroll-fixed .headerer__inner > .headerer__logo-wrap {
    width: 52px;
    height: 52px;
    margin-right: 0;
  }
}

/* ---------- Первый экран: логотип по центру ---------- */
.hero-2026 .index-banner__slider-item .container {
  justify-content: center;
  padding-top: 70px;
}
.hero-2026__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.hero-2026__slogan {
  margin: 0 0 14px;
  font-weight: 700;
  font-size: clamp(24px, 3.2vw, 44px);
  line-height: 1.15;
  color: #fff;
}
.hero-2026__desc {
  max-width: 640px;
  margin: 0 0 36px;
  font-size: clamp(15px, 1.4vw, 20px);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}
.hero-2026 .buttons-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* Вариант 1: белый круг-бейдж с крупным логотипом */
.hero-2026__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(340px, 38vh, 72vw);
  aspect-ratio: 1 / 1;
  margin: 0 0 28px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}
.hero-2026__badge img {
  width: 80%;
  height: auto;
}

/* Варианты 2 и 5 (белый логотип на фото): затемнение фона делаем тем же слоем :after, что и на главной,
   чтобы оно лежало под текстом и логотипом, а не поверх них */
.hero-2026--v2 .l-back-img:after,
.hero-2026--v5 .l-back-img:after {
  background: linear-gradient(180deg, rgba(27, 36, 51, 0.3) 0%, rgba(27, 36, 51, 0.42) 100%);
}

/* Вариант 2: белый логотип без круга + слоган между линиями */
.hero-2026__logo-white {
  width: min(560px, 78vw);
  height: auto;
  margin: 0 0 30px;
  filter: brightness(0) invert(1);
}
.hero-2026__rule {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 760px;
  margin: 0 0 36px;
}
.hero-2026__rule:before,
.hero-2026__rule:after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
}
.hero-2026__rule .hero-2026__slogan {
  max-width: 520px;
  margin: 0;
  font-weight: 500;
  font-size: clamp(16px, 1.9vw, 26px);
  letter-spacing: 0.03em;
}

/* Вариант 3: цветной логотип на светлой плашке, слоган под ней */
.hero-2026__panel {
  margin: 0 0 30px;
  padding: clamp(24px, 4vh, 44px) clamp(28px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.hero-2026__panel img {
  display: block;
  width: min(500px, 64vw);
  height: auto;
}

/* Мобильный первый экран: фото смещено к фруктам, чуть затемнено (как было на тестовой странице) */
@media (max-width: 1023px) {
  .test-2026 .index-banner .l-back-img img {
    object-fit: cover;
    object-position: 90% center !important;
  }
  .test-2026 .index-banner .l-back-img:after {
    background: linear-gradient(180deg, rgba(27, 36, 51, 0.25) 0%, rgba(27, 36, 51, 0.55) 45%, rgba(27, 36, 51, 0.25) 100%) !important;
  }
}

/* ---------- Фоны блоков (значения задаёт панель выбора, по умолчанию - как сейчас) ---------- */
.test-2026 .index-info {
  padding-bottom: 0;
  background: var(--bg-catalog, transparent);
}
.test-2026 .test-bg-company {
  padding: 70px 0 100px;
  background: var(--bg-company, transparent);
}
.test-2026 .index-news {
  background: var(--bg-news, #254061);
}
.test-2026 .index-search {
  background: var(--bg-search, transparent);
}
.test-2026 .index-help {
  padding-top: 80px;
  background: var(--bg-help, transparent);
}

/* ---------- Панель выбора вариантов (только на тестовых страницах) ---------- */
.t26-toggle {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 99999;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: #254061;
  color: #fff;
  font: 600 13px/1 Montserrat, sans-serif;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}
.t26-panel {
  position: fixed;
  left: 16px;
  bottom: 68px;
  z-index: 99999;
  display: none;
  width: 330px;
  max-width: calc(100vw - 32px);
  max-height: 72vh;
  overflow: auto;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  color: #1b2433;
  font: 13px/1.35 Montserrat, sans-serif;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.t26-panel.is-open {
  display: block;
}
.t26-panel h4 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
}
.t26-row {
  margin: 0 0 14px;
}
.t26-pages a {
  display: inline-block;
  margin: 0 6px 6px 0;
  padding: 6px 10px;
  border: 1px solid rgba(27, 36, 51, 0.2);
  border-radius: 8px;
  color: #1b2433;
  text-decoration: none;
}
.t26-pages a.is-active {
  background: #254061;
  border-color: #254061;
  color: #fff;
}
.t26-sw {
  width: 34px;
  height: 34px;
  margin: 0 6px 6px 0;
  padding: 0;
  border: 2px solid rgba(27, 36, 51, 0.2);
  border-radius: 8px;
  cursor: pointer;
}
.t26-sw.is-active {
  border-color: #254061;
  box-shadow: 0 0 0 2px #e5b67c;
}
.t26-name {
  margin: 2px 0 0;
  color: rgba(27, 36, 51, 0.65);
  font-size: 11px;
}
.t26-out {
  width: 100%;
  min-height: 64px;
  margin: 6px 0;
  padding: 8px;
  border: 1px solid rgba(27, 36, 51, 0.2);
  border-radius: 8px;
  font: 11px/1.4 Montserrat, sans-serif;
}
.t26-btn {
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: #e5b67c;
  color: #1b2433;
  font: 600 12px/1 Montserrat, sans-serif;
  cursor: pointer;
}
