/*
NOTE: This file is intended for programmers. Aspro technical support is not advised to work with him.
*/

.headers-container {
  z-index: 100;
}

.element-count-wrapper {
  display: none !important;
}

/* Оверлей Fancybox */
.fancybox-overlay,
.fancybox-bg {
  background: rgba(0, 0, 0, 0.75) !important;
}

/* Кнопка закрытия Fancybox — полупрозрачный фон (перекрывает solid в fancybox-gallery.css) */
.fancybox-container .fancybox-button.fancybox-button--close {
  background: rgba(0, 0, 0, 0.45) !important;
}

.fancybox-container .fancybox-button.fancybox-button--close:hover {
  background: rgba(0, 0, 0, 0.6) !important;
}

.banner.TOP_HEADER {
  position: relative;
  z-index: 10;
}

/* Слайдер в каталоге */

.has-section_slider_top .main {
  pointer-events: none;
}

.has-section_slider_top .main > .container {
  pointer-events: all;
}

.has-section_slider_top .section-slider-thumbs-wrapper,
.has-section_slider_top .section-slider-info-wrapper,
.has-section_slider_top .section_slider_top_fancybox {
  pointer-events: all;
}

.has-section_slider_top .breadcrumbs__item {
  pointer-events: all;
}

.section_slider_top {
  max-width: 100%;
  max-height: 600px;
  height: 600px;
  overflow: hidden;
}

.has-section_slider_top .section-slider-top-wrapper {
  position: relative;
  overflow: hidden;
}

.has-section_slider_top .section-slider-top-wrapper .section_slider_top,
.has-section_slider_top .section-slider-top-wrapper .section_slider_top .swiper-wrapper,
.has-section_slider_top .section-slider-top-wrapper .section_slider_top .swiper-slide {
  width: 100% !important;
  max-width: 100%;
}

.section_slider_top .swiper-slide {
  display: block;
  max-height: 600px;
  height: 600px;
  overflow: hidden;
}

.section_slider_top .swiper-slide > a {
  width: 100%;
  max-height: 600px;
  height: 600px;
  display: block;
  overflow: hidden;
}

.section_slider_top img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/*
.section_slider_top .swiper-slide {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top -100px center;
  height: 600px;
  width: 1920px;
}*/
/*
.main.banner-auto{
  display: none;
}*/

.has-section_slider_top .breadcrumbs__item-name {
  color: #ffffff;
}

.has-section_slider_top .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  width: fit-content;
  max-width: 100%;
  overflow: visible;
}

.has-section_slider_top .breadcrumbs__separator {
  display: none;
}

.has-section_slider_top .breadcrumbs__item {
  --crumb-bg: rgba(111, 13, 18, 0.86);
  --crumb-arrow: 14px;
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: -14.5px;
  margin-right: 0;
  padding: 6px 18px 6px 24px;
  background: var(--crumb-bg);
  border-radius: 0;
  clip-path: polygon(
    0 0,
    calc(100% - var(--crumb-arrow)) 0,
    100% 50%,
    calc(100% - var(--crumb-arrow)) 100%,
    0 100%,
    var(--crumb-arrow) 50%
  );
}

.has-section_slider_top .breadcrumbs__item + .breadcrumbs__item {
  margin-left: -14px;
}

.has-section_slider_top .breadcrumbs__item:first-child {
  padding-left: 12px;
  margin-left: 0;
  border-radius: 8px 0 0 8px;
  clip-path: polygon(
    0 0,
    calc(100% - var(--crumb-arrow)) 0,
    100% 50%,
    calc(100% - var(--crumb-arrow)) 100%,
    0 100%
  );
}

.has-section_slider_top .breadcrumbs__item:last-child {
  --crumb-bg: rgba(199, 54, 64, 0.86);
  border-radius: 0 8px 8px 0;
  margin-right: 0;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    0 100%,
    var(--crumb-arrow) 50%
  );
}

.has-section_slider_top .breadcrumbs a,
.has-section_slider_top .breadcrumbs .breadcrumbs__item-name {
  position: relative;
  z-index: 1;
  color: #fff !important;
  transition: opacity 0.2s ease;
}

.has-section_slider_top .breadcrumbs a:hover,
.has-section_slider_top .breadcrumbs .breadcrumbs__link:hover .breadcrumbs__item-name {
  color: rgba(255, 255, 255, 0.85) !important;
}

.has-section_slider_top .breadcrumbs__item:nth-child(2) {
  --crumb-bg: rgba(129, 16, 23, 0.86);
}

.has-section_slider_top .breadcrumbs__item:nth-child(3) {
  --crumb-bg: rgba(147, 20, 28, 0.86);
}

.has-section_slider_top .breadcrumbs__item:nth-child(4) {
  --crumb-bg: rgba(186, 36, 46, 0.86);
}

.has-section_slider_top .breadcrumbs__item:nth-child(5) {
  --crumb-bg: rgba(182, 29, 39, 0.86);
}

.has-section_slider_top .breadcrumbs__item:nth-child(6) {
  --crumb-bg: rgba(198, 37, 48, 0.86);
}

@media (max-width: 991px) {
  .has-section_slider_top .breadcrumbs {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }

  .has-section_slider_top .breadcrumbs::-webkit-scrollbar {
    display: none;
  }

  .has-section_slider_top .breadcrumbs__item {
    --crumb-arrow: 8px;
    flex-shrink: 0;
    margin-right: 0;
    margin-left: calc(var(--crumb-arrow) * -1 - 0.5px);
    padding: 3px 10px 3px 12px;
    font-size: 9px;
    line-height: 14px;
    max-width: none;
  }

  .has-section_slider_top .breadcrumbs__item-name {
    font-size: 9px;
    line-height: 14px;
    white-space: nowrap;
  }

  .has-section_slider_top .breadcrumbs__item:first-child {
    padding-left: 12px;
    margin-left: 0;
    border-radius: 0;
    clip-path: polygon(
      0 0,
      calc(100% - var(--crumb-arrow)) 0,
      100% 50%,
      calc(100% - var(--crumb-arrow)) 100%,
      0 100%
    );
  }

  .has-section_slider_top .breadcrumbs__item:last-child {
    border-radius: 0;
  }

  .has-section_slider_top .cowl > #navigation {
    margin-left: 0;
  }
}


.has-section_slider_top .topic {
  /* margin-top: 590px; */
  width: 50%;
  position: relative;
  z-index: 10;
}

.has-section_slider_top .cowl { 
  margin-bottom: 390px;
}

.has-section_slider_top h1#pagetitle {
  color: white;
  font-size: 24px;
  margin-left: 20px;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.9),
    0 2px 10px rgba(0, 0, 0, 0.65),
    0 0 20px rgba(0, 0, 0, 0.4);
}

@media (min-width: 992px) {
  .has-section_slider_top .section-banner-top > .page-top-info .cowl > #navigation {
    margin-left: 0;
  }

  .has-section_slider_top .section-banner-top > .page-top-info h1#pagetitle {
    margin-left: 0;
  }

  .has-section_slider_top .section-banner-top > .page-top-info section.page-top.maxwidth-theme {
    padding-left: 30px !important;
  }
}

