/* Главный баннер — слайдер */

body.xl-redesign .xl-hero[data-xl-hero] {
  position: relative !important;
  display: block !important;
  min-height: 540px !important;
  padding: 0 !important;
  border-radius: 28px !important;
  overflow: hidden !important;
  background: #0b1220 !important;
  background-image: none !important;
  box-shadow: 0 28px 60px rgba(8, 12, 22, 0.28) !important;
}

body.xl-redesign .xl-hero__viewport,
body.xl-redesign .xl-hero__track {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  min-height: inherit !important;
}

body.xl-redesign .xl-hero__slide {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-height: inherit !important;
  padding: 72px 64px 88px !important;
  box-sizing: border-box !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: scale(1.02) !important;
  transition: opacity .7s ease, transform .9s ease, visibility 0s linear .7s !important;
  background-color: #0b1220 !important;
  background-size: cover !important;
  background-position: 70% center !important;
  background-repeat: no-repeat !important;
}

body.xl-redesign .xl-hero__slide.is-active {
  opacity: 1 !important;
  visibility: visible !important;
  transform: scale(1) !important;
  transition: opacity .7s ease, transform .9s ease, visibility 0s !important;
  z-index: 1 !important;
}

body.xl-redesign .xl-hero__slide--sky {
  background-image:
    linear-gradient(105deg, rgba(8, 12, 22, 0.82) 0%, rgba(8, 12, 22, 0.55) 42%, rgba(8, 12, 22, 0.18) 72%, rgba(8, 12, 22, 0.08) 100%),
    url("../img/hero-fireworks.jpg") !important;
}

body.xl-redesign .xl-hero__slide--countdown {
  background-image:
    linear-gradient(115deg, rgba(12, 10, 28, 0.9) 0%, rgba(18, 14, 40, 0.72) 40%, rgba(40, 16, 12, 0.35) 100%),
    url("../img/hero-nye.jpg") !important;
  background-position: 55% center !important;
}

body.xl-redesign .xl-hero__slide--discount {
  background-image:
    linear-gradient(105deg, rgba(5, 10, 24, 0.92) 0%, rgba(7, 14, 30, 0.72) 45%, rgba(22, 12, 10, 0.18) 100%),
    url("../img/hero-discount.png") !important;
  background-position: center !important;
}

body.xl-redesign .xl-hero__slide--flowers {
  background-image:
    linear-gradient(105deg, rgba(10, 5, 15, 0.9) 0%, rgba(31, 7, 24, 0.67) 45%, rgba(36, 8, 20, 0.12) 100%),
    url("../img/hero-flowers.png") !important;
  background-position: center !important;
}

body.xl-redesign .xl-hero[data-xl-hero] .xl-hero__eyebrow,
body.xl-redesign .xl-hero[data-xl-hero] .xl-hero__title,
body.xl-redesign .xl-hero[data-xl-hero] .xl-hero__text,
body.xl-redesign .xl-hero[data-xl-hero] .xl-hero__actions,
body.xl-redesign .xl-hero[data-xl-hero] .xl-hero__countdown {
  position: relative !important;
  z-index: 2 !important;
}

/* компактный заголовок на слайде со счётчиком — без огромного блока */
body.xl-redesign .xl-hero__slide--countdown .xl-hero__title--cd,
body.xl-redesign .xl-hero__slide--countdown .xl-hero__title {
  display: inline-block !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  font-size: 28px !important;
  line-height: 1.2 !important;
  background: none !important;
  box-shadow: none !important;
  border: 0 !important;
}

body.xl-redesign .xl-hero__slide--countdown .xl-hero__eyebrow {
  margin-bottom: 8px !important;
}

body.xl-redesign .xl-hero__slide--countdown .xl-hero__text {
  margin-top: 0 !important;
  max-width: 420px !important;
}

body.xl-redesign .xl-hero__countdown {
  display: flex !important;
  align-items: stretch !important;
  gap: 10px !important;
  margin: 8px 0 22px !important;
  max-width: 100% !important;
}

