.hot-slider {
  max-width: 1200px;
  margin: 40px auto;
  position: relative;

  border-radius: 20px;
  overflow: hidden; /* КЛЮЧЕВО */
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  
  font-family: "Myriad Pro", Arial, sans-serif;
}

.hot-slider__track {
  display: flex;
  transition: transform 0.4s ease;
}

.hot-slider__slide {
  min-width: 100%;
  display: flex;
}

.hot-slider__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
  margin-top: 15px;
  margin-bottom: 15px;
}

.hot-slider__slide-inner {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 30px;

  background: #ffffff;   
  z-index: 1;
  overflow: hidden;
}

.hot-slider__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 85% center;
  z-index: 0;
}

    
.hot-slider__content {
  max-width: 800px; /* подбираем под макет */
  z-index: 1;
  padding-left: 20px;
  padding-right: 200px;
}

.hot-slider__title {
  font-family: "Myriad Pro", Arial, sans-serif !important;
  font-weight: 700;
  font-size: 42px;
  margin-bottom: 10px;
  margin-top: -15px;
}

.hot-slider__text {
  font-family: "Myriad Pro", Arial, sans-serif !important;
  font-weight: 400;
  font-size: 18px;
  margin-bottom: 18px;
}

.hot-slider__button {
  display: inline-block;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: #fb6700;
  color: #ffffff;
  border-radius: 30px;
  text-decoration: none;
  font-family: "Myriad Pro", Arial, sans-serif  !important;
  font-weight: 400;
  box-shadow: 0 6px 15px rgba(0,0,0,.2);
  transition: background 0.3s;
  margin-bottom: 10px;
  margin-left: 20px;
}


.hot-slider .hot-slider__button {
  all: unset;              /*  сбрасывает ВСЁ, что навесил сайт */
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 28px;
  border-radius: 30px;

  background-color: #fb6700;
  color: #ffffff;

  font-family: "Myriad Pro", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
    
  margin-left: 20px;

  box-shadow: 0 6px 15px rgba(0,0,0,.2);
}

.hot-slider .hot-slider__button:hover {
  background-color: #ba4c00;
  color: #ffffff;
}

.hot-slider__button {
  width: auto;
  max-width: 320px;
}

.hot-slider__cta {
  margin-top: 5px;
  z-index: 2;
}

.hot-slider__button:hover {
  background: #ba4c00;
}


/* Стрелки */
.hot-slider__arrow {
  position: absolute;
  bottom: 24px; 
  width: 35px;
  height: 35px;
  background: #ffffff;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0,0,0,.2);
  cursor: pointer;
  z-index: 10;
    
  transition: background-color 0.2s ease;
}

.hot-slider__arrow:hover {
  background-color: #fb6700;
}

.hot-slider__arrow--left {
  right: 70px;
}

.hot-slider__arrow--right {
  right: 20px;
}

.hot-slider__arrow img {
  width: 12px;
  height: 12px;
  max-width: 12px;
  max-height: 12px;
  object-fit: contain;
  display: block;
  transition: filter 0.2s ease;
}

.hot-slider__arrow:hover img {
  filter: brightness(0) invert(1);
}

/* Точки */
.hot-slider__dots {
  cursor: default;
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.hot-slider__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 3px 8px rgba(0,0,0,.2);
  cursor: pointer;
  position: relative;
    
    

  transition:
    background-color 0.2s ease,
    transform 0.3s ease-in-out;
}

.hot-slider__dot::after {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
}

.hot-slider__dot--active {
  background: #fb6700;
}

/* Hover для неактивных точек */
.hot-slider__dot:not(.hot-slider__dot--active):hover {
  background-color: #fb6700;
  transform: scale(1.15);
}

/* Запрещаем выделение контента слайдера */
.hot-slider__slide-inner,
.hot-slider__content,
.hot-slider__title,
.hot-slider__text,
.hot-slider__bg {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
}

/* Явно разрешаем выделение и клики там, где нужно */
.hot-slider__button,
.hot-slider__arrow,
.hot-slider__dot {
  user-select: auto;
  -webkit-user-select: auto;
  cursor: pointer;
}

/* Белый текст для тёмных слайдов */
.hot-slider__slide--white .hot-slider__title,
.hot-slider__slide--white .hot-slider__text {
  color: #ffffff;
}

/* Затемняющий overlay под белым текстом */
.hot-slider__slide--white .hot-slider__content {
  position: relative;
}

.hot-slider__slide--white .hot-slider__content::before {
  content: '';
  position: absolute;
  inset: -20px -20px;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.0),
    rgba(0,0,0,0.0)
  );
  z-index: -1;
  border-radius: 12px;
}

