body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
}

.slider-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 0;
  position: relative;
  overflow: hidden;
}

.slider {
  display: flex;
  scroll-behavior: smooth;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
  gap: 0;
}
.price-section {
  scroll-snap-align: center;
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0; /* для анимации */
  transform: scale(0.95); /* начальное уменьшение */
  transition: all 0.6s ease;
}

.price-section.active {
  opacity: 1;
  transform: scale(1);
}

/* Добавим лёгкую анимацию при прокрутке */
.slider {
  transition: transform 0.5s ease;
}

.slider::-webkit-scrollbar {
  display: none;
}

.price-section {
  scroll-snap-align: center;
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.price-section > div {
  width: 100%;
  max-width: 900px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  box-shadow: 0 0 20px #ff1a1a;
  padding: 30px;
}

.price-section h2 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 10px #ff1a1a;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
}

th, td {
  padding: 15px;
  text-align: center;
  font-size: 18px;
  border: 1px solid #ff1a1a;
}

th {
  background: rgba(255, 50, 50, 0.2);
  color: #ff4d4d;
  text-shadow: 0 0 5px #ff1a1a;
}

td {
  background: rgba(0, 0, 0, 0.3);
}

/* стрелки */
.arrow-left, .arrow-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  color: #ff4d4d;
  text-shadow: 0 0 10px #ff1a1a;
  user-select: none;
  cursor: pointer;
  z-index: 10;
  padding: 10px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
}

.arrow-left {
  left: 10px;
}

.arrow-right {
  right: 10px;
}
.bonus-heading {
  font-family: 'Playfair Display SC', serif;
  font-size: 64px;
  text-align: center;
  margin-top: 100px;
  margin-bottom: 40px;
  color: white;
}

.bonus-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  padding: 0 20px 80px;
  background-color: black;
  margin-bottom: 100px;
  flex-wrap: wrap;
}

.bonus-image img {
  width: 472px;
  height: 821px;
  margin-right: 100px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 0 20px #ff1a1a;
}

.bonus-text {
  max-width: 600px;
  font-family: 'K2D', sans-serif;
  font-size: 16px;
  color: white;
  margin-top: -20px;
  font-weight: bold;
  line-height: 1.4;
  text-align: center;
  white-space: pre-line;
}





/* =========================
   ADAPTIVE BREAKPOINTS
   ========================= */

/* <= 1280px — лёгкая усадка */
@media (max-width:1280px){
  .slider-container{ max-width: 1100px; padding: 24px 0; }
  .price-section > div{ max-width: 820px; padding: 26px; }
  .price-section h2{ font-size: 32px; margin-bottom: 16px; }
  th, td{ font-size: 16px; padding: 12px; }
  .arrow-left, .arrow-right{ font-size: 44px; padding: 8px; }

  .bonus-heading{ font-size: 56px; margin-top: 80px; margin-bottom: 32px; }
  .bonus-image img{ width: 420px; height: 730px; margin-right: 60px; }
  .bonus-text{ max-width: 560px; font-size: 15px; }
}

/* <= 1024px — компактнее карточки и таблица */
@media (max-width:1024px){
  body{ padding-top: 150px; } /* шапка обычно ниже на планшетах */
  .slider-container{ max-width: 960px; padding: 22px 0; }
  .price-section > div{ max-width: 760px; padding: 22px; }
  .price-section h2{ font-size: 28px; }
  th, td{ font-size: 15px; padding: 10px; }
  .arrow-left, .arrow-right{ font-size: 40px; padding: 8px; }

  .bonus-heading{ font-size: 48px; margin-top: 60px; margin-bottom: 28px; }
  .bonus-section{ gap: 28px; padding: 0 16px 60px; }
  .bonus-image img{ width: 360px; height: 640px; margin-right: 40px; }
  .bonus-text{ max-width: 520px; font-size: 14.5px; }
}
.slider-container,
.slider{
  position: relative;
  z-index: 1;            /* слайдер в нормальном слое */
  pointer-events: auto;  /* клики проходят */
}

/* стрелки поверх всего контента слайдера */
.arrow-left, .arrow-right{
  z-index: 5;
}

/* <= 768px — одна карточка/секция на всю ширину, бонусы в колонку */
@media (max-width:768px){
  body{ padding-top: 130px; margin-top: -130px; }

  .slider-container{ max-width: 100%; padding: 18px 0;}
  .slider{ gap: 0; }
  .price-section{ padding: 0 12px; }
  .price-section > div{
    max-width: 100%;
    width: 100%;
    padding: 18px 14px;
    border-radius: 14px;
  }
  .price-section h2{ font-size: 24px; margin-bottom: 14px; }
  table{ margin-top: 14px; }
  th, td{ font-size: 14px; padding: 8px; }

  /* стрелки компактнее, можно полупрозрачные */
  .arrow-left, .arrow-right{
    font-size: 34px;
    padding: 6px;
    background: rgba(0,0,0,.35);
  }

  .bonus-heading{ font-size: 36px; margin-top: 40px; margin-bottom: 22px; }
  .bonus-section{
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 0 12px 40px;
    margin-bottom: 60px;
  }
  .bonus-image img{
    width: 100%;
    max-width: 520px;          /* не шире экрана */
    height: auto;
    margin-right: 0;
  }
  .bonus-text{
    max-width: 600px;
    font-size: 14px;
    margin-top: 0;
    text-align: center;
    white-space: normal;        /* на мобилках обычные переносы */
  }
}

