.hero--black-friday,
.hero:has(.hero-panel--black-friday:not([hidden])) {
  background: radial-gradient(ellipse at 73% 54%, #291115 0, #101013 44%, #08090b 76%);
}

.hero-panel--black-friday {
  font-family: system-ui, sans-serif;
}

.hero .hero-panel--black-friday .promo-title {
  font-family: inherit;
  margin: 0 0 12px;
  font-size: clamp(2.3rem, 4.3vw, 4.3rem);
  line-height: .99;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.hero-panel--black-friday .promo-title span {
  display: block;
  color: var(--yellow);
}

.hero .hero-panel--black-friday .hero-black-friday-discount {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .45em;
  margin: 0 0 11px;
  padding: 6px 11px;
  border-radius: 4px;
  background: #a41424;
  color: #fff;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  font-weight: 750;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-black-friday-discount strong {
  color: #ffda44;
  font-size: 1.55em;
  font-weight: 850;
}

.hero .hero-panel--black-friday .hero-black-friday-copy {
  margin: 0 0 13px;
  font-size: clamp(.875rem, 1.25vw, 1rem);
}

.hero-black-friday-cta {
  text-transform: uppercase;
}

.hero-products.hero-products--black-friday {
  display: grid;
  place-items: center;
  padding: 0;
}

.hero-products--black-friday::before {
  display: none;
}

.hero-products--black-friday picture,
.hero-products--black-friday img {
  display: block;
}

.hero-products--black-friday img {
  width: auto;
  max-width: 100%;
  height: clamp(300px, 25vw, 382px);
  object-fit: contain;
}

.hero-carousel.has-changed :is(.hero-panel--black-friday, .hero-products--black-friday) {
  animation: none;
}

.hero--black-friday .hero-inner {
  padding-bottom: 0;
}

.hero--black-friday .hero-copy {
  min-width: 0;
}

.hero-products.hero-products--dy365 {
  display: grid;
  place-items: center;
  padding: 0;
}

.hero-products--dy365::before {
  display: none;
}

.hero-products--dy365 img {
  display: block;
  width: min(100%, 500px);
  height: auto;
}

.hero-carousel--two-slide.has-changed :is(.hero-panel, .hero-products) {
  animation: none;
}

/* Keep the approved hero sizing after removing panels that contributed to its height. */
.hero-carousel--two-slide .hero-inner {
  min-height: min(535px, max(calc(5.75vw + 413px), calc(8vw + 381px)));
}

@media (min-width: 601px) and (max-width: 900px) {
  .hero-carousel--two-slide .hero-inner {
    min-height: 445px;
  }
}

@media (max-width: 600px) {
  .hero--black-friday .hero-inner {
    padding-bottom: 20px;
  }

  .hero--black-friday .hero-copy {
    min-height: 0;
    padding-bottom: 16px;
  }

  .hero--black-friday :is(.hero-visual, .hero-products--black-friday) {
    min-height: 230px;
    height: 230px;
  }

  .hero-carousel--two-slide .hero-inner {
    min-height: 0;
  }

  .hero-carousel--two-slide .hero-copy {
    min-height: 337px;
  }

  .hero .hero-panel--black-friday .promo-title {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .hero-products--black-friday img {
    height: 230px;
  }

  .hero-carousel--black-friday .hero-controls {
    gap: 4px;
  }

  .hero-carousel--black-friday .hero-indicators {
    gap: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel--black-friday.has-changed :is(.hero-panel, .hero-products) {
    animation: none;
  }
}