.has-section_slider_top h1#pagetitle span {
  font-size: 68px;
  font-weight: 600;
  line-height: 120px;
  text-align: left;
  display: block;
}

.has-section_slider_top span.element-count.muted.font_xs.rounded3 {
  line-height: 22px;
  display: block;
  width: 120px;
  border: 1px solid #ECECEC;
  color: white;
  padding: 8px 12px;
  text-align: center;
}

.has-section_slider_top span.element-count.muted.font_xs.rounded3:after {
  content: ' предметов';
}

.has-section_slider_top .top-content-block {
  position: relative;
  background-color: white;
  margin-bottom: 50px;
  z-index: 10;
}

@media (min-width: 992px) {
  .has-section_slider_top .top-content-block {
      margin-top: 16px;
  }

  .has-section_slider_top .top-content-block > .sections-block {
      margin-top: 0;
  }
}

.has-section_slider_top .top-content-block .group_description_block {
  display: none;
}

.has-section_slider_top .maxwidth-theme {
  background-color: transparent;
}

.has-section_slider_top .top_content_slider {
  border: 1px solid #ECECEC;
  padding: 40px 30px;
  min-height: 160px;
}

@media (min-width: 992px) {
  .has-section_slider_top .section-banner-top > .section-slider-info-wrapper .top_content_slider {
    border-radius: 0 var(--theme-outer-border-radius, 12px) var(--theme-outer-border-radius, 12px) var(--theme-outer-border-radius, 12px);
    overflow: hidden;
  }
}

.top_content_slider__content {
  display: none;
}

.top_content_slider__content.active {
  display: block;
}

.top_content_slider__buttons {
  padding: 0;
  position: absolute;
  top: -53px;
  display: flex;
}

.top_content_slider__buttons-btn {
  font-size: 12px;
  line-height: 22px;
  color: #333;
  line-height: 52px;
  border: 1px solid #ECECEC;
  padding: 0 32px;
  text-transform: uppercase;
  margin-right: 8px;
  border-radius: var(--theme-outer-border-radius, 12px) var(--theme-outer-border-radius, 12px) 0 0;
  background: #ededed;
}

.top_content_slider__buttons-btn.active {
  font-weight: bold;
  border-bottom-color: white;
  background: white;
}

.top_content_slider__buttons-btn.active:hover {
  cursor: default;
}

.top_content_slider__buttons-btn:hover {
  cursor: pointer;
}

.top_content_slider__content-box {
  display: flex;
}

.top_content_slider__content-box__item {
  width: 50%;
  margin-right: 30px;
}

.top_content_slider__content-box__item-title {
  color: #666;
  font-weight: bold;
  font-size: 13px;
  line-height: 22px;
  margin-bottom: 10px;
}

.top_content_slider__content-box__item:nth-child(2) .top_content_slider__content-box__item-title {
  margin-top: 20px;
}

.top_content_slider__content-box__item-text {
  font-size: 13px;
  line-height: 22px;
}

.top_content_slider__content-box__item-photo {
  display: flex;
  flex-wrap: wrap;
}

.top_content_slider__content-box__item-photo__item {
  margin: 0 47px 10px 0;
  font-size: 13px;
  line-height: 20px;
  text-align: center;
  max-width: 100px;
}

.top_content_slider__content-box__item-photo img {
  width: 100px;
}

.top_content_slider_thumbs {
  max-width: none;
  position: absolute;
  top: -90px;
  right: 0;
  left: 0;
  width: 100%;
}

.top_content_slider_thumbs .section_slider_top_thumbs {
  max-height: 110px;
  max-width: 700px;
  margin-left: auto;
  margin-right: 20px;
}

.top_content_slider_thumbs .swiper-free-mode > .swiper-wrapper {
  margin-left: 8px;
}

.section_slider_top_thumbs img {
  width: 100%;
  border: 2px solid white;
  border-radius: 8px;
}

.section_slider_top_thumbs .swiper-slide {
  position: relative;
  cursor: pointer;
}

.section_slider_top_thumbs .swiper-slide.swiper-slide-thumb-active img {
  border-color: #b0161b;
}

.section_slider_top_thumbs .swiper-slide.swiper-slide-thumb-active::after {
  content: "";
  position: absolute;
  inset: 0;
  height: calc(100% - 8px);
  background-color: #b0161b;
  opacity: 0.2;
  pointer-events: none;
  border-radius: 8px;
}

.top_content_slider_thumbs-btn {
  position: absolute;
  top: -600px;
  left: 0;
  right: auto;
  width: 100%;
  height: 600px;
  pointer-events: none;
  z-index: 12;
  transform: none;
}

.top_content_slider_swiper-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #b0161b;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s ease;
  position: absolute;
  z-index: 15;
  margin: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
}

.top_content_slider_swiper-button::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
}

.top_content_slider_swiper-button-next::before {
  transform: rotate(45deg) !important;
  margin-left: -3px;
  margin-right: 0;
}

.top_content_slider_swiper-button-prev::before {
  transform: rotate(-135deg) !important;
  margin-right: -3px;
  margin-left: 0;
}

.top_content_slider_swiper-button-next {
  right: 20px;
  left: auto;
}

.top_content_slider_swiper-button-prev {
  left: 20px;
  right: auto;
}

.top_content_slider_swiper-button.swiper-button-disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* Кнопки START */

.btn.btn-default:not(.btn-transparent-border, .btn-ocb, [data-name="fast_view"]) {
  color: var(--theme-base-color);
  background-color: transparent;
  border: 2px solid var(--theme-base-color);
}

.btn.btn-default:hover {
  color: #fff;
  background-color: var(--theme-base-color);
}

/* Оформление заказ (sale.order.ajax): заливка theme из order.css + общий стиль .btn-default выше дают «красный на красном» — явно белый текст. Не трогает .pull-left и .bx-soa-pickup-list-item (у них выше специфичность). */
#bx-soa-order-form .btn.btn-default {
  color: #fff;
}

.header-menu__link--only-catalog svg {
  fill: var(--theme-base-color);
}

.header-menu__link--only-catalog:hover svg {
  fill: #fff;
}

.btn.btn-ocb {
  color: #222;
  background-color: #E6E6E6;
}

/* Кнопки END */

/* Центрирование разделов каталога START */

.sections-slider .swiper-wrapper {
  width: fit-content;
}

.sections-slider__wrapper:last-child {
  margin-right: 0 !important;
}

/* Центрирование разделов каталога END */

/* Стикеры START */

.catalog-block .sticker {
  left: -23px;
}

.sticker__item--sale-text,
.sticker__item--hit {
  --sticker_color: #FD0000;
}

.sticker__item--new {
  --sticker_color: #1BB769;
}

.catalog-block .sticker > div:has(.sticker__item--sale-text):first-child,
.catalog-block .sticker > div:has(.sticker__item--hit):first-child {
  --sticker-elem-color: #87212E;
}

.catalog-block .sticker > div:has(.sticker__item--recommend):first-child {
  --sticker-elem-color: #6100ff;
}

