/* ============================================================
   CARRERA DE LA TUNA 2026 — Premium Style Sheet
   Apple-inspired minimalist design system
   ============================================================ */

/* ------------------------------------------------------------
   1. Custom Properties
   ------------------------------------------------------------ */
:root {
  --color-bg: #ffffff;
  --color-bg-soft: #f5f5f7;
  --color-bg-warm: #faf8f5;
  --color-text: #1d1d1f;
  --color-text-secondary: #6e6e73;
  --color-border: #d2d2d7;
  --color-action: #0071e3;
  --color-action-hover: #0077ed;
  --color-green: #276c20;
  --color-green-bg: #eef8e9;
  --color-sale: #bf4800;
  --color-gold: #f5a623;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --font-stack: -apple-system, BlinkMacSystemFont, 'SF Pro Display',
    'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;

  --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Carrusel de reseñas compartido con Carrera del Globo */
.rx-resenas { width: 100%; min-width: 0; padding: 54px 20px 60px; box-sizing: border-box; background: #ffffff; }
.rx-resenas__inner { width: 100%; max-width: 1120px; min-width: 0; margin: 0 auto; }
.rx-resenas__head { min-width: 0; margin-bottom: 26px; text-align: center; }
.rx-resenas__eyebrow { display: block; margin-bottom: 8px; color: #6E6E73; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.rx-resenas__head h2 { margin: 0; color: #20386F; font-size: clamp(1.35rem, 3vw, 1.9rem); font-weight: 700; letter-spacing: -.01em; }
.rx-resenas__viewport { position: relative; min-width: 0; }
.rx-resenas__track { display: flex; min-width: 0; max-width: 100%; gap: 16px; padding: 6px 2px 10px; overflow-x: auto; outline: none; scroll-behavior: smooth; scrollbar-width: none; scroll-snap-type: x mandatory; }
.rx-resenas__track::-webkit-scrollbar { display: none; }
.rx-resena { flex: 0 0 442px; margin: 0; padding: 16px; border: 1px solid #D2D2D7; border-radius: 18px; background: #ffffff; box-shadow: 0 4px 16px rgba(22,50,92,.06); scroll-snap-align: start; transition: box-shadow .25s ease, transform .25s ease; }
.rx-resena:hover { box-shadow: 0 10px 26px rgba(22,50,92,.12); transform: translateY(-2px); }
.rx-resena__zoom { display: block; width: 100%; padding: 0 !important; border: 0 !important; border-radius: 10px !important; background: transparent !important; cursor: zoom-in; }
.rx-resena__zoom:focus-visible { outline: 3px solid #0071E3; outline-offset: 4px; }
.rx-resena img { display: block; width: 100%; height: 247px; object-fit: contain; object-position: center; border-radius: 10px; background: #F5F5F7; }
.rx-resenas__nav { position: absolute; top: 50%; z-index: 2; display: flex !important; align-items: center; justify-content: center; width: 40px; height: 40px; margin-top: -20px; padding: 0 !important; border: 1px solid #D2D2D7 !important; border-radius: 50% !important; background: rgba(255,255,255,.96) !important; box-shadow: 0 6px 18px rgba(22,50,92,.14) !important; cursor: pointer; transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease; }
.rx-resenas__nav::before { width: 9px; height: 9px; border-right: 2px solid #20386F; border-bottom: 2px solid #20386F; content: ''; }
.rx-resenas__nav--prev { left: -14px; }
.rx-resenas__nav--prev::before { margin-left: 3px; transform: rotate(135deg); }
.rx-resenas__nav--next { right: -14px; }
.rx-resenas__nav--next::before { margin-right: 3px; transform: rotate(-45deg); }
.rx-resenas__nav:hover { transform: scale(1.06); box-shadow: 0 10px 24px rgba(22,50,92,.2) !important; }
.rx-resenas__nav[disabled] { opacity: 0; pointer-events: none; }
.rx-resenas__dots { display: flex; min-width: 0; justify-content: center; gap: 4px; margin-top: 14px; }
.rx-resenas__dot { display: grid !important; place-items: center; width: 24px; height: 24px; padding: 0 !important; border: 0 !important; border-radius: 999px !important; background: transparent !important; cursor: pointer; }
.rx-resenas__dot::before { width: 7px; height: 7px; border-radius: 999px; background: #6E6E73; content: ''; transition: width .25s ease, background .25s ease; }
.rx-resenas__dot.is-active::before { width: 22px; background: #0071E3; }
.rx-resenas__dot:focus-visible { outline: 2px solid #0071E3; outline-offset: 1px; }
.rx-resenas__hint { margin: 12px 0 0; color: #6E6E73; font-size: .78rem; text-align: center; }
.rx-resena-modal { width: min(94vw, 1200px); max-width: 1200px; max-height: 94vh; margin: auto; padding: 56px 16px 16px; overflow: auto; border: 0; border-radius: 18px; background: #ffffff; box-shadow: 0 24px 80px rgba(0,0,0,.32); }
.rx-resena-modal::backdrop { background: rgba(5,12,24,.82); backdrop-filter: blur(4px); }
.rx-resena-modal__close { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: #F5F5F7 !important; color: #20386F; font-size: 26px; line-height: 1; cursor: pointer; }
.rx-resena-modal__image { display: block; width: auto; max-width: 100%; height: auto; max-height: calc(94vh - 72px); margin: 0 auto; object-fit: contain; }
body:has(.rx-resena-modal[open]) { overflow: hidden; }

@media (max-width: 1180px) {
  .rx-resenas__nav--prev { left: 4px; }
  .rx-resenas__nav--next { right: 4px; }
}

@media (max-width: 700px) {
  .rx-resenas { padding: 40px 0 46px; }
  .rx-resenas__head { padding: 0 20px; }
  .rx-resenas__track { gap: 12px; padding: 6px 20px 10px; scroll-padding-left: 20px; }
  .rx-resena { flex: 0 0 calc(100vw - 24px); padding: 10px; }
  .rx-resena img { height: 218px; }
  .rx-resenas__nav { display: none !important; }
  .rx-resena-modal { width: calc(100vw - 12px); max-height: calc(100vh - 12px); padding: 52px 8px 8px; border-radius: 14px; }
  .rx-resena-modal__image { width: 130%; max-width: none; max-height: none; touch-action: pan-x pan-y pinch-zoom; }
}

@media (prefers-reduced-motion: reduce) {
  .rx-resenas__track { scroll-behavior: auto; }
  .rx-resena { transition: none; }
}

/* ------------------------------------------------------------
   2. Global Reset & Base
   ------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  background-color: var(--color-bg);
  font-family: var(--font-stack);
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.5;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
}

a,
button,
input,
select,
textarea,
.choice-card,
.count-option,
.participant-tab {
  touch-action: manipulation;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

/* ------------------------------------------------------------
   3. Header  .site-header
   ------------------------------------------------------------ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0 1.5rem;
  height: 64px;
}

.header-logo img {
  height: 36px;
  width: auto;
}

.header-nav {
  display: flex;
  gap: 2rem;
  margin-left: auto;
  margin-right: 2rem;
}

.header-nav a {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.header-nav a:hover {
  color: var(--color-action);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  background-color: var(--color-action);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color var(--transition-fast);
  white-space: nowrap;
}

.header-cta:hover {
  background-color: var(--color-action-hover);
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-secondary);
  font-weight: 600;
  font-size: 0.875rem;
  margin-left: 1.5rem;
  white-space: nowrap;
}

.header-phone svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 0;
  color: var(--color-text);
  z-index: 110;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.site-header.mobile-open .mobile-menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.mobile-open .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.mobile-open .mobile-menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ------------------------------------------------------------
   4. Hero  .hero-section
   ------------------------------------------------------------ */
.hero-section {
  padding-top: 96px;
  padding-bottom: 3.5rem;
  background-color: var(--color-bg);
}

.hero-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--color-green-bg);
  color: var(--color-green);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: var(--radius-pill);
  padding: 10px 22px;
}

.hero-badge svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(2.1rem, 4.9vw, 3.8rem);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.03;
  text-wrap: balance;
  margin-top: 1.2rem;
  color: var(--color-text);
}

.hero-subtitle {
  max-width: 720px;
  margin: 1.35rem auto 0;
  color: var(--color-text-secondary);
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  line-height: 1.5;
  text-wrap: pretty;
}

.hero-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
  white-space: nowrap;
}

.hero-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--color-gold);
  font-size: 0.78rem;
}

.hero-stars svg {
  width: 0.78rem;
  height: 0.78rem;
  fill: var(--color-gold);
}

.hero-rating-text {
  color: var(--color-text-secondary);
  font-size: 0.76rem;
}

.hero-demand {
  color: var(--color-text-secondary);
  font-size: 0.76rem;
}

.hero-divider {
  width: 0;
  height: 14px;
  border: none;
}

.hero-urgency {
  display: grid;
  gap: clamp(1rem, 2.1vw, 1.65rem);
  max-width: 860px;
  margin: 2rem auto 0;
  padding: clamp(1.35rem, 3.2vw, 2.55rem);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: clamp(22px, 2.6vw, 32px);
  background:
    radial-gradient(circle at 50% -18%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.82) 31%, transparent 58%),
    radial-gradient(circle at 12% 20%, rgba(0, 113, 227, 0.12), transparent 34%),
    radial-gradient(circle at 88% 28%, rgba(231, 83, 28, 0.12), transparent 34%),
    linear-gradient(180deg, #f9fafc 0%, #edf1f6 100%);
  box-shadow: 0 22px 68px rgba(20, 38, 62, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-urgency::before {
  content: none;
}

.hero-stage {
  display: grid;
  gap: 0.45rem;
  justify-items: center;
  position: relative;
  z-index: 1;
}

.hero-stage span {
  color: #e7531c;
  font-size: clamp(0.68rem, 1.2vw, 0.88rem);
  font-weight: 900;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

.hero-stage strong {
  color: #152842;
  font-size: clamp(3.2rem, 8vw, 6rem);
  font-weight: 950;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  text-shadow: 0 12px 30px rgba(21, 40, 66, 0.1);
}

.hero-urgency-text {
  max-width: 640px;
  margin: 0 auto;
  color: #5f6a82;
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

.hero-urgency-text strong {
  color: #152842;
  font-weight: 900;
}

.hero-capacity-label {
  color: #152842;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-countdown {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.5rem, 1.6vw, 1rem);
  width: min(100%, 760px);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.countdown-days-copy {
  margin: -0.15rem 0 0;
  color: var(--text-muted);
  font-size: clamp(0.82rem, 1.35vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.countdown-days-copy strong {
  color: var(--text-main);
  font-size: 1.12em;
}

.hero-countdown > span {
  display: grid;
  gap: 0.1rem;
  place-items: center;
  min-width: 0;
  min-height: clamp(92px, 9vw, 128px);
  padding: clamp(0.65rem, 1.65vw, 1.05rem) 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: clamp(14px, 1.8vw, 20px);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.14), transparent 42%),
    linear-gradient(180deg, #101216 0%, #030407 100%);
  box-shadow: 0 15px 36px rgba(3, 4, 7, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  overflow: hidden;
  position: relative;
}

.hero-countdown strong {
  color: #ffffff;
  font-size: clamp(2.1rem, 5.2vw, 4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.hero-countdown small {
  color: #ffffff;
  font-size: clamp(0.62rem, 1.15vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-capacity {
  display: grid;
  gap: 1rem;
  padding: 0.85rem 0.1rem 0;
  border-top: 1px solid rgba(21, 40, 66, 0.08);
  position: relative;
  z-index: 1;
}

.hero-capacity-track {
  display: block;
  height: 13px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: rgba(21, 40, 66, 0.11);
  box-shadow: inset 0 1px 2px rgba(21, 40, 66, 0.08);
}

.hero-capacity-track span {
  display: block;
  width: 0;
  transition: width 300ms ease;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #20c66b, #0071e3);
  box-shadow: 0 0 18px rgba(0, 113, 227, 0.28);
}

.hero-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.35rem;
}

.hero-primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.35rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.hero-primary-cta {
  color: #ffffff;
  background-color: var(--color-action);
  box-shadow: 0 12px 28px rgba(0, 113, 227, 0.22);
}

.hero-primary-cta:hover {
  background-color: var(--color-action-hover);
  transform: translateY(-1px);
}

.hero-assurance {
  margin-top: 0.9rem;
  color: var(--color-text-secondary);
  font-size: 0.86rem;
  font-weight: 600;
}

/* ------------------------------------------------------------
   5. Product Section  .product-section
   ------------------------------------------------------------ */
.product-section {
  background-color: var(--color-bg-soft);
  padding: 4rem 1.5rem;
}

.product-price-strip {
  max-width: 860px;
  margin: 0 auto 1.35rem;
}

.price-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.price-option-card {
  display: grid;
  justify-items: center;
  align-items: center;
  align-content: center;
  gap: 0.25rem;
  min-width: 0;
  padding: clamp(0.95rem, 2.2vw, 1.35rem);
  border: 1px solid rgba(154, 164, 178, 0.34);
  border-radius: clamp(16px, 2vw, 22px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(21, 40, 66, 0.08);
  text-align: center;
}

.price-option-amount {
  color: var(--color-text);
  font-size: clamp(1.78rem, 4.25vw, 3.4rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.01em;
}

.price-option-label {
  color: #5c6474;
  font-size: clamp(0.75rem, 1.3vw, 0.98rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.transfer-registration-card {
  display: grid;
  gap: 0.48rem;
  margin-top: 0.9rem;
  padding: clamp(0.9rem, 2vw, 1.12rem);
  border: 1px solid rgba(39, 117, 54, 0.22);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(236, 253, 243, 0.94), rgba(248, 251, 255, 0.96));
  box-shadow: 0 14px 34px rgba(21, 40, 66, 0.07);
}

.transfer-registration-kicker {
  width: fit-content;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  background: rgba(39, 117, 54, 0.1);
  color: #277536;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.transfer-registration-card strong {
  color: var(--color-text);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.18;
}

.transfer-registration-card p {
  margin: 0;
  color: #5f6876;
  font-size: 0.92rem;
  line-height: 1.42;
}

.transfer-registration-card a {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  min-height: 42px;
  padding: 0.66rem 0.9rem;
  border-radius: 999px;
  background: #277536;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
  touch-action: manipulation;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.transfer-registration-card a:hover,
.transfer-registration-card a:focus-visible {
  background: #1f642d;
  box-shadow: 0 12px 24px rgba(39, 117, 54, 0.18);
  transform: translateY(-1px);
}

.product-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 3rem;
  align-items: start;
}

.product-inner > * {
  min-width: 0;
}

/* ------------------------------------------------------------
   6. Gallery  .gallery
   ------------------------------------------------------------ */
.gallery {
  position: relative;
  max-width: 100%;
}

.gallery-main-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  background-color: #f0f0f0;
}

.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background-color: #f0f0f0;
  width: 100%;
  height: 100%;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.gallery-slide.active {
  opacity: 1;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: var(--shadow-md);
  border: none;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow var(--transition-fast),
    transform var(--transition-fast);
}

.gallery-nav-btn:hover {
  box-shadow: var(--shadow-lg);
}

.gallery-nav-btn svg {
  width: 20px;
  height: 20px;
  color: var(--color-text);
}

.gallery-prev {
  left: 12px;
}

.gallery-next {
  right: 12px;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0;
}

.gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.gallery-thumb {
  flex: 0 0 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: opacity var(--transition-fast),
    border-color var(--transition-fast);
  scroll-snap-align: start;
}

.gallery-thumb.active {
  border-color: var(--color-action);
  opacity: 1;
}

.gallery-thumb:hover {
  opacity: 0.85;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ------------------------------------------------------------
   7. Product Info  .product-info
   ------------------------------------------------------------ */
.product-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
}

.info-date svg {
  width: 20px;
  height: 20px;
  color: var(--color-action);
  flex-shrink: 0;
}

a.info-location,
.info-location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.55rem 0.78rem;
  border: 1px solid rgba(31, 111, 229, 0.22);
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #f8fbff 0%, #eef6ff 100%);
  color: #1f6fe5 !important;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-color: rgba(31, 111, 229, 0.42);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  box-shadow: 0 10px 24px rgba(31, 111, 229, 0.08);
  touch-action: manipulation;
}

a.info-location span,
.info-location span {
  color: #1f6fe5 !important;
}

a.info-location:hover,
a.info-location:focus-visible,
.info-location:hover,
.info-location:focus-visible {
  color: #0b58ba !important;
  border-color: rgba(31, 111, 229, 0.38);
  background: #edf5ff;
  outline: none;
}

a.info-location:hover span,
a.info-location:focus-visible span,
.info-location:hover span,
.info-location:focus-visible span {
  color: #0b58ba !important;
}

a.info-location svg,
.info-location svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #1f6fe5 !important;
}

.info-distances {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
  gap: 0.75rem;
}

.distance-card {
  display: grid;
  gap: 0.2rem;
  min-width: 108px;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  color: var(--color-text);
}

.distance-card strong {
  font-size: 1.25rem;
  font-weight: 800;
}

.distance-card small {
  color: var(--color-text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
}

/* CTA Button */
.cta-button {
  width: 100%;
  padding: 1rem 2rem;
  background-color: var(--color-action);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--transition-fast),
    transform var(--transition-fast), box-shadow var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}

.cta-button:hover {
  background-color: var(--color-action-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.cta-button:active {
  transform: translateY(0);
}

.cta-button svg {
  display: inline;
  margin-left: 0.5rem;
  width: 18px;
  height: 18px;
}

.sponsor-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(130px, 0.85fr);
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
}

.sponsor-card span {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  font-weight: 800;
}

.sponsor-card img {
  display: block;
  width: min(100%, 170px);
  height: auto;
  justify-self: end;
}

/* Shared Section Titles */
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0;
  text-wrap: balance;
  color: var(--color-text);
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0.5rem auto 0;
  text-wrap: pretty;
}

/* ------------------------------------------------------------
   9. Routes Section  .routes-section
   ------------------------------------------------------------ */
.routes-section {
  padding: 5rem 1.5rem;
  background-color: var(--color-bg-soft);
}

.routes-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.routes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.route-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-smooth),
    transform var(--transition-smooth);
}

.route-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.route-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.route-card-body {
  padding: 1.5rem;
}

.route-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
}

.route-card p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin-top: 0.375rem;
  line-height: 1.5;
}

/* ------------------------------------------------------------
   10. Event Details  .event-details-section
   ------------------------------------------------------------ */
.event-details-section {
  padding: 4.5rem 1.5rem 5.5rem;
  background: linear-gradient(180deg, var(--color-bg-soft) 0%, #ffffff 100%);
  scroll-margin-top: 88px;
}

.event-details-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.event-details-heading {
  max-width: 720px;
  margin: 0 auto 1.1rem;
  text-align: center;
}

.section-kicker,
.detail-eyebrow,
.route-label {
  color: var(--color-action);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-details-heading h2,
.detail-intro h3,
.results-panel h3,
.faq-heading h3 {
  margin-top: 0.45rem;
  color: var(--color-text);
  font-weight: 800;
  letter-spacing: 0;
}

.event-details-heading h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.event-details-heading p,
.detail-intro p,
.results-panel p,
.faq-item p {
  color: var(--color-text-secondary);
  line-height: 1.65;
}

.event-detail-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.event-detail-card summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
  padding: 1.1rem 1.35rem;
  color: var(--color-text);
  font-size: 1.04rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
  touch-action: manipulation;
}

.event-detail-card summary::-webkit-details-marker {
  display: none;
}

.event-detail-card summary::before {
  content: '+';
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #ffffff;
  background: var(--color-action);
  font-size: 1.1rem;
  line-height: 1;
}

.event-detail-card[open] summary::before {
  content: '−';
}

.event-detail-body {
  padding: 0 1.35rem 1.55rem 4.45rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

.event-detail-body p + p {
  margin-top: 0.65rem;
}

.event-detail-body h4 {
  margin-top: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 800;
}

.detail-intro {
  max-width: 780px;
}

.detail-intro h3,
.results-panel h3 {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.prize-band,
.results-panel,
.faq-panel {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
  padding: 1rem;
  border: 1px solid rgba(0, 113, 227, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(245, 249, 255, 0.74);
}

.prize-band {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.prize-band div,
.distance-detail-grid article,
.kit-location-card,
.kit-locations article {
  min-width: 0;
}

.prize-band span,
.kit-locations article > span {
  display: inline-flex;
  margin-bottom: 0.3rem;
  color: var(--color-action);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.prize-band strong {
  display: block;
  color: var(--color-text);
  font-size: 1.05rem;
}

.distance-detail-grid,
.included-grid,
.kit-locations {
  display: grid;
  gap: 0.85rem;
}

.distance-detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.distance-detail-grid article,
.included-grid > span,
.rules-list li,
.kit-step,
.kit-locations article {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #ffffff;
}

.distance-detail-grid article {
  padding: 1rem;
}

.distance-detail-grid strong {
  display: block;
  color: var(--color-text);
  font-size: 1.55rem;
  line-height: 1;
}

.distance-detail-grid span {
  display: block;
  margin-top: 0.35rem;
  color: var(--color-action);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.distance-detail-grid p {
  margin-top: 0.55rem;
  color: var(--color-text-secondary);
  font-size: 0.92rem;
}

.included-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.included-grid > span {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.75rem 0.85rem;
  color: var(--color-text);
  font-weight: 800;
}

.included-grid > span > span:last-child,
.rules-list li > span:last-child {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.detail-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(0, 113, 227, 0.14);
  background: linear-gradient(180deg, rgba(0, 113, 227, 0.12), rgba(0, 113, 227, 0.06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  font-size: 1.12rem;
  line-height: 1;
}

.rules-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0;
  list-style: none;
}

.rules-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  padding: 0.85rem 1rem;
  color: var(--color-text);
  font-weight: 700;
}

.results-panel {
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: center;
}

.results-date {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  text-align: center;
}

.results-date strong {
  color: var(--color-text);
}

.results-date span {
  color: var(--color-text-secondary);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-action-link,
.kit-locations a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 0.9rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-pill);
  color: #ffffff;
  background: var(--color-action);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  touch-action: manipulation;
}

.routes-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0;
}

.routes-grid.compact .route-card {
  box-shadow: none;
  border: 1px solid var(--color-border);
}

.route-detail-grid .route-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.route-detail-grid .route-card img.route-map-image {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.route-card-body .route-label {
  display: inline-flex;
  margin-bottom: 0.3rem;
}

.kit-steps {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.15rem;
}

.kit-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding: 0.9rem;
}

.kit-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--color-action);
  font-weight: 900;
}

.kit-step p {
  margin-top: 0;
}

.kit-email-note {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 149, 0, 0.24);
  border-radius: var(--radius-md);
  color: var(--color-text);
  background: rgba(255, 149, 0, 0.08);
  font-weight: 700;
}

.kit-email-note a {
  color: var(--color-action);
  font-weight: 900;
}

.kit-locations {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kit-locations article {
  padding: 1rem;
}

.kit-locations h5 {
  margin: 0 0 0.65rem;
  color: var(--color-text);
  font-size: 1.05rem;
}

.kit-locations p {
  margin-top: 0.55rem;
  font-size: 0.92rem;
}

.kit-locations a {
  width: 100%;
  color: var(--color-action) !important;
  background: rgba(0, 113, 227, 0.1);
}

.runner-benefits-showcase {
  display: grid;
  gap: clamp(1.35rem, 3vw, 2.2rem);
  margin-top: 1.55rem;
  padding: clamp(1.25rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background: #f1f2f4;
}

.runner-benefits-heading {
  display: grid;
  gap: 0.45rem;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.runner-benefits-heading h3 {
  color: var(--color-text);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 1.08;
}

.runner-benefits-heading p {
  color: var(--color-text-secondary);
  font-size: 1rem;
}

.runner-benefits-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
}

.runner-benefit-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(20, 38, 62, 0.08);
}

.runner-benefit-media {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #ffffff;
}

.runner-benefit-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.runner-benefit-card.is-product .runner-benefit-media img {
  object-fit: contain;
  padding: clamp(0.75rem, 2vw, 1.25rem);
}

.runner-benefit-copy {
  display: grid;
  gap: 0.55rem;
  padding: 1rem 1.15rem 1.25rem;
  text-align: center;
}

.runner-benefit-copy h4 {
  color: var(--color-text);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  font-weight: 900;
  line-height: 1.18;
}

.runner-benefit-copy p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}

.faq-panel {
  background: #ffffff;
}

.faq-heading {
  max-width: 720px;
}

.faq-item {
  border-top: 1px solid var(--color-border);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  color: var(--color-text);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  touch-action: manipulation;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  color: var(--color-action);
  font-size: 1.25rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 0 0.95rem;
}

/* ------------------------------------------------------------
   11. Registration Section  .registration-section
   ------------------------------------------------------------ */
.registration-section {
  padding: 5rem 1.5rem;
  background-color: var(--color-bg);
  scroll-margin-top: 88px;
}

.registration-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.registration-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}

.registration-layout > * {
  min-width: 0;
}

/* ------------------------------------------------------------
   12. Wizard  .wizard
   ------------------------------------------------------------ */
.wizard {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

/* ---- Stepper ---- */
.wizard-stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  position: relative;
}

.wizard-stepper::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-border);
  z-index: 0;
}

.wizard .wizard-stepper .step-indicator {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 36px 2.2em;
  align-items: start;
  justify-items: center;
  gap: 0.5rem;
  width: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  appearance: none;
  -webkit-appearance: none;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: var(--color-text-secondary) !important;
  font: inherit;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
  transform: none !important;
  cursor: not-allowed;
}

.wizard .wizard-stepper .step-indicator:hover,
.wizard .wizard-stepper .step-indicator:focus,
.wizard .wizard-stepper .step-indicator:active {
  border-color: transparent !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: var(--color-text-secondary) !important;
  transform: none !important;
}

.wizard .wizard-stepper .step-indicator.accessible {
  cursor: pointer;
}

.wizard .wizard-stepper .step-indicator-payment {
  cursor: default;
  pointer-events: none;
}

.wizard .wizard-stepper .step-indicator-payment .step-dot {
  background: #f7f9fc !important;
  color: #7a8394 !important;
}

.wizard .wizard-stepper .step-dot {
  width: 36px;
  height: 36px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 2px solid var(--color-border) !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-secondary) !important;
  transition: all 0.3s ease;
}

.wizard .wizard-stepper .step-indicator.active .step-dot {
  background: var(--color-action) !important;
  background-color: var(--color-action) !important;
  border-color: var(--color-action) !important;
  color: #ffffff !important;
}

.wizard .wizard-stepper .step-indicator.completed .step-dot {
  background: var(--color-green) !important;
  background-color: var(--color-green) !important;
  border-color: var(--color-green) !important;
  color: #ffffff !important;
}

.step-label {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  font-weight: 500;
  white-space: normal;
  line-height: 1.12;
  min-height: 2.2em;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.wizard .wizard-stepper .step-indicator:focus-visible .step-dot {
  outline: 3px solid rgba(0, 113, 227, 0.22);
  outline-offset: 3px;
}

.step-indicator.active .step-label {
  color: var(--color-action);
  font-weight: 600;
}

.step-indicator.completed .step-label {
  color: var(--color-green);
}

.wizard-stepper:has(.step-indicator:nth-child(3):last-child) {
  justify-content: space-around;
}

/* ---- Wizard Steps ---- */
.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

.wizard-step.slide-in-right {
  animation: slideInRight 0.4s ease;
}

.wizard-step.slide-in-left {
  animation: slideInLeft 0.4s ease;
}

.wizard-step-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  color: var(--color-text);
  text-wrap: balance;
}

.wizard-step-desc {
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* ---- Form Fields ---- */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.wizard-step[data-step="2"] .form-label {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.12;
  font-weight: 800;
  margin-bottom: 0.72rem;
}

.form-label .required {
  color: #ff3b30;
  margin-left: 2px;
}

.field-helper,
.count-helper {
  margin-top: 0.55rem;
  color: var(--color-text-secondary);
  font-size: 0.82rem;
  line-height: 1.45;
}

.count-helper {
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-md);
  background-color: #f4f8ff;
  border: 1px solid rgba(0, 113, 227, 0.14);
  color: #14528f;
  font-weight: 700;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background-color: #ffffff;
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition-fast),
    box-shadow var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236e6e73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

.form-input::placeholder {
  color: var(--color-text-secondary);
  opacity: 0.6;
}

.form-input:focus,
.form-select:focus {
  border-color: var(--color-action);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12);
}

.form-input:disabled,
.form-input.is-disabled {
  background-color: var(--color-bg-soft);
  border-color: var(--color-border);
  color: var(--color-text-secondary);
  cursor: not-allowed;
}

.form-input:user-invalid {
  border-color: #ff3b30;
}

.form-input:user-valid {
  border-color: #34c759;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.team-none-option {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.75rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: #ffffff;
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.team-none-option:hover {
  border-color: rgba(0, 113, 227, 0.3);
  background-color: #f4f8ff;
}

.team-none-option.is-hidden {
  display: none;
}

.team-none-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-action);
  cursor: pointer;
}

.team-coupon-note {
  color: #167c34;
  font-weight: 700;
}

.form-error {
  color: #ff3b30;
  font-size: 0.8125rem;
  margin-top: 0.375rem;
  display: none;
}

.form-error.visible {
  display: block;
}

/* ---- Participant Navigation ---- */
.participant-nav {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px;
}

.participant-nav::-webkit-scrollbar {
  display: none;
}

.wizard .participant-tab {
  padding: 0.5rem 1rem !important;
  border-radius: var(--radius-pill) !important;
  border: 1.5px solid var(--color-border) !important;
  background-color: #ffffff !important;
  background: #ffffff !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all var(--transition-fast) !important;
  white-space: nowrap !important;
  color: var(--color-text) !important;
  font-family: inherit !important;
}

.wizard .participant-tab:hover {
  border-color: var(--color-text-secondary) !important;
  background-color: var(--color-bg-soft) !important;
  background: var(--color-bg-soft) !important;
  color: var(--color-text) !important;
}

.wizard .participant-tab.active {
  background-color: var(--color-action) !important;
  background: var(--color-action) !important;
  border-color: var(--color-action) !important;
  color: #ffffff !important;
}

.wizard .participant-tab.filled {
  border-color: var(--color-green) !important;
  color: var(--color-green) !important;
}

.wizard .participant-tab.active.filled {
  background-color: var(--color-action) !important;
  background: var(--color-action) !important;
  border-color: var(--color-action) !important;
  color: #ffffff !important;
}

/* ---- Participant Count Selector ---- */
.count-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.wizard .count-option {
  width: 52px !important;
  height: 52px !important;
  border-radius: 14px !important;
  border: 2px solid var(--color-border) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all var(--transition-fast) !important;
  background-color: #ffffff !important;
  background: #ffffff !important;
  color: var(--color-text) !important;
  font-family: inherit !important;
}

.wizard .count-option:hover {
  border-color: var(--color-action) !important;
}

.wizard .count-option.selected {
  background-color: var(--color-action) !important;
  background: var(--color-action) !important;
  border-color: var(--color-action) !important;
  color: #ffffff !important;
}

.count-select-wrap {
  position: relative;
}

.count-select-wrap::after {
  content: '';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  width: 0.85rem;
  height: 0.85rem;
  border-right: 3px solid var(--color-text-secondary);
  border-bottom: 3px solid var(--color-text-secondary);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.count-select {
  width: 100%;
  min-height: 66px;
  appearance: none;
  border: 2px solid #14922f;
  border-radius: 16px;
  background: #ffffff;
  color: var(--color-text);
  font: inherit;
  font-size: 1.45rem;
  font-weight: 650;
  padding: 0 3.25rem 0 1.35rem;
  outline: none;
  touch-action: manipulation;
}

.count-select:focus {
  border-color: #0b8f2a;
  box-shadow: 0 0 0 4px rgba(20, 146, 47, 0.12);
}

.team-savings-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  margin-top: 1.1rem;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(11, 111, 232, 0.18);
  background: linear-gradient(135deg, #f7fbff 0%, #eef6ff 100%);
  box-shadow: 0 10px 28px rgba(24, 88, 170, 0.06);
}

.team-savings-card.is-unlocked {
  border-color: rgba(40, 167, 69, 0.24);
  background: linear-gradient(135deg, #f7fff8 0%, #edf9ed 100%);
  box-shadow: 0 10px 28px rgba(20, 130, 54, 0.06);
}

.team-savings-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #dcecff;
  color: #0b58ba;
}

.team-savings-icon-green {
  background: #dff4df;
  color: #14872c;
}

.team-savings-icon-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(145deg, #0b7af3, #0a4fb7);
  box-shadow: 0 8px 18px rgba(11, 111, 232, 0.22);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
}

.team-savings-icon-green .team-savings-icon-mark {
  background: linear-gradient(145deg, #2fbd4f, #147a25);
  box-shadow: 0 8px 18px rgba(20, 130, 54, 0.18);
}

.team-savings-copy {
  display: grid;
  gap: 0.38rem;
}

.team-savings-copy strong {
  color: #0e4a9b;
  font-size: clamp(1rem, 2.2vw, 1.24rem);
  line-height: 1.22;
}

.team-savings-card.is-unlocked .team-savings-copy strong,
.team-savings-card.is-unlocked .team-savings-copy b {
  color: #147a25;
}

.team-savings-copy span {
  color: var(--color-text);
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  line-height: 1.34;
}

.team-savings-total {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin-top: 0.22rem;
  padding-top: 0.62rem;
  border-top: 1px solid rgba(40, 167, 69, 0.26);
}

.team-savings-total span {
  color: var(--color-text-secondary);
}

.team-savings-total b {
  font-size: clamp(1.02rem, 2.2vw, 1.22rem);
}

.team-savings-total em {
  margin-left: auto;
  padding: 0.34rem 0.62rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(40, 167, 69, 0.22);
  background: rgba(255, 255, 255, 0.72);
  color: #147a25;
  font-style: normal;
  font-weight: 800;
}

.team-discount-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--color-text-secondary);
  font-size: 0.92rem;
  margin-top: 0.9rem;
  text-align: center;
}

.choice-native-select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.choice-card-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.choice-card-group-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-card-group-branch {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-card-group-distance,
.choice-card-group-size {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wizard .choice-card {
  min-height: 72px !important;
  display: grid !important;
  align-content: center !important;
  gap: 0.25rem !important;
  padding: 0.8rem 0.9rem !important;
  border: 1.5px solid var(--color-border) !important;
  border-radius: var(--radius-md) !important;
  background: #ffffff !important;
  color: var(--color-text) !important;
  cursor: pointer !important;
  text-align: left !important;
  font-family: inherit !important;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast) !important;
}

.wizard .choice-card:hover {
  border-color: rgba(0, 113, 227, 0.38) !important;
  box-shadow: var(--shadow-sm) !important;
  transform: translateY(-1px) !important;
}

.wizard .choice-card.selected {
  border-color: var(--color-action) !important;
  background: #f4f8ff !important;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12) !important;
}

.choice-card strong {
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.2;
}

.choice-card span {
  color: var(--color-text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

.age-input {
  font-size: 16px !important;
}

.field-has-error .form-label {
  color: #b42318;
}

.field-has-error .form-input,
.wizard .choice-card-group.input-error,
.wizard .choice-card-group.has-error {
  border-color: rgba(255, 59, 48, 0.72) !important;
  box-shadow: 0 0 0 4px rgba(255, 59, 48, 0.12) !important;
}

.wizard .choice-card-group.input-error,
.wizard .choice-card-group.has-error {
  border: 1.5px solid rgba(255, 59, 48, 0.72);
  border-radius: calc(var(--radius-md) + 4px);
  padding: 0.25rem;
}

/* ---- Consent ---- */
.consent-text {
  max-height: 300px;
  overflow-y: auto;
  padding: 1.5rem;
  background-color: var(--color-bg-soft);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-border);
  overscroll-behavior: contain;
}

.consent-text::-webkit-scrollbar {
  width: 6px;
}

.consent-text::-webkit-scrollbar-track {
  background: transparent;
}

.consent-text::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 3px;
}

.consent-check {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.consent-check input[type='checkbox'] {
  width: 22px;
  height: 22px;
  accent-color: var(--color-action);
  cursor: pointer;
  flex-shrink: 0;
}

.consent-check label {
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--color-text);
}

/* ---- Review Step ---- */
.review-section {
  margin-bottom: 1.5rem;
}

.review-section h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text);
}

.review-section h3 svg {
  width: 20px;
  height: 20px;
  color: var(--color-action);
  flex-shrink: 0;
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 2rem;
}

.review-item {
  padding: 0.5rem 0;
}

.review-item .review-label {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  margin-bottom: 0.125rem;
}

.review-item .review-value {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
}

.review-participant-card {
  background-color: var(--color-bg-soft);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}

.review-participant-card h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text);
}

.review-participant-card h4 .badge {
  background-color: var(--color-action);
  color: #ffffff;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.review-contact-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.82rem 0.9rem;
  background-color: #ffffff;
}

.review-contact-card .review-section-head {
  margin-bottom: 0.55rem;
}

.review-contact-card .review-section-title {
  font-size: 0.95rem;
}

.review-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.review-section-head .review-section-title {
  margin-bottom: 0;
}

.wizard .review-section-action,
.wizard .review-inline-action {
  border: 1px solid var(--color-border) !important;
  background: #ffffff !important;
  color: var(--color-action) !important;
  border-radius: var(--radius-pill) !important;
  cursor: pointer !important;
  font-family: inherit !important;
  font-weight: 700 !important;
  transition: border-color var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast) !important;
}

.wizard .review-section-action {
  padding: 0.42rem 0.78rem !important;
  font-size: 0.78rem !important;
}

.wizard .review-inline-action {
  padding: 0.45rem 0.7rem !important;
  font-size: 0.76rem !important;
}

.wizard .review-section-action:hover,
.wizard .review-inline-action:hover {
  border-color: rgba(0, 113, 227, 0.3) !important;
  background-color: #f4f8ff !important;
  transform: translateY(-1px) !important;
}

.review-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.review-contact-grid div,
.review-runner-grid div {
  min-width: 0;
}

.review-contact-grid span,
.review-runner-grid span {
  display: block;
  color: var(--color-text-secondary);
  font-size: 0.75rem;
  margin-bottom: 0.2rem;
}

.review-contact-grid span {
  font-size: 0.66rem;
  margin-bottom: 0.08rem;
}

.review-contact-grid strong,
.review-runner-grid strong {
  display: block;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.review-contact-grid strong {
  font-size: 0.78rem;
  line-height: 1.15;
}

.review-runner-list {
  display: grid;
  gap: 0.85rem;
}

.review-runner-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: #ffffff;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.035);
}

.review-runner-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.review-runner-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #eef4ff;
  color: var(--color-action);
  font-weight: 800;
}

.review-runner-head h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.1rem;
  overflow-wrap: anywhere;
}

.review-runner-head p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.78rem;
}

.review-number-chip {
  justify-self: end;
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.review-number-chip.is-selected {
  background-color: #eafaf0;
  color: #16833a;
}

.review-number-chip.is-auto {
  background-color: var(--color-bg-soft);
  color: var(--color-text-secondary);
}

.review-runner-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}

.review-runner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--color-border);
}

.review-consent-card {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  background: #ffffff;
}

.review-consent-card.input-error {
  border-color: rgba(255, 59, 48, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.08);
}

.review-consent-card.is-accepted {
  border-color: rgba(52, 199, 89, 0.36);
  background: linear-gradient(180deg, #ffffff 0%, rgba(52, 199, 89, 0.06) 100%);
}

.review-consent-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.review-consent-check {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.review-consent-check input {
  width: 22px;
  height: 22px;
  margin-top: 0.1rem;
  accent-color: var(--color-action);
  flex-shrink: 0;
}

.review-consent-check span {
  min-width: 0;
  display: grid;
  gap: 0.15rem;
}

.review-consent-check strong {
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.25;
}

.review-consent-check small {
  color: var(--color-text-secondary);
  font-size: 0.78rem;
  line-height: 1.35;
}

.wizard .review-consent-toggle {
  flex-shrink: 0 !important;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-pill) !important;
  background: #ffffff !important;
  color: var(--color-action) !important;
  cursor: pointer !important;
  font-family: inherit !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  padding: 0.42rem 0.72rem !important;
}

.review-consent-details.consent-text {
  max-height: 220px;
  margin: 1rem 0 0;
  padding: 1rem;
  font-size: 0.82rem;
}

.review-consent-details[hidden] {
  display: none;
}

.review-consent-card #consent-error {
  margin: 0.75rem 0 0;
}

/* ---- Wizard Navigation Buttons ---- */
.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.wizard .btn-back {
  padding: 0.875rem 1.75rem !important;
  background-color: transparent !important;
  background: transparent !important;
  border: 1.5px solid var(--color-border) !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 600 !important;
  color: var(--color-text) !important;
  cursor: pointer !important;
  transition: all var(--transition-fast) !important;
  font-family: inherit !important;
  font-size: 0.9375rem !important;
}

.wizard .btn-back:hover {
  background-color: var(--color-bg-soft) !important;
  background: var(--color-bg-soft) !important;
  border-color: var(--color-text-secondary) !important;
}

.wizard .btn-next {
  padding: 0.875rem 2.5rem !important;
  background-color: var(--color-action) !important;
  background: var(--color-action) !important;
  border: none !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  cursor: pointer !important;
  transition: all var(--transition-fast) !important;
  margin-left: auto !important;
  font-family: inherit !important;
  font-size: 0.9375rem !important;
}

.wizard .btn-next:hover {
  background-color: var(--color-action-hover) !important;
  background: var(--color-action-hover) !important;
  transform: translateY(-1px) !important;
  box-shadow: var(--shadow-sm) !important;
}

.wizard .btn-next:active {
  transform: translateY(0) !important;
}

.wizard .btn-next:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

.wizard .btn-next:disabled:hover {
  background-color: var(--color-action) !important;
  background: var(--color-action) !important;
  transform: none !important;
  box-shadow: none !important;
}

.wizard .btn-submit {
  padding: 0.875rem 3rem !important;
  background-color: var(--color-green) !important;
  background: var(--color-green) !important;
  border: none !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  cursor: pointer !important;
  transition: all var(--transition-fast) !important;
  margin-left: auto !important;
  font-family: inherit !important;
  font-size: 0.9375rem !important;
}

.wizard .btn-submit:hover {
  filter: brightness(1.1) !important;
  transform: translateY(-1px) !important;
  box-shadow: var(--shadow-sm) !important;
}

.wizard .btn-submit:active {
  transform: translateY(0) !important;
}

.wizard .btn-submit:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

.wizard .btn-next.is-loading,
.wizard .btn-submit.is-loading {
  position: relative !important;
  opacity: 0.85 !important;
  cursor: wait !important;
}

.wizard .btn-next.is-loading::after,
.wizard .btn-submit.is-loading::after {
  content: '';
  width: 14px;
  height: 14px;
  margin-left: 0.6rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  display: inline-block;
  vertical-align: -2px;
  animation: buttonSpin 0.75s linear infinite;
}

html body .wizard .wizard-actions button#btn-back.btn-back,
html body .wizard .wizard-actions button.btn-back {
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  background-color: #ffffff !important;
  background-image: none !important;
  border: 1.5px solid var(--color-border) !important;
  color: var(--color-text) !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

html body .wizard .wizard-actions button#btn-back[aria-hidden='true'] {
  display: none !important;
}

html body .wizard .wizard-actions button#btn-next.btn-next,
html body .wizard .wizard-actions button.btn-next {
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  background-color: var(--color-action) !important;
  background-image: none !important;
  border: 0 !important;
  color: #ffffff !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

html body .wizard .wizard-actions button#btn-next.btn-submit,
html body .wizard .wizard-actions button.btn-submit {
  background-color: var(--color-green) !important;
  background-image: none !important;
  color: #ffffff !important;
}

html body .wizard .wizard-actions button#btn-next:disabled,
html body .wizard .wizard-actions button.btn-next:disabled {
  background-color: var(--color-action) !important;
  background-image: none !important;
  color: #ffffff !important;
  opacity: 0.62 !important;
}

/* ------------------------------------------------------------
   13. Summary Panel  .summary-panel
   ------------------------------------------------------------ */
.summary-panel {
  position: sticky;
  top: 80px;
  background-color: var(--color-bg-soft);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--color-border);
}

.summary-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--color-text);
}

