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

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

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

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

#black-friday-hero .black-friday-hero-tag {
  z-index: 2;
  top: 0;
  left: 18%;
  width: clamp(580px, 38.5vw, 680px);
  transform: translate(-50%, -24.2%);
}

#black-friday-hero .black-friday-hero-instruments {
  z-index: 1;
  top: -29%;
  left: 24.5%;
  width: clamp(1320px, 86vw, 1520px);
}

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

#black-friday-hero .black-friday-hero-actions {
  z-index: 3;
  bottom: 47px;
  left: 31.6%;
  display: grid;
  grid-template-columns: 210px 256px 124px;
  gap: 30px;
}

#black-friday-hero .sale-button {
  display: flex;
  min-height: 44px;
  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;
}

/* The tablet/mobile composition stacks the same two images around the links. */
@media (max-width: 991px) {
  #black-friday-hero {
    height: clamp(760px, 206vw, 820px);
  }

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

  #black-friday-hero .black-friday-hero-actions {
    top: 441px;
    bottom: auto;
    left: 50%;
    width: min(230px, calc(100% - 48px));
    transform: translateX(-50%);
    grid-template-columns: 1fr;
    gap: 16px;
  }

  #black-friday-hero .black-friday-hero-instruments {
    top: 540px;
    left: 50%;
    width: min(168vw, 700px);
    transform: translateX(-50%);
  }

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

@media (max-width: 385px) {
  #black-friday-hero .black-friday-hero-actions {
    top: 426px;
  }

  #black-friday-hero .black-friday-hero-instruments {
    top: 525px;
  }
}

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