.catalog-block .sticker > div:has(.sticker__item--new):first-child {
  --sticker-elem-color: #145E3F;
}

.catalog-block .sticker > div:has(.sticker__item--stock):first-child {
  --sticker-elem-color: #ffd700;
}

.catalog-block .sticker .sticker__item {
  padding: 1px 11px 1px 8px;
  background: none;
  border-radius: 0;
  overflow: hidden;
}

.catalog-block .sticker .sticker__item::before {
  inset: 0 10px 0 0;
  background-color: var(--sticker_color);
  border-radius: 0;
  box-shadow: none;
  opacity: 1;
}

.catalog-block .sticker .sticker__item::after {
  content: '';
  width: 0;
  height: 0;
  position: absolute;
  right: 0;
  border: 12px solid transparent;
  border-left-width: 11px;
  border-left-color: var(--sticker_color);
  border-right: none;
}

.catalog-block .sticker .sticker__item::before,
.catalog-block .sticker .sticker__item::after {
  z-index: -1;
}

.catalog-block .sticker > div:has(.sticker__item):first-child::after {
  content: '';
  width: 0;
  height: 0;
  position: absolute;
  left: 2px;
  top: calc(100% - 4px);
  border: 5px solid transparent;
  border-right-width: 5px;
  border-left: none;
  border-right-color: var(--sticker-elem-color);
  border-top: none;
}

/* Стикеры END */

/* section-banner-top без слайдера — обычный page-top (не оверлей на баннер) */
.section-banner-top:not(:has(.section_slider_top)) > .section-slider-top-wrapper,
.section-banner-top:not(:has(.section_slider_top)) > .section-slider-thumbs-wrapper,
.section-banner-top:not(:has(.section_slider_top)) > .section-slider-info-wrapper {
  display: none;
}

@media (min-width: 992px) {
  .section-banner-top:not(:has(.section_slider_top)) {
      margin-top: 0;
  }

  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info {
      position: static;
      top: auto;
      left: auto;
      right: auto;
      bottom: auto;
      transform: none;
      width: 100%;
      max-width: none;
      height: auto;
      min-height: 0;
      padding-left: 0;
      padding-right: 0;
      pointer-events: auto;
  }

  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info .page-top-wrapper,
  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info .page-top-wrapper--white,
  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info section.page-top {
      position: relative;
      height: auto;
      min-height: 0;
      padding-top: 15px;
      padding-bottom: 35px;
      background: #fff !important;
      background: var(--black_bg_black, #fff) !important;
      border-bottom: none !important;
      margin-bottom: 0 !important;
      pointer-events: auto;
  }

  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info section.page-top.maxwidth-theme {
      display: block !important;
      flex-direction: unset !important;
      align-items: unset !important;
      justify-content: unset !important;
      padding-left: 16px !important;
      padding-right: 16px !important;
  }

  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info .cowl {
      position: relative !important;
      top: auto !important;
      left: auto !important;
      right: auto !important;
      margin-bottom: 10px !important;
      order: unset !important;
      flex-shrink: unset !important;
      width: 100% !important;
      float: none !important;
  }

  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info .topic {
      position: relative !important;
      width: 100% !important;
      max-width: 100% !important;
      margin: 0 !important;
      padding: 0 !important;
      order: unset !important;
      clear: both !important;
      pointer-events: auto;
  }

  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info .topic__inner {
      position: relative !important;
      left: auto !important;
      right: auto !important;
      bottom: auto !important;
      top: auto !important;
      order: unset !important;
      margin: 0 !important;
      padding: 0 !important;
      width: 100% !important;
      max-width: none !important;
      clear: both !important;
      pointer-events: auto;
  }

  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info .cowl > #navigation {
      margin-bottom: 21px !important;
  }

  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info .topic__heading {
      display: block !important;
      width: 100% !important;
  }

  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info::after {
      display: none !important;
  }

  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info .topic__heading #pagetitle,
  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info h1#pagetitle,
  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info h1#pagetitle span {
      margin: 0 0 18px !important;
      font-size: 2em !important;
      font-size: clamp(1.625rem, 1.1786rem + 1.4286vw, 2rem) !important;
      line-height: calc(1em + 10px) !important;
      font-weight: var(--theme-font-title-weight, 500) !important;
      font-family: var(--theme-font-title-family), Arial, sans-serif !important;
      text-shadow: none !important;
      color: var(--white_text_black, #222) !important;
      overflow: visible !important;
      text-overflow: unset !important;
      white-space: normal !important;
      display: block !important;
  }

  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info h1#pagetitle span {
      display: block !important;
      font-size: inherit !important;
      font-weight: inherit !important;
      line-height: inherit !important;
      text-align: left !important;
  }
}

@media (max-width: 991px) {
  .section-banner-top:not(:has(.section_slider_top)) {
      display: block !important;
      grid-template-areas: none;
      grid-template-rows: none;
      position: relative;
      min-height: 0;
      overflow: visible;
  }

  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info {
      position: relative !important;
      inset: auto !important;
      width: 100% !important;
      min-height: 0 !important;
      height: auto !important;
      z-index: auto;
      display: block;
      pointer-events: auto;
  }

  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info .page-top-wrapper,
  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info section.page-top {
      position: relative !important;
      height: auto;
      min-height: 0;
      padding: 15px 0 35px !important;
      margin: 0;
      background: #fff !important;
      background: var(--black_bg_black, #fff) !important;
      border-bottom: none !important;
      margin-bottom: 0 !important;
  }

  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info .topic {
      position: relative !important;
      width: 100% !important;
      margin: 0 !important;
      padding: 0 !important;
      clear: both !important;
  }

  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info .topic__inner {
      position: relative !important;
      left: auto !important;
      right: auto !important;
      bottom: auto !important;
      top: auto !important;
      margin: 0 !important;
      padding: 0 !important;
      max-width: none !important;
      z-index: auto !important;
      width: 100% !important;
      clear: both !important;
  }

  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info .cowl > #navigation {
      margin-bottom: 21px !important;
  }

  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info .topic__heading {
      display: block !important;
      width: 100% !important;
  }

  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info .topic__heading #pagetitle,
  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info h1#pagetitle,
  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info h1#pagetitle span {
      margin: 0 0 18px !important;
      font-size: 2em !important;
      font-size: clamp(1.625rem, 1.1786rem + 1.4286vw, 2rem) !important;
      line-height: calc(1em + 10px) !important;
      font-weight: var(--theme-font-title-weight, 500) !important;
      font-family: var(--theme-font-title-family), Arial, sans-serif !important;
      display: block !important;
      max-width: none !important;
      overflow: visible !important;
      overflow-wrap: normal !important;
      text-align: left !important;
      color: var(--white_text_black, #222) !important;
      text-shadow: none !important;
  }

  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info::after {
      display: none !important;
  }

  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info .cowl {
      position: relative !important;
      top: auto !important;
      left: auto !important;
      right: auto !important;
      margin-bottom: 10px !important;
      width: 100% !important;
      float: none !important;
  }

  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info section.page-top.maxwidth-theme,
  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info .page-top-wrapper {
      padding-left: 16px !important;
      padding-right: 16px !important;
      width: 100% !important;
      max-width: 100% !important;
      margin-left: auto !important;
      margin-right: auto !important;
  }
}