.summary-event {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1rem;
}

.summary-event-img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.summary-event-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.summary-event-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.summary-event-date {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  margin-top: 0.125rem;
}

.summary-rows {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9375rem;
  align-items: baseline;
}

.summary-row .label {
  color: var(--color-text-secondary);
}

.summary-row .value {
  font-weight: 600;
  color: var(--color-text);
}

.summary-divider {
  height: 1px;
  background-color: var(--color-border);
  margin: 0.5rem 0;
  border: none;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.25rem;
  font-weight: 700;
  padding-top: 0.75rem;
  align-items: baseline;
}

.summary-total .label {
  color: var(--color-text);
}

.summary-total .value {
  color: var(--color-action);
}

/* ------------------------------------------------------------
   14. Footer  .site-footer
   ------------------------------------------------------------ */
.site-footer {
  background-color: #1d1d1f;
  color: #ffffff;
  padding: 3rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin-top: 0.75rem;
  max-width: 300px;
  line-height: 1.5;
}

.footer-brand img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  padding: 0.25rem 0;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8125rem;
}

/* ------------------------------------------------------------
   15. Animations
   ------------------------------------------------------------ */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes slideInRight {
  0% {
    transform: translateX(20px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-20px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes buttonSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Animation utility classes */
.animate-fade-in {
  animation: fadeIn 0.6s ease;
}

.animate-pulse {
  animation: pulse 2s ease infinite;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ------------------------------------------------------------
   16. Responsive — Tablet  ≤ 1024px
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .product-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .registration-layout {
    grid-template-columns: 1fr;
  }

  .summary-panel {
    position: static;
    order: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* ------------------------------------------------------------
   17. Responsive — Mobile  ≤ 768px
   ------------------------------------------------------------ */
@media (max-width: 768px) {
  /* Header */
  .header-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .header-phone {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  /* Hero */
  .hero-section {
    padding-top: 80px;
    padding-bottom: 2rem;
  }

  .hero-title {
    font-size: clamp(1.7rem, 7vw, 2.5rem);
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-meta {
    gap: 0.38rem;
    justify-content: center;
  }

  .hero-urgency {
    gap: 0.9rem;
    padding: 1.25rem 1rem;
  }

  .hero-stage {
    justify-items: center;
    gap: 0.3rem;
  }

  .hero-stage span {
    letter-spacing: 0.22em;
  }

  .hero-urgency-text {
    text-align: center;
  }

  .hero-countdown {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .hero-countdown > span {
    min-height: 78px;
    padding: 0.5rem 0.18rem;
    border-radius: 12px;
  }

  .hero-countdown strong {
    font-size: clamp(1.75rem, 8vw, 2.45rem);
  }

  .hero-countdown small {
    font-size: 0.53rem;
    letter-spacing: 0.08em;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-primary-cta {
    width: 100%;
  }

  .form-input,
  .form-select,
  .wizard input,
  .wizard select,
  .wizard textarea {
    font-size: 16px !important;
  }

  .wizard,
  .registration-layout,
  .registration-main,
  .wizard-step,
  .review-content,
  .summary-panel {
    max-width: 100%;
  }

  /* Product */
  .product-section {
    padding: 2.5rem 1rem;
  }

  .product-price-strip {
    margin-bottom: 1rem;
  }

  .price-option-grid {
    gap: 0.75rem;
  }

  .price-option-card {
    padding: 0.78rem 0.55rem;
    border-radius: 16px;
  }

  .gallery-main-wrapper {
    aspect-ratio: 1 / 1;
  }

  .product-info .info-distances {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .info-location {
    width: fit-content;
    max-width: 100%;
    font-size: 0.95rem;
    padding: 0.54rem 0.7rem;
  }

  .sponsor-card {
    grid-template-columns: minmax(0, 1fr) minmax(110px, 0.7fr);
    padding: 0.85rem;
  }

  .sponsor-card img {
    width: min(100%, 140px);
  }

  .distance-card {
    min-width: 0;
    padding: 0.72rem 0.45rem;
  }

  .distance-card strong {
    font-size: 1.15rem;
  }

  .distance-card small {
    font-size: 0.66rem;
    line-height: 1.15;
  }

  .gallery-nav-btn {
    display: none;
  }

  /* Routes */
  .routes-section {
    padding: 3rem 1rem;
  }

  .routes-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .event-details-section {
    padding: 3rem 1rem 3.5rem;
  }

  .event-details-heading {
    text-align: left;
  }

  .event-detail-card summary {
    min-height: 58px;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
  }

  .event-detail-body {
    padding: 0 1rem 1rem;
  }

  .prize-band,
  .distance-detail-grid,
  .included-grid,
  .results-panel,
  .kit-locations,
  .runner-benefits-cards {
    grid-template-columns: 1fr;
  }

  .runner-benefits-showcase {
    padding: 1.2rem;
  }

  .runner-benefits-heading {
    text-align: left;
  }

  .runner-benefit-media {
    aspect-ratio: 4 / 3;
  }

  .kit-step {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .kit-step span {
    width: 36px;
    height: 36px;
  }

  .routes-grid.compact {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Registration */
  .registration-section {
    padding: 2.6rem 0.9rem;
  }

  .wizard {
    padding: 1.25rem;
  }

  /* Stepper */
  .wizard-stepper {
    margin-bottom: 1.55rem;
  }

  .step-label {
    display: block;
    max-width: 90px;
    text-align: center;
    white-space: normal;
    line-height: 1.15;
    font-size: 0.7rem;
    min-height: 2.3em;
  }

  .wizard .wizard-stepper .step-dot {
    width: 27px;
    height: 27px;
    font-size: 0.72rem;
  }

  .wizard-stepper::before {
    top: 13px;
  }

  .team-savings-card {
    grid-template-columns: 70px minmax(0, 1fr);
    text-align: left;
    gap: 0.85rem;
  }

  .team-savings-icon {
    width: 70px;
    height: 70px;
  }

  .team-savings-icon svg {
    width: 46px;
    height: 46px;
  }

  .team-savings-total em {
    margin-left: 0;
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
  }

  .choice-card-group,
  .choice-card-group-wide {
    grid-template-columns: 1fr;
  }

  .choice-card-group-distance,
  .choice-card-group-size {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .choice-card-group-branch {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .choice-card-group-branch .choice-card {
    min-height: 64px !important;
    text-align: center !important;
  }

  .choice-card-group-distance .choice-card,
  .choice-card-group-size .choice-card {
    min-height: 64px !important;
    padding: 0.75rem 0.55rem !important;
    text-align: center !important;
  }

  .review-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.3rem;
  }

  .review-contact-grid div:nth-child(3) {
    grid-column: 1 / -1;
  }

  .review-contact-card {
    padding: 0.68rem 0.72rem;
  }

  .review-contact-card .review-section-head {
    align-items: center;
    margin-bottom: 0.45rem;
  }

  .review-contact-card .review-section-title {
    font-size: 0.9rem;
  }

  .review-contact-grid span {
    font-size: 0.62rem;
  }

  .review-contact-grid strong {
    font-size: 0.74rem;
  }

  .review-runner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wizard-step-title {
    font-size: 1.15rem;
  }

  /* Section titles */
  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-brand p {
    max-width: none;
  }
}

/* ------------------------------------------------------------
   18. Responsive — Small Mobile  ≤ 480px
   ------------------------------------------------------------ */
@media (max-width: 480px) {
  /* Gallery thumbs */
  .gallery-thumb {
    flex: 0 0 56px;
    height: 56px;
  }

  /* More compact spacing */
  .hero-section {
    padding-top: 72px;
    padding-bottom: 1.5rem;
  }

  .hero-inner {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: clamp(1.55rem, 7.7vw, 2.1rem);
  }

  .product-section {
    padding: 2rem 1rem;
  }

  .price-option-amount {
    font-size: clamp(1.7rem, 8.5vw, 2.55rem);
  }

  .price-option-label {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }

  .registration-section {
    padding: 2.1rem 0.8rem;
  }

  .registration-layout {
    gap: 1.15rem;
  }

  .section-title {
    font-size: 1.35rem;
  }

  .section-subtitle {
    font-size: 0.88rem;
    margin-top: 0.25rem;
  }

  .product-info {
    gap: 1rem;
  }

  .product-info .info-distances {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .sponsor-card {
    grid-template-columns: 1fr auto;
  }

  .sponsor-card span {
    font-size: 0.86rem;
  }

  .sponsor-card img {
    width: 124px;
  }

  .wizard {
    padding: 1rem;
    border-radius: 18px;
  }

  .wizard-stepper {
    margin-bottom: 1.2rem;
  }

  .wizard .wizard-stepper .step-indicator {
    gap: 0.32rem;
    grid-template-rows: 25px 2.25em;
  }

  .wizard .wizard-stepper .step-dot {
    width: 25px;
    height: 25px;
    font-size: 0.68rem;
  }

  .wizard-stepper::before {
    top: 12px;
  }

  .step-label {
    max-width: 82px;
    font-size: 0.66rem;
    line-height: 1.08;
    min-height: 2.25em;
  }

  .wizard-step-title {
    font-size: 1.02rem;
    margin-bottom: 0.25rem;
  }

  .wizard-step-desc {
    font-size: 0.82rem;
    margin-bottom: 1rem;
  }

  .form-group {
    margin-bottom: 1rem;
  }

  .form-label {
    font-size: 0.82rem;
    margin-bottom: 0.42rem;
  }

  .wizard-step[data-step="2"] .form-label {
    font-size: 1.48rem;
    line-height: 1.12;
    margin-bottom: 0.62rem;
  }

  .form-input,
  .form-select {
    min-height: 50px;
    padding: 0.72rem 0.85rem;
  }

  .wizard-actions {
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1rem;
  }

  .review-runner-head {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .review-section-head {
    align-items: flex-start;
  }

  .review-number-chip {
    grid-column: 1 / -1;
    justify-self: stretch;
    text-align: center;
    white-space: normal;
  }

  .review-runner-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn-back,
  .btn-next,
  .btn-submit {
    width: 100%;
    text-align: center;
    justify-content: center;
    margin-left: 0;
  }

  .btn-back {
    order: 2;
  }

  .btn-next,
  .btn-submit {
    order: 1;
  }

  .count-select {
    min-height: 50px;
    font-size: 1.08rem;
    border-radius: 12px;
    padding-left: 1rem;
    padding-right: 2.7rem;
  }

  .count-select-wrap::after {
    right: 1rem;
    width: 0.62rem;
    height: 0.62rem;
    border-right-width: 2.5px;
    border-bottom-width: 2.5px;
  }

  .team-savings-card {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 0.7rem;
    margin-top: 0.75rem;
    padding: 0.86rem;
    border-radius: 18px;
  }

  .team-savings-icon {
    width: 44px;
    height: 44px;
  }

  .team-savings-icon-mark {
    width: 30px;
    height: 30px;
    font-size: 0.98rem;
  }

  .team-savings-copy {
    gap: 0.35rem;
  }

  .team-savings-copy strong {
    font-size: 0.96rem;
  }

  .team-savings-copy span {
    font-size: 0.83rem;
    line-height: 1.28;
  }

  .team-savings-total {
    gap: 0.35rem 0.5rem;
    padding-top: 0.5rem;
  }

  .team-savings-total b {
    font-size: 0.98rem;
  }

  .team-savings-total em {
    font-size: 0.72rem;
    padding: 0.3rem 0.48rem;
  }

  .team-discount-note {
    font-size: 0.78rem;
    gap: 0.35rem;
    margin-top: 0.55rem;
  }

  .summary-panel {
    padding: 1.5rem;
  }

  .cta-button {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    font-size: 0.75rem;
  }
}

@media (max-width: 430px) {
  .choice-card-group-size {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .choice-card-group-size .choice-card[data-choice-value="Talla Extra Grande"] {
    grid-column: 1 / -1;
    min-height: 68px !important;
  }

  .review-consent-summary {
    align-items: stretch;
    flex-direction: column;
  }

  .wizard .review-consent-toggle {
    align-self: flex-start !important;
  }

}

/* ------------------------------------------------------------
   19. Utility Classes
   ------------------------------------------------------------ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ------------------------------------------------------------
   20. Stripe embedded payment
   ------------------------------------------------------------ */
.payment-step-panel {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.4rem);
  border: 1px solid rgba(19, 116, 232, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(19, 116, 232, 0.11), transparent 34%),
    #fff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.payment-header {
  display: grid;
  gap: 0.35rem;
}

.payment-kicker {
  width: fit-content;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  background: #ecfdf3;
  color: #277536;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.payment-header h3 {
  margin: 0;
  font-size: clamp(1.35rem, 4vw, 2.1rem);
  line-height: 1.05;
}

.payment-header p {
  margin: 0;
  color: #69707d;
  font-size: 0.98rem;
  line-height: 1.45;
}

.payment-breakdown-pill {
  padding: 0.66rem 0.78rem;
  border: 1px solid #dfe6f2;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(22, 36, 64, 0.08);
}

.payment-breakdown-head,
.payment-breakdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.payment-breakdown-head {
  padding-bottom: 0.32rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid #e9edf5;
  color: #1e64bd;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.payment-breakdown-row {
  min-height: 1.32rem;
  color: #68707f;
  font-size: 0.76rem;
  font-weight: 700;
}

.payment-breakdown-row strong {
  color: #20232b;
  font-size: 0.82rem;
  font-weight: 850;
  white-space: nowrap;
}

.payment-breakdown-row.is-discount,
.payment-breakdown-row.is-discount strong {
  color: #2f7d37;
}

.payment-breakdown-row.is-total {
  margin-top: 0.25rem;
  padding-top: 0.38rem;
  border-top: 1px solid #e2e8f2;
  color: #17191f;
  font-size: 0.84rem;
}

.payment-breakdown-row.is-total strong {
  color: #1374e8;
  font-size: 0.98rem;
}

.stripe-shell {
  display: grid;
  gap: 0.75rem;
  min-height: 96px;
  padding: 0.95rem;
  border: 1px solid #dfe5ef;
  border-radius: 18px;
  background: #fff;
}

.stripe-visible-shell-mount {
  width: 100%;
}

.stripe-prewarm-stage {
  position: fixed;
  top: 0;
  left: -12000px;
  width: min(920px, calc(100vw - 48px));
  max-width: 920px;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

.stripe-prewarm-stage .stripe-shell {
  width: 100%;
}

.stripe-shell.is-disabled {
  border-style: dashed;
  background: #f8fafc;
}

.stripe-wallets-block {
  display: grid;
  gap: 0.58rem;
}

.stripe-wallets-label {
  color: #5d6675;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stripe-express-checkout {
  min-height: 48px;
}

.stripe-payment-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #7a8290;
  font-size: 0.83rem;
  font-weight: 700;
}

.stripe-payment-divider::before,
.stripe-payment-divider::after {
  content: "";
  height: 1px;
  flex: 1 1 auto;
  background: #e2e7ef;
}

.stripe-payment-element-wrap {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.stripe-payment-element {
  min-width: 0;
}

.stripe-preview-element {
  display: grid;
  gap: 14px;
}

.stripe-preview-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(31, 111, 229, 0.14);
  border-radius: 14px;
  background: #f6f9ff;
}

.stripe-preview-tabs span {
  flex: 1 1 auto;
  min-width: max-content;
  padding: 8px 10px;
  border-radius: 10px;
  color: #5d6675;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.stripe-preview-tabs .active {
  color: #0f172a;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.stripe-preview-field {
  display: grid;
  gap: 5px;
  padding: 13px 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  background: #fff;
}

.stripe-preview-field span {
  color: #7b8492;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.stripe-preview-field strong {
  color: #171a20;
  font-size: 1rem;
  font-weight: 800;
}

.stripe-preview-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.stripe-preview-note {
  margin: 0;
  color: #667085;
  font-size: 0.88rem;
  line-height: 1.45;
}

.stripe-payment-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 24px;
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 700;
}

.stripe-payment-status.is-loading {
  color: #1f2937;
}

.stripe-payment-status.is-loading::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 2px solid #d7e4f7;
  border-top-color: #1374e8;
  border-radius: 999px;
  animation: stripe-status-spin 0.78s linear infinite;
}

@keyframes stripe-status-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .stripe-payment-status.is-loading::before {
    animation: none;
  }
}

.review-section-subtitle {
  margin: 0.18rem 0 0;
  color: #697386;
  font-size: 0.86rem;
  line-height: 1.35;
}

.review-optional-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0.25rem 0.58rem;
  border: 1px solid rgba(0, 113, 227, 0.22);
  border-radius: 999px;
  color: #0570de;
  background: #f6fbff;
  font-size: 0.74rem;
  font-weight: 850;
  white-space: nowrap;
}

.review-addons-section {
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: #ffffff;
}

.review-addon-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.review-addon-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 0.65rem;
  min-width: 0;
  min-height: 100%;
  padding: 0.85rem;
  border: 1px solid #e2e8f2;
  border-radius: 16px;
  background: #fff;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.review-addon-card.is-selected {
  border-color: rgba(0, 113, 227, 0.35);
  box-shadow: 0 14px 32px rgba(0, 113, 227, 0.08);
}

.review-addon-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.82;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background: #f8fafc;
}

.review-addon-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.45rem;
}

.review-addon-image.is-placeholder {
  color: #0570de;
  background: linear-gradient(180deg, #f6fbff 0%, #edf6ff 100%);
}

.review-addon-image.is-placeholder span {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  font-size: 1.2rem;
  font-weight: 900;
}

.review-addon-copy {
  min-width: 0;
  display: grid;
  gap: 0.1rem;
}

.review-addon-copy h4 {
  margin: 0;
  color: #17191f;
  font-size: 0.96rem;
  line-height: 1.2;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.review-addon-copy p {
  margin: 0;
  color: #68707f;
  font-size: 0.78rem;
  line-height: 1.25;
  font-weight: 650;
}

.review-addon-copy strong {
  margin-top: 0.22rem;
  color: #0570de;
  font-size: 0.88rem;
  font-weight: 900;
}

.review-addon-line-total {
  color: #17191f;
  font-size: 0.82rem;
  font-weight: 850;
}

.review-addon-select,
.review-addon-quantity {
  min-width: 0;
  display: grid;
  gap: 0.32rem;
}

.review-addon-select span,
.review-addon-quantity > span {
  color: #5d6675;
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 800;
}

.review-addon-select .form-input,
.review-addon-select .form-select {
  min-height: 40px;
  width: 100%;
  padding: 0.5rem 0.78rem;
  border-radius: 9px;
  font-size: 0.88rem;
}

.addon-stepper {
  display: grid;
  grid-template-columns: 36px minmax(38px, 1fr) 36px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #d9e3f1;
  border-radius: 9px;
  background: #f8fbff;
}

.addon-stepper strong {
  color: #17191f;
  font-size: 0.98rem;
  font-weight: 900;
  text-align: center;
}

.review-addon-card .addon-stepper-button {
  width: 36px;
  min-width: 36px;
  height: 38px;
  min-height: 38px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #1374e8 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
}

.review-addon-card .addon-stepper-button:hover {
  background: #eef6ff !important;
}

.review-addon-card .addon-stepper-button:disabled {
  color: #a7b0bf !important;
  background: transparent !important;
  cursor: not-allowed;
  opacity: 0.72;
}

.review-purchase-summary {
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: #ffffff;
}

.review-purchase-summary .review-section-title {
  margin-bottom: 0.85rem;
}

.review-purchase-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  min-height: 28px;
  color: #17191f;
  font-size: 0.92rem;
}

.review-purchase-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.review-purchase-row strong {
  font-weight: 850;
  white-space: nowrap;
}

.review-purchase-row.is-discount,
.review-purchase-row.is-discount strong {
  color: #16833a;
}

.review-purchase-total {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: baseline;
  margin-top: 0.75rem;
  padding-top: 0.9rem;
  border-top: 1px solid #dce4ee;
  color: #111827;
  font-weight: 900;
}

.review-purchase-total strong {
  color: #0570de;
  font-size: 1.35rem;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .payment-step-panel {
    border-radius: 20px;
  }

  .payment-breakdown-pill {
    padding: 0.58rem 0.66rem;
  }

  .payment-breakdown-row {
    min-height: 1.18rem;
    font-size: 0.72rem;
  }

  .payment-breakdown-row strong {
    font-size: 0.78rem;
  }

  .payment-breakdown-row.is-total strong {
    font-size: 0.92rem;
  }

  .stripe-shell {
    padding: 0.82rem;
    gap: 0.62rem;
    border-radius: 16px;
  }

  .stripe-wallets-label {
    font-size: 0.78rem;
  }

  .review-addons-section,
  .review-purchase-summary {
    padding: 0.62rem;
    border-radius: 14px;
  }

  .review-addon-list {
    grid-template-columns: 1fr;
    gap: 0.52rem;
  }

  .review-addon-card {
    grid-template-columns: 68px repeat(2, minmax(0, 1fr));
    gap: 0.42rem 0.55rem;
    align-items: start;
    padding: 0.58rem;
    border-radius: 13px;
    min-height: 0;
  }

  .review-addon-image {
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 68px;
    height: 68px;
    aspect-ratio: auto;
    border-radius: 10px;
  }

  .review-addon-image img {
    padding: 0.28rem;
  }

  .review-addon-copy {
    grid-column: 2 / -1;
    align-self: start;
    gap: 0.02rem;
  }

  .review-addon-copy h4 {
    font-size: 0.84rem;
    line-height: 1.12;
  }

  .review-addon-copy p,
  .review-addon-copy strong {
    font-size: 0.72rem;
    line-height: 1.12;
  }

  .review-addon-copy strong {
    margin-top: 0.06rem;
  }

  .review-addon-line-total {
    grid-column: 2 / -1;
    font-size: 0.74rem;
  }

  .review-addon-select,
  .review-addon-quantity {
    gap: 0.18rem;
  }

  .review-addon-select {
    max-width: none;
  }

  .review-addon-select span,
  .review-addon-quantity > span {
    font-size: 0.66rem;
  }

  .review-addon-select .form-input,
  .review-addon-select .form-select {
    min-height: 36px !important;
    height: 36px;
    padding: 0.34rem 1.45rem 0.34rem 0.56rem;
    border-radius: 9px;
    font-size: 16px;
    line-height: 1.1;
  }

  .addon-stepper {
    grid-template-columns: 30px minmax(34px, 1fr) 30px;
    width: min(126px, 100%);
    height: 34px;
    border-radius: 9px;
  }

  .addon-stepper strong {
    font-size: 0.9rem;
  }

  .review-addon-card .addon-stepper-button {
    width: 30px;
    min-width: 30px;
    height: 32px;
    min-height: 32px;
    font-size: 0.95rem;
  }

  .review-addon-quantity {
    grid-column: 2 / -1;
    max-width: 126px;
  }

  .review-addon-card[data-addon-type="extra_shirt"] .review-addon-select {
    grid-column: auto;
  }

  .review-addon-card[data-addon-type="extra_shirt"] .review-addon-quantity {
    grid-column: auto;
  }

  .review-addon-card:not([data-addon-type="extra_shirt"]) {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .review-addon-card:not([data-addon-type="extra_shirt"]) .review-addon-copy,
  .review-addon-card:not([data-addon-type="extra_shirt"]) .review-addon-line-total,
  .review-addon-card:not([data-addon-type="extra_shirt"]) .review-addon-quantity {
    grid-column: 2;
  }

  .review-purchase-row {
    min-height: 24px;
    font-size: 0.82rem;
  }

  .review-purchase-total strong {
    font-size: 1.12rem;
  }
}
