/* ============================================================
   ARTE STUDIO — GUEST BOOKING FLOW
   ============================================================ */

/* ── Layout wrapper ── */
.booking-page {
  min-height: calc(100vh - var(--header-height));
  margin-top: var(--header-height);
  padding: 3rem 1.5rem 5rem;
}

.booking-container {
  max-width: 680px;
  margin: 0 auto;
}

.booking-container--wide {
  max-width: 900px;
  margin: 0 auto;
}

/* ── Progress steps ── */
.booking-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2.5rem;
}

.booking-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  position: relative;
  flex: 1;
  max-width: 120px;
}

.booking-step::before {
  content: "";
  position: absolute;
  top: 14px;
  left: calc(-50% + 14px);
  right: calc(50% + 14px);
  height: 2px;
  background: #e0d6d6;
}

.booking-step:first-child::before { display: none; }

.booking-step--done  .booking-step__dot { background: var(--color-hot); border-color: var(--color-hot); }
.booking-step--done  .booking-step__dot::after { content: "✓"; color: #fff; font-size: 0.7rem; }
.booking-step--active .booking-step__dot { border-color: var(--color-hot); background: #fff; }
.booking-step--active .booking-step__dot::after { content: ""; width: 8px; height: 8px; background: var(--color-hot); border-radius: 50%; }
.booking-step--done::before  { background: var(--color-hot); }

.booking-step__dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #ccc;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #aaa;
  z-index: 1;
}

.booking-step__label {
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-muted);
  text-align: center;
}

.booking-step--active .booking-step__label { color: var(--color-hot); font-weight: 600; }
.booking-step--done   .booking-step__label { color: var(--color-text); }

/* ── Section heading ── */
.booking-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.booking-heading h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 300;
  margin: 0 0 0.5rem;
}

.booking-heading p {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* ── Duration cards (Step 1) ── */
.duration-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.duration-card {
  border: 2px solid #e8dede;
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  background: #fff;
  position: relative;
}

.duration-card:hover {
  border-color: var(--color-blush);
  box-shadow: 0 4px 20px rgba(240, 114, 171, 0.15);
  transform: translateY(-2px);
}

.duration-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.duration-card input[type="radio"]:checked + .duration-card__inner {
  color: var(--color-hot);
}

.duration-card:has(input:checked) {
  border-color: var(--color-hot);
  box-shadow: 0 4px 24px rgba(236, 3, 124, 0.15);
}

.duration-card__hours {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-text);
}

.duration-card__label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}