@media (min-width: 992px) {
  body.has-section_slider_top .main.banner-auto,
  .has-section_slider_top .main.banner-auto {
      position: relative !important;
      width: 100%;
  }

  .section-banner-top {
      display: block;
      position: relative;
      overflow: visible;
      background: #fff;
      margin-top: 24px;
  }

  .section-banner-top > .section-slider-top-wrapper {
      position: relative;
      z-index: 1;
      background: transparent;
      overflow: hidden;
      border-radius: var(--theme-outer-border-radius, 12px);
  }

  .section-banner-top > .section-slider-top-wrapper .section_slider_top {
      border-radius: inherit;
      overflow: hidden;
  }

  .section-banner-top > .page-top-info {
      position: absolute;
      top: 0;
      left: 50%;
      right: auto;
      bottom: auto;
      transform: translateX(-50%);
      z-index: 2;
      width: 100%;
      max-width: calc(var(--theme-page-width) + calc(2 * var(--theme-page-width-padding)));
      height: 600px;
      min-height: 0;
      padding-left: var(--theme-page-width-padding);
      padding-right: var(--theme-page-width-padding);
      box-sizing: border-box;
      pointer-events: none;
  }

  .section-banner-top > .page-top-info .page-top-wrapper,
  .section-banner-top > .page-top-info .page-top-wrapper--white,
  .section-banner-top > .page-top-info section.page-top {
      position: relative;
      height: 100%;
      min-height: 600px;
      padding-top: 15px;
      padding-bottom: 35px;
      background: transparent !important;
      pointer-events: none;
  }

  .section-banner-top > .page-top-info .page-top-wrapper {
      padding-left: 0 !important;
      padding-right: 0 !important;
  }

  .section-banner-top > .page-top-info section.page-top.maxwidth-theme {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-start;
      padding-left: 30px !important;
      padding-right: 0 !important;
  }

  .section-banner-top > .page-top-info .cowl {
      position: relative;
      top: auto;
      left: auto;
      right: auto;
      margin-bottom: 0 !important;
      z-index: 31;
      pointer-events: all;
      flex-shrink: 0;
      width: 100%;
      order: 1;
  }

  .section-banner-top > .page-top-info .topic,
  .has-section_slider_top .section-banner-top > .page-top-info .topic {
      width: 100%;
      max-width: 100%;
  }

  .section-banner-top > .page-top-info .cowl > #navigation {
      margin-left: 0 !important;
      margin-right: 0 !important;
      width: auto;
      max-width: none;
  }

  .section-banner-top > .page-top-info .breadcrumbs {
      margin-left: 0 !important;
      margin-right: 0 !important;
      padding-left: 0 !important;
      padding-right: 0 !important;
      width: fit-content;
      max-width: 100%;
  }

  .section-banner-top > .page-top-info .topic {
      order: 2;
      margin: 12px 0 0;
      width: 100%;
      max-width: 100%;
  }

  .section-banner-top > .page-top-info .topic__inner {
      position: relative;
      left: auto;
      right: auto;
      bottom: auto;
      top: auto;
      order: unset;
      margin: 0;
      padding: 0;
      width: 100%;
      max-width: 100%;
      pointer-events: all;
  }

  .section-banner-top > .page-top-info::after {
      display: none;
  }

  .section-banner-top > .page-top-info .topic__heading #pagetitle,
  .section-banner-top > .page-top-info h1#pagetitle,
  .section-banner-top > .page-top-info h1#pagetitle span {
      margin-left: 0;
      font-size: 32px !important;
      line-height: 1.2 !important;
      font-weight: 600 !important;
      text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.9),
        0 2px 10px rgba(0, 0, 0, 0.65),
        0 0 20px rgba(0, 0, 0, 0.4);
      color: #fff !important;
      overflow: visible;
      text-overflow: unset;
      white-space: normal;
  }

  .section-banner-top > .section-slider-thumbs-wrapper {
      position: relative;
      z-index: 10;
      margin-top: -90px;
      width: 100%;
      max-width: calc(var(--theme-page-width) + calc(2 * var(--theme-page-width-padding)));
      margin-left: auto;
      margin-right: auto;
      padding-left: var(--theme-page-width-padding);
      padding-right: var(--theme-page-width-padding);
      box-sizing: border-box;
      overflow-x: hidden;
      overflow-y: visible;
      pointer-events: none;
  }

  .section-banner-top > .section-slider-thumbs-wrapper.maxwidth-theme {
      max-width: calc(var(--theme-page-width) + calc(2 * var(--theme-page-width-padding))) !important;
      width: 100% !important;
      margin-left: auto !important;
      margin-right: auto !important;
      padding-left: var(--theme-page-width-padding) !important;
      padding-right: var(--theme-page-width-padding) !important;
  }

  .section-banner-top > .section-slider-thumbs-wrapper .top_content_slider_thumbs {
      position: relative;
      top: auto;
      right: auto;
      left: auto;
      width: 100%;
      max-width: 100%;
      pointer-events: all;
  }

  .section-banner-top > .section-slider-thumbs-wrapper .top_content_slider_thumbs .section_slider_top_thumbs {
      max-width: min(700px, 100%);
      width: 100%;
      margin-left: auto;
      margin-right: 24px;
      overflow: hidden;
  }

  .has-section_slider_top .section_slider_top.swiper-fade .swiper-slide {
      width: 100% !important;
      height: 600px !important;
  }

  .has-section_slider_top .section_slider_top {
      background: #fff;
  }

  .section-banner-top > .section-slider-thumbs-wrapper .top_content_slider_thumbs-btn {
      top: -600px;
      height: 600px;
      left: 0;
      right: 0;
      width: 100%;
  }

  .section-banner-top > .section-slider-thumbs-wrapper .top_content_slider_swiper-button-prev {
      left: 20px;
  }

  .section-banner-top > .section-slider-thumbs-wrapper .top_content_slider_swiper-button-next {
      right: 20px;
  }

  .section-banner-top > .section-slider-thumbs-wrapper:empty {
      display: none;
      margin-top: 0;
  }

  .section-banner-top > .section-slider-info-wrapper {
      position: relative;
      z-index: 10;
      width: 100%;
      max-width: calc(var(--theme-page-width) + calc(2 * var(--theme-page-width-padding)));
      margin: 80px auto 24px;
      padding-left: var(--theme-page-width-padding);
      padding-right: var(--theme-page-width-padding);
      box-sizing: border-box;
      pointer-events: all;
      overflow: visible;
      background: transparent;
  }

  .section-banner-top > .section-slider-info-wrapper .top_content_slider-panel {
      position: relative;
      width: 100%;
  }

  .section-banner-top > .section-slider-info-wrapper .top_content_slider {
      border: 1px solid var(--stroke_black, #ECECEC);
      border-radius: 0 var(--theme-outer-border-radius, 12px) var(--theme-outer-border-radius, 12px) var(--theme-outer-border-radius, 12px);
      overflow: hidden;
      position: relative;
      background: #fff;
      margin-top: 0;
      padding: 40px 30px;
      z-index: 1;
  }

  .section-banner-top > .section-slider-info-wrapper .top_content_slider__content-box {
      gap: 60px;
  }

  .section-banner-top > .section-slider-info-wrapper .top_content_slider__content-box__item {
      margin-right: 0;
  }

  .section-banner-top > .section-slider-info-wrapper .top_content_slider__content-box__item:has(.top_content_slider__content-box__item-text):not(:has(.top_content_slider__content-box__item-photo)) .top_content_slider__content-box__item-title {
      font-size: 16px;
      line-height: 1.45;
      margin-bottom: 12px;
  }

  .section-banner-top > .section-slider-info-wrapper .top_content_slider__content-box__item:has(.top_content_slider__content-box__item-text):not(:has(.top_content_slider__content-box__item-photo)) .top_content_slider__content-box__item-text {
      font-size: 16px;
      line-height: 1.55;
  }

  .section-banner-top > .section-slider-info-wrapper:empty {
      display: none;
      margin: 0;
  }

  .section-banner-top > .section-slider-info-wrapper.outer-rounded-x.bordered {
      border: none;
      border-radius: 0;
      overflow: visible;
      background: transparent;
  }

  .section-banner-top > .section-slider-info-wrapper .top_content_slider__buttons {
      position: absolute;
      top: -53px;
      left: 0;
      right: 0;
      width: 100%;
      margin: 0;
      padding: 0;
      overflow: visible;
      z-index: 2;
      display: flex;
      flex-wrap: nowrap;
      align-items: flex-end;
      gap: 8px;
      background: transparent;
      border-top: none;
      border-bottom: 0;
      box-sizing: border-box;
  }

  /* Полоса справа от вкладок до края блока */
  .section-banner-top > .section-slider-info-wrapper .top_content_slider__buttons::after {
      content: '';
      display: block;
      flex: 1 1 auto;
      min-width: 0;
      height: 53px;
      box-sizing: border-box;
      background: transparent;
      pointer-events: none;
  }

  .section-banner-top > .section-slider-info-wrapper .top_content_slider__buttons-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      box-sizing: border-box;
      height: 53px;
      margin: 0;
      padding: 0 32px;
      font-size: 12px;
      line-height: 1;
      white-space: nowrap;
      flex-shrink: 0;
      border: 1px solid #ECECEC;
      border-top: 1px solid #ECECEC;
      border-bottom: none;
      border-radius: var(--theme-outer-border-radius, 12px) var(--theme-outer-border-radius, 12px) 0 0;
      background: #ededed;
      text-transform: uppercase;
      color: #666;
  }

  .section-banner-top > .section-slider-info-wrapper .top_content_slider__buttons-btn:not(.active):hover {
      background: #e3e3e3;
      color: #333;
  }

  .section-banner-top > .section-slider-info-wrapper .top_content_slider__buttons-btn.active {
      font-weight: bold;
      border-color: #ECECEC;
      border-top: 1px solid #ECECEC;
      border-bottom: 1px solid #fff;
      background: #fff;
      color: #333;
      margin-bottom: -1px;
      z-index: 3;
      position: relative;
  }

  .section-banner-top > .section-slider-info-wrapper .top_content_slider__buttons-btn + .top_content_slider__buttons-btn {
      margin-left: 0;
  }

  .has-section_slider_top .topic {
      width: 100%;
      max-width: 100%;
      padding-bottom: 0 !important;
  }

  .has-section_slider_top .section-slider-top-wrapper.maxwidth-theme {
      max-width: calc(var(--theme-page-width) + calc(2 * var(--theme-page-width-padding))) !important;
      width: 100% !important;
      margin-left: auto !important;
      margin-right: auto !important;
      padding-left: var(--theme-page-width-padding) !important;
      padding-right: var(--theme-page-width-padding) !important;
  }

  .has-section_slider_top .section_slider_top,
  .has-section_slider_top .section_slider_top .swiper-slide,
  .has-section_slider_top .section_slider_top .swiper-slide > a {
      height: 600px;
      max-height: 600px;
  }

  .has-section_slider_top .section_slider_top .swiper-slide > a {
      display: block;
      overflow: hidden;
  }

  .has-section_slider_top .section_slider_top .swiper-slide img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
  }

  .has-section_slider_top .main.banner-auto > .container {
      margin-top: 0;
      padding-top: 0;
  }
}