/* <= 360px — плотный режим */
@media (max-width:360px){
  body{ padding-top: 110px; }

  .price-section > div{ padding: 14px 10px; border-radius: 12px; }
  .price-section h2{ font-size: 20px; }
  th, td{ font-size: 13px; padding: 7px; }
  .arrow-left, .arrow-right{ font-size: 30px; padding: 5px; }

  .bonus-heading{ font-size: 28px; margin: 28px 0 16px; }
  .bonus-section{ padding: 0 10px 30px; gap: 14px; }
  .bonus-text{ font-size: 13.5px; }
}

/* <= 320px — максимально компактно */
@media (max-width:320px){
  body{ padding-top: 100px; }

  .price-section > div{ padding: 12px 8px; }
  .price-section h2{ font-size: 18px; }
  th, td{ font-size: 12px; padding: 6px; }
  .arrow-left, .arrow-right{ font-size: 28px; padding: 4px; }

  .bonus-heading{ font-size: 24px; margin: 22px 0 14px; }
  .bonus-section{ padding: 0 8px 24px; }
  .bonus-text{ font-size: 13px; }
}
/* Бонусная картинка — резиновая и по центру */
.bonus-image img{
  width: 100%;
  max-width: 472px;     /* исходная максимальная ширина */
  height: auto;         /* сохраняем пропорции */
  display: block;
  margin: 0 auto;       /* центрируем */
  object-fit: contain;  /* без обрезки */
}

/* Стрелки: по умолчанию по бокам (как у тебя) */

/* На мобильных переносим стрелки под слайдер и делаем их компактнее */
@media (max-width: 768px){
  .slider-container{ padding-bottom: 52px; } /* место под стрелки */

  .arrow-left, .arrow-right{
    top: auto;
    bottom: 8px;
    transform: none;
    font-size: 34px;
    padding: 6px 10px;
    background: rgba(0,0,0,.5);
    box-shadow: 0 0 10px rgba(255,26,26,.4);
  }
  .arrow-left{
    left: calc(50% - 64px);   /* внизу по центру */
  }
  .arrow-right{
    right: calc(50% - 64px);
  }
}

/* Если хочешь вообще скрыть стрелки на мобиле и оставить только свайп — раскомментируй
@media (max-width: 768px){
  .arrow-left, .arrow-right{ display:none; }
}
*/





/* Слои поверх всего, включая “липкую” шапку */
.slider-container { position: relative; z-index: 1000; }
.slider { position: relative; z-index: 1001; }
.arrow-left, .arrow-right { position: absolute; z-index: 1002; }

/* Разрешаем горизонтальный пан на слайдере, чтобы тач не съедал скролл страницы */
.slider {
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  pointer-events: auto;
}

/* На всякий случай явно разрешим клики по стрелкам */
.arrow-left, .arrow-right { pointer-events: auto; }

/* Если вдруг у header огромный z-index — опусти его за контент */
header, .header, .site-header {
  position: relative;
  z-index: 0;
}

/* На планшете/мобиле стрелки переносим вниз — уже есть у тебя,
   просто пусть сохраняют высокий z-index */
@media (max-width: 1024px) {
  .arrow-left, .arrow-right { z-index: 1002; }
 
}
/* Слайдер и стрелки поверх любых хедеров/меню */
.slider-container { position: relative; z-index: 6000; }
.slider { position: relative; z-index: 6001; }
.arrow-left, .arrow-right { position: absolute; z-index: 6002; }

/* Если у хедера был огромный z-index — опусти его ниже слайдера */
header, .header, .site-header { position: relative; z-index: 100; }

/* Если на странице есть мобильное меню/дровер,
   убедимся, что когда оно закрыто — оно не перехватывает клики. 
   Подставь нужный селектор из твоего header.css (ниже — самые частые). */
.mobile-menu,
.nav-drawer,
.nav-panel {
  pointer-events: none;   /* НЕ ловит клики, если скрыто */
}
.mobile-menu.is-open,
.nav-drawer.is-open,
.nav-panel.is-open {
  pointer-events: auto;   /* когда реально открыто — клики включаем */
  z-index: 6500;          /* всё равно ниже стрелок */
}




/* Слайдер поверх обычного контента */
.slider-container { position: relative; z-index: 6000; }
.slider { position: relative; z-index: 6001; }
.arrow-left, .arrow-right { position: absolute; z-index: 6002; }

/* Хедер ниже слайдера, пока меню закрыто */
header, .header, .site-header { position: relative; z-index: 100; }
.slider {
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  pointer-events: auto;
}
.arrow-left, .arrow-right { pointer-events: auto; }
/* Слайдер: нормальные слои */
.slider-container { position: relative; z-index: 1; }
.slider { position: relative; z-index: 2; }
.arrow-left, .arrow-right { position: absolute; z-index: 3; }

/* Жесты — как было */
.slider {
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  pointer-events: auto;
}
.arrow-left, .arrow-right { pointer-events: auto; }
/* Слои прайса — мягкие, без минусовых индексов */
.slider-container { position: relative !important;  }
.slider           { position: relative !important; z-index: 2 !important; }
.arrow-left,
.arrow-right      { position: absolute; z-index: 3 !important; }

/* Клики/жесты */
.slider { touch-action: pan-x; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; pointer-events: auto; }
.arrow-left, .arrow-right { pointer-events: auto; }
