/* BNW Black Friday "Midnight" palette — near-black + warm gold. Active only when <html> has .bnwbf-midnight */
html.bnwbf-midnight{--bfm-ink:#111111;--bfm-ink2:#1A1A1A;--bfm-ink3:#262626;--bfm-gold:#E2B867;--bfm-gold-dk:#9C6F22;--bfm-cream:#F7F4EE}

/* 1) Black Friday page sections: swap the forest-green tokens for black, gold stays the accent */
html.bnwbf-midnight .bnwbf{--bf-green-dd:#0F0F0F;--bf-green-dk:#171717;--bf-green:#1A1A1A;--bf-gold:#9C6F22;--bf-gold-lt:#E2B867;--bf-red:#D2553F;--bf-soft:#F7F4EE;--bf-soft2:#EFEAE1;--bf-line:#E5DED2}
html.bnwbf-midnight .bnwbf.bnwbf-hub,html.bnwbf-midnight .bnwbf.bnwbf-offer{background-image:radial-gradient(rgba(226,184,103,.10) 1px,transparent 1.2px)}
html.bnwbf-midnight .bnwbf.bnwbf-hub{background-color:#0F0F0F;box-shadow:inset 0 -1px 0 rgba(226,184,103,.18)}
html.bnwbf-midnight .bnwbf .bnwbf-h1 em{color:var(--bfm-gold)}
html.bnwbf-midnight .bnwbf-eyebrow{color:var(--bfm-gold-dk)}
html.bnwbf-midnight .bnwbf-hub .bnwbf-eyebrow,html.bnwbf-midnight .bnwbf-sec--dark .bnwbf-eyebrow,html.bnwbf-midnight .bnwbf-offer .bnwbf-eyebrow{color:var(--bfm-gold)}
html.bnwbf-midnight .bnwbf .bnwbf-cd__u{border-color:rgba(226,184,103,.35)}
html.bnwbf-midnight .bnwbf .bnwbf-cd__v{color:#fff}
/* sticky tabs */
html.bnwbf-midnight .bnwbf.bnwbf-tabs{background:#0F0F0F;border-bottom-color:rgba(226,184,103,.18)}
/* primary buttons: gold on dark sections, black on light sections */
html.bnwbf-midnight .bnwbf-btn--dark{background:#111;border-color:#111;color:#fff}
html.bnwbf-midnight .bnwbf-btn--dark:hover{background:#000;border-color:#000}
html.bnwbf-midnight .bnwbf-hub .bnwbf-btn--light,html.bnwbf-midnight .bnwbf-sec--dark .bnwbf-btn--light,html.bnwbf-midnight .bnwbf-offer .bnwbf-btn--light,html.bnwbf-midnight .bnwbf-cta .bnwbf-btn--light{background:var(--bfm-gold);border-color:var(--bfm-gold);color:#111}
html.bnwbf-midnight .bnwbf-bigticket__cta{background:#111;color:var(--bfm-gold)}
html.bnwbf-midnight .bnwbf-code__copy{color:#111}
/* light sections get a warm off-white instead of the green-grey */
html.bnwbf-midnight .bnwbf-sec--sand,html.bnwbf-midnight .bnwbf-sec--soft{background:var(--bfm-cream)}
html.bnwbf-midnight .bnwbf-tier.is-active,html.bnwbf-midnight .bnwbf-cat.is-on,html.bnwbf-midnight .bnwbf-step.is-on{background:#111;border-color:#111;color:#fff}
html.bnwbf-midnight .bnwbf-badge--bf{background:#111;color:var(--bfm-gold)}
html.bnwbf-midnight .bnwbf-bar__fill{background:linear-gradient(90deg,#111,#3a3a3a)}
html.bnwbf-midnight .bnwbf-tier__pct,html.bnwbf-midnight .bnwbf-gd__stats b{color:#111}

/* 2) Announcement bar */
html.bnwbf-midnight .announcement-bar-section{background:#0B0B0B!important;color:#fff!important;border-bottom:1px solid rgba(226,184,103,.22)}
html.bnwbf-midnight .announcement-bar-section a:hover{color:var(--bfm-gold)!important}

/* 3) Home countdown banner */
html.bnwbf-midnight .countdown-sale__overlay{background:linear-gradient(90deg,rgba(0,0,0,.82) 0%,rgba(0,0,0,.55) 45%,rgba(0,0,0,.15) 100%)!important}
html.bnwbf-midnight .countdown-sale__heading{color:#fff!important}
html.bnwbf-midnight .countdown-sale__button{background:var(--bfm-gold)!important;border-color:var(--bfm-gold)!important;color:#111!important}
html.bnwbf-midnight .countdown-sale__button:hover{background:#EBC783!important}
html.bnwbf-midnight .countdown-sale__unit{background:rgba(0,0,0,.45);border:1px solid rgba(226,184,103,.4);border-radius:6px;padding:6px 10px}
html.bnwbf-midnight .countdown-sale__number{color:var(--bfm-gold)!important}

/* 4) Product page promo bar */
html.bnwbf-midnight .bnwbf-pdp-promo{background:#111;border-color:#111;color:#fff}
html.bnwbf-midnight .bnwbf-pdp-promo:hover{background:#000}
html.bnwbf-midnight .bnwbf-pdp-promo__txt b,html.bnwbf-midnight .bnwbf-pdp-promo__arrow{color:var(--bfm-gold)}
html.bnwbf-midnight .bnwbf-pdp-promo__dot{background:var(--bfm-gold);box-shadow:0 0 0 4px rgba(226,184,103,.25)}
html.bnwbf-midnight .bnwbf-btn--gold{background:var(--bfm-gold);border-color:var(--bfm-gold);color:#111}
html.bnwbf-midnight .bnwbf-btn--gold:hover{background:#EBC783;border-color:#EBC783}

/* 5) Product-card Black Friday badge (blocks/product-card/badges.html) — visible only during the sale window */
.bnw-bf-badge{display:none!important}
html.bnwbf-sale .bnw-bf-badge{display:inline-flex!important;align-items:center;background:#111!important;color:#E2B867!important;border:1px solid rgba(226,184,103,.6);letter-spacing:.06em;white-space:nowrap}
html:not(.bnwbf-sale) .product-card__badges.bnw-bf-badges:not(:has(> :not(.bnw-bf-badge))){display:none}
@media (max-width:749px){
  html.bnwbf-sale .product-card__badges.bnw-bf-badges{flex-direction:column;align-items:flex-start;gap:4px}
  html.bnwbf-sale .bnw-bf-badge{font-size:10px;letter-spacing:.04em}
}

/* 6) Smaller product-card badges on desktop (every badge, every page) */
@media (min-width:750px){
  .product-card__badges{gap:4px!important}
  .product-card__badge{font-size:11px!important;line-height:1.2!important;padding:3px 7px!important;letter-spacing:.04em!important}
  .bnwbf-badges{gap:4px;top:8px;left:8px}
  .bnwbf-badge,.bnwbf-sc__badge{font-size:10px!important;line-height:1.2!important;padding:3px 6px!important;letter-spacing:.04em!important}
}