@media (max-width: 1240px) {
  .section-banner-top > .section-slider-thumbs-wrapper .top_content_slider_thumbs {
      top: auto;
  }

  .top_content_slider_thumbs {
      max-width: 450px;
      top: -80px;
  }
}

@media (max-width: 980px) {
  .has-section_slider_top .topic {
      /* margin-top: 300px; */
      width: 100%;
      padding-bottom: 140px !important;
  }

  .has-section_slider_top .cowl {
      margin-bottom: 300px;
  }

  .top_content_slider__content-box {
      flex-direction: column;
  }

  .top_content_slider__content-box__item {
      width: 100%;
      margin-right: 0;
  }

  .top_content_slider__buttons {
      width: 100%;
      margin: 0;
      padding: 0;
      overflow-x: auto;
  }

  .top_content_slider_thumbs {
      max-width: 450px;
      top: -140px;
      right: auto;
      left: 0;
  }
}

@media (max-width: 991px) {
  .section-banner-top {
      display: grid !important;
      grid-template-areas:
          "banner"
          "thumbs"
          "info";
      grid-template-rows: auto auto auto;
      position: relative;
      min-height: 0;
      width: 100%;
      max-width: 100%;
      overflow-x: hidden;
      overflow-y: visible;
  }

  .section-banner-top > * {
      min-width: 0;
      max-width: 100%;
  }

  .section-banner-top > .section-slider-top-wrapper {
      grid-area: banner;
      position: relative;
      z-index: 1;
      width: 100% !important;
      max-width: 100% !important;
      min-width: 0;
      min-height: 0;
      height: auto;
      overflow: hidden;
      background: transparent;
  }

  .section-banner-top > .section-slider-top-wrapper .section_slider_top,
  .section-banner-top > .section-slider-top-wrapper .section_slider_top .swiper-wrapper,
  .section-banner-top > .section-slider-top-wrapper .section_slider_top .swiper-slide,
  .section-banner-top > .section-slider-top-wrapper .section_slider_top .swiper-slide > a,
  .section-banner-top > .section-slider-top-wrapper .section_slider_top .swiper-slide img {
      width: 100% !important;
      max-width: 100% !important;
      min-width: 0 !important;
  }

  .section-banner-top > .section-slider-thumbs-wrapper {
      grid-area: thumbs;
      width: 100% !important;
      max-width: 100% !important;
      min-width: 0;
      background: #fff;
      z-index: 5;
      margin: 16px auto 12px;
      padding: 0;
      line-height: 0;
      pointer-events: all;
      box-sizing: border-box;
  }

  .section-banner-top > .section-slider-thumbs-wrapper:empty {
      display: none;
  }

  .section-banner-top > .section-slider-thumbs-wrapper .top_content_slider_thumbs {
      position: static;
      top: auto;
      left: auto;
      right: auto;
      max-width: 100%;
      width: 100%;
      padding: 0;
      margin: 0;
      box-sizing: border-box;
      z-index: auto;
      transform: none;
      overflow: hidden;
      line-height: normal;
  }

  .section-banner-top > .section-slider-thumbs-wrapper .section_slider_top_thumbs {
      max-width: none;
      width: 100%;
      margin: 0;
      min-height: 40px;
  }

  .section-banner-top > .section-slider-thumbs-wrapper .section_slider_top_thumbs .swiper-slide {
      width: 72px !important;
      flex: 0 0 72px;
      height: auto;
  }

  .section-banner-top > .section-slider-thumbs-wrapper .section_slider_top_thumbs img {
      height: 36px !important;
      min-height: 36px;
      width: 100%;
      object-fit: cover;
      display: block;
      border-radius: 8px;
  }

  .section-banner-top > .section-slider-thumbs-wrapper .top_content_slider_thumbs-btn {
      display: none;
  }

  .section-banner-top > .section-slider-info-wrapper {
      grid-area: info;
      width: calc(100% - 30px);
      max-width: none;
      margin: 0 auto 24px;
      justify-self: center;
      padding: 0;
      background: #fff;
      z-index: 5;
      display: block;
      overflow: hidden;
      pointer-events: all;
      box-sizing: border-box;
  }

  .section-banner-top > .section-slider-info-wrapper .top_content_slider-panel {
      display: flex;
      flex-direction: column;
      width: 100%;
  }

  .section-banner-top > .section-slider-info-wrapper.maxwidth-theme {
      padding-left: 0 !important;
      padding-right: 0 !important;
      margin-left: auto !important;
      margin-right: auto !important;
  }

  .section-banner-top > .page-top-info section.page-top.maxwidth-theme {
      width: 100% !important;
      max-width: 100% !important;
      min-width: 0 !important;
      margin-left: auto !important;
      margin-right: auto !important;
  }

  body.has-section_slider_top .container > .row > .maxwidth-theme[class*="wide-"] {
      width: 100% !important;
      max-width: 100% !important;
      margin-left: auto !important;
      margin-right: auto !important;
      padding-left: var(--theme-page-width-padding, 24px) !important;
      padding-right: var(--theme-page-width-padding, 24px) !important;
      box-sizing: border-box;
  }

  .section-banner-top > .section-slider-info-wrapper:empty {
      display: none;
  }

  .section-banner-top > .section-slider-info-wrapper .top_content_slider__buttons {
      position: static !important;
      top: auto !important;
      left: auto !important;
      right: auto !important;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      overflow: hidden;
      flex-wrap: nowrap;
      width: 100%;
      margin: 0;
      padding: 0;
      z-index: auto;
      order: 1;
      background: #ededed;
      border: none;
      border-bottom: 1px solid var(--stroke_black, #ECECEC);
      border-radius: var(--theme-outer-border-radius, 12px) var(--theme-outer-border-radius, 12px) 0 0;
  }

  .section-banner-top > .section-slider-info-wrapper .top_content_slider {
      order: 2;
  }

  .section-banner-top > .section-slider-info-wrapper .top_content_slider__buttons-btn {
      margin: 0;
      padding: 10px 8px;
      font-size: 10px;
      line-height: 1.25;
      text-align: center;
      white-space: normal;
      border: none;
      border-bottom: none;
      border-radius: 0;
      background: #ededed;
      color: #666;
      min-height: 52px;
      display: flex;
      align-items: center;
      justify-content: center;
  }

  .section-banner-top > .section-slider-info-wrapper .top_content_slider__buttons-btn:first-child,
  .section-banner-top > .section-slider-info-wrapper .top_content_slider__buttons-btn.active:first-child {
      border-top-left-radius: var(--theme-outer-border-radius, 12px);
  }

  .section-banner-top > .section-slider-info-wrapper .top_content_slider__buttons-btn:last-child,
  .section-banner-top > .section-slider-info-wrapper .top_content_slider__buttons-btn.active:last-child {
      border-top-right-radius: var(--theme-outer-border-radius, 12px);
  }

  .section-banner-top > .section-slider-info-wrapper .top_content_slider__buttons-btn + .top_content_slider__buttons-btn {
      border-left: 1px solid var(--stroke_black, #ECECEC);
  }

  .section-banner-top > .section-slider-info-wrapper .top_content_slider__buttons-btn:not(.active):hover {
      background: #e3e3e3;
      color: #333;
  }

  .section-banner-top > .section-slider-info-wrapper .top_content_slider__buttons-btn.active {
      background: #fff;
      color: #333;
      font-weight: 700;
      position: relative;
      z-index: 2;
  }

  .section-banner-top > .section-slider-info-wrapper .top_content_slider {
      overflow: visible;
      padding: 16px;
      margin-top: 0;
      border: none;
      border-top: none;
      position: relative;
      z-index: 1;
      order: 2;
  }

  .section-banner-top > .page-top-info {
      grid-area: banner;
      position: absolute !important;
      inset: 0 !important;
      width: 100% !important;
      min-height: 0 !important;
      z-index: 2;
      display: block;
      pointer-events: none;
  }

  .section-banner-top .section_slider_top,
  .section-banner-top .section_slider_top .swiper-wrapper {
      height: auto !important;
      max-height: none !important;
  }

  .section-banner-top .section_slider_top .swiper-slide,
  .section-banner-top .section_slider_top .swiper-slide > a {
      height: auto !important;
      max-height: none !important;
  }

  .section-banner-top .section_slider_top .swiper-slide > a {
      display: block;
  }

  .section-banner-top .section_slider_top .swiper-slide img {
      width: 100%;
      height: auto;
      display: block;
      object-fit: unset;
      object-position: center;
  }

  .section-banner-top > .page-top-info,
  .section-banner-top > .page-top-info .page-top-wrapper,
  .section-banner-top > .page-top-info .page-top-wrapper--white {
      background: transparent !important;
  }

  .section-banner-top > .page-top-info .page-top-wrapper,
  .section-banner-top > .page-top-info section.page-top {
      position: relative !important;
      height: 100%;
      min-height: 100%;
      padding: 0 !important;
      margin: 0;
      background: transparent !important;
  }

  .section-banner-top > .page-top-info .topic__inner {
      position: absolute !important;
      left: 0;
      right: 0;
      bottom: 0;
      top: auto;
      margin: 0;
      padding: 0 24px 18px;
      max-width: none;
      z-index: 32;
      pointer-events: all;
  }

  .section-banner-top > .page-top-info .topic__heading #pagetitle,
  .section-banner-top > .page-top-info h1#pagetitle,
  .section-banner-top > .page-top-info h1#pagetitle span {
      margin: 0;
      font-size: 18px !important;
      line-height: 1.35 !important;
      font-weight: 600;
      display: block !important;
      max-width: 100%;
      overflow: visible !important;
      overflow-wrap: anywhere;
      text-align: left;
      color: #fff !important;
      text-overflow: unset;
      text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.9),
        0 2px 8px rgba(0, 0, 0, 0.6),
        0 0 16px rgba(0, 0, 0, 0.35);
  }

  .section-banner-top > .page-top-info::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 120px;
      background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 100%);
      pointer-events: none;
      z-index: 24;
  }

  .section-banner-top > .page-top-info .page-top-wrapper,
  .section-banner-top > .page-top-info section.page-top.maxwidth-theme {
      padding-left: 0 !important;
      padding-right: 0 !important;
  }

  .section-banner-top > .page-top-info .cowl {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      margin-bottom: 0 !important;
      z-index: 31;
      pointer-events: all;
  }

  .section-banner-top > .page-top-info .cowl > #navigation {
      margin-left: 0 !important;
      margin-right: 0 !important;
      margin-bottom: 0 !important;
      width: 100%;
      max-width: 100%;
      overflow-x: auto;
      overflow-y: hidden;
  }

  .section-banner-top > .page-top-info .breadcrumbs {
      margin-left: 0 !important;
      margin-right: 0 !important;
      padding-left: 0 !important;
      padding-right: 0 !important;
      width: 100%;
      max-width: 100%;
      overflow-x: auto;
  }

  html,
  body {
      width: 100%;
      max-width: 100%;
      overflow-x: hidden;
  }

  #mobilemenu,
  .mobilemenu,
  .mobilemenu__inner {
      max-width: 100vw;
  }

  .section-banner-top > .page-top-info .element-count-wrapper,
  .section-banner-top > .page-top-info .element-count {
      display: none;
  }

  .main.banner-auto:has(.section-slider-top-wrapper) {
      position: relative !important;
  }

  .footer,
  .maxwidth-theme {
      padding-left: 24px !important;
      padding-right: 24px !important;
  }

  .has-section_slider_top .maxwidth-theme {
      padding-left: 24px !important;
      padding-right: 24px !important;
  }

  .section-banner-top > .page-top-info section.page-top.maxwidth-theme,
  .section-banner-top > .page-top-info .page-top-wrapper {
      padding-left: 0 !important;
      padding-right: 0 !important;
  }

  body.has-section_slider_top .main.banner-auto {
      position: relative !important;
  }

  .has-section_slider_top .page-top > div {
      padding-top: 0;
  }

  .has-section_slider_top .topic {
      width: 100%;
      padding-bottom: 0 !important;
  }

  .has-section_slider_top .section-slider-top-wrapper.maxwidth-theme {
      max-width: 100% !important;
      width: 100% !important;
      margin-left: auto !important;
      margin-right: auto !important;
      margin-top: 0;
      padding-left: 0 !important;
      padding-right: 0 !important;
      position: relative;
      z-index: 1;
      box-sizing: border-box;
  }

  .has-section_slider_top .section_slider_top {
      width: 100% !important;
      max-width: 100% !important;
      min-width: 0 !important;
      position: relative;
      left: auto;
      transform: none;
  }

  .section_slider_top .swiper-slide {
      height: auto;
      max-height: none;
  }

  .section_slider_top,
  .section_slider_top .swiper-slide > a {
      height: auto;
      max-height: none;
  }

  .has-section_slider_top .main.banner-auto > .container {
      margin-top: 0;
      padding-top: 0;
  }

  .has-section_slider_top .main.banner-auto > .container > .row,
  .has-section_slider_top .main.banner-auto > .container .right_block.catalog_page {
      margin-top: 0;
      padding-top: 0;
  }

  .has-section_slider_top .section-banner-top {
      margin-bottom: 0;
  }

  .has-section_slider_top .right_block.catalog_page {
      margin-top: 0;
      padding-top: 0;
  }

  .has-section_slider_top .top-content-block {
      margin-top: 0 !important;
      margin-bottom: 0;
      padding-top: 0;
  }

  .top_content_slider_thumbs .swiper-free-mode > .swiper-wrapper {
      margin-left: 0;
  }

  .section_slider_top_thumbs .swiper-slide {
      width: 72px !important;
      flex: 0 0 72px;
  }

  .section_slider_top_thumbs img {
      height: 30px;
      object-fit: cover;
  }

}

