.sale-banner {
  width: 100%;
  background: linear-gradient(135deg, #FFE566, #FFF9A8, #FFE566);
  color: #333333;
  position: relative;
}

/* Keep sale banner below the fixed top nav (nav injects #main margin instead). */
.contentcontainer:has(.sale-banner) {
  padding-top: 56px;
}

html.billing-classic-subnav-active .contentcontainer:has(.sale-banner) {
  padding-top: 88px;
}

.contentcontainer:has(.sale-banner) #main {
  margin-top: 0 !important;
}

.sale-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 16px;
  height: 45px;
}

.sale-banner__text {
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 18px;
  line-height: 1;
  white-space: wrap;
}

.sale-banner__countdown {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

.sale-banner__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 6px;
  height: 34px;
  aspect-ratio: 1 / 1;
  padding: 4px 0;
  text-align: center;
  position: relative;
}

.sale-banner__num {
  display: block;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}

.sale-banner__label {
  display: block;
  font-size: 9px;
  line-height: 1;
  opacity: 0.9;
  margin-top: 2px;
}

.sale-banner__box + .sale-banner__box::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
}

@media (max-width: 700px) {
  .sale-banner__inner { flex-direction: column; gap: 6px; height: auto; padding: 8px 12px; }
  .sale-banner__text { text-align: center; font-size: 14px; }
}

.black-week-sale-banner {
  width: 100%; 
  height: auto;
  background: #0B0A12;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 57px;
  z-index: 999999;
}

.black-week-sale-banner-inner {
  width: 100%;
  max-width: 2000px;
  display: flex;
  align-items: center;
  justify-content: center;

  @media (max-width: 700px) {
    flex-direction: column;
  }
}

.black-week-sale-banner-text-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 3;
}

.black-week-sale-banner-lightning {
  >img {
    width: min(67px, 10vw);
    height: auto;
  }
}

.black-week-sale-banner-text {
  font-weight: 700;
  font-size: min(50px, 5vw);  
  color: white;
  white-space: nowrap;
}

.black-week-sale-banner-discount {
  flex: 2;

  display: flex;
  align-items: center;
  justify-content: flex-start;

  @media (max-width: 700px) {
    justify-content: center;
  }

    >svg {
      width: min(420px, 50vw);
      height: 70px;
    }
}


.black-week-sale-banner-discount-text {
  font-weight: 700;

  color: white;
  position: relative;
  z-index: 1;
}


.black-week-sale-banner__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  height: 34px;
  aspect-ratio: 1 / 1;
  padding: 4px 0;
  text-align: center;
  position: relative;
}

.black-week-sale-banner__num {
  display: block;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}

.black-week-sale-banner__label {
  display: block;
  font-size: 9px;
  line-height: 1;
  opacity: 0.9;
  margin-top: 2px;
}

.black-week-sale-banner__box + .black-week-sale-banner__box::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
}

@media (max-width: 700px) {
  .black-week-sale-banner__inner { flex-direction: column; gap: 6px; height: auto; padding: 8px 12px; }
  .black-week-sale-banner__text { text-align: center; font-size: 14px; }
}

