/* BF 2026 — homepage hero slide (.sr-slide-bf26). Enqueued on the front page only while the
 * campaign is live (sandbox connector). Same palette and type as the /promotions/ hero
 * (bf2026.css), rewritten as bf26h-* so it never depends on that file.
 * Every selector is scoped to .stherb-redesign-home .sr-slide-bf26 except the two slider-dot
 * rules, which only apply while this slide is the active one.
 * plan: plans/black-friday-2026-promotion-banners-plan-2026-10-22.md (round 2) */

.stherb-redesign-home .sr-slide-bf26 {
  --slide-bg: #1E2A33;
  --bf-on-dark: #F7F1E6;
  --bf-on-dark-muted: #C9C6BE;
  --bf-ink: #221E18;
  --bf-accent: #1C6FAB;
  --bf-soft: #F1EADC;
  --bf-sky: #A9CDEB;
  color: var(--bf-on-dark);
  padding: 64px 0 72px;
  /* all slides share one grid cell, so this one is stretched to the tallest slide's
     height — centre the content instead of leaving the spare dark band underneath */
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stherb-redesign-home .sr-slide-bf26 > .sr-container { width: 100%; }

.stherb-redesign-home .sr-slide-bf26 .bf26h-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 56px;
  align-items: center;
}
.stherb-redesign-home .sr-slide-bf26 .bf26h-copy { display: grid; gap: 20px; align-content: start; }

