/* BLACK FRIDAY SALE HERO */
:root {
  --fm-red: #b5121b;
  --fm-blue: #1e366e;
}

#black-friday-hero {
  position: relative;
  height: clamp(500px, 32.67vw, 658px);
  background-color: #020202;
  overflow: hidden;
}

#black-friday-hero .black-friday-hero-stage {
  position: relative;
  width: min(100%, 2014px);
  height: 100%;
  margin-inline: auto;
}

#black-friday-hero .black-friday-hero-tag,
#black-friday-hero .black-friday-hero-art,
#black-friday-hero .black-friday-hero-actions {
  position: absolute;
}

#black-friday-hero .black-friday-hero-art {
  z-index: 1;
}

#black-friday-hero .black-friday-hero-art-left {
  top: 50%;
  right: 59.5%;
  width: clamp(600px, 39.72vw, 800px);
  transform: translateY(-50%);
}

#black-friday-hero .black-friday-hero-tag {
  z-index: 2;
  top: 0;
  left: 50%;
  width: clamp(500px, 35.05vw, 706px);
  transform: translate(-50%, -26.1%);
}

#black-friday-hero .black-friday-hero-art-right {
  top: 50%;
  left: 59.5%;
  width: clamp(520px, 34vw, 685px);
  transform: translateY(-50%);
}

#black-friday-hero img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}

#black-friday-hero .black-friday-hero-actions {
  z-index: 3;
  bottom: 40px;
  left: 50%;
  width: 205px;
  transform: translateX(-50%);
}

#black-friday-hero .sale-button {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border: 1px solid #fff;
  background-color: var(--fm-red);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 160ms ease,
    outline-offset 160ms ease;
}

#black-friday-hero .sale-button:hover {
  background-color: var(--fm-blue);
  color: #fff;
}

#black-friday-hero .sale-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* Mobile keeps the tag central while the two artwork groups frame it. */
@media (max-width: 991px) {
  #black-friday-hero {
    height: clamp(690px, 209vw, 900px);
  }

  #black-friday-hero .black-friday-hero-stage {
    width: min(100%, 430px);
  }

  #black-friday-hero .black-friday-hero-art-left {
    top: -150px;
    right: auto;
    left: 50%;
    width: min(112vw, 482px);
    transform: translateX(-50%);
  }

  #black-friday-hero .black-friday-hero-tag {
    top: 0;
    left: 50%;
    width: min(156.3vw, 672px);
    transform: translate(-50%, -6.5%);
  }

  #black-friday-hero .black-friday-hero-actions {
    top: min(calc(158vw + 34px), 714px);
    bottom: auto;
    left: 50%;
    width: min(262px, calc(100% - 60px));
    transform: translateX(-50%);
  }

  #black-friday-hero .black-friday-hero-art-right {
    top: min(calc(158vw - 60px), 620px);
    left: 50%;
    width: min(142vw, 610px);
    transform: translateX(-50%);
  }

  #black-friday-hero .sale-button {
    min-height: 49px;
    padding-inline: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #black-friday-hero .sale-button {
    transition: none;
  }
}