/* Белая версия кнопки для тёмных слайдов */
.hot-slider__button--ver-white {
  background: #ffffff;
  color: #111111;

  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* Hover для белой кнопки */
.hot-slider__button--ver-white:hover {
  background: #f2f2f2;
}

/* Красная версия кнопки */
.hot-slider__button--ver-red {
  background: #c93c49;
  color: #ffffff;

  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* Hover для красной кнопки */
.hot-slider__button--ver-red:hover {
  background: #962b35;
}

/* Красная 2 версия кнопки */
.hot-slider__button--ver-red2 {
  background: #e83502;
  color: #ffffff;

  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* Hover для красной 2 кнопки */
.hot-slider__button--ver-red2:hover {
  background: #972100;
}

/* === СЛАЙДЫ 3: другие точки === */
.hot-slider--slide-3 .hot-slider__dot--active {
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.4);
}

.hot-slider--slide-4 .hot-slider__dot--active {
  background: #c93c49;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.4);
}

.hot-slider--slide-6 .hot-slider__dot--active {
  background: #FB6700;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.4);
}

.hot-slider--slide-7 .hot-slider__dot--active {
  background: #e83502;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.4);
}

/* (опционально) неактивные точки */
.hot-slider--slide-3 .hot-slider__dot:not(.hot-slider__dot--active) {
  background: rgba(255,255,255,0.45);
}

.hot-slider--slide-4 .hot-slider__dot:not(.hot-slider__dot--active) {
  background: rgba(255,255,255,0.45);
}

.hot-slider--slide-7 .hot-slider__dot:not(.hot-slider__dot--active) {
  background: rgba(255,255,255,0.45);
}


/* === СЛАЙД 3, 4, 5: hover-стиль стрелок === */
.hot-slider--slide-3 .hot-slider__arrow:hover {
  background-color: #000000;
}

.hot-slider--slide-4 .hot-slider__arrow:hover {
  background-color: #c93c49;
}

.hot-slider--slide-5 .hot-slider__arrow:hover {
  background-color: #000000;
}

.hot-slider--slide-7 .hot-slider__arrow:hover {
  background-color: #e83502;
}

/* Иконка стрелки на чёрном фоне */
.hot-slider--slide-3 .hot-slider__arrow:hover img {
  filter: brightness(0) invert(1);
}

.hot-slider--slide-5 .hot-slider__arrow:hover img {
  filter: brightness(0) invert(1);
}

/* Контейнер с "бейджами" */
.hot-slider__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

/* Отдельное слово с подложкой */
.hot-slider__badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(255,255,255,0.85);
  color: #000000;
  border-radius: 8px;

  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}

@media (max-width: 768px) {

  .hot-slider__bg {
      
    background-position: 85% center;
  }

}

@media (max-width: 768px) {
    /* Прячем < > кнопки */
  .hot-slider__arrow {
    display: none;
  }
}

@media (max-width: 768px) {
    /* Прячем < > кнопки */
   .hot-slider__text {
    display: none;
  }
}



@media (max-width: 768px) {

  /* 1. Общие отступы карточки (слева, сверху, снизу) */
  .hot-slider__slide-inner {
    padding: 32px 20px 72px 20px;
    /* ↑ увеличенный bottom, чтобы кнопка не конфликтовала с dots */
  }

  /* 2. Убираем ограничение ширины и резервируем место под картинку */
  .hot-slider__content {
    max-width: none;
    padding-left: 10px;
    padding-right: 180px; /* отступ справа */
  }


  /* 3. Типографика */
  .hot-slider__title {
    font-size: 28px;
    margin-top: 0;
  }

  .hot-slider__text {
    font-size: 16px;
  }

  /* 4. Точки — ниже кнопки */
  .hot-slider__dots {
    bottom: 20px;
  }
  .hot-slider__button {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    max-width: 240px;
    text-align: center;
  }    
      /* 1. Явно создаём stacking context для контента */
  .hot-slider__content {
    position: relative;
    z-index: 5;
  }
    
}

  /* Контроль заднего фона */

.hot-slider__slide--bg-custom-2 .hot-slider__bg {
  background-position: 67% center;
}

@media (max-width: 768px) {
  .hot-slider__slide--bg-custom-2 .hot-slider__bg {
  background-position: 67% center;
  }
}

.hot-slider__slide--bg-custom-3 .hot-slider__bg {
  background-position: 95% center;
}

@media (max-width: 768px) {
  .hot-slider__slide--bg-custom-3 .hot-slider__bg {
  background-position: 85% center;
  }
}


.hot-slider__slide--bg-custom-4 .hot-slider__bg {
  background-position: 60% center;
}

@media (max-width: 768px) {
  .hot-slider__slide--bg-custom-4 .hot-slider__bg {
  background-position: 70% center;
  }
}


.hot-slider__slide--bg-custom-5 .hot-slider__bg {
  background-position: 60% center;
}

@media (max-width: 768px) {
  .hot-slider__slide--bg-custom-5 .hot-slider__bg {
  background-position: 65% center;
  }
}


.hot-slider__slide--bg-custom-6 .hot-slider__bg {
  background-position: 75% center;
}

@media (max-width: 768px) {
  .hot-slider__slide--bg-custom-6 .hot-slider__bg {
  background-position: 60% center;
  }
}


.hot-slider__slide--bg-custom-7 .hot-slider__bg {
  background-position: 70% center;
}

@media (max-width: 768px) {
  .hot-slider__slide--bg-custom-7 .hot-slider__bg {
  background-position: 60% center;
  }
}

@media (max-width: 768px) {
  .hot-slider__cta {
    margin-top: 5px;
  }

  .hot-slider__button {
    width: 100%;
    max-width: 260px;
  }
}