/* ====== Главная: редизайн 2026 (scope: .index-template) ====== */
:where(.index-template,.landing-template) {
  --ok-green:        #B0CD1F;   /* салатовый, как top-bar */
  --ok-green-dark:   #8FA417;
  --ok-green-soft:   #f0f5d6;
  --ok-ink:          #1f2a1a;
  --ok-muted:        #5b6b54;
  --ok-card-radius:  18px;
  --ok-shadow:       0 8px 30px rgba(31,42,26,.08);
}
/* фикс двойного скролла: overflow-x:hidden на html И body (из edit-css) делает оба
   вертикальными скролл-контейнерами. Убираем у body — горизонталь режет html. */
body:where(.index-template,.landing-template) { overflow-x: visible; max-width: none; }

:where(.index-template,.landing-template) .home-section { padding: 56px 0; }
:where(.index-template,.landing-template) .home-eyebrow {
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 14px; border-radius:999px;
  background:var(--ok-green-soft); color:var(--ok-green-dark);
  font-weight:600; font-size:13px; letter-spacing:.04em; text-transform:uppercase;
}
:where(.index-template,.landing-template) .home-title { font-weight:700; font-size:clamp(26px,3.4vw,40px); line-height:1.15; color:var(--ok-ink); margin:14px 0; }
:where(.index-template,.landing-template) .home-title .accent { color:var(--ok-green); }
:where(.index-template,.landing-template) .home-sub { color:var(--ok-muted); font-size:17px; max-width:680px; }
:where(.index-template,.landing-template) .home-btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:13px 22px; border-radius:12px; font-weight:600; text-decoration:none;
  background:var(--ok-green); color:#fff; border:2px solid var(--ok-green); transition:.18s;
}
:where(.index-template,.landing-template) .home-btn:hover { background:var(--ok-green-dark); border-color:var(--ok-green-dark); color:#fff; }
:where(.index-template,.landing-template) .home-btn--ghost { background:#fff; color:var(--ok-green-dark); border-color:var(--ok-green); }
:where(.index-template,.landing-template) .home-btn--ghost:hover { background:var(--ok-green-soft); color:var(--ok-green-dark); border-color:var(--ok-green-dark); }
:where(.index-template,.landing-template) .home-card {
  background:#fff; border-radius:var(--ok-card-radius); box-shadow:var(--ok-shadow); overflow:hidden;
}
@media (max-width:991px){ :where(.index-template,.landing-template) .home-section { padding:36px 0; } }

/* ---- Блок 1: баннеры ---- */
:where(.index-template,.landing-template) .home-banners { padding-bottom:48px; }       /* место под точки слайдера */
/* перебиваем старые фикс-высоты top-slider */
:where(.index-template,.landing-template) .home-banners .top-slider .slick-slide > div { height:auto; }
:where(.index-template,.landing-template) .home-banners .top-slider .item .inner { height:auto; }

:where(.index-template,.landing-template) .home-banner {
  position:relative; overflow:hidden;
  min-height:clamp(420px,40vw,560px);
  background-image:var(--bg); background-size:cover; background-position:center;
  display:flex; align-items:center;
  box-shadow:0 0 25px rgba(0,0,0,.08);
}
:where(.index-template,.landing-template) .home-banner--3 { background-position:center top; }  /* лицо девушки сверху не режем */
/* светлая подложка слева — текст читается поверх фото (как светлая зона в макете) */
:where(.index-template,.landing-template) .home-banner::after {
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.78) 30%, rgba(255,255,255,0) 60%);
}

