* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif; background: #ffffff; color: #1a1a1a; }
.header { padding: 40px 20px; text-align: center; border-bottom: 1px solid #f0f0f0; }
.header h1 { font-size: 32px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.5px; }
.header p { font-size: 14px; color: #999; }
.container { max-width: 700px; margin: 0 auto; padding: 60px 20px; }
.step-indicator { display: flex; justify-content: center; align-items: center; gap: 20px; margin-bottom: 50px; }
.step-dot { width: 40px; height: 40px; border-radius: 50%; background: #f5f5f5; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #999; transition: all 0.3s; }
.step-dot.active { background: #0099FF; color: white; }
.step-line { width: 40px; height: 2px; background: #f5f5f5; }
.step-line.active { background: #0099FF; }
.step { display: none; animation: fadeIn 0.3s ease-in; }
.step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.step-title { font-size: 28px; font-weight: 700; margin-bottom: 40px; }
.step-title .step-label { font-size: 13px; color: #999; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; display: block; }
.service-tabs { display: flex; gap: 8px; margin-bottom: 40px; flex-wrap: nowrap; }
.service-tab { flex: 1 1 0; min-width: 0; padding: 10px 8px; border: 1px solid #f0f0f0; background: white; border-radius: 6px; cursor: pointer; font-size: 12px; font-weight: 600; color: #666; transition: all 0.2s; text-align: center; line-height: 1.25; }
.service-tab:hover { border-color: #0099FF; color: #0099FF; background: #f9fbff; }
.service-tab.active { background: #0099FF; color: white; border-color: #0099FF; }
@media (max-width: 600px) { .service-tabs { flex-wrap: wrap; } .service-tab { flex: 1 1 30%; } }
.section-title { font-size: 14px; font-weight: 700; margin-bottom: 16px; margin-top: 30px; }
.section-title:first-of-type { margin-top: 0; }
.packages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 10px; margin-bottom: 30px; }
.quantity-buttons { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 30px; }
.quantity-btn, .package-card { padding: 14px; border: 2px solid #f0f0f0; background: white; border-radius: 10px; cursor: pointer; text-align: center; transition: all 0.2s; font-size: 12px; font-weight: 600; }
.quantity-btn:hover, .package-card:hover { border-color: #0099FF; background: #f9fbff; }
.quantity-btn.active, .package-card.active { background: #0099FF; color: white; border-color: #0099FF; }
.package-name { font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.package-price { font-size: 16px; font-weight: 700; }
.calendar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.calendar-header h3 { font-size: 14px; font-weight: 700; }
.calendar-nav { display: flex; gap: 8px; }
.calendar-nav button { width: 32px; height: 32px; border: 1px solid #f0f0f0; background: white; border-radius: 6px; cursor: pointer; font-size: 14px; transition: all 0.2s; }
.calendar-nav button:hover { border-color: #0099FF; color: #0099FF; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 40px; }
.calendar-day-header { text-align: center; font-size: 10px; font-weight: 700; color: #999; padding: 8px 0; text-transform: uppercase; }
.calendar-day { aspect-ratio: 1; border: 1px solid #f0f0f0; background: white; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; transition: all 0.2s; }
.calendar-day:hover:not(.unavailable) { border-color: #0099FF; background: #f9fbff; }
.calendar-day.selected { background: #0099FF; color: white; border-color: #0099FF; }
.calendar-day.other-month { color: #e0e0e0; pointer-events: none; }
.calendar-day.unavailable { color: #e0e0e0; cursor: not-allowed; pointer-events: none; }
.times-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 10px; margin-bottom: 40px; }
.time-btn { padding: 12px 10px; border: 2px solid #f0f0f0; background: white; border-radius: 8px; cursor: pointer; font-size: 11px; font-weight: 600; transition: all 0.2s; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.time-btn:hover:not(.unavailable) { border-color: #0099FF; background: #f9fbff; }
.time-btn.active { background: #0099FF; color: white; border-color: #0099FF; }
.time-btn.unavailable { color: #e0e0e0; cursor: not-allowed; background: #f9f9f9; }
.time-availability { font-size: 9px; opacity: 0.7; }
.time-availability.urgent { color: #dc3545; font-weight: 700; }
.contact-form { background: #f9fbff; padding: 30px; border-radius: 12px; margin-bottom: 40px; border: 1px solid #e8f0ff; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.form-group input { width: 100%; padding: 12px; border: 1px solid #e8e8e8; border-radius: 8px; font-size: 13px; }
.form-group input:focus { outline: none; border-color: #0099FF; box-shadow: 0 0 0 3px rgba(0,153,255,0.1); }
.summary-box { background: #f9fbff; padding: 20px; border-radius: 12px; border: 1px solid #e8f0ff; margin-bottom: 30px; }
.summary-item { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #e8f0ff; }
.summary-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.summary-label { color: #666; }
.summary-value { font-weight: 600; }
.price-display { background: white; padding: 20px; border-radius: 12px; border: 1px solid #f0f0f0; margin-bottom: 30px; }
.price-row { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 10px; }
.price-row.total { border-top: 1px solid #f0f0f0; padding-top: 10px; font-size: 16px; font-weight: 700; color: #0099FF; margin-bottom: 0; }
.button-group { display: flex; gap: 12px; margin-bottom: 20px; }
.btn { flex: 1; padding: 14px; border: none; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.2s; }
.btn-secondary { background: white; border: 1px solid #f0f0f0; color: #666; }
.btn-secondary:hover { border-color: #0099FF; color: #0099FF; background: #f9fbff; }
.btn-primary { background: #0099FF; color: white; }
.btn-primary:hover { background: #0077cc; }
.btn-primary:disabled { background: #ccc; cursor: not-allowed; }
.pay-btn { width: 100%; padding: 16px; background: #635BFF; color: white; border: none; border-radius: 8px; font-size: 15px; font-weight: 700; cursor: pointer; transition: all 0.2s; margin-bottom: 8px; }
.pay-btn:hover { background: #5449e0; }
.pay-btn:disabled { background: #b8b4f5; cursor: not-allowed; }
.pay-note { font-size: 11px; color: #999; text-align: center; margin-bottom: 20px; }
.pay-processing { text-align: center; font-size: 13px; color: #666; padding: 16px; display: none; }
.error { color: #dc3545; font-size: 12px; margin-top: 12px; margin-bottom: 20px; padding: 12px; background: #fff5f5; border-radius: 6px; border: 1px solid #ffdddd; }
/* Result pages (success / cancel) */
.result-page { max-width: 700px; margin: 0 auto; padding: 60px 20px; text-align: center; }
.result-icon { font-size: 64px; margin-bottom: 20px; }
.result-title { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.result-subtitle { font-size: 14px; color: #666; margin-bottom: 40px; }
.confirmation-details { background: #f9fbff; padding: 30px; border-radius: 12px; border: 1px solid #e8f0ff; margin-bottom: 40px; text-align: left; }
.detail-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #e8f0ff; font-size: 13px; }
.detail-row:last-child { border-bottom: none; }
.detail-label { color: #666; }
.detail-value { font-weight: 600; }
.detail-row.total { border-top: 2px solid #e8f0ff; padding-top: 12px; font-size: 16px; }
.detail-row.total .detail-label { font-weight: 700; }
.detail-row.total .detail-value { color: #0099FF; font-size: 20px; }
.email-confirmation { background: #f0f9ff; border: 1px solid #e0f0ff; padding: 16px; border-radius: 8px; margin-bottom: 20px; font-size: 12px; color: #666; }
.email-confirmation strong { color: #0099FF; }
.next-steps { background: #f5f5f5; padding: 20px; border-radius: 12px; margin-bottom: 30px; text-align: left; }
.next-steps h4 { font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.next-steps p { font-size: 12px; color: #666; line-height: 1.8; margin-bottom: 8px; }
.primary-link { display: inline-block; width: 100%; padding: 14px; background: #0099FF; color: white; border: none; border-radius: 8px; font-weight: 700; cursor: pointer; font-size: 13px; text-decoration: none; box-sizing: border-box; }
.primary-link:hover { background: #0077cc; }
@media (max-width: 600px) {
    .container, .result-page { padding: 40px 20px; }
    .step-title { font-size: 20px; }
    .times-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Kart information panel (step 1) */
.info-panel { background: #f9fbff; border: 1px solid #e8f0ff; border-radius: 12px; padding: 24px; margin-bottom: 30px; }
.info-panel-title { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.info-panel-desc { font-size: 13px; color: #666; margin-bottom: 18px; line-height: 1.6; }
.info-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.info-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #0099FF; margin-bottom: 12px; }
.info-col ul { list-style: none; padding: 0; margin: 0; }
.info-col li { font-size: 13px; color: #333; padding: 5px 0 5px 20px; position: relative; line-height: 1.4; }
.info-col-features li::before { content: '\2713'; position: absolute; left: 0; color: #0099FF; font-weight: 700; font-size: 12px; }
.info-col-req li::before { content: '\2022'; position: absolute; left: 2px; color: #999; font-weight: 700; }
@media (max-width: 600px) { .info-columns { grid-template-columns: 1fr; gap: 18px; } }

/* Multiple requirement groups (e.g. Dual Karts driver + passenger) */
.info-col-req h4 { margin-top: 18px; }
.info-col-req h4:first-child { margin-top: 0; }

/* Grand Prix detailed package cards */
.gp-grid { grid-template-columns: 1fr 1fr; }
.gp-card { text-align: left; border: 2px solid #f0f0f0; background: white; border-radius: 12px; padding: 20px; cursor: pointer; transition: all 0.2s; font: inherit; }
.gp-card:hover { border-color: #0099FF; background: #f9fbff; }
.gp-card.active { border-color: #0099FF; background: #0099FF; }
.gp-card.active .gp-card-name,
.gp-card.active .gp-card-price,
.gp-card.active .gp-card-price small,
.gp-card.active .gp-card-includes-label,
.gp-card.active .gp-card-includes li,
.gp-card.active .gp-card-includes li::before { color: #fff; }
.gp-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.gp-card-name { font-size: 15px; font-weight: 700; }
.gp-card-price { font-size: 16px; font-weight: 700; color: #0099FF; white-space: nowrap; }
.gp-card-price small { font-size: 10px; color: #999; font-weight: 600; }
.gp-card-includes-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #666; margin-bottom: 8px; }
.gp-card-includes { list-style: none; padding: 0; margin: 0; }
.gp-card-includes li { font-size: 12px; color: #333; padding: 4px 0 4px 18px; position: relative; line-height: 1.4; }
.gp-card-includes li::before { content: '\2713'; position: absolute; left: 0; color: #0099FF; font-weight: 700; font-size: 11px; }
@media (max-width: 600px) { .gp-grid { grid-template-columns: 1fr; } }

/* Info panel note + stacked groups (Private Track Hire, Dual) */
.info-col > div + div { margin-top: 18px; }
.info-note { font-size: 12px; color: #666; font-style: italic; margin-top: 16px; padding-top: 14px; border-top: 1px solid #e8f0ff; line-height: 1.5; }

/* Private Track Hire package cards */
.pt-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Junior Parties tier cards + race options */
.party-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 22px; }
.party-tier-card { border: 1px solid #e8f0ff; background: #f9fbff; border-radius: 12px; padding: 16px 18px; }
.party-tier-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.party-tier-name { font-size: 15px; font-weight: 700; }
.party-tier-max { font-size: 11px; font-weight: 700; color: #0099FF; text-transform: uppercase; letter-spacing: 0.5px; }
.party-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.party-opt { text-align: left; border: 2px solid #f0f0f0; background: #fff; border-radius: 10px; padding: 12px 14px; cursor: pointer; font: inherit; }
.party-opt:hover { border-color: #0099FF; background: #f9fbff; }
.party-opt.active { border-color: #0099FF; background: #0099FF; }
.party-opt.active .party-opt-head span:first-child,
.party-opt.active .party-opt-price,
.party-opt.active .party-opt-inc li,
.party-opt.active .party-opt-inc li::before { color: #fff; }
.party-opt-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.party-opt-head span:first-child { font-size: 13px; font-weight: 700; }
.party-opt-price { font-size: 15px; font-weight: 700; color: #0099FF; }
.party-opt-inc { list-style: none; padding: 0; margin: 0; }
.party-opt-inc li { font-size: 11px; color: #666; padding: 2px 0 2px 14px; position: relative; line-height: 1.4; }
.party-opt-inc li::before { content: '\2713'; position: absolute; left: 0; color: #0099FF; font-weight: 700; font-size: 10px; }
@media (max-width: 560px) { .party-opts { grid-template-columns: 1fr; } }

/* Optional extras (balaclavas) + deposit balance row */
.extras { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #f9fbff; border: 1px solid #e8f0ff; border-radius: 12px; padding: 16px 18px; margin-bottom: 20px; }
.extras-info { display: flex; flex-direction: column; gap: 2px; }
.extras-title { font-size: 14px; font-weight: 700; }
.extras-sub { font-size: 12px; color: #666; }
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper-btn { width: 34px; height: 34px; border: 1px solid #e0e0e0; background: #fff; border-radius: 8px; font-size: 18px; font-weight: 700; color: #0099FF; cursor: pointer; line-height: 1; }
.stepper-btn:hover { border-color: #0099FF; background: #f0f8ff; }
.stepper-qty { min-width: 28px; text-align: center; font-size: 15px; font-weight: 700; }
.price-row.balance-row { border-top: 1px dashed #d5e6ff; margin-top: 6px; padding-top: 10px; color: #666; font-weight: 600; }
.price-row.balance-row span:last-child { color: #1a1a1a; }

/* Hero header: venue photo with the Xkarts logo centred over it */
.hero-wrap { max-width: 700px; margin: 0 auto; padding: 20px 20px 0; }
.hero { position: relative; border-radius: 16px; overflow: hidden; height: 220px; box-shadow: 0 2px 14px rgba(0,0,0,0.08); }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; display: block; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.24) 0%, rgba(0,0,0,0.08) 45%, rgba(0,0,0,0.24) 100%); pointer-events: none; }
.hero-logo { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60%; max-width: 330px; height: auto; filter: drop-shadow(0 2px 10px rgba(0,0,0,0.35)); }
@media (max-width: 600px) {
  .hero-wrap { padding: 12px 12px 0; }
  .hero { height: 150px; border-radius: 12px; }
  .hero-logo { width: 72%; }
}
