/**
 * Craft CMS: дополнения к Helix template.css (детские-батуты.рф)
 * Типографика и цвета — как в index.html оригинала.
 */

/* Без прелоадера (на оригинале sp_preloader = 0) */
.sp-preloader,
#sp-preloader,
.preloader,
.km-preloader,
.page-loader {
  display: none !important;
}

body {
  font-family: Roboto, sans-serif;
  font-size: 18px;
  font-weight: normal;
}

h1 {
  font-family: Nunito, sans-serif;
  font-weight: 900;
}

h2,
h3,
h4,
h5 {
  font-family: Nunito, sans-serif;
  font-weight: 300;
}

h6 {
  font-family: "Open Sans", sans-serif;
  font-weight: 800;
}

#sp-bottom,
#sp-bottom2 {
  background-color: #2f3b45;
}

#sp-footer {
  background-color: #262830;
}

.sppb-row-container {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* Поиск — стили из template.css (.searchmenunu) */
#sp-search .mod-shop-search {
  margin: 0;
}

#xleb-contact {
  padding-top: 0;
}

#xleb-contact .bottmenu {
  justify-content: flex-end;
}

/* Hero Craft (аналог секции SP Page Builder) */
.craft-hero {
  position: relative;
  min-height: 640px;
  padding: 195px 0 75px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.craft-hero--has-media .craft-hero__overlay,
.craft-hero .sppb-row-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.sppb-section-background-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.craft-hero__video,
.section-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.craft-hero > .container,
.craft-hero .sppb-row-container {
  position: relative;
  z-index: 2;
}

.craft-hero .sppb-addon-title {
  color: #fff;
}

.craft-hero h1.sppb-addon-title {
  font-size: clamp(32px, 6vw, 80px);
  line-height: 1.1;
  font-weight: 900;
}

.craft-hero__eyebrow {
  font-size: 28px;
  font-weight: 800;
  color: #f05a2d !important;
}

.craft-hero__lead,
.craft-hero__lead p {
  color: #fff;
  font-size: 18px;
  line-height: 28px;
}

.craft-hero__cta {
  margin-top: 24px;
}

.craft-hero .buttonmaintop div {
  background-color: #f05a2d;
}

.craft-hero .buttonmaintop:hover div {
  background-color: #0f8acb;
}

/* Breadcrumb в hero */
.craft-hero .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
}
.craft-hero .breadcrumb-item {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.craft-hero .breadcrumb-item a { color: #fff; text-decoration: none; }

/* Десктоп дропдаун */
#sp-header .container,
#sp-menu,
#sp-menu .sp-megamenu-wrapper,
#sp-menu .sp-megamenu-parent {
  overflow: visible;
}

.sp-megamenu-parent .sp-has-child > .sp-dropdown {
  display: none;
}

.sp-megamenu-parent .sp-has-child:hover > .sp-dropdown,
.sp-megamenu-parent .sp-has-child:focus-within > .sp-dropdown {
  display: block;
}

.sp-megamenu-parent .sp-dropdown {
  background-color: #2f3b45;
  border-radius: 10px;
  overflow: hidden;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a,
.sp-megamenu-parent .sp-dropdown .nav.menu a {
  color: #f05a2d;
  font-size: 18px;
  font-weight: 400;
  padding: 10px 20px;
  display: block;
  text-decoration: none;
}

/* Мега-меню (две колонки-модуля): плотные отступы. Цвет ссылок — оранжевый
   по умолчанию (базовое правило выше), кастом — через поле menuColor (инлайн). */
.sp-megamenu-parent .sp-dropdown-mega .nav.menu a {
  padding: 2px 0;
  line-height: 36px;
}
.sp-megamenu-parent .sp-dropdown-mega .sp-module-title {
  font-size: 14px;
  font-weight: 300;
  text-transform: uppercase;
  margin-bottom: 20px;
  /* как на оригинале: тёмный заголовок на тёмном фоне (почти не виден) */
  color: #212529;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:hover,
.sp-megamenu-parent .sp-dropdown .nav.menu a:hover {
  color: #fff;
  background: transparent;
}

.sp-megamenu-parent > li.menutop1 > a,
.sp-megamenu-parent > li.menutop2 > a {
  position: relative;
}

.sp-megamenu-parent > li.menutop1 > a {
  z-index: 13;
}

.sp-megamenu-parent > li.menutop2 > a {
  z-index: 11;
}

.sp-megamenu-parent > li.menutop1:hover > a,
.sp-megamenu-parent > li.menutop1:focus-within > a,
.sp-megamenu-parent > li.menutop2:hover > a,
.sp-megamenu-parent > li.menutop2:focus-within > a {
  color: #fff;
}

.menutop1 .sp-dropdown,
.menutop2 .sp-dropdown {
  background-color: rgba(47, 59, 69, 1);
}

.menutop1 .sp-dropdown {
  height: 330px;
  width: 483px;
  margin-top: -90px;
  padding-top: 50px;
  margin-left: -20px;
  border-radius: 10px;
  position: absolute;
  z-index: 12;
}

.menutop2 .sp-dropdown {
  height: 330px;
  width: 228px;
  margin-top: -90px;
  padding-top: 50px;
  margin-left: -20px;
  border-radius: 10px;
}

.menutop1 .sp-module {
  padding: 0 30px;
}

.menutop1 .sp-dropdown .sp-module-title {
  display: none;
}

.menutop1 .sp-dropdown li:hover,
.menutop2 .sp-dropdown li:hover {
  background-color: rgba(23, 34, 43, 1);
}

/* Первая колонка: убираем синий у 4–6 пунктов (из template.css) → все оранжевые.
   Вторая колонка («Поводы») остаётся белой (правило template.css не трогаем).
   Индивидуальный цвет — поле menuColor (инлайн в menu.twig, перебивает по специфичности). */
.menutop1 .sp-dropdown .sp-dropdown-inner .row > div:nth-child(1) li:nth-child(n+4):nth-child(-n+6) a {
  color: #f05a2d;
}

.menutop2 .sp-dropdown li a {
  color: #f05a2d;
  padding-left: 20px;
}

/* Одноколоночный (non-mega) дропдаун: сдвигаем список вниз, чтобы первый пункт
   не оказывался под высокой (line-height:128px) ссылкой верхнего меню — иначе
   она перехватывает ховер/клик по первому пункту (как у мега это уже так). */
.sp-megamenu-parent .sp-dropdown:not(.sp-dropdown-mega) .sp-dropdown-items {
  padding-top: 32px;
}

/* Мегаменю: иконка «Акции» */
.sp-megamenu-parent > li > a.aktsii-i-skidki img,
.sp-megamenu-parent > li > a .menu-emoji {
  margin-right: 6px;
  vertical-align: baseline;
}
.offcanvas-menu .offcanvas-inner .sp-module ul.nav {
  margin-left: 0;
  margin-right: 0;
}
.offcanvas-menu .offcanvas-inner .sp-module ul > li {
  overflow: visible;
}

/* Секции Matrix без SPB (совместимость km-* из старых partials) */
.km-section {
  padding: 75px 0;
}

/* Гарантированный боковой отступ секции: паддинг .container гасится
   отрицательным margin у .row (стандартное поведение Bootstrap-грида), в
   остатке — только паддинг колонок (12px). На части ширин экрана карточки
   визуально упирались в край. clamp() держит комфортный отступ на любой ширине. */
.km-section .container {
  padding-left: clamp(16px, 6vw, 90px);
  padding-right: clamp(16px, 6vw, 90px);
}

.km-section--soft {
  background-color: #f7f9ff;
}

.km-section__title {
  font-family: Nunito, sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 5vw, 80px);
  line-height: 1.1;
  color: #2f3b45;
  text-align: center;
  margin-bottom: 40px;
}

.km-section__title--accent {
  color: #f05a2d;
}

.km-btn {
  display: inline-block;
  height: 60px;
  min-width: 200px;
  padding: 0 32px;
  border-radius: 60px;
  border: none;
  font-family: Roboto, sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 60px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.km-btn--primary,
.km-btn--hero {
  background-color: #0f8acb;
  color: #fff;
}

.km-btn--primary:hover,
.km-btn--hero:hover {
  background-color: #f05a2d;
  color: #fff;
}

.km-btn--outline {
  background: transparent;
  border: 1px solid #0f8acb;
  color: #0f8acb;
  line-height: 58px;
}

.km-btn--block {
  display: block;
  width: 100%;
}

/* Offcanvas-подменю: гарантированное скрытие/показ (без Bootstrap JS).
   Скоупим только мобильным меню, чтобы не задеть десктопный мегаменю. */
.offcanvas-menu .nav.menu ul.collapse { display: none; }
.offcanvas-menu .nav.menu ul.collapse.show { display: block; }

/* Звезда-декор внизу hero (zvezda1) свисает ниже секции — держим её ПОВЕРХ
   следующего блока (hero без z-index не создаёт stacking context, поэтому
   z-index на самой звезде всплывает над соседней секцией). */
#sppb-addon-wrapper-60c85063-f902-4b49-b7a4-afb81fa7f39b {
  position: relative;
  z-index: 10;
}

/* Кнопка «Выбрать батут» в hero перекрывалась звездой (z-index:10).
   Поднимаем ТОЛЬКО кнопку на 1 выше звезды. Сам <a class="buttonmaintop">
   имеет display:contents, поэтому z-index задаём на видимой «пилюле» —
   внутреннем <div>. */
#section-id-1730044333725 .buttonmaintop > div {
  position: relative;
  z-index: 11;
}

/* Sticky footer: основная секция растягивается на всю высоту, футер прижат к низу
   даже если контента мало/нет (пустые страницы). */
.body-innerwrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
#sp-main-body {
  flex: 1 0 auto;
}

