/* Black Friday sale overlay. Hidden unless JS adds .bf-sale-on to <html>.
   No-JS visitors see regular prices and no banner. After 2026-11-30 23:59
   America/Denver, the script does nothing and regular prices stay up. */

.bf-banner {
  display: none;
  background: #c2410c;
  color: #fffdfb;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.35;
}

html.bf-sale-on .bf-banner {
  display: block;
  position: relative;
  z-index: 60;
}

.bf-banner-inner {
  width: min(76rem, calc(100% - 2 * var(--gutter, 1.25rem)));
  margin: 0 auto;
  padding: 0.65rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 1rem;
  text-align: center;
}

.bf-banner p {
  margin: 0;
  font-weight: 600;
}

.bf-banner a {
  color: #fffdfb;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 2px;
}

.bf-banner a:hover {
  color: #f6e4d8;
}

html.bf-sale-on .site-header {
  top: 0;
}

.bf-price {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35em 0.55em;
}

.bf-price .bf-was {
  color: var(--ink-3, #5e564e);
  font-weight: 500;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--ink-3, #5e564e);
}

.bf-price .bf-now {
  color: var(--accent, #c2410c);
  font-weight: 750;
}

.bf-sale-note {
  display: none;
  margin: 0.75rem 0 0;
  color: var(--ink-2, #3a342e);
  font-size: 0.95rem;
}

html.bf-sale-on .bf-sale-note {
  display: block;
}


/* After the sale ends, show the dated "this offer ended" note. Hidden during the sale and with no JS. */
.bf-ended-note { display: none; }
html.bf-sale-ended .bf-ended-note { display: block; }


/* Sale-only CTAs: hidden with no JS and after the sale ends. */
.bf-sale-only { display: none; }
html.bf-sale-on .bf-sale-only { display: block; }