.duration-card__price {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.duration-card__price strong {
  color: var(--color-text);
}

/* ── Pricing note ── */
.pricing-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

/* ── Calendar (Step 2) ── */
.booking-cal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.booking-cal-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.booking-cal-nav-btn {
  width: 34px;
  height: 34px;
  border: 1.5px solid #e8dede;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--color-text);
  font-size: 1rem;
  transition: border-color 0.2s, background 0.2s;
}

.booking-cal-nav-btn:hover {
  border-color: var(--color-hot);
  background: #fff0f6;
}

.booking-cal-nav-label {
  font-size: 1rem;
  font-weight: 600;
  min-width: 160px;
  text-align: center;
}

.booking-back-link {
  font-size: 0.85rem;
  color: var(--color-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.booking-back-link:hover { color: var(--color-hot); }

/* Month grid */
.booking-month {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid #f0e8e8;
}

.booking-month-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: #fdf5f8;
}

.booking-month-header span {
  padding: 0.6rem 0;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 600;
}

.booking-month-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.booking-month-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  border: 0.5px solid #f5eef0;
  text-decoration: none;
  color: var(--color-text);
  transition: background 0.15s;
  position: relative;
}

.booking-month-cell--empty    { background: transparent; }
.booking-month-cell--past     { color: #ccc; pointer-events: none; }
.booking-month-cell--unavailable { color: #bbb; background: #fafafa; pointer-events: none; }
.booking-month-cell--available {
  cursor: pointer;
  color: var(--color-text);
}
.booking-month-cell--available:hover {
  background: #fff0f6;
  color: var(--color-hot);
}
.booking-month-cell--today .booking-month-cell__num {
  background: var(--color-hot);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Day slots grid */
.booking-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}

.booking-slot {
  border: 2px solid #e8dede;
  border-radius: var(--radius-md);
  padding: 1rem 0.75rem;
  text-align: center;
  background: #fff;
  transition: all 0.2s;
}

.booking-slot--available {
  cursor: pointer;
  border-color: #e8dede;
}

.booking-slot--available:hover {
  border-color: var(--color-hot);
  box-shadow: 0 4px 16px rgba(236, 3, 124, 0.12);
  transform: translateY(-2px);
}

.booking-slot--held {
  border-color: var(--color-blush);
  background: #fff5f9;
  cursor: not-allowed;
  opacity: 0.85;
}

.booking-slot--unavailable,
.booking-slot--past {
  border-color: #eee;
  background: #fafafa;
  color: #bbb;
  cursor: not-allowed;
}

.booking-slot__time {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.2;
}

.booking-slot--held .booking-slot__time,
.booking-slot--unavailable .booking-slot__time,
.booking-slot--past .booking-slot__time {
  color: #bbb;
}

.booking-slot__end {
  font-size: 0.78rem;
  color: var(--color-muted);
  margin-top: 0.1rem;
}

.booking-slot__badge {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
}

.booking-slot--held .booking-slot__badge {
  background: #ffe0ee;
  color: var(--color-wine);
}

.booking-slot--available .booking-slot__badge {
  background: #f0faf0;
  color: #3a7a3a;
}

.booking-slots-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-muted);
}

/* ── Hold timer banner ── */
.hold-timer-banner {
  background: linear-gradient(135deg, #fff0f6, #fce4ef);
  border: 1.5px solid var(--color-blush);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hold-timer-icon { font-size: 1.4rem; }

.hold-timer-text {
  flex: 1;
  font-size: 0.88rem;
  color: var(--color-wine);
  line-height: 1.4;
}

.hold-timer-countdown {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-hot);
  font-variant-numeric: tabular-nums;
  min-width: 52px;
  text-align: right;
}

/* ── Booking summary card ── */
.booking-summary-card {
  background: #fdf5f8;
  border: 1.5px solid #f0e0ea;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
}

.booking-summary-card__title {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}

.booking-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  color: var(--color-text);
  border-bottom: 1px solid #f0e0ea;
}

.booking-summary-row:last-child { border-bottom: none; }

.booking-summary-row__label { color: var(--color-muted); }
.booking-summary-row__value { font-weight: 500; }

.booking-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  border-top: 2px solid #f0e0ea;
}

.booking-summary-total__label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.booking-summary-total__price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-hot);
}

/* ── Details form ── */
.booking-form-section {
  margin-bottom: 2rem;
}

.booking-form-section__title {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1.5px solid #f0e0ea;
}

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

@media (max-width: 520px) {
  .booking-form-row { grid-template-columns: 1fr; }
  .duration-grid    { grid-template-columns: 1fr 1fr; }
}

/* Apparatus cards */
.apparatus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.75rem;
}

.apparatus-card {
  position: relative;
}

.apparatus-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.apparatus-card__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1rem 0.75rem;
  border: 2px solid #e8dede;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.88rem;
  text-align: center;
  background: #fff;
  transition: border-color 0.2s, background 0.2s;
  min-height: 80px;
}

.apparatus-card input:checked + .apparatus-card__label {
  border-color: var(--color-hot);
  background: #fff5f9;
  color: var(--color-hot);
  font-weight: 600;
}

.apparatus-card__label:hover {
  border-color: var(--color-blush);
}

