/* Race Weekend additions use the existing BAM palette and typography. */
[data-race-campaign][hidden], .race-promo-control [hidden] { display: none !important; }
.race-announcement {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 4px 8px; min-height: 40px; padding: 9px 20px;
  background: #05080c; color: #eef4fb; border-bottom: 1px solid #078fff80;
  text-align: center; font: 600 13px/1.5 "Aptos", "Segoe UI", system-ui, sans-serif;
  text-decoration: none; letter-spacing: .035em;
}
.race-announcement strong { color: #48b4ff; }
.race-announcement:hover { background: #0b1b2a; }
.race-announcement:focus-visible, .race-cta:focus-visible { outline: 3px solid #48b4ff; outline-offset: -3px; }
.race-weekend {
  --race-blue: #48b4ff; --race-silver: #b7c1ce;
  max-width: 1600px; margin: 0 auto; padding: 64px 5%;
  background: radial-gradient(ellipse at 15% 50%, #092a4750, transparent 58%), #0b0e13;
  border-top: 1px solid #078fff65; border-bottom: 1px solid #ffffff20;
  color: #f6f8fc; font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
}
.race-promo-grid { display: grid; grid-template-columns: minmax(0,.84fr) minmax(0,1.16fr); align-items: center; gap: clamp(28px,5vw,78px); }
.race-flyer { margin: 0; min-width: 0; }
.race-flyer img { display: block; width: 100%; max-width: 520px; height: auto; margin: auto; object-fit: contain; border: 1px solid #48b4ff50; box-shadow: 0 0 38px #078fff26; }
.race-copy { min-width: 0; }
.race-eyebrow { margin: 0 0 14px; color: var(--race-blue, #48b4ff); font: italic 900 clamp(18px,1.8vw,26px)/1.25 "Arial Black", "Segoe UI", sans-serif; letter-spacing: .065em; }
.race-headline { margin: 0 0 22px; color: #fff; font: italic 900 clamp(50px,6.7vw,104px)/.98 "Arial Black", "Segoe UI", sans-serif; letter-spacing: -.055em; }
.race-headline span { display: block; color: #48b4ff; text-shadow: 0 0 28px #078fff30; }
.race-headline small { display: block; margin-top: 12px; font: italic 800 clamp(21px,2.8vw,38px)/1.12 "Arial Black", "Segoe UI", sans-serif; letter-spacing: -.025em; }
.race-sponsor { font-size: clamp(17px,1.6vw,22px); line-height: 1.45; margin: 0 0 16px; }
.race-sponsor strong { color: #fff; }
.race-description { margin: 0 0 22px; color: #b7c1ce; font-size: 16px; line-height: 1.65; max-width: 560px; }
.race-dates { display: inline-block; margin: 0 0 22px; padding: 9px 0 9px 16px; border-left: 3px solid #48b4ff; font-size: clamp(17px,1.7vw,22px); font-weight: 750; letter-spacing: .08em; }
.race-choices { margin: 0 0 18px; color: #b7c1ce; font-size: 16px; line-height: 1.8; }
.race-tagline { margin: 0 0 24px; font-size: 14px; font-weight: 800; letter-spacing: .1em; }
.race-cta { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; max-width: 100%; padding: 16px 24px; border: 1px solid #48b4ff; border-radius: 4px; background: linear-gradient(120deg,#129aff,#0678d7); color: #fff; font-size: 16px; font-weight: 800; line-height: 1.4; text-decoration: none; text-align: center; box-shadow: 0 8px 28px #078fff20; }
.race-cta:hover { background: #168ee8; }
.race-code { margin: 14px 0 18px; color: #b7c1ce; font-size: 14px; letter-spacing: .09em; }
.race-code strong { color: #fff; font-size: 17px; }
.race-terms { margin: 0; color: #b7c1ce; font-size: 13px; line-height: 1.6; }
.race-config-banner { max-width: 1600px; margin: auto; padding: 24px 5%; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 28px; color: #fff; background: linear-gradient(110deg,#0e2337,#0a1019 75%); border-block: 1px solid #078fff65; }
.race-config-banner p { margin: 0; }
.race-config-banner .race-eyebrow { margin-bottom: 8px; font-size: 17px; }
.race-config-banner h2 { margin: 0; font: italic 850 clamp(20px,2.3vw,32px)/1.2 "Arial Black", "Segoe UI", sans-serif; letter-spacing: -.025em; }
.race-config-details { display: flex; flex-wrap: wrap; gap: 9px 20px; align-items: center; font-size: 15px; font-weight: 700; }
.race-config-details strong { color: #48b4ff; }
.race-promo-control { margin: 0 0 24px; padding: 0 0 20px; border-bottom: 1px solid #ffffff26; }
.race-promo-control label { display: block; margin: 0 0 8px; color: #fff; font-size: 15px; font-weight: 600; }
.race-promo-entry { display: flex; gap: 8px; }
.race-promo-entry input { width: 100%; flex: 1; min-width: 0; padding: 11px; font-size: 16px; text-transform: uppercase; }
.race-promo-entry button, .race-promo-remove { min-height: 44px; padding: 10px 14px; font-size: 14px; background: #0c263b; border: 1px solid #078fff; color: #fff; }
.race-promo-control .race-promo-help, .race-promo-control #promoMessage { margin: 9px 0 0; font-size: 13px; line-height: 1.5; color: #bdc9d7; }
.race-promo-control #promoMessage[data-kind="success"] { color: #67c5ff; }
.race-promo-control #promoMessage[data-kind="error"] { color: #ffbdab; }
.race-promo-remove { margin-top: 10px; background: transparent; border-color: #ffffff40; }
.order-card .race-price-breakdown { border: 0; padding: 0; margin: 0 0 18px; }
.order-card .race-price-breakdown > div { font-size: 14px; line-height: 1.5; }
.race-price-breakdown dd { text-align: right; font-variant-numeric: tabular-nums; }
.race-discount-line { color: #67c5ff; }
.race-discount-line dt { color: inherit !important; }
.race-review-row { display: flex; justify-content: space-between; gap: 18px; font-size: 14px; line-height: 1.5; padding: 7px 0; }
.race-review-row b { text-align: right; }
@media (max-width: 1050px) {
  .race-weekend { padding: 38px 5%; }
  .race-promo-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 0; max-width: 650px; margin: auto; }
  .race-copy { display: contents; }
  .race-eyebrow { order: 0; }
  .race-headline { order: 1; font-size: clamp(50px,10vw,86px); }
  .race-headline small { font-size: clamp(22px,5vw,36px); }
  .race-dates { order: 2; align-self: flex-start; }
  .race-cta { order: 3; width: 100%; }
  .race-code { order: 4; }
  .race-flyer { order: 5; width: 100%; margin: 12px 0 28px; }
  .race-sponsor { order: 6; }
  .race-description { order: 7; }
  .race-choices { order: 8; }
  .race-tagline { order: 9; }
  .race-terms { order: 10; }
}
@media (max-width: 480px) {
  .race-announcement { font-size: 12px; padding: 8px 14px; gap: 2px 5px; }
  .race-weekend { padding: 30px 20px; }
  .race-cta { font-size: 14px; padding: 14px 12px; }
  .race-config-banner { padding: 20px; }
  .race-config-details { font-size: 14px; }
}
