/* Black Friday banner. Delete this whole file after Monday 30 November 2026
   (see the BLACK FRIDAY START/END block in each HTML page). */
.bf-banner {
  --bf-navy: #132D4D;
  --bf-navy-2: #1D3B63;
  --bf-coral: #FE5757;
  --bf-coral-text: #FF8A8A;
  --bf-muted: #C9D4E3;
  box-sizing: border-box;
  width: 100%;
  background: var(--bf-navy);
  color: #fff;
  border-bottom: 4px solid var(--bf-coral);
  font-family: var(--font-family);
}
.bf-banner *, .bf-banner *::before, .bf-banner *::after { box-sizing: border-box; }
.bf-inner {
  max-width: 1440px;
  margin: 0 auto;
  min-height: 80px;
  padding: 12px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.bf-offer { display: flex; align-items: center; gap: 14px; }
.bf-pill {
  background: var(--bf-coral);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.bf-headline { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.bf-headline strong {
  font-weight: 800;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -.01em;
}
.bf-headline span { font-size: 14px; font-weight: 500; color: var(--bf-muted); }

.bf-countdown { display: flex; align-items: center; gap: 12px; padding-left: 28px; border-left: 1px solid #2E4A6E; }
.bf-countdown-label { font-size: 14px; font-weight: 700; color: var(--bf-coral-text); line-height: 1.2; }
.bf-tiles { display: flex; gap: 8px; }
.bf-tile {
  display: flex; flex-direction: column; align-items: center;
  background: var(--bf-navy-2); border-radius: 10px; padding: 5px 0; width: 52px;
}
.bf-num { font-weight: 800; font-size: 22px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.bf-unit { font-size: 11px; font-weight: 700; color: var(--bf-muted); }

.bf-code {
  display: flex; align-items: center; gap: 12px;
  background: transparent; color: #fff; cursor: pointer;
  border: 2px dashed var(--bf-coral-text); border-radius: 12px;
  padding: 0 8px 0 16px; height: 48px; font: inherit;
  margin-left: 0;
}
.bf-code-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.bf-code-label { font-size: 11px; font-weight: 700; color: var(--bf-muted); }
.bf-code-value { font-weight: 800; font-size: 18px; letter-spacing: .06em; }
.bf-copy {
  background: #fff; color: var(--bf-navy); font-weight: 700; font-size: 13px;
  padding: 6px 12px; border-radius: 999px; min-width: 56px; text-align: center;
}

.bf-cta {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--bf-coral); color: #fff; text-decoration: none;
  font-weight: 800; font-size: 17px;
  height: 48px; padding: 0 26px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(254, 87, 87, .35);
  transition: background-color .2s ease, transform .12s ease;
}
.bf-cta:hover { background: #E84A4A; }
.bf-cta:active { transform: scale(.98); }
.bf-code:hover { border-color: #fff; }
.bf-cta:focus-visible, .bf-code:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.bf-sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Narrow laptops and tablets: drop the sub-line, tighten spacing */
@media (max-width: 1200px) {
  .bf-inner { padding: 12px 24px; gap: 20px; }
  .bf-headline span { display: none; }
  .bf-countdown { padding-left: 20px; }
}

/* Small laptops and tablets: the single row no longer fits, so split it
   into two centred rows (offer + countdown, then code + button). */
@media (min-width: 761px) and (max-width: 1340px) {
  .bf-inner { flex-wrap: wrap; row-gap: 10px; }
  .bf-inner::after { content: ""; flex-basis: 100%; order: 1; }
  .bf-code, .bf-cta { order: 2; }
  .bf-headline strong { font-size: 22px; white-space: nowrap; }
  .bf-headline span { display: block; }
}

/* Phones: two rows */
@media (max-width: 760px) {
  .bf-inner {
    flex-wrap: wrap; padding: 14px 16px; gap: 12px;
    justify-content: space-between;
  }
  .bf-offer { flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; }
  .bf-headline span { display: block; font-size: 13px; }
  .bf-headline strong { font-size: 22px; }
  .bf-pill { font-size: 12px; padding: 4px 12px; }
  .bf-countdown { width: 100%; border-left: 0; padding-left: 0; gap: 8px; }
  .bf-tiles { gap: 6px; }
  .bf-tile { width: auto; flex-direction: row; align-items: baseline; gap: 3px; padding: 3px 8px; border-radius: 8px; }
  .bf-num { font-size: 16px; }
  .bf-unit { font-size: 12px; }
  .bf-code { flex: 1; height: 44px; padding: 0 6px 0 12px; justify-content: space-between; }
  .bf-code-label { display: none; }
  .bf-code-value { font-size: 14px; }
  .bf-cta { height: 44px; padding: 0 22px; font-size: 16px; }
  .bf-cta svg { display: none; }
}

/* Very narrow phones: button gets its own full-width row */
@media (max-width: 360px) {
  .bf-cta { flex: 1 0 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .bf-cta { transition: none; }
}

/* Fit with the site header. The banner sits in normal flow above the header
   and scrolls away. The header is normally fixed to the top of the screen,
   which would cover the banner, so while the offer is live (.bf-on is set on
   <html> by the banner script) it becomes sticky instead: it starts just
   below the banner, then stays at the top once the banner has scrolled off.
   The negative margin stops it pushing the page content down. */
.bf-on .site-header {
  position: sticky;
  margin-bottom: calc(-1 * var(--header-height));
}

/* Phone menu open: hide the banner so the menu panel fills the screen. */
html:has(.nav-links.active) .bf-banner { display: none; }