/* buttonmaintop — как на детские-батуты.рф.
   Статическая разметка: <a class="buttonmaintop"><div>…</div></a>.
   Оранжевая «пилюля» — это внутренний div (см. template.css `.buttonmaintop div`),
   а сам <a> должен быть прозрачным. Если красить и <a>, и div — два наложенных
   овала разной ширины дают «облако». Поэтому сам <a> красим ТОЛЬКО когда внутри
   нет вложенного div (запасной/динамический вариант со ссылкой-кнопкой). */
.buttonmaintop:not(:has(> div)) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  min-width: 200px;
  padding: 0 32px;
  border-radius: 60px;
  background-color: #f05a2d;
  color: #fff;
  font-family: Roboto, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background-color 0.2s;
  cursor: pointer;
}

.buttonmaintop:not(:has(> div)):hover,
.buttonmaintop:not(:has(> div)):focus {
  background-color: #0f8acb;
  color: #fff;
}

.buttonmaintop {
  text-decoration: none;
}

/* <a> с вложенным div (статическая разметка): убираем якорь из бокс-дерева,
   как на оригинале (display:contents) — пилюлю рисует и клики ловит сам div,
   а клик по div активирует ссылку <a>. :hover на div работает через предка. */
.buttonmaintop:has(> div) {
  display: contents;
}