.apparatus-limit-note {
  font-size: 0.78rem;
  color: var(--color-muted);
  margin-top: 0.5rem;
}

/* Add-ons */
.addon-list { display: flex; flex-direction: column; gap: 0.75rem; }

.addon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border: 1.5px solid #f0e0ea;
  border-radius: var(--radius-md);
  background: #fff;
}

.addon-row__info { flex: 1; }
.addon-row__name { font-size: 0.9rem; font-weight: 500; }
.addon-row__price { font-size: 0.8rem; color: var(--color-muted); }

.addon-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.addon-qty-btn {
  width: 28px;
  height: 28px;
  border: 1.5px solid #e8dede;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
  line-height: 1;
  padding: 0;
}

.addon-qty-btn:hover { border-color: var(--color-hot); color: var(--color-hot); }

.addon-qty input[type="number"] {
  width: 40px;
  text-align: center;
  border: 1.5px solid #e8dede;
  border-radius: var(--radius-sm);
  padding: 0.25rem;
  font-size: 0.9rem;
  font-family: inherit;
  -moz-appearance: textfield;
}

.addon-qty input[type="number"]::-webkit-inner-spin-button,
.addon-qty input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; }

/* Live price display */
.live-price-bar {
  position: sticky;
  bottom: 1rem;
  background: #fff;
  border: 2px solid var(--color-blush);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 30px rgba(240, 114, 171, 0.2);
  margin-top: 2rem;
  z-index: 10;
}

.live-price-bar__label {
  font-size: 0.82rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.live-price-bar__amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-hot);
}

/* ── GCash payment section ── */
.gcash-card {
  background: #fff;
  border: 1.5px solid #f0e0ea;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.gcash-card_title {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.gcash-qr-placeholder {
  width: 300px;
  height: 300px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 0.8rem;
}

.gcash-qr-image { width: 100%; height: 100%; object-fit: contain; }

.gcash-details { font-size: 0.95rem; color: var(--color-text); line-height: 1.6; }
.gcash-details strong { display: block; font-size: 1.05rem; }

/* Upload section */
.upload-section {
  background: #fdf5f8;
  border: 1.5px solid #f0e0ea;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.upload-section__title {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}

.upload-note {
  font-size: 0.8rem;
  color: var(--color-wine);
  background: #fff0f0;
  border-left: 3px solid var(--color-wine);
  padding: 0.5rem 0.75rem;
  border-radius: 0 4px 4px 0;
  margin-top: 0.75rem;
}

/* ── Confirmation page ── */
.booking-confirm-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--color-blush), var(--color-pink));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.booking-confirm-ref {
  display: inline-block;
  background: #fdf5f8;
  border: 1.5px solid #f0e0ea;
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--color-wine);
  margin-top: 0.25rem;
}

.booking-whats-next {
  background: #fdf5f8;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.88rem;
  color: var(--color-text);
  line-height: 1.7;
}

.booking-whats-next__title {
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}

/* ── Phone field with country code ── */
.phone-input-wrapper {
  display: flex;
  gap: 0;
  border: 1.5px solid #e8dede;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.phone-input-wrapper:focus-within {
  border-color: var(--color-pink);
  box-shadow: 0 0 0 3px rgba(240, 114, 171, 0.12);
}

.phone-country-select {
  border: none;
  border-right: 1.5px solid #e8dede;
  padding: 0.6rem 0.5rem;
  font-size: 0.88rem;
  font-family: inherit;
  background: #fdf5f8;
  color: var(--color-text);
  cursor: pointer;
  outline: none;
  min-width: 88px;
}

.phone-number-input {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  flex: 1;
  padding: 0.6rem 0.85rem;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  background: transparent;
}