.stherb-redesign-home .sr-slide-bf26 .bf26h-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bf-on-dark-muted);
}
.stherb-redesign-home .sr-slide-bf26 .bf26h-title {
  font-family: 'Cormorant', Georgia, serif;
  font-size: clamp(46px, 5.4vw, 78px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.005em;
  color: var(--bf-on-dark);
  margin: 0;
  text-wrap: balance;
}
.stherb-redesign-home .sr-slide-bf26 .bf26h-title em { font-style: italic; font-weight: 600; white-space: nowrap; }
.stherb-redesign-home .sr-slide-bf26 .bf26h-big { font-size: 1.32em; line-height: 1; display: inline-block; padding-bottom: .06em; }
.stherb-redesign-home .sr-slide-bf26 .bf26h-sub { font-size: 18px; line-height: 1.6; color: var(--bf-on-dark-muted); max-width: 30em; margin: 0; }

.stherb-redesign-home .sr-slide-bf26 .bf26h-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.stherb-redesign-home .sr-slide-bf26 .bf26h-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.stherb-redesign-home .sr-slide-bf26 .bf26h-btn-cream { background: var(--bf-on-dark); color: var(--bf-ink); }
.stherb-redesign-home .sr-slide-bf26 .bf26h-btn-cream:hover { background: #fff; color: var(--bf-ink); }
.stherb-redesign-home .sr-slide-bf26 .bf26h-btn-line { border-color: rgba(247, 241, 230, .55); color: var(--bf-on-dark); background: transparent; }
.stherb-redesign-home .sr-slide-bf26 .bf26h-btn-line:hover { border-color: var(--bf-on-dark); color: #fff; }

/* countdown */
.stherb-redesign-home .sr-slide-bf26 .bf26h-cdbox {
  margin-top: 8px;
  padding: 20px 22px 18px;
  border-radius: 22px;
  background: rgba(247, 241, 230, .06);
  border: 1px solid rgba(247, 241, 230, .16);
  display: grid;
  gap: 14px;
  max-width: 520px;
}
.stherb-redesign-home .sr-slide-bf26 .bf26h-cdbox-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.stherb-redesign-home .sr-slide-bf26 .bf26h-cdbox-label { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--bf-on-dark); }
.stherb-redesign-home .sr-slide-bf26 .bf26h-live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--bf-sky); animation: bf26h-pulse 1.8s ease-out infinite; }
@keyframes bf26h-pulse { 0% { box-shadow: 0 0 0 0 rgba(169, 205, 235, .6); } 100% { box-shadow: 0 0 0 10px rgba(169, 205, 235, 0); } }
.stherb-redesign-home .sr-slide-bf26 .bf26h-cdbox-end { font-size: 13px; color: var(--bf-on-dark-muted); }
.stherb-redesign-home .sr-slide-bf26 .bf26h-cd { display: flex; align-items: flex-start; gap: 8px; }
.stherb-redesign-home .sr-slide-bf26 .bf26h-cd-cell { flex: 1 1 0; min-width: 0; display: grid; justify-items: center; gap: 6px; }
.stherb-redesign-home .sr-slide-bf26 .bf26h-cd-cell b {
  display: block;
  width: 100%;
  padding: 10px 0 8px;
  border-radius: 14px;
  background: var(--bf-on-dark);
  color: var(--bf-ink);
  text-align: center;
  font-family: 'Cormorant', Georgia, serif;
  font-size: 54px;
  line-height: 1;
  font-weight: 700;
  font-variant-numeric: tabular-nums lining-nums;
  box-shadow: inset 0 -3px 0 rgba(30, 42, 51, .12);
}
.stherb-redesign-home .sr-slide-bf26 .bf26h-cd-cell span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--bf-on-dark-muted); font-weight: 700; }
.stherb-redesign-home .sr-slide-bf26 .bf26h-cd-sep { font-family: 'Cormorant', Georgia, serif; font-size: 42px; line-height: 1; font-weight: 700; color: var(--bf-on-dark-muted); padding-top: 12px; }
.stherb-redesign-home .sr-slide-bf26 .bf26h-cd-prog { display: grid; gap: 8px; }
.stherb-redesign-home .sr-slide-bf26 .bf26h-cd-track { height: 8px; border-radius: 999px; background: rgba(247, 241, 230, .14); overflow: hidden; }
.stherb-redesign-home .sr-slide-bf26 .bf26h-cd-fill { height: 100%; border-radius: 999px; background: var(--bf-sky); }
.stherb-redesign-home .sr-slide-bf26 .bf26h-cd-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--bf-on-dark-muted); }
.stherb-redesign-home .sr-slide-bf26 .bf26h-cd-meta strong { color: var(--bf-on-dark); }
.stherb-redesign-home .sr-slide-bf26 .bf26h-cdbox.is-urgent { background: rgba(28, 111, 171, .28); border-color: var(--bf-sky); }
.stherb-redesign-home .sr-slide-bf26 .bf26h-cdbox.is-urgent .bf26h-cd-cell b { background: #fff; color: var(--bf-accent); }
.stherb-redesign-home .sr-slide-bf26 .bf26h-cdbox.is-ended .bf26h-cd,
.stherb-redesign-home .sr-slide-bf26 .bf26h-cdbox.is-ended .bf26h-cd-prog,
.stherb-redesign-home .sr-slide-bf26 .bf26h-cdbox.is-ended .bf26h-live-dot { display: none; }

/* art: arch + floor + 14980 cut-out + seal */
.stherb-redesign-home .sr-slide-bf26 .bf26h-art { position: relative; display: block; height: 480px; }
.stherb-redesign-home .sr-slide-bf26 .bf26h-arch { position: absolute; inset: 0 30px; border-radius: 260px 260px 28px 28px; background: var(--bf-soft); }
.stherb-redesign-home .sr-slide-bf26 .bf26h-arch-floor { position: absolute; left: 30px; right: 30px; bottom: 0; height: 116px; border-radius: 0 0 28px 28px; background: #E9DFCC; }
.stherb-redesign-home .sr-slide-bf26 .bf26h-img { position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%); height: 86%; width: auto; max-width: calc(100% - 72px); aspect-ratio: 1 / 1; object-fit: contain; }
.stherb-redesign-home .sr-slide-bf26 .bf26h-seal { position: absolute; top: 0; right: 0; width: 140px; height: 140px; border-radius: 50%; background: var(--bf-accent); color: #fff; display: grid; place-items: center; text-align: center; box-shadow: 0 18px 40px rgba(10, 20, 30, .35); }
.stherb-redesign-home .sr-slide-bf26 .bf26h-seal span span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.stherb-redesign-home .sr-slide-bf26 .bf26h-seal b { display: block; font-family: 'Cormorant', Georgia, serif; font-size: 54px; line-height: .9; font-weight: 700; }

/* slider dots sit on the dark slide while it is active */
.stherb-redesign-home .sr-hero:has(.sr-slide-bf26.sr-active) .sr-dot { background: rgba(247, 241, 230, .35); }
.stherb-redesign-home .sr-hero:has(.sr-slide-bf26.sr-active) .sr-dot.sr-active { background: #F7F1E6; }

@media (prefers-reduced-motion: reduce) {
  .stherb-redesign-home .sr-slide-bf26 .bf26h-live-dot { animation: none; }
}

/* homepage-redesign.css stacks .sr-hero-grid at 900px — same breakpoint here */
@media (max-width: 900px) {
  .stherb-redesign-home .sr-slide-bf26 { padding: 40px 0 56px; }
  .stherb-redesign-home .sr-slide-bf26 .bf26h-grid { grid-template-columns: 1fr; gap: 28px; }
  .stherb-redesign-home .sr-slide-bf26 .bf26h-copy { gap: 16px; }
  .stherb-redesign-home .sr-slide-bf26 .bf26h-title { font-size: 44px; }
  .stherb-redesign-home .sr-slide-bf26 .bf26h-title em { white-space: normal; }
  .stherb-redesign-home .sr-slide-bf26 .bf26h-sub { font-size: 16px; }
  .stherb-redesign-home .sr-slide-bf26 .bf26h-art { height: 320px; max-width: 460px; width: 100%; margin: 0 auto; }
  .stherb-redesign-home .sr-slide-bf26 .bf26h-seal { width: 104px; height: 104px; }
  .stherb-redesign-home .sr-slide-bf26 .bf26h-seal b { font-size: 40px; }
  .stherb-redesign-home .sr-slide-bf26 .bf26h-seal span span { font-size: 10px; }
  /* compact countdown: progress row goes, digits shrink — keeps this slide from setting
     the whole hero's height on phones (all slides share one grid cell) */
  .stherb-redesign-home .sr-slide-bf26 .bf26h-cdbox { padding: 14px 14px 12px; gap: 10px; border-radius: 18px; }
  .stherb-redesign-home .sr-slide-bf26 .bf26h-cd-prog { display: none; }
  .stherb-redesign-home .sr-slide-bf26 .bf26h-cd { gap: 4px; }
  .stherb-redesign-home .sr-slide-bf26 .bf26h-cd-cell b { font-size: 34px; padding: 8px 0 6px; border-radius: 10px; }
  .stherb-redesign-home .sr-slide-bf26 .bf26h-cd-cell span { font-size: 10px; letter-spacing: .12em; }
  .stherb-redesign-home .sr-slide-bf26 .bf26h-cd-sep { font-size: 28px; padding-top: 8px; }
  .stherb-redesign-home .sr-slide-bf26 .bf26h-cdbox-label,
  .stherb-redesign-home .sr-slide-bf26 .bf26h-cdbox-end { font-size: 11px; }
}
@media (max-width: 560px) {
  .stherb-redesign-home .sr-slide-bf26 .bf26h-title { font-size: 40px; }
  .stherb-redesign-home .sr-slide-bf26 .bf26h-cta .bf26h-btn { flex: 1 1 100%; }
  .stherb-redesign-home .sr-slide-bf26 .bf26h-art { height: 280px; }
  .stherb-redesign-home .sr-slide-bf26 .bf26h-arch { inset: 0 12px; }
  .stherb-redesign-home .sr-slide-bf26 .bf26h-arch-floor { left: 12px; right: 12px; height: 76px; }
  .stherb-redesign-home .sr-slide-bf26 .bf26h-img { max-width: calc(100% - 36px); }
}
