/* ==========================================================================
   Booking wizard — built entirely on the existing design tokens from
   ../styles.css (colors, fonts, spacing, .btn, .eyebrow, .section-title,
   .bow-divider). No new colors or fonts are introduced here.
   ========================================================================== */

.booking-hero {
  padding: var(--section-pad-mobile) var(--space-32) 0;
  text-align: center;
}
.booking-hero-inner { max-width: 640px; margin: 0 auto; }
.booking-hero .bow-divider { margin-left: auto; margin-right: auto; }

.booking-wizard {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-48) var(--space-32) var(--section-pad-desktop);
}

.wizard-shell {
  max-width: 760px;
  margin: 0 auto;
}

/* Step indicator */
.wizard-steps {
  display: flex;
  justify-content: space-between;
  gap: var(--space-8);
  margin-bottom: var(--space-48);
  padding: 0;
}
.wizard-steps li {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}
.wizard-steps li.active,
.wizard-steps li.done { opacity: 1; }
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--antique-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-utility);
  font-size: 0.85rem;
  color: var(--ink-emerald);
}
.wizard-steps li.active .step-num {
  background: var(--ink-emerald);
  color: var(--ivory-paper);
}
.wizard-steps li.done .step-num {
  background: var(--antique-gold);
  border-color: var(--antique-gold);
  color: var(--ink-emerald);
}
.step-label {
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--charcoal-ink);
}

.wizard-status {
  min-height: 24px;
  margin-bottom: var(--space-16);
  font-size: 0.9rem;
  color: var(--wine-accent);
  text-align: center;
}

.wizard-panel { display: none; }
.wizard-panel.active { display: block; }

.panel-title {
  font-size: var(--size-h3);
  color: var(--ink-emerald);
  margin-bottom: var(--space-24);
}

.loading-text {
  color: var(--charcoal-ink);
  opacity: 0.6;
  font-size: 0.95rem;
}

/* Service cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-16);
}
.service-card {
  text-align: left;
  border: 1px solid rgba(205, 164, 92, 0.4);
  border-radius: 4px;
  padding: var(--space-16);
  background: var(--ivory-paper);
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.service-card:hover { border-color: var(--antique-gold); }
.service-card.selected {
  border-color: var(--ink-emerald);
  background: var(--petal-blush);
}
.service-card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-emerald);
  margin-bottom: 6px;
}
.service-card .service-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--charcoal-ink);
  opacity: 0.75;
}
.service-card .service-meta .num { color: var(--wine-accent); font-weight: 600; }

/* Date & time */
.date-time-grid {
  display: grid;
  gap: var(--space-24);
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--space-16); }
.field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--ink-emerald);
}
.field input,
.field textarea {
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid rgba(122, 44, 80, 0.25);
  border-radius: 3px;
  background: var(--ivory-paper);
  color: var(--charcoal-ink);
  width: 100%;
}
.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--antique-gold);
  outline-offset: 1px;
}
.field-error {
  font-size: 0.8rem;
  color: var(--wine-accent);
  min-height: 1em;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
}
.slot-btn {
  padding: 10px 8px;
  min-height: 44px;
  border: 1px solid rgba(205, 164, 92, 0.5);
  border-radius: 3px;
  background: var(--ivory-paper);
  color: var(--ink-emerald);
  font-family: var(--font-utility);
  font-size: 0.9rem;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.slot-btn:hover { border-color: var(--antique-gold); }
.slot-btn.selected {
  background: var(--ink-emerald);
  color: var(--ivory-paper);
  border-color: var(--ink-emerald);
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-16);
  margin-top: var(--space-32);
  flex-wrap: wrap;
}

/* Review summary + confirmation */
.summary-card {
  border: 1px solid var(--antique-gold);
  border-radius: 4px;
  padding: var(--space-24);
  margin: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px var(--space-16);
}
.summary-card dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--antique-gold);
}
.summary-card dd {
  margin: 0;
  color: var(--charcoal-ink);
  font-weight: 500;
}

.confirmation-card { text-align: center; }
.confirmation-icon {
  color: var(--ink-emerald);
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-16);
}
.confirmation-note {
  margin-top: var(--space-24);
  color: var(--charcoal-ink);
  opacity: 0.75;
  font-size: 0.95rem;
}
.confirmation-actions { justify-content: center; }
#confirmationDetails { text-align: left; }

@media (min-width: 620px) {
  .date-time-grid { grid-template-columns: 220px 1fr; }
}

@media (max-width: 480px) {
  .booking-wizard { padding-left: 16px; padding-right: 16px; }
  .wizard-steps { gap: 4px; }
  .step-label { display: none; }
  .summary-card { grid-template-columns: 1fr; }
  .summary-card dt { margin-top: 8px; }
}