/* ── Shared form elements ── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.form-group .optional {
  font-weight: 400;
  color: var(--color-muted);
  font-size: 0.75rem;
}

.form-control {
  border: 1.5px solid #e8dede;
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--color-text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-pink);
  box-shadow: 0 0 0 3px rgba(240, 114, 171, 0.12);
}

.errorlist {
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  color: var(--color-red);
}

.btn-booking-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--color-hot);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.85rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}

.btn-booking-primary:hover {
  background: var(--color-wine);
  transform: translateY(-1px);
}

.btn-booking-primary:disabled,
.btn-booking-primary--disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-booking-primary:disabled:hover,
.btn-booking-primary--disabled:hover {
  background: var(--color-hot);
  transform: none;
}

.btn-booking-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--color-muted);
  border: 1.5px solid #e8dede;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  width: 100%;
  transition: border-color 0.2s, color 0.2s;
  margin-top: 0.75rem;
}

.btn-booking-secondary:hover {
  border-color: var(--color-muted);
  color: var(--color-text);
}

.booking-alert {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.booking-alert--error {
  background: #fff0f0;
  color: var(--color-red);
  border-left: 3px solid var(--color-red);
}

.booking-alert--success {
  background: #f0fff4;
  color: #1a6b35;
  border-left: 3px solid #2ecc71;
}

.booking-alert--info {
  background: #f5f5f5;
  color: var(--color-muted);
  border-left: 3px solid #ccc;
}

.booking-status-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
}

.booking-status-badge--confirmed {
  background: #e6f9f0;
  color: #1a6b35;
}

.booking-status-badge--pending {
  background: #fff8e6;
  color: #9a6300;
}

.booking-status-badge--cancelled {
  background: #fff0f0;
  color: var(--color-red);
}

/* ─── Consent / T&C scroll box ─── */
.consent-section {
  margin-top: 1.75rem;
}

.consent-scroll-box {
  height: 240px;
  overflow-y: scroll;
  border: 1.5px solid #e8dede;
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  background: #faf8f8;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--color-text);
  scroll-behavior: smooth;
}

.consent-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-hot);
  margin: 0 0 0.75rem;
}

.consent-intro {
  margin: 0 0 1rem;
  color: var(--color-muted);
  font-style: italic;
}

.consent-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.consent-item__num {
  flex-shrink: 0;
  width: 1.4rem;
  height: 1.4rem;
  background: var(--color-hot);
  color: #fff;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.consent-item__body {
  flex: 1;
}

.consent-scroll-hint {
  font-size: 0.75rem;
  color: var(--color-muted);
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}

.consent-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--color-muted);
  cursor: not-allowed;
  line-height: 1.5;
}

.consent-checkbox-label input[type="checkbox"] {
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--color-hot);
  width: 1rem;
  height: 1rem;
  cursor: not-allowed;
}

.consent-checkbox-label--active {
  color: var(--color-text);
  cursor: pointer;
}

.consent-checkbox-label--active input[type="checkbox"] {
  cursor: pointer;
}

.consent-link {
  color: var(--color-hot);
  text-decoration: underline;
}

.addon-capacity-note {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin: -0.25rem 0 0.75rem;
  line-height: 1.5;
}