body.xl-redesign .xl-cd__unit {
  min-width: 92px !important;
  padding: 14px 12px 12px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  background: rgba(8, 10, 20, 0.45) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22) !important;
  backdrop-filter: blur(8px);
  text-align: center !important;
  box-sizing: border-box !important;
}

body.xl-redesign .xl-cd__num {
  display: block !important;
  font-size: 42px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  color: #fff !important;
  font-variant-numeric: tabular-nums !important;
}

body.xl-redesign .xl-cd__label {
  display: block !important;
  margin-top: 8px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: rgba(255, 214, 180, 0.9) !important;
}

body.xl-redesign .xl-cd__sep {
  display: flex !important;
  align-items: center !important;
  padding-bottom: 18px !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #ff6a00 !important;
  line-height: 1 !important;
}

body.xl-redesign .xl-hero__ui {
  position: absolute !important;
  left: 64px !important;
  right: 64px !important;
  bottom: 28px !important;
  z-index: 3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  pointer-events: none !important;
}

body.xl-redesign .xl-hero__dots,
body.xl-redesign .xl-hero__controls {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  pointer-events: auto !important;
}

body.xl-redesign .xl-hero__dot {
  width: 10px !important;
  height: 10px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.35) !important;
  cursor: pointer !important;
  transition: transform .2s ease, background .2s ease !important;
}

body.xl-redesign .xl-hero__dot.is-on {
  background: #ff6a00 !important;
  transform: scale(1.15) !important;
}

body.xl-redesign .xl-hero__nav {
  width: 42px !important;
  height: 42px !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 50% !important;
  background: rgba(8, 12, 22, 0.35) !important;
  color: #fff !important;
  cursor: pointer !important;
  backdrop-filter: blur(6px);
  position: relative !important;
}

body.xl-redesign .xl-hero__nav::before {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 9px !important;
  height: 9px !important;
  border-right: 2px solid #fff !important;
  border-bottom: 2px solid #fff !important;
  transform: translate(-60%, -50%) rotate(-45deg) !important;
}

body.xl-redesign .xl-hero__nav--prev::before {
  transform: translate(-30%, -50%) rotate(135deg) !important;
}

body.xl-redesign .xl-hero__nav:hover {
  border-color: rgba(255, 255, 255, 0.7) !important;
  background: rgba(8, 12, 22, 0.55) !important;
}

@media (max-width: 900px) {
  body.xl-redesign .xl-hero[data-xl-hero] {
    min-height: 420px !important;
    border-radius: 20px !important;
  }
  body.xl-redesign .xl-hero__slide {
    padding: 36px 22px 78px !important;
  }
  body.xl-redesign .xl-hero__ui {
    left: 22px !important;
    right: 22px !important;
    bottom: 18px !important;
  }
  body.xl-redesign .xl-hero[data-xl-hero] .xl-hero__title {
    font-size: 34px !important;
  }
  body.xl-redesign .xl-hero__slide--countdown .xl-hero__title--cd,
  body.xl-redesign .xl-hero__slide--countdown .xl-hero__title {
    font-size: 22px !important;
    margin-bottom: 8px !important;
  }
  body.xl-redesign .xl-cd__unit {
    min-width: 72px !important;
    padding: 12px 8px 10px !important;
    border-radius: 14px !important;
  }
  body.xl-redesign .xl-cd__num {
    font-size: 30px !important;
  }
  body.xl-redesign .xl-cd__label {
    font-size: 10px !important;
  }
  body.xl-redesign .xl-cd__sep {
    font-size: 22px !important;
    padding-bottom: 14px !important;
  }
  body.xl-redesign .xl-hero__countdown {
    gap: 6px !important;
    margin: 6px 0 16px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.xl-redesign .xl-hero__slide {
    transition: none !important;
    transform: none !important;
  }
}