/* Секция card (аналог "Детские батуты" в оригинале) */
.km-card-section {
  padding: 75px 0;
}

.km-card-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.km-card-inner--has-image .km-card-body {
  flex: 1;
}

.km-card-image {
  flex: 0 0 45%;
  max-width: 45%;
}

.km-card-image img {
  width: 100%;
  border-radius: 10px;
}

.km-card-body {
  flex: 1;
}

h2.km-card-title {
  font-family: Nunito, sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.1;
  color: #2f3b45;
  margin-bottom: 20px;
}

.km-card-text {
  font-family: Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #2f3b45;
  margin-bottom: 30px;
}

@media (max-width: 767.98px) {
  .km-card-inner {
    flex-direction: column;
    gap: 30px;
  }
  .km-card-image {
    flex: none;
    max-width: 100%;
    width: 100%;
  }
}

/* Карточки товаров (каталог) */
article.product {
  padding: 24px;
  box-shadow: 0px 4px 25px 0px rgba(144, 142, 142, 0.25);
  border-radius: 10px;
  background-color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.product-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.product-figure {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  margin-bottom: 14px;
  width: 100%;
}

.product-figure img {
  max-height: 215px;
  width: auto;
  object-fit: contain;
}

h5.product-title {
  font-family: Nunito, sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  color: #2f3b45;
  margin-bottom: 8px;
}

h5.product-title a {
  color: #2f3b45;
  text-decoration: none;
}

h5.product-title a:hover {
  color: #f05a2d;
}

.product-price-wrap {
  margin-bottom: 12px;
}

.product-price {
  color: #f05a2d;
  font-family: Nunito, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
}

.product-price-old {
  color: #999;
  font-size: 0.95rem;
  text-decoration: line-through;
}

.product-button-wrap {
  margin-top: 8px;
  text-align: center;
}

.product-button a.btn-detail {
  display: inline-block;
  padding: 8px 20px;
  background-color: #0f8acb;
  color: #fff;
  border-radius: 60px;
  font-family: Roboto, sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s;
}

.product-button a.btn-detail:hover {
  background-color: #f05a2d;
  color: #fff;
}

/* Каталог (старый класс — оставить для совместимости) */
.km-catalog .catalog-grid__item-title {
  font-family: Nunito, sans-serif;
  color: #2f3b45;
}

/* Промежутки между карточками каталога — ОДИНАКОВЫЕ по горизонтали и
   вертикали. Классы .row-30/.row-md-50/.row-lg-60 в разметке — из темы
   style.css (Zakaria), которая на сайте не подключена, поэтому вертикального
   гаттера не было вовсе, а горизонтальный оставался дефолтным (24px).
   Задаём оба гаттера Bootstrap одним значением (--bs-gutter-x управляет
   отступом по горизонтали, --bs-gutter-y — по вертикали). */
.catalog-grid .row {
  --bs-gutter-x: 30px;
  --bs-gutter-y: 30px;
}
@media (min-width: 768px) {
  .catalog-grid .row {
    --bs-gutter-x: 40px;
    --bs-gutter-y: 40px;
  }
}
@media (min-width: 992px) {
  .catalog-grid .row {
    --bs-gutter-x: 50px;
    --bs-gutter-y: 50px;
  }
}

.text-gray-500 { color: #8a8f98; }
.text-gray-600 { color: #6b7078; }

/* === «Популярные батуты» на главной (elements/top-hits.twig) ===
   .image_block из web/components/com_jshopping/css/default.css — display:inline-block
   без центрирования; картинка (200×200) прижималась к левому краю карточки. */
.top_hits_products .block_item .image {
  text-align: center;
}
.top_hits_products .block_item img.jshop_img {
  border-radius: 8px;
}

/* === Пагинация каталога (elements/catalog-grid.twig) ===
   Классы .catalog-pager-*/.pagination-wrap не имели ни одного правила CSS —
   стрелки были обычным текстом, а номера страниц (в .visually-hidden) вовсе
   не отображались. */
.pagination-wrap {
  display: flex;
  justify-content: center;
}
.catalog-pager {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.catalog-pager-btn,
.catalog-pager-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 6px;
  border-radius: 50%;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #2f3b45;
  background: #fff;
  border: 1px solid #e6e6e6;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.catalog-pager-btn:hover,
.catalog-pager-dot:hover {
  background: #fdece4;
  border-color: #f7c3ac;
  color: #f05a2d;
}
.catalog-pager-dot.is-active {
  background: #f05a2d;
  border-color: #f05a2d;
  color: #fff;
  cursor: default;
}
.catalog-pager-btn.is-disabled {
  opacity: .4;
  pointer-events: none;
}
.catalog-pager-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 4px;
}

@media (max-width: 991.98px) {
  .craft-hero {
    min-height: 500px;
    padding-top: 120px;
  }
}

/* === steps.twig / prichiny.twig: RadarTheme-совместимые классы === */
.section-xxl {
  padding-top: 75px;
  padding-bottom: 75px;
}
.bg-default {
  background: #f7f9ff;
}

/* tabs-jean: pill-табы — только вне блоков темы (.intense-scope).
   Внутри «Как заказать» стили задаёт intense-scoped.css + kinder-blocks.css */
.tabs-custom.tabs-jean {
  display: flex;
  flex-direction: column-reverse;
}
.intense-scope .tabs-custom.tabs-jean {
  display: block;
  flex-direction: unset;
}
.tabs-custom .tab-pane {
  display: none;
}
.tabs-custom .tab-pane.active {
  display: block;
}
.tabs-custom .nav-tabs-wrap {
  margin-top: 24px;
}
.tabs-custom .nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  border: none;
}
.intense-scope .steps-order-section .tabs-custom.tabs-jean .nav-tabs {
  flex-wrap: unset;
  gap: unset;
}
.tabs-custom .nav-tabs .nav-link {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 60px;
  border: 2px solid #0f8acb;
  color: #0f8acb;
  font-family: Roboto, sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  background: transparent;
}
/* Внутри блока «Как заказать» (.steps-order-section) pill-стили НЕ переопределяем
   высокой специфичностью: intense-scoped.css грузится ПОЗЖЕ и сам задаёт
   вид tabs-jean (в т.ч. padding 35/40/56px, от которого зависит высота серой полосы).
   Сбрасываем только то, чего тема не трогает. */
.intense-scope .steps-order-section .tabs-custom.tabs-jean .nav-tabs .nav-link {
  display: block;
  border-radius: 0;
  box-shadow: none;
}
.tabs-custom .nav-tabs .nav-link.active,
.tabs-custom .nav-tabs .nav-link:hover {
  background: #0f8acb;
  color: #fff;
}
.intense-scope .steps-order-section .tabs-custom.tabs-jean .nav-tabs .nav-link.active,
.intense-scope .steps-order-section .tabs-custom.tabs-jean .nav-tabs .nav-link:hover {
  background: transparent;
  box-shadow: none;
}

.box-info-creative {
  padding: 10px 0 30px;
}
h4.box-info-creative-title a {
  font-family: Nunito, sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #2f3b45;
  text-decoration: none;
}
.box-info-creative-text {
  font-size: 18px;
  line-height: 1.6;
  color: #2f3b45;
  margin-top: 12px;
}

/* === prichiny.twig: box-icon-nancy === */
.unit {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.unit-spacing-sm { gap: 16px; }
.unit-left { flex-shrink: 0; }
.unit-body { flex: 1; }
.box-icon-nancy-right .unit { flex-direction: row-reverse; }
.box-icon-nancy-right .unit-body { text-align: right; }
.box-icon-nancy-left .unit { flex-direction: row; }

.double-icon {
  position: relative;
  width: 77px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.box-icon-nancy-svg {
  position: absolute;
  inset: 0;
}
.box-icon-nancy-svg .svg-bg {
  width: 100%;
  height: 100%;
  fill: #f05a2d;
  opacity: 0.18;
}
.box-icon-nancy-icon {
  position: relative;
  z-index: 1;
  font-size: 26px;
  color: #f05a2d;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
h4.box-icon-nancy-title { margin-bottom: 6px; }
h4.box-icon-nancy-title a {
  font-family: Nunito, sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #2f3b45;
  text-decoration: none;
}
h4.box-icon-nancy-title a:hover { color: #f05a2d; }
.box-icon-nancy-text {
  font-size: 16px;
  line-height: 1.5;
  color: #555;
}
.bordered-2 > [class*="col-"] + [class*="col-"] {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 24px;
  margin-top: 8px;
}

@media (max-width: 767.98px) {
  .box-icon-nancy-right .unit,
  .box-icon-nancy-left .unit {
    flex-direction: column;
    align-items: center;
  }
  .box-icon-nancy-right .unit-body { text-align: center; }
}

/* Звезда-декор zvezda2 в секции «151 батут»: небольшая (~171px), абсолютная,
   свисает за нижний край секции внизу-слева (правее «лет на рынке») — как в
   целевом виде. Позиционируется в системе координат .sppb-column-addons первой
   колонки (offsetParent). У самой картинки в оригинальном CSS стоит
   position:absolute; top:-230px — снимаем этот трюк, делаем img статичным
   внутри жёсткого бокса враппера 171×171. z-index секции выше следующего блока,
   чтобы звезда была поверх него. */
@media (min-width: 992px) {
  #section-id-7de91e52-17a4-491c-a911-c423682150a5 { position: relative; z-index: 5; }
  #sppb-addon-wrapper-4782ce68-78bb-40b7-b301-638bc93a4d6f {
    position: absolute;
    left: 207px;
    top: 421px;
    bottom: auto;
    margin: 0;
    z-index: 2;
    width: 171px;
    height: 171px;
  }
  #sppb-addon-wrapper-4782ce68-78bb-40b7-b301-638bc93a4d6f .sppb-addon-single-image-container {
    position: static;
    width: 171px;
    height: 171px;
    margin: 0;
    padding: 0;
  }
  #sppb-addon-wrapper-4782ce68-78bb-40b7-b301-638bc93a4d6f img {
    position: static;
    top: auto;
    width: 171px;
    height: 171px;
    max-width: 171px;
    display: block;
    object-fit: contain;
  }
}

/* === Страница товара (batut.twig): шапка страницы ===
   #sp-header всегда position:fixed (128px + margin-top:48px = 176px на десктопе,
   меньше на планшете/мобиле — см. media-запросы template.css). Секции на главной
   и в каталоге компенсируют это через elements/hero.twig; batut.twig раньше не
   компенсировал вовсе — заголовок товара уезжал под шапку. */
.batut-page-header {
  padding: 210px 0 30px;
  background: #f7f9ff;
}
@media (max-width: 991.98px) {
  .batut-page-header { padding-top: 150px; }
}
@media (max-width: 767px) {
  .batut-page-header { padding-top: 120px; }
}
.batut-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  color: #8a8f98;
}
.batut-breadcrumb li:not(:last-child)::after {
  content: "/";
  margin: 0 8px;
  color: #c7ccd6;
}
.batut-breadcrumb a {
  color: #1061cc;
  text-decoration: none;
}
.batut-breadcrumb a:hover {
  text-decoration: underline;
}
.batut-breadcrumb li.is-active {
  color: #2f3b45;
  font-weight: 600;
}
.batut-page-title {
  font-family: Nunito, sans-serif;
  font-weight: 900;
  color: #2f3b45;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.25;
  margin: 0;
  max-width: 900px;
}

/* Подзаголовок под H1 (h1.batut-page-subtitle) — мелкий обычный текст,
   а не крупный heading-стиль, применяемый к <h1> по умолчанию. */
.batut-page-subtitle {
  font-family: Roboto, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #6b7078;
  margin: 8px 0 0;
  max-width: 720px;
  text-transform: none;
}

/* === Базовая кнопочная система (.button/.button-primary/...) ===
   Используется в batut.twig (кнопка «Заказать», сабмит формы заказа) — эти
   классы принадлежат исходной demo-теме (Zakaria/style.css), которая на сайте
   НЕ подключена (см. craft-hero/intense-scope выше — style.css целиком грузится
   только на errors/error.twig). Поэтому даём им собственные, брендовые стили. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 60px;
  padding: 13px 28px;
  font-family: Roboto, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.button-primary {
  background-color: #f05a2d;
  color: #fff;
}
.button-primary:hover {
  background-color: #0f8acb;
  color: #fff;
}
.button-lg {
  padding: 16px 32px;
  font-size: 17px;
}
.button-sm {
  padding: 7px 16px;
  font-size: 14px;
  border-radius: 40px;
}
.button-block {
  display: flex;
  width: 100%;
}
.button[disabled] {
  opacity: .55;
  cursor: not-allowed;
}

.section {
  padding: 60px 0;
}
.section-sm {
  padding: 40px 0;
}

/* === Служебные текстовые классы batut.twig (секции «Доступные тарифы:»,
   «Особенности тарифа:», «Дополнительные услуги:») === */
.heading-5 {
  font-size: 18px;
  line-height: 1.3;
}
.text-secondary {
  color: #2f3b45;
}
.fw-medium {
  font-weight: 600;
}

/* === Попап «Задать вопрос» (elements/question-modal.twig) ===
   Стили были только в kultmas-theme.css, который на сайте не подключён, поэтому
   модал открывался «раздетым» (без центрирования, honeypot виден). Даём полный
   самодостаточный набор (по образцу .order-modal из batut.twig), брендовые цвета
   инлайн вместо --km-* переменных. */
.question-modal[hidden] { display: none !important; }
.question-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
}
.question-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
}
.question-modal__dialog {
  position: relative;
  max-width: 560px;
  margin: 3vh auto;
  max-height: 94dvh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border-radius: 12px;
  padding: 20px 20px calc(20px + env(safe-area-inset-bottom));
  z-index: 1;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
  text-align: left;
}
.question-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f1f1;
  color: #444;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.question-modal__title {
  margin: 0 0 6px;
  font-family: Nunito, sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #2f3b45;
}
.question-modal__summary {
  margin-bottom: 12px;
  font-size: 14px;
  color: #666;
}
.question-modal__field {
  margin-bottom: 10px;
}
.question-modal__label {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 600;
  color: #6b6b6b;
}
.question-modal__input {
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  min-height: 40px;
  padding: 8px 10px;
  font-size: 16px;
  color: #3f3f3f;
  background: #fff;
}
.question-modal__input:focus {
  outline: none;
  border-color: #f05a2d;
  box-shadow: 0 0 0 2px rgba(240, 90, 45, .12);
}
.question-modal__textarea {
  min-height: 90px;
  resize: vertical;
}
.question-modal__checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
}
.question-modal__checks label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}
.question-modal__hint {
  margin-bottom: 8px;
  color: #c0392b;
  font-size: 12px;
}
.question-modal__captcha:not(:empty) {
  margin-bottom: 12px;
}
.question-modal__field--consent {
  margin: 10px 0 8px;
}
.question-modal__consent-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: #555;
  margin: 0;
}
.question-modal__consent-label input[type="checkbox"] {
  margin-top: 2px;
  flex: 0 0 auto;
}
.question-modal__consent-label a {
  color: #f05a2d;
  text-decoration: underline;
}
/* honeypot-ловушка: убрать с экрана (в kultmas-theme правила не было вовсе) */
.question-modal__trap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.question-modal__success {
  border: 1px solid #b7e4c7;
  background: #eafaf1;
  color: #1e7145;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 600;
}
/* Кнопки .km-btn (используются в модале) — их стили тоже были только в
   kultmas-theme.css. */
.km-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid transparent;
  border-radius: 60px;
  padding: 13px 28px;
  font-family: Roboto, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.km-btn--primary {
  background: #f05a2d;
  color: #fff;
}
.km-btn--primary:hover {
  background: #0f8acb;
  color: #fff;
}
.km-btn--block {
  width: 100%;
}
.km-btn[disabled] {
  opacity: .55;
  cursor: not-allowed;
}
@media (max-width: 560px) {
  .question-modal__dialog {
    margin: 2vh 10px;
    max-height: 96dvh;
  }
  .question-modal__checks {
    grid-template-columns: 1fr;
  }
}