.consent-error {
  display: none;
  font-size: 0.8rem;
  color: var(--color-red, #c0392b);
  background: #fff0f0;
  border-left: 3px solid var(--color-red, #c0392b);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.9rem;
  margin-top: 0.5rem;
}

.consent-checkbox-label--optional {
  margin-top: 0.6rem;
  color: var(--color-muted);
  cursor: pointer;
}

.consent-checkbox-label--optional input[type="checkbox"] {
  cursor: pointer;
}

.btn-booking-primary--inactive {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ─── Live validation ─── */
.live-field-error {
  display: none;
  font-size: 0.78rem;
  color: var(--color-red, #c0392b);
  margin-top: 0.3rem;
}

.input-invalid {
  border-color: var(--color-red, #c0392b) !important;
  background: #fff8f8 !important;
}

/* ─── Voucher input (payment page) ─── */
.voucher-input-section {
  background: #faf8f8;
  border: 1.5px dashed #e8dede;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-top: 1rem;
}

.voucher-input-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.voucher-input-row {
  display: flex;
  gap: 0.5rem;
}

.voucher-code-input {
  flex: 1;
  border: 1.5px solid #e8dede;
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.85rem;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  font-weight: 600;
  background: #fff;
}

.voucher-code-input:focus {
  outline: none;
  border-color: var(--color-hot);
}

.btn-voucher-apply {
  padding: 0.55rem 1.1rem;
  background: var(--color-hot);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-voucher-apply:disabled {
  opacity: 0.6;
  cursor: default;
}

.voucher-feedback {
  font-size: 0.8rem;
  margin-top: 0.45rem;
  min-height: 1rem;
}

.voucher-feedback--ok  { color: #2e7d32; }
.voucher-feedback--err { color: var(--color-red, #c0392b); }

.voucher-applied-row .booking-summary-row__value {
  color: #2e7d32;
  font-weight: 600;
}

.voucher-discount-value {
  font-weight: 600;
}

/* ─── Voucher toggle ─── */
.voucher-toggle-wrap {
  margin-top: 0.75rem;
  text-align: right;
}

.voucher-toggle-link {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8rem;
  color: var(--color-muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.voucher-toggle-link:hover {
  color: var(--color-hot);
}

.voucher-input-section {
  margin-top: 0.6rem;
  background: #faf8f8;
  border: 1.5px dashed #e8dede;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}

/* ─── Free booking notice ─── */
.free-booking-notice {
  background: #e8f5e9;
  color: #2e7d32;
  border-left: 3px solid #2e7d32;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  margin-top: 1.25rem;
  line-height: 1.5;
}

/* ── Loading overlay ── */
.booking-loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.booking-loading-overlay.is-visible {
  opacity: 1;
  pointer-events: all;
}

.booking-loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid #f5aecd;
  border-top-color: var(--color-hot);
  border-radius: 50%;
  animation: booking-spin 0.75s linear infinite;
}

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

.booking-loading-text {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* ── Mobile responsive ── */
@media (max-width: 600px) {
  /* Page wrapper */
  .booking-page {
    padding: 1.25rem 1rem 3.5rem;
  }

  /* Steps bar — shrink dots and hide labels on very narrow screens */
  .booking-steps {
    margin-bottom: 1.75rem;
  }
  .booking-step {
    gap: 0.2rem;
    max-width: 64px;
  }
  .booking-step__dot {
    width: 22px;
    height: 22px;
  }
  .booking-step::before {
    top: 11px;
    left: calc(-50% + 11px);
    right: calc(50% + 11px);
  }
  .booking-step--done .booking-step__dot::after {
    font-size: 0.58rem;
  }
  .booking-step--active .booking-step__dot::after {
    width: 6px;
    height: 6px;
  }
  .booking-step__label {
    font-size: 0.55rem;
    letter-spacing: 0.02em;
  }

  /* Heading */
  .booking-heading h1 {
    font-size: 1.5rem;
  }

  /* Summary card */
  .booking-summary-card {
    padding: 1rem 1rem;
  }
  .booking-summary-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    padding: 0.45rem 0;
  }
  .booking-summary-row__label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .booking-summary-row__value {
    font-size: 0.88rem;
    word-break: break-word;
  }
  .booking-summary-total__price {
    font-size: 1.2rem;
  }

  /* Duration grid */
  .duration-grid { grid-template-columns: 1fr 1fr; }
  .booking-form-row { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  /* Hide step labels on the smallest phones — dots only */
  .booking-step__label { display: none; }
  .booking-step { gap: 0; max-width: 40px; }
  .booking-page { padding: 1rem 0.75rem 3rem; }

  /* Buttons */
  .btn-booking-primary,
  .btn-booking-secondary {
    font-size: 0.9rem;
    padding: 0.85rem 1rem;
  }
}