@media (max-width: 550px) {
  .has-section_slider_top .breadcrumbs__item-name {
      font-size: 8px;
      line-height: 13px;
  }

  .has-section_slider_top .topic__heading #pagetitle,
  .has-section_slider_top h1#pagetitle,
  .has-section_slider_top h1#pagetitle span {
      font-size: 16px;
  }

  .has-section_slider_top .section-banner-top > .page-top-info .page-top > .cowl {
      padding-top: 0;
  }
}

@media (max-width: 600px) {
  .catalog-block .sticker {
    left: -19px;
  }
}

/* Картинки разделов в каталоге */
.sections-block__item-image {
  width: 100%;
}

/* Подразделы: 2 в ряд на мобильных (страницы со слайдером) */
@media (max-width: 991px) {
  .has-section_slider_top .sections-block .grid-list {
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 12px;
  }

  .has-section_slider_top .sections-block--mobile-compact .sections-block__item-inner {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .has-section_slider_top .sections-block--mobile-compact .sections-block__item-image-wrapper {
      --section-image-width: 70px;
      --section-image-height: 70px;
      margin: 0 auto 10px;
  }

  .has-section_slider_top .sections-block--mobile-compact .sections-block__item-link {
      --item-pl: 12px;
      --item-pr: 12px;
      --item-pt: 16px;
      --item-pb: 16px;
  }

  .has-section_slider_top .sections-block__item-text {
      font-size: 12px;
      line-height: 1.3;
  }
}

@media (max-width: 400px) {
  #main .has-section_slider_top .sections-block .grid-list:not(.mobile-scrolled) {
      grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Вкладки информации о модели в каталоге */
@media (max-width: 980px) {
  .top_content_slider__buttons {
    z-index: 2;
  }
  .top_content_slider__buttons-btn {
    line-height: 26px;
  }
}
.element-count {
  font-size: 13px;
  opacity: .5;
}

.kettlebells {
    position: absolute;
    top: 2px;
    right: 20px;
    z-index: 4;
    width: 45px;
    height: 45px;
  }
  
  td.like_icons--kettlebells {
    width: 50px !important;
  
  }
  
  .kettlebells--table {
    position: relative;
    right: 0;
  }
  
  .kettlebells--detail {
    top: 18px;
    right: 50px;
    width: 100px;
    height: 100px;
  }
  
  @media (min-width: 768px) {
    .kettlebells--detail {
      top: 0;
      right: 0;
    }
  }
  
  @media (max-width: 768px) {
    .kettlebells--detail {
    width: 50px;
    height: 50px;
    }
  }

  /* PWA */
.install-banner {
    position: fixed;
    top: 0;
    width: 100%;
    background: #f2f2f2;
    padding: 12px 16px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    z-index: 1000;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.4s ease;
    pointer-events: none;
    /* блокируем клики если не показан */
}

/* Показ баннера */
.install-banner.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.ios-banner-content, .android-banner-content {
    display: flex;
    align-items: stretch;
    position: relative;
}

.ios-banner-icon, .android-banner-icon {
    flex: 0 0 auto;
    padding-right: 12px;
    display: flex;
    align-items: center;
}

.ios-banner-icon img, .android-banner-icon img {
    height: 100%;
    max-height: 60px;
    width: auto;
    object-fit: contain;
    border-radius: 16px;
    background-color: white;
}

.ios-banner-text, .android-banner-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ios-banner-text p, .android-banner-text p {
    margin: 0 0 5px;
}

.close-btn {
    position: absolute;
    top: 6px;
    right: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn svg {
    display: block;
}

body > .body:not(.index) > .main {
  padding-bottom: 0;
}

.jqmOverlay.mobp {
  z-index: 99;
}

.footer {
  margin-top: 30px;
}

.banners-big__wrapper .btn-video{
  display: none;
}

/* Видео только на активном слайде — иначе кадр «залипает» поверх баннера при автопрокрутке */
@media (max-width: 991px) {
  .banners-big__wrapper .main-slider .swiper-slide:not(.swiper-slide-active) .wrapper_video,
  .banners-big__wrapper .main-slider .swiper-slide:not(.swiper-slide-active) video {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .banners-big--adaptive-3 .main-slider .swiper-slide:not(.swiper-slide-active).vvideo.started {
    opacity: 0 !important;
    visibility: hidden !important;
    z-index: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .banners-big__wrapper .swiper-slide-active video {
    position: static;
    left: 0;
    top: 0;
    transform: none;
    height: 100%;
    background-color: black;
  }
}

/* Главный слайдер: один слайд по фону (iblock/4eb/j177bqlb…) */
.main-slider__item[data-background$="j177bqlb9rgk5404q4az6hp2v622eu5z.jpg"] {
  background-image: url("/upload/iblock/4eb/j177bqlb9rgk5404q4az6hp2v622eu5z.jpg") !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center bottom !important;
}

.main-slider__item[data-background$="j177bqlb9rgk5404q4az6hp2v622eu5z.jpg"] .banners-big__title,
.main-slider__item[data-background$="j177bqlb9rgk5404q4az6hp2v622eu5z.jpg"] h1.banners-big__title {
  display: none !important;
}

.main-slider__item[data-background$="j177bqlb9rgk5404q4az6hp2v622eu5z.jpg"] .banners-big__buttons-item {
  position: relative;
  top: 180px;
  left: 120px;
}
.catalog-detail .brand-detail-info__image {
    height: 100px;
    max-width: 200px;
}

.status-icon.nostock {
color: #F07800;
}

/* Каталог без слайдера: финальный сброс (перебивает overlay-стили section-banner-top ниже по файлу) */
@media (min-width: 992px) {
  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info {
      position: static !important;
      height: auto !important;
      min-height: 0 !important;
      transform: none !important;
      padding-left: 0 !important;
      padding-right: 0 !important;
  }

  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info .page-top-wrapper,
  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info .page-top-wrapper--white,
  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info section.page-top {
      min-height: 0 !important;
      height: auto !important;
      background: #fff !important;
      background: var(--black_bg_black, #fff) !important;
      border-bottom: none !important;
      margin-bottom: 0 !important;
  }

  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info section.page-top.maxwidth-theme {
      display: block !important;
      padding-left: 16px !important;
      padding-right: 16px !important;
  }

  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info .cowl {
      order: unset !important;
      margin-bottom: 10px !important;
  }

  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info .topic,
  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info .topic__inner {
      order: unset !important;
      margin-top: 0 !important;
  }

  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info .cowl > #navigation {
      margin-bottom: 21px !important;
  }

  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info .topic__heading #pagetitle,
  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info h1#pagetitle,
  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info h1#pagetitle span {
      font-size: 2em !important;
      font-size: clamp(1.625rem, 1.1786rem + 1.4286vw, 2rem) !important;
      line-height: calc(1em + 10px) !important;
      font-weight: var(--theme-font-title-weight, 500) !important;
      font-family: var(--theme-font-title-family), Arial, sans-serif !important;
      color: var(--white_text_black, #222) !important;
      text-shadow: none !important;
      display: block !important;
  }
}

@media (max-width: 991px) {
  .section-banner-top:not(:has(.section_slider_top)) {
      display: block !important;
  }

  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info {
      position: relative !important;
      inset: auto !important;
      height: auto !important;
  }

  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info .cowl {
      position: relative !important;
      float: none !important;
      margin-bottom: 0 !important;
  }

  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info .cowl > #navigation {
      margin-bottom: 21px !important;
  }

  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info .topic,
  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info .topic__inner {
      position: relative !important;
      padding: 0 !important;
  }

  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info .topic__heading #pagetitle,
  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info h1#pagetitle,
  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info h1#pagetitle span {
      font-size: 2em !important;
      font-size: clamp(1.625rem, 1.1786rem + 1.4286vw, 2rem) !important;
      line-height: calc(1em + 10px) !important;
      font-weight: var(--theme-font-title-weight, 500) !important;
      font-family: var(--theme-font-title-family), Arial, sans-serif !important;
      color: var(--white_text_black, #222) !important;
      text-shadow: none !important;
      display: block !important;
  }

  .section-banner-top:not(:has(.section_slider_top)) > .page-top-info::after {
      display: none !important;
  }
}
/* 2026-05-27: слайд ЛАВА главного баннера — привязка к URL слайда,
   не к его позиции в админке. Раньше било по [data-slide_index="0"],
   после перетасовки баннеров правка промахивалась → клиент видел title
   поверх картинки и «слетевшую» кнопку в дефолт-позиции.
   transform(270px, 200px) заменён на margin в %, чтобы не зависел от ширины. */
@media (min-width: 992px) {
  .main-slider .swiper-slide:has(a[href*="komplekt_mebeli_dlya_rukovoditelya_lava"]) .banners-big__title { display: none !important; }
  .main-slider .swiper-slide:has(a[href*="komplekt_mebeli_dlya_rukovoditelya_lava"]) .banners-big__buttons {
    transform: none;
    margin-left: calc(18.8% + 130px);
    margin-top: 400px;
  }
}
.main-slider .swiper-slide:has(a[href*="komplekt_mebeli_dlya_rukovoditelya_lava"]) .banners-big__buttons .btn,
.main-slider .swiper-slide:has(a[href*="komplekt_mebeli_dlya_rukovoditelya_lava"]) .banners-big__buttons .btn:hover,
.main-slider .swiper-slide:has(a[href*="komplekt_mebeli_dlya_rukovoditelya_lava"]) .banners-big__buttons .btn:focus {
  color: #fff !important;
  border-color: #fff !important;
}

/* 2026-05-27: KANON (4-й слайд главного баннера) — кнопка «Новинка»
   на :hover оставалась прозрачной (раньше из-за .btn.btn-white фон становился
   белым и кнопка визуально пропадала на тёмном фоне баннера) */
.banners-big .banners-big__item .banners-big__buttons .btn.btn-white.btn-transparent-bg:hover,
.banners-big .banners-big__item .banners-big__buttons .btn.btn-white.btn-transparent-bg:active,
.banners-big .banners-big__item .banners-big__buttons .btn.btn-white.btn-transparent-bg:focus-visible {
  background-color: transparent;
  border-color: #fff;
}