/* контент в центрированном контейнере → текст не уезжает к краю экрана */
:where(.index-template,.landing-template) .home-banner__inner {
  position:relative; z-index:1;
  width:100%; max-width:1240px; margin:0 auto;
  padding:clamp(24px,3vw,40px) 20px;
  display:flex;
}
:where(.index-template,.landing-template) .home-banner__content {
  width:min(560px,58%); min-width:0;
  display:flex; flex-direction:column; justify-content:space-between; gap:20px;
}
:where(.index-template,.landing-template) .home-banner__top { display:flex; flex-direction:column; gap:14px; align-items:flex-start; }
:where(.index-template,.landing-template) .home-banner .home-title { margin:0; }
:where(.index-template,.landing-template) .home-banner .home-sub { margin:0; }
:where(.index-template,.landing-template) .home-banner__offer { display:flex; align-items:center; gap:16px; }
:where(.index-template,.landing-template) .home-banner__offer .home-sub { flex:1; min-width:0; }
:where(.index-template,.landing-template) .home-banner__disc {
  flex:0 0 auto; width:66px; height:66px; border-radius:50%;
  background:var(--ok-green); color:#fff; font-weight:700; font-size:20px;
  display:flex; align-items:center; justify-content:center;
}
:where(.index-template,.landing-template) .home-banner__btns { display:flex; gap:12px; flex-wrap:wrap; }

/* нижняя плашка-бар: широкая панель, все пункты в один ряд, вертикальные
   разделители частичной высоты (как в макете). Бар шире текстовой колонки. */
:where(.index-template,.landing-template) .home-banner__bar {
  list-style:none; margin:0; padding:10px 8px; border-radius:14px;
  width:min(860px, calc(100vw - 32px));
  display:flex; flex-wrap:nowrap; align-items:stretch; gap:0;
}
:where(.index-template,.landing-template) .home-banner__bar--soft  { background:rgba(238,244,227,.95); }
:where(.index-template,.landing-template) .home-banner__bar--white { background:rgba(255,255,255,.95); box-shadow:0 6px 20px rgba(31,42,26,.08); }
:where(.index-template,.landing-template) .home-banner__bar li {
  flex:1 1 0; min-width:0; position:relative;
  display:flex; align-items:center; gap:8px; padding:6px 18px;
  font-weight:600; font-size:13.5px; color:var(--ok-ink); line-height:1.25;
}
:where(.index-template,.landing-template) .home-banner__bar li + li::before {
  content:""; position:absolute; left:0; top:22%; bottom:22%;
  width:1px; background:rgba(31,42,26,.18);
}
:where(.index-template,.landing-template) .home-banner__ic { font-size:18px; line-height:1; flex:0 0 auto; }

/* первый слайд виден до инициализации Slick (LCP, без мигания) */
:where(.index-template,.landing-template) .top-slider:not(.slick-initialized) .item:not(:first-child){ display:none; }

