
.on-sale-page .on-sale-hero {
  padding: clamp(64px, 5.5vw, 84px) 0;
  text-align: center;
}

.on-sale-hero-inner {
  max-width: 760px;
  margin-inline: auto;
}

.on-sale-page .on-sale-hero h1 {
  margin: 0;
  font-size: clamp(2.55rem, 4.8vw, 4.65rem);
  line-height: .98;
}

.on-sale-page .on-sale-hero { padding: clamp(60px, 5.5vw, 84px) 0; }
.on-sale-hero-intro { max-width: 580px; margin: 18px auto 0; color: rgba(255,244,227,.78); line-height: 1.6; }
.on-sale-status { margin: 20px 0 0; color: rgba(255,244,227,.75); text-align: center; font-size: .9rem; }
.on-sale-status:empty, .on-sale-page .on-sale-section[hidden] { display: none !important; }

.on-sale-group { padding-block: clamp(42px, 5.5vw, 74px); }
.on-sale-page .on-sale-group:nth-child(odd) { color: var(--ink);}
.on-sale-page .on-sale-group:nth-child(even) { color: #f3dfc2;}
/* Individual sale heading CARDS sit inside the 75%-opacity full-width
   bands. Give both variants a distinct backing; never fade the whole card. */
.on-sale-group-banner {
  max-width: 1060px;
  margin: 0 auto 30px;
  padding: clamp(22px,3vw,36px);
  border: 1px solid rgba(127,83,40,.34);
  border-radius: 20px;
  background: rgba(255,248,235,.94);
  box-shadow: 0 14px 32px rgba(51,31,19,.13);
}
.on-sale-group:nth-child(even) .on-sale-group-banner {
  border-color: rgba(214,160,90,.46);
  background: rgba(36,25,38,.94);
  box-shadow: 0 16px 36px rgba(0,0,0,.27);
}
.on-sale-banner-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 16px 24px; }
.on-sale-banner-heading .eyebrow { margin: 0; color: #9c6b36; }
.on-sale-group:nth-child(even) .on-sale-banner-heading .eyebrow { color: #d9a35f; }
.on-sale-banner-heading h2 { margin: 7px 0 0; font-size: clamp(1.85rem,3.2vw,2.9rem); line-height: 1.13; }
.on-sale-page .on-sale-group:nth-child(odd) .on-sale-banner-heading h2 { color: #211b15 !important; }
.on-sale-page .on-sale-group:nth-child(even) .on-sale-banner-heading h2 { color: #f3dfc2 !important; }
.on-sale-page .on-sale-group:nth-child(odd) .on-sale-banner-heading .eyebrow { color: #70451c !important; }
.on-sale-page .on-sale-group:nth-child(even) .on-sale-banner-heading .eyebrow { color: #d9a35f !important; }
.on-sale-page .on-sale-group:nth-child(odd) .on-sale-banner-terms,
.on-sale-page .on-sale-group:nth-child(odd) .on-sale-banner-clock { color: #372c23 !important; }
.on-sale-page .on-sale-group:nth-child(even) .on-sale-banner-terms,
.on-sale-page .on-sale-group:nth-child(even) .on-sale-banner-clock { color: #f3dfc2 !important; }
.on-sale-discount-badge { display: inline-flex; align-items: center; min-height: 36px; border: 1px solid rgba(167,109,46,.3); border-radius: 100px; padding: 7px 14px; color: #693f21; background: rgba(222,174,99,.22); font-size: .94rem; font-weight: 800; }
.on-sale-group:nth-child(even) .on-sale-discount-badge { border-color: rgba(214,160,90,.42); color: #f1c181; background: rgba(214,160,90,.13); }
.on-sale-banner-details { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 24px; margin-top: 18px; border-top: 1px solid rgba(113,75,44,.21); padding-top: 16px; }
.on-sale-banner-terms { flex: 1 1 420px; margin: 0; color: #372c23; font-size: .93rem; line-height: 1.6; }
.on-sale-banner-clock { margin: 0; color: #503820; font-size: .86rem; line-height: 1.6; }
.on-sale-countdown { font-variant-numeric: tabular-nums; font-weight: 800; }
.on-sale-group:nth-child(even) .on-sale-banner-details { border-top-color: rgba(255,244,227,.2); }
.on-sale-group:nth-child(even) .on-sale-banner-terms,
.on-sale-group:nth-child(even) .on-sale-banner-clock { color: rgba(255,244,227,.9); }
/* Match Common Questions: keep each tile at its normal column width but
   centre incomplete rows within the sale band's available space. */
.on-sale-grid {
  --sale-card-gap: clamp(16px,2vw,22px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: var(--sale-card-gap);
}

.on-sale-grid > .on-sale-card {
  flex: 0 1 calc((100% - var(--sale-card-gap) - var(--sale-card-gap) - var(--sale-card-gap)) / 4);
  max-width: calc((100% - var(--sale-card-gap) - var(--sale-card-gap) - var(--sale-card-gap)) / 4);
  min-width: 0;
}
.on-sale-card { position: relative; height: 100%; overflow: hidden; border: 1px solid rgba(105,67,41,.16); border-radius: 18px; background: rgba(255,252,247,.97); color: #30241b; box-shadow: 0 14px 30px rgba(35,18,14,.14); }
.on-sale-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.on-sale-card-link:focus-visible { outline: 3px solid #d6a15f; outline-offset: -3px; }
.on-sale-media { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: #1b1410; }
.on-sale-media img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .2s ease; }
.on-sale-card-link:hover .on-sale-media img, .on-sale-card-link:focus-visible .on-sale-media img { transform: scale(1.015); }
.on-sale-copy h3 { margin: 0; font-size: 1.15rem; line-height: 1.25; }
.on-sale-copy { display: flex; flex: 1; flex-direction: column; align-items: center; gap: 14px; padding: 18px; text-align: center; }
.on-sale-price { display: grid; justify-items: center; gap: 6px; margin: 0; }
.on-sale-price-original { color: #8e7d6f; font-size: .88rem; text-decoration: line-through; text-decoration-thickness: 1.5px; }
.on-sale-price strong { color: #6d3b1e; font-size: 1.25rem; }
.on-sale-button { margin-top: auto; pointer-events: none; }

/* On the dark sale bands, match the cards to the section instead of reusing
   the cream cards from the light bands. Keep this scoped to even sale groups. */
.on-sale-page .on-sale-group:nth-child(even) .on-sale-card {
  border-color: rgba(214, 161, 92, .38);
  background: linear-gradient(145deg, #29202c, #231b20);
  color: #f3dfc2;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .28);
}
.on-sale-page .on-sale-group:nth-child(even) .on-sale-price-original {
  color: #d4c0a7;
}
.on-sale-page .on-sale-group:nth-child(even) .on-sale-price strong {
  color: #f0bb67;
}
.on-sale-page .on-sale-group:nth-child(even) .on-sale-button {
  border-color: #d6a15c !important;
  background: #d6a15c !important;
  color: #211b15 !important;
}
.on-sale-page .on-sale-group:nth-child(even) .on-sale-card-link:hover .on-sale-button,
.on-sale-page .on-sale-group:nth-child(even) .on-sale-card-link:focus-visible .on-sale-button {
  border-color: #edbb79 !important;
  background: #edbb79 !important;
}

.on-sale-page .on-sale-global-terms { padding-block: clamp(52px,6vw,84px); border-top: 2px solid rgba(214,160,90,.36); color: #f3dfc2;}
.on-sale-global-terms-inner { max-width: 1100px; margin-inline: auto; }
.on-sale-global-terms h2 { margin: 6px 0 22px; font-size: clamp(1.85rem,3vw,2.8rem); }
.on-sale-global-terms-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 36px; }
.on-sale-global-terms-grid p { margin: 0 0 18px; color: rgba(255,244,227,.78); line-height: 1.7; }
.on-sale-global-terms .eyebrow { color: #d9a35f; }

/* The final banner continues the dark/light rhythm for any number of live sales.
   Zero sales: dark hero, light empty state, dark terms.
   Odd sales: final sale light, dark terms; even sales: final sale dark, light terms. */
.on-sale-page:has(.on-sale-groups > .on-sale-group:last-child:nth-child(even)) .on-sale-global-terms {
  color: #211b15 !important;

}
.on-sale-page:has(.on-sale-groups > .on-sale-group:last-child:nth-child(even)) .on-sale-global-terms h2 {
  color: #211b15 !important;
}
.on-sale-page:has(.on-sale-groups > .on-sale-group:last-child:nth-child(even)) .on-sale-global-terms-grid p {
  color: #403328 !important;
}
.on-sale-page:has(.on-sale-groups > .on-sale-group:last-child:nth-child(even)) .on-sale-global-terms .eyebrow {
  color: #70451c !important;
}

.on-sale-empty {
  max-width: 720px;
  margin: 42px auto 0;
  border: 1px solid rgba(102, 63, 34, .16);
  border-radius: 18px;
  padding: clamp(28px, 5vw, 46px);
  text-align: center;
  background: rgba(255, 252, 246, .88);
}

.on-sale-empty h2 {
  margin-bottom: 10px;
}

.on-sale-empty > p:not(.mini-label) {
  max-width: 580px;
  margin: 0 auto 22px;
  color: #74665a;
  line-height: 1.65;
}

@media (max-width: 1100px) {
  .on-sale-grid > .on-sale-card {
    flex-basis: calc((100% - var(--sale-card-gap)) / 2);
    max-width: calc((100% - var(--sale-card-gap)) / 2);
  }
}
@media (max-width: 700px) {
  .on-sale-grid > .on-sale-card {
    flex-basis: 100%;
    max-width: 100%;
  }
  .on-sale-banner-terms, .on-sale-global-terms-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .on-sale-page .on-sale-hero { padding: 52px 0 56px; }
  .on-sale-group { padding-block: 38px; }
  .on-sale-group-banner { padding: 22px 18px; }
  .on-sale-copy { padding: 18px; }
}

/* The shared stylesheet owns all sale-band surfaces; this block retains only
   hero spacing, typography and borders. */
.on-sale-page .on-sale-hero {
  color: #f8ead7;

  backdrop-filter: blur(2px);
  border-bottom: 1px solid rgba(214, 160, 90, .18);
}

.on-sale-page .on-sale-section {
  color: var(--ink);

}

.on-sale-page .on-sale-hero .eyebrow {
  color: #d5a05a;
}

.on-sale-page .on-sale-hero h1 {
  color: #f3dfc2;
}

.on-sale-page .on-sale-hero-intro {
  color: rgba(255, 244, 227, .78);
}
