/* === Overlay === */
#preloader {
  position: fixed;
  inset: 0;
  display: none;              /* по умолчанию скрыт */
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(0,0,0,.7);
  z-index: 9999;
  -webkit-font-smoothing: antialiased;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

#preloader.is-active {        /* включаем показ через добавление класса */
  display: flex;
}

/* Блокируем прокрутку страницы, когда открыт прелоадер */
body.preloader-open {
  overflow: hidden;
}

/* === Spinner (CSS only) === */
.loader {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  /* Полупрозрачное кольцо + цветной верх для эффекта вращения */
  border: 4px solid rgba(234,76,47,.2);
  border-top-color: #EA4C2F;     /* фирменный цвет */
  animation: preloader-spin .8s linear infinite;
}

@keyframes preloader-spin {
  to { transform: rotate(360deg); }
}

/* Подпись (опционально) */
.loader-text {
  color: #fff;
  font-size: 14px;
  letter-spacing: .2px;
  user-select: none;
}

/* Убираем стандартные битриксовые "ожидалки" визуально */
.bx-core-waitwindow,
.bx-core-waitwindow-overlay,
.ui-ajax-loader,
.ui-loader {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .loader { animation: none; }
}

.swiper-has-buttons {

}
.swiper-btn-circle {
  position: absolute;
  top: 50%;
  z-index: 50;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background: #FFF;
  display: flex;
  align-items: center;
  border-radius: 100%;
  justify-content: center;
  cursor: pointer;
  left: 0;
  padding: 0;
  transition: background-color;
  &.swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  &:hover {
    background: #B51717;
  }
  &.next {
    right: 0;
    left: auto;
  }
  svg {
    width: 7px;
    height: 10px;
    transition: fill 0.3s;
    fill: #B51717;

  }
}
.hits__body .swiper-btn-circle {
  display: none;
}
@media (min-width: 767px) {
  .hits__body .swiper-btn-circle {
    display: flex;
  }
  .hits__body {


    padding-left: 36px;
    padding-right: 36px;
    position: relative;
  }
}