/* ---- Блок 2: услуги ---- */
:where(.index-template,.landing-template) .home-services { position:relative; background-image:var(--bg); background-size:cover; background-position:center; }
/* плавный переход с баннеров: белая «вуаль» сверху */
:where(.index-template,.landing-template) .home-services::before {
  content:""; position:absolute; top:0; left:0; right:0; height:110px; pointer-events:none;
  background:linear-gradient(180deg, #fff 0%, rgba(255,255,255,0) 100%);
}
:where(.index-template,.landing-template) .home-services > .container { position:relative; z-index:1; }
:where(.index-template,.landing-template) .home-services__head { text-align:center; max-width:720px; margin:0 auto 36px; }
:where(.index-template,.landing-template) .home-services__head .home-sub { margin:0 auto; }
:where(.index-template,.landing-template) .home-services__grid { display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
:where(.index-template,.landing-template) .home-service { display:flex; flex-direction:column; }
:where(.index-template,.landing-template) .home-service__img { position:relative; aspect-ratio:4/3; background-size:cover; background-position:center; }
:where(.index-template,.landing-template) .home-service__tag { position:absolute; top:12px; right:12px; background:var(--ok-green); color:#fff; font-size:13px; font-weight:600; padding:5px 12px; border-radius:999px; }
/* центрированный контент карточки услуги */
:where(.index-template,.landing-template) .home-service__body { padding:22px 20px; display:flex; flex-direction:column; align-items:center; text-align:center; gap:10px; flex:1; }
:where(.index-template,.landing-template) .home-service__body h3 { font-size:19px; font-weight:700; color:var(--ok-ink); margin:0; }
:where(.index-template,.landing-template) .home-service__body p { color:var(--ok-muted); margin:0; flex:1; }
:where(.index-template,.landing-template) .home-service__body .home-btn { align-self:center; margin-top:6px; }
@media (max-width:991px){ :where(.index-template,.landing-template) .home-services__grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:575px){ :where(.index-template,.landing-template) .home-services__grid { grid-template-columns:1fr; } }

/* ---- Блок 3: категории ---- */
:where(.index-template,.landing-template) .home-categories__head { text-align:center; max-width:760px; margin:0 auto 34px; }
:where(.index-template,.landing-template) .home-categories__head .home-sub { margin:0 auto 18px; }
:where(.index-template,.landing-template) .home-categories__cta { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
:where(.index-template,.landing-template) .home-categories__grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
:where(.index-template,.landing-template) .home-cat { display:flex; flex-direction:column; text-decoration:none; color:inherit; transition:.18s; }
:where(.index-template,.landing-template) .home-cat:hover { transform:translateY(-4px); color:inherit; text-decoration:none; }
:where(.index-template,.landing-template) .home-cat__img { aspect-ratio:3/2; background-size:cover; background-position:center; }
:where(.index-template,.landing-template) .home-cat__body { padding:18px; }
:where(.index-template,.landing-template) .home-cat__body h3 { font-size:19px; font-weight:700; color:var(--ok-ink); margin:0 0 6px; }
:where(.index-template,.landing-template) .home-cat__body p { color:var(--ok-muted); margin:0 0 10px; }
:where(.index-template,.landing-template) .home-cat__link { color:var(--ok-green); font-weight:600; }
:where(.index-template,.landing-template) .home-categories__all { text-align:center; margin-top:26px; }
@media (max-width:767px){ :where(.index-template,.landing-template) .home-categories__grid { grid-template-columns:1fr; } }

/* ---- Блок 4: отзывы Google ---- */
:where(.index-template,.landing-template) .home-reviews { background:#fafbf8; }
:where(.index-template,.landing-template) .home-reviews__head { display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap; margin-bottom:26px; }
:where(.index-template,.landing-template) .home-reviews__head .home-title { margin:0 0 8px; }
:where(.index-template,.landing-template) .home-reviews__head .home-sub { margin:0; }
:where(.index-template,.landing-template) .home-reviews__rating { display:flex; align-items:center; gap:14px; background:#fff; box-shadow:var(--ok-shadow); border-radius:14px; padding:14px 22px; text-decoration:none; color:inherit; }
:where(.index-template,.landing-template) .home-reviews__rating:hover { color:inherit; text-decoration:none; transform:translateY(-2px); transition:.18s; }
:where(.index-template,.landing-template) .home-reviews__g { font-size:30px; font-weight:700; color:#4285F4; line-height:1; }
:where(.index-template,.landing-template) .home-reviews__rating b { font-size:22px; display:block; color:var(--ok-ink); }
:where(.index-template,.landing-template) .home-reviews__stars { color:#f5b50a; margin-left:6px; font-size:14px; }
:where(.index-template,.landing-template) .home-reviews__rating small { display:block; color:var(--ok-muted); font-size:13px; }
:where(.index-template,.landing-template) .home-reviews .greviews { padding:0; }
:where(.index-template,.landing-template) .home-reviews .greviews__head { display:none; }   /* шапку оставляем только новую */

/* ---- Блок 5: как заказать ---- */
:where(.index-template,.landing-template) .home-howto__head { text-align:center; max-width:740px; margin:0 auto 34px; }
:where(.index-template,.landing-template) .home-howto__head .home-sub { margin:0 auto; }
:where(.index-template,.landing-template) .home-howto__grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
:where(.index-template,.landing-template) .home-step { display:flex; flex-direction:column; }
:where(.index-template,.landing-template) .home-step__img { position:relative; aspect-ratio:16/10; background-size:cover; background-position:center; }
:where(.index-template,.landing-template) .home-step__num { position:absolute; top:14px; left:14px; width:44px; height:44px; border-radius:50%; background:#fff; color:var(--ok-green); font-weight:700; font-size:20px; display:flex; align-items:center; justify-content:center; box-shadow:0 4px 14px rgba(0,0,0,.15); border:2px solid var(--ok-green); }
:where(.index-template,.landing-template) .home-step__body { padding:24px 18px 18px; }
:where(.index-template,.landing-template) .home-step__body h3 { font-size:18px; font-weight:700; color:var(--ok-ink); margin:0 0 8px; }
:where(.index-template,.landing-template) .home-step__body p { color:var(--ok-muted); margin:0; }
:where(.index-template,.landing-template) .home-howto__cta { text-align:center; margin:28px 0 18px; }
:where(.index-template,.landing-template) .home-howto__plates { list-style:none; display:flex; gap:28px; justify-content:center; flex-wrap:wrap; padding:0; margin:0; color:var(--ok-muted); font-weight:600; }
@media (max-width:767px){ :where(.index-template,.landing-template) .home-howto__grid { grid-template-columns:1fr; } }

/* ---- Блок 6: B2B (оптика для фирм) ---- */
:where(.index-template,.landing-template) .home-b2b__card { display:grid; grid-template-columns:1fr 1fr; overflow:hidden; }
:where(.index-template,.landing-template) .home-b2b__text { padding:clamp(24px,4vw,48px); }
:where(.index-template,.landing-template) .home-b2b__list { list-style:none; padding:0; margin:18px 0; }
:where(.index-template,.landing-template) .home-b2b__list li { padding:8px 0; color:var(--ok-ink); font-weight:500; display:flex; align-items:center; gap:10px; }
:where(.index-template,.landing-template) .home-b2b__btns { display:flex; gap:12px; flex-wrap:wrap; margin-top:8px; }
:where(.index-template,.landing-template) .home-b2b__img { background-size:cover; background-position:center; min-height:340px; }
:where(.index-template,.landing-template) .home-b2b__plates { list-style:none; display:flex; gap:24px; justify-content:center; flex-wrap:wrap; padding:0; margin:24px 0 0; color:var(--ok-muted); font-weight:600; }
@media (max-width:767px){
  :where(.index-template,.landing-template) .home-b2b__card { grid-template-columns:1fr; }
  :where(.index-template,.landing-template) .home-b2b__img { min-height:220px; order:-1; }
  :where(.index-template,.landing-template) .home-b2b__plates { flex-direction:column; align-items:flex-start; gap:10px; }
  :where(.index-template,.landing-template) .home-b2b__plates li { width:100%; }
}

/* ---- Модалка #b2bcontact (стиль главной) ---- */
.modal--b2b {
  --ok-green:#B0CD1F; --ok-green-dark:#8FA417; --ok-green-soft:#f0f5d6; --ok-ink:#1f2a1a; --ok-muted:#5b6b54;
  max-width:640px; padding:36px 32px; border-radius:18px;
  background:#fff; color:var(--ok-ink);
}
.modal--b2b .title {
  font-size:clamp(20px,4.5vw,26px); font-weight:700; color:var(--ok-ink); margin:0 0 8px;
  padding:0 36px 14px 0; border-bottom:2px solid var(--ok-green-soft);
}
.modal--b2b .title::before { content:"🏢 "; }
.modal--b2b > p { color:var(--ok-muted); margin:14px 0 22px; font-size:15px; }
.modal--b2b .form-control {
  width:100%; padding:12px 14px; border:1.5px solid #e1e6dc; border-radius:10px;
  font-size:15px; background:#fafbf8; transition:.15s;
}
.modal--b2b .form-control:focus {
  outline:none; border-color:var(--ok-green); background:#fff;
  box-shadow:0 0 0 3px rgba(92,138,44,.15);
}
.modal--b2b textarea.form-control { min-height:120px; resize:vertical; }
.modal--b2b .form-group { margin-bottom:14px; }
.modal--b2b .agreement label { display:flex; align-items:flex-start; gap:8px; font-size:13px; color:var(--ok-muted); line-height:1.4; cursor:pointer; }
.modal--b2b .agreement a { color:var(--ok-green-dark); }
.modal--b2b .agreement .material-icons { color:var(--ok-green); font-size:20px; }
.modal--b2b input[type="submit"].button, .modal--b2b button[type="submit"] {
  display:inline-flex; align-items:center; justify-content:center;
  padding:13px 28px; border-radius:12px; font-weight:600; font-size:15px;
  background:var(--ok-green); color:#fff; border:2px solid var(--ok-green); cursor:pointer; transition:.18s;
  width:100%;
}
.modal--b2b input[type="submit"].button:hover, .modal--b2b button[type="submit"]:hover { background:var(--ok-green-dark); border-color:var(--ok-green-dark); }
.modal--b2b .af.af-success { padding:18px; background:var(--ok-green-soft); color:var(--ok-green-dark); border-radius:10px; font-weight:600; text-align:center; }
@media (max-width:575px){ .modal--b2b { padding:24px 18px; max-width:100%; } }

/* ---- Блок 7: FAQ (рестайл .main-faq только в .index-template, чтобы не задеть категории) ---- */
:where(.index-template,.landing-template) .home-faq__head { text-align:center; max-width:760px; margin:0 auto 28px; }
:where(.index-template,.landing-template) .main-faq .container { max-width:920px; }
:where(.index-template,.landing-template) .main-faq .titlespec { display:none; }                 /* шапку рендерим в home-faq__head выше */
:where(.index-template,.landing-template) .main-faq .main-accordeon { display:block; }
:where(.index-template,.landing-template) .main-faq .col-xs-12,
:where(.index-template,.landing-template) .main-faq .col-md-6 { width:100%; max-width:100%; flex:none; padding:0; }
:where(.index-template,.landing-template) .main-faq .element {
  background:#fff; border-radius:14px; box-shadow:var(--ok-shadow);
  margin:0 0 12px; overflow:hidden; border:1.5px solid #eef2e6;
}
:where(.index-template,.landing-template) .main-faq .element .title {
  padding:18px 56px 18px 24px; font-weight:700; color:var(--ok-ink);
  cursor:pointer; position:relative; font-size:16px; line-height:1.4;
}
:where(.index-template,.landing-template) .main-faq .element .title::after {
  content:"+"; position:absolute; right:22px; top:50%; transform:translateY(-50%);
  width:28px; height:28px; border-radius:50%; background:var(--ok-green-soft);
  color:var(--ok-green-dark); font-size:20px; font-weight:700; line-height:26px; text-align:center; transition:.2s;
}
:where(.index-template,.landing-template) .main-faq .element.active .title::after,
:where(.index-template,.landing-template) .main-faq .element.open .title::after { content:"−"; background:var(--ok-green); color:#fff; }
:where(.index-template,.landing-template) .main-faq .element-content { padding:18px 24px 22px; border-top:1px solid var(--ok-green-soft); }
:where(.index-template,.landing-template) .main-faq .element-content .content { color:var(--ok-muted); line-height:1.6; }
/* блок контактов */
:where(.index-template,.landing-template) .home-faq__contact {
  max-width:920px; margin:28px auto 0; padding:24px 28px;
  display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap;
  background:var(--ok-green-soft); border:1px solid #e1eacc;
}
:where(.index-template,.landing-template) .home-faq__contact-text h3 { margin:0 0 6px; color:var(--ok-ink); font-size:19px; font-weight:700; }
:where(.index-template,.landing-template) .home-faq__contact-text p { margin:0; color:var(--ok-muted); }
:where(.index-template,.landing-template) .home-faq__contacts { display:flex; gap:14px; flex-wrap:wrap; }
:where(.index-template,.landing-template) .home-faq__contact-link {
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 16px; background:#fff; border-radius:12px; box-shadow:0 4px 14px rgba(31,42,26,.06);
  color:var(--ok-ink); text-decoration:none; font-size:15px; transition:.18s;
}
:where(.index-template,.landing-template) .home-faq__contact-link:hover { color:var(--ok-ink); transform:translateY(-2px); box-shadow:0 6px 18px rgba(31,42,26,.1); }
:where(.index-template,.landing-template) .home-faq__contact-link span { display:flex; flex-direction:column; line-height:1.2; }
:where(.index-template,.landing-template) .home-faq__contact-link small { color:var(--ok-muted); font-size:12px; }
:where(.index-template,.landing-template) .home-faq__contact-link b { color:var(--ok-green-dark); font-weight:700; }

/* ====== Лендинг produkcja-okularow (scope: body.landing-template) ====== */
body.landing-template { color:var(--ok-ink); }
body.landing-template .landing-section { padding:56px 0; }
@media (max-width:991px){ body.landing-template .landing-section { padding:36px 0; } }

/* --- Landing-баннеры: бар у низа на десктопе, без пустот на мобиле --- */
/* Desktop: растянуть inner на всю высоту, чтобы space-between прибил бар к низу */
body.landing-template .home-banner { align-items:stretch; }
body.landing-template .home-banner__inner { align-items:stretch; }
body.landing-template .home-banner__content { height:auto; padding-bottom:8px; }
/* фикс кадрирования: голова девушки не упирается в верх */
body.landing-template .home-banner--1 { background-position:center top; }
body.landing-template .home-banner--3 { background-position:center; }  /* переопределяем home --3:top */
/* нижний бар-плашку прижимаем к низу слайда (на десктопе) через flex */
@media (min-width:768px){
  body.landing-template .home-banner { min-height:560px; }
  body.landing-template .home-banner__inner { min-height:inherit; align-items:stretch; padding-bottom:44px; }
  body.landing-template .home-banner__content { min-height:100%; height:auto; justify-content:flex-start; padding-bottom:0; }
  body.landing-template .home-banner__bar { margin-top:auto !important; }
}
/* убираем большой отступ под точками слайдера */
body.landing-template .home-banners { padding-bottom:24px; }
/* Mobile: высота по контенту, без пустых зон. Фото показано как настоящая
   картинка (без сильного блюра), читаемость через прозрачный белый скрим под текстом. */
@media (max-width:767px){
  body.landing-template .home-banner { min-height:auto; padding:0; }
  /* отключаем блюр-перекрытие — показываем фото как есть */
  body.landing-template .home-banner::before { filter:blur(2px) brightness(.92); transform:none; }
  /* белый скрим за текстом (только до конца контента, не на всё фото) */
  body.landing-template .home-banner__inner { background:linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.88) 70%, rgba(255,255,255,0) 100%); padding:22px 16px 24px; }
  /* возвращаем тёмный текст (а не белый), т.к. фон теперь светлый */
  body.landing-template .home-banner .home-title,
  body.landing-template .home-banner .home-sub { color:var(--ok-ink); }
  body.landing-template .home-banner .home-title .accent { color:var(--ok-green-dark); }
  body.landing-template .home-banner__bar--soft,
  body.landing-template .home-banner__bar--white { background:rgba(255,255,255,.92); box-shadow:0 4px 14px rgba(31,42,26,.08); }
  body.landing-template .home-banner__bar li { color:var(--ok-ink); }
  body.landing-template .home-banner__bar li + li { border-top-color:rgba(31,42,26,.12); }
}

/* ---- Лендинг блок 2: способ покупки ---- */
body.landing-template .landing-buyway__head { text-align:center; max-width:720px; margin:0 auto 34px; }
body.landing-template .landing-buyway__grid { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
body.landing-template .landing-buyway__card { display:flex; flex-direction:column; }
body.landing-template .landing-buyway__img { aspect-ratio:16/9; background-size:cover; background-position:center; }
body.landing-template .landing-buyway__body { padding:24px; display:flex; flex-direction:column; gap:10px; align-items:flex-start; flex:1; }
body.landing-template .landing-buyway__icon { width:48px; height:48px; border-radius:50%; background:var(--ok-green-soft); display:flex; align-items:center; justify-content:center; font-size:22px; }
body.landing-template .landing-buyway__body h3 { margin:4px 0 0; font-size:20px; font-weight:700; color:var(--ok-ink); }
body.landing-template .landing-buyway__body p { color:var(--ok-muted); margin:0; flex:1; }
body.landing-template .landing-buyway__body .home-btn { margin-top:6px; }
@media (max-width:767px){ body.landing-template .landing-buyway__grid { grid-template-columns:1fr; } }

/* ---- Лендинг блок 3: bestsellers ---- */
body.landing-template .landing-bestsellers__head { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:16px 22px; margin-bottom:28px; }
body.landing-template .landing-bestsellers__head .home-eyebrow { grid-column:1; }
body.landing-template .landing-bestsellers__head .home-title { grid-column:1/-1; margin:0; }
body.landing-template .landing-bestsellers__more { grid-column:3; grid-row:1; justify-self:end; color:var(--ok-green-dark); font-weight:700; text-decoration:none; white-space:nowrap; }
body.landing-template .landing-bestsellers__more:hover { color:var(--ok-green-dark); text-decoration:underline; }
@media (max-width:575px){ body.landing-template .landing-bestsellers__head { grid-template-columns:1fr; } body.landing-template .landing-bestsellers__more { grid-column:1; grid-row:auto; justify-self:start; } }

/* ---- Лендинг блок 4: promocyjna cena ---- */
body.landing-template .landing-promo__title { text-align:left; margin:0 0 22px; font-size:clamp(22px,3vw,32px); }

/* ---- Лендинг блок 5: отзывы клиентов ---- */
body.landing-template .landing-reviews { background:#fafbf8; }
body.landing-template .landing-reviews__head { display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; margin-bottom:32px; }
body.landing-template .landing-reviews__head-text .home-title { margin:8px 0 0; }
body.landing-template .landing-reviews__rating {
  position:relative; display:flex; flex-direction:column; align-items:flex-start; gap:4px;
  background:#fff; border-radius:14px; padding:14px 60px 14px 18px; box-shadow:var(--ok-card-shadow);
  text-decoration:none; color:var(--ok-ink); min-width:240px;
}
body.landing-template .landing-reviews__rating:hover { color:var(--ok-ink); transform:translateY(-2px); transition:.18s; }
body.landing-template .landing-reviews__rating-score { display:flex; align-items:center; gap:10px; }
body.landing-template .landing-reviews__rating-score b { font-size:22px; color:var(--ok-ink); }
body.landing-template .landing-reviews__stars { color:#f5b50a; font-size:15px; letter-spacing:1px; }
body.landing-template .landing-reviews__rating small { color:var(--ok-muted); font-size:13px; }
body.landing-template .landing-reviews__g { position:absolute; right:18px; top:50%; transform:translateY(-50%); font-size:28px; font-weight:700; color:#4285F4; line-height:1; }

body.landing-template .landing-reviews__carousel { margin:0 -8px; }
body.landing-template .landing-reviews__card {
  background:#fff; border-radius:16px; padding:22px 22px 26px; margin:0 8px;
  box-shadow:var(--ok-card-shadow); border:1px solid #eef2e6;
  display:flex; flex-direction:column; gap:8px; min-height:200px;
}
body.landing-template .landing-reviews__name { font-weight:700; color:var(--ok-ink); font-size:15px; }
body.landing-template .landing-reviews__stars-row { color:#f5b50a; font-size:15px; letter-spacing:1px; }
body.landing-template .landing-reviews__text { color:var(--ok-muted); margin:6px 0 0; line-height:1.55; font-size:14px; flex:1; }

@media (max-width:767px){
  body.landing-template .landing-reviews__head { flex-direction:column; align-items:flex-start; gap:14px; text-align:left; }
  body.landing-template .landing-reviews__rating { min-width:auto; width:100%; }
}

/* ---- Лендинг блок 9: финальный CTA ---- */
body.landing-template .landing-final-cta__card {
  position:relative; overflow:hidden; border-radius:18px;
  background-image:var(--bg); background-size:cover; background-position:center;
  min-height:280px; display:flex; align-items:center;
  box-shadow:0 8px 30px rgba(31,42,26,.08);
}
body.landing-template .landing-final-cta__card::after {
  content:""; position:absolute; inset:0; z-index:0;
  background:linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.78) 40%, rgba(255,255,255,0) 70%);
}
body.landing-template .landing-final-cta__inner { position:relative; z-index:1; padding:36px clamp(20px,4vw,52px); max-width:640px; }
body.landing-template .landing-final-cta__inner .home-title { margin:0 0 10px; }
body.landing-template .landing-final-cta__inner .home-sub { margin:0 0 18px; }
body.landing-template .landing-final-cta__btns { display:flex; gap:12px; flex-wrap:wrap; }
@media (max-width:767px){
  body.landing-template .landing-final-cta__card { min-height:340px; align-items:stretch; }
  body.landing-template .landing-final-cta__card::after { background:linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.85) 60%, rgba(255,255,255,.6) 100%); }
  body.landing-template .landing-final-cta__inner { padding:24px 18px; max-width:none; }
}

/* ---- Блок 8: статьи ---- */
:where(.index-template,.landing-template) .home-articles__head { text-align:center; max-width:740px; margin:0 auto 32px; }
:where(.index-template,.landing-template) .home-articles__head .home-sub { margin:0 auto; }
:where(.index-template,.landing-template) .home-articles__grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
:where(.index-template,.landing-template) .home-article { display:flex; flex-direction:column; }
:where(.index-template,.landing-template) .home-article__img { display:block; aspect-ratio:16/10; background-size:cover; background-position:center; }
:where(.index-template,.landing-template) .home-article__body { padding:18px; display:flex; flex-direction:column; gap:8px; flex:1; }
:where(.index-template,.landing-template) .home-article__body h3 { font-size:18px; font-weight:700; margin:0; line-height:1.3; }
:where(.index-template,.landing-template) .home-article__body h3 a { color:var(--ok-ink); text-decoration:none; transition:.15s; }
:where(.index-template,.landing-template) .home-article__body h3 a:hover { color:var(--ok-green-dark); }
:where(.index-template,.landing-template) .home-article__body p { color:var(--ok-muted); margin:0; flex:1; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
:where(.index-template,.landing-template) .home-article__link { color:var(--ok-green); font-weight:600; text-decoration:none; align-self:flex-start; }
:where(.index-template,.landing-template) .home-article__link:hover { color:var(--ok-green-dark); text-decoration:none; }
:where(.index-template,.landing-template) .home-articles__all { text-align:center; margin-top:28px; }
@media (max-width:767px){ :where(.index-template,.landing-template) .home-articles__grid { grid-template-columns:1fr; } }

/* планшет: текст пошире */
@media (max-width:991px){
  :where(.index-template,.landing-template) .home-banner__content { width:min(72%,560px); }
}
/* мобила: текст поверх размытой затемнённой картинки, всё в колонку, прижато к верху */
@media (max-width:767px){
  :where(.index-template,.landing-template) .home-banners .top-slider { margin-top:55px; } /* клиренс под fixed top-bar */
  :where(.index-template,.landing-template) .home-banner { min-height:auto; align-items:stretch; padding:30px 0; }
  :where(.index-template,.landing-template) .home-banner::after { display:none; }   /* на мобиле — без светлой подложки (тёмный blur) */
  :where(.index-template,.landing-template) .home-banner::before {
    content:""; position:absolute; inset:0; z-index:0;
    background-image:var(--bg); background-size:cover; background-position:center;
    filter:blur(7px) brightness(.5); transform:scale(1.12);
  }
  :where(.index-template,.landing-template) .home-banner__inner { padding:24px 16px; }
  :where(.index-template,.landing-template) .home-banner__content { width:100%; color:#fff; justify-content:flex-start; gap:18px; }
  :where(.index-template,.landing-template) .home-banner .home-title,
  :where(.index-template,.landing-template) .home-banner .home-sub { color:#fff; }
  :where(.index-template,.landing-template) .home-banner .home-title .accent { color:#bfe08a; }
  /* бар в колонку — не переполняет узкий экран, текст переносится */
  :where(.index-template,.landing-template) .home-banner__bar { flex-direction:column; align-items:stretch; gap:0; width:100%; }
  :where(.index-template,.landing-template) .home-banner__bar--soft,
  :where(.index-template,.landing-template) .home-banner__bar--white { background:rgba(255,255,255,.15); box-shadow:none; }
  :where(.index-template,.landing-template) .home-banner__bar li { display:block; flex:none; padding:8px 14px; color:#fff; }
  :where(.index-template,.landing-template) .home-banner__bar li .home-banner__ic { margin-right:8px; }
  :where(.index-template,.landing-template) .home-banner__bar li + li::before { display:none; }
  :where(.index-template,.landing-template) .home-banner__bar li + li { border-top:1px solid rgba(255,255,255,.25); }
}
