/**
 * Booking modal — multi-step popup (Trip → Participant Info → Review)
 */

.booking-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(13, 17, 23, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.booking-modal-backdrop.is-visible {
  opacity: 1;
}

.booking-modal {
  inset: 0;
  z-index: 1101;
  position: fixed;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  pointer-events: none;
}

@media (min-width: 640px) {
  .booking-modal {
    align-items: center;
    padding: 1.5rem;
  }
}

.booking-modal.is-open {
  pointer-events: auto;
}

.booking-modal-panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: calc(96dvh - env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-radius: 1.25rem 1.25rem 0 0;
  box-shadow: 0 24px 80px rgba(13, 17, 23, 0.2);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

@media (min-width: 640px) {
  .booking-modal-panel {
    max-width: 980px;
    max-height: 90dvh;
    border-radius: 1.25rem;
    transform: translateY(24px) scale(0.98);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.25s ease;
  }
}

.booking-modal.is-open .booking-modal-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Header */
.booking-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.25rem 0;
  flex-shrink: 0;
  position: relative;
  z-index: 3;
  background: #fff;
}

@media (min-width: 640px) {
  .booking-modal-head {
    padding: 1.5rem 1.5rem 0;
  }
}

.booking-modal-eyebrow {
  margin: 0 0 0.25rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c4694a;
}

.booking-modal-head-text {
  min-width: 0;
  flex: 1;
  overflow: visible;
}

.booking-modal-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #0d1117;
  line-height: 1.25;
}

@media (min-width: 480px) {
  .booking-modal-title {
    font-size: 1.375rem;
  }
}

.booking-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid #e8ecf2;
  border-radius: 999px;
  background: #fff;
  color: #4a5568;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  z-index: 4;
  transition: background 0.2s, border-color 0.2s;
}

.booking-modal-close:hover {
  background: #f7f9fc;
  border-color: #c4694a;
  color: #0d1117;
}

.booking-modal-close svg {
  width: 1.125rem;
  height: 1.125rem;
}

/* Stepper */
.booking-stepper {
  padding: 1rem 1.25rem 0;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .booking-stepper {
    padding: 1.25rem 1.5rem 0;
  }
}

.booking-stepper-list {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.booking-stepper-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  flex: 1;
  min-width: 0;
}

.booking-stepper-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  border: 2px solid #e8ecf2;
  background: #fff;
  font-size: 11px;
  font-weight: 700;
  color: #8892a4;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.booking-stepper-label {
  font-size: 10px;
  font-weight: 600;
  color: #8892a4;
  text-align: center;
  line-height: 1.25;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 400px) {
  .booking-stepper-label {
    font-size: 11px;
  }
}

@media (max-width: 359px) {
  .booking-stepper-label {
    font-size: 9px;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}

.booking-stepper-item.is-active .booking-stepper-dot,
.booking-stepper-item.is-done .booking-stepper-dot {
  border-color: #c4694a;
  background: #c4694a;
  color: #fff;
  cursor: pointer;
}

.booking-stepper-item.is-active .booking-stepper-label {
  color: #0d1117;
}

.booking-stepper-item.is-done .booking-stepper-label {
  color: #4a5568;
}

.booking-stepper-bar {
  height: 3px;
  margin-top: 0.75rem;
  border-radius: 999px;
  background: #e8ecf2;
  overflow: hidden;
}

.booking-stepper-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #c4694a, #9e5238);
  transition: width 0.35s ease;
}

/* Body layout */
.booking-modal-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

@media (min-width: 768px) {
  .booking-modal-body {
    flex-direction: row;
  }
}

.booking-modal-form-col {
  flex: 1;
  min-width: 0;
  overflow-y: auto;
  padding: 1.25rem;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 640px) {
  .booking-modal-form-col {
    padding: 1.5rem;
  }
}

.booking-step-title {
  margin: 0 0 0.25rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #0d1117;
}

.booking-step-sub {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: #8892a4;
  line-height: 1.5;
}

.booking-field-hint {
  margin: 0.375rem 0 0;
  font-size: 0.75rem;
  color: #8892a4;
  line-height: 1.4;
}

.booking-field-error {
  margin: 0.375rem 0 0;
  font-size: 0.75rem;
  color: #dc2626;
  line-height: 1.4;
}

.booking-field-error[hidden] {
  display: none;
}

.booking-recaptcha-wrap {
  margin-top: 0.25rem;
}

.booking-recaptcha {
  min-height: 78px;
}

.booking-form .form-field input.is-invalid:not([type="checkbox"]),
.booking-form .form-field select.is-invalid,
.booking-form .form-field textarea.is-invalid,
.booking-form .booking-select.is-invalid,
.booking-form .date-range-input.is-invalid {
  border-color: #fca5a5 !important;
  box-shadow: 0 0 0 1px #fecaca !important;
}

.booking-form .form-field input.is-invalid:not([type="checkbox"]):focus,
.booking-form .form-field select.is-invalid:focus,
.booking-form .form-field textarea.is-invalid:focus,
.booking-form .booking-select.is-invalid:focus,
.booking-form .date-range-input.is-invalid:focus {
  border-color: #f87171 !important;
  box-shadow: 0 0 0 3px rgba(252, 165, 165, 0.35) !important;
}

.booking-counter.is-invalid {
  border-color: #fca5a5 !important;
  box-shadow: 0 0 0 1px #fecaca !important;
}

.checkbox.is-invalid .checkbox-box {
  border-color: #dc2626;
}

.date-picker-wrap:has(.date-range-input.is-invalid) .date-picker-icon {
  color: #dc2626;
}

/* Form fields */
.booking-field {
  margin-bottom: 1rem;
}

.booking-field-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .booking-field-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-field-row .booking-field {
    margin-bottom: 0;
  }
}

/* Counter */
.booking-counter {
  display: flex;
  align-items: center;
  border: 1px solid #e8ecf2;
  border-radius: 0.75rem;
  overflow: hidden;
}

.booking-counter-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: #f7f9fc;
  font-size: 1.125rem;
  color: #0d1117;
  cursor: pointer;
  transition: background 0.2s;
}

.booking-counter-btn:hover {
  background: #f6ebe5;
}

.booking-counter-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: #fff;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0d1117;
  outline: none;
  -moz-appearance: textfield;
}

.booking-counter-input::-webkit-outer-spin-button,
.booking-counter-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Review step */
.booking-review {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.booking-review-card {
  border: 1px solid #e8ecf2;
  border-radius: 0.875rem;
  background: #fff;
  overflow: hidden;
}

.booking-review-card__title {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8892a4;
  background: #f7f9fc;
  border-bottom: 1px solid #e8ecf2;
}

.booking-review-grid {
  margin: 0;
  padding: 0.875rem 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem 1.5rem;
}

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

.booking-review-item {
  min-width: 0;
}

.booking-review-item dt {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  color: #8892a4;
}

.booking-review-item dd {
  margin: 0.2rem 0 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0d1117;
  line-height: 1.45;
  word-break: break-word;
}

.booking-review-participant-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0.875rem 1rem;
}

.booking-review-participant-card {
  border: 1px solid #e8ecf2;
  border-radius: 0.625rem;
  overflow: hidden;
  background: #fff;
  min-width: 0;
}

.booking-review-participant-card__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  background: #f7f9fc;
  border-bottom: 1px solid #e8ecf2;
}

.booking-review-participant-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 999px;
  background: #0d1117;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  flex-shrink: 0;
}

.booking-review-participant-card__name {
  flex: 1;
  min-width: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0d1117;
  line-height: 1.3;
}

.booking-review-participant-card__type {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.booking-review-participant-card__type--child {
  color: #c4694a;
}

.booking-review-participant-card__type--adult {
  color: #4a5568;
}

.booking-review-participant-card__fields {
  margin: 0;
  padding: 0.625rem 0.75rem;
  display: grid;
  gap: 0.5rem;
}

.booking-review-participant-card__fields .booking-review-item dt {
  font-size: 0.6875rem;
}

.booking-review-participant-card__fields .booking-review-item dd {
  font-size: 0.8125rem;
}

@media (max-width: 767px) {
  .booking-review-participant-grid {
    grid-template-columns: 1fr;
  }
}

.booking-step[data-booking-step="2"] .booking-payment-section {
  margin-top: 0.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e8ecf2;
}

.booking-form .checkbox {
  position: relative;
}

.booking-step[data-booking-step="2"] .checkbox {
  margin-top: 0.25rem;
}

.booking-form .checkbox input[type="checkbox"] {
  position: absolute;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  border: 0;
  pointer-events: none;
}

.booking-buyer-options,
.booking-participant-notifications {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.booking-buyer-participant-wrap {
  margin-top: 0.25rem;
}

/* Summary sidebar */
.booking-summary {
  display: none;
  width: 280px;
  flex-shrink: 0;
  border-left: 1px solid #e8ecf2;
  background: #f7f9fc;
  overflow-y: auto;
}

@media (min-width: 768px) {
  .booking-summary {
    display: block;
  }
}

.booking-summary-inner {
  padding: 1.5rem;
  position: sticky;
  top: 0;
}

.booking-summary-eyebrow {
  margin: 0 0 0.375rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c4694a;
}

.booking-summary-tour {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: #0d1117;
  line-height: 1.35;
}

.booking-summary-meta {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  color: #8892a4;
}

.booking-summary-details {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  border-top: 1px solid #e8ecf2;
}

.booking-summary-details li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid #e8ecf2;
  font-size: 0.8125rem;
}

.booking-summary-label {
  color: #8892a4;
}

.booking-summary-value {
  font-weight: 600;
  color: #0d1117;
  text-align: right;
}

.booking-summary-child-pricing {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e8ecf2;
}

.booking-summary-child-pricing__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8892a4;
}

.booking-summary-child-pricing__note {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #8892a4;
}

.booking-summary-price {
  padding: 0.875rem;
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid #e8ecf2;
  margin-bottom: 1rem;
}

.booking-summary-price-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8892a4;
}

.booking-summary-price-value {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0d1117;
}

.booking-summary-price-note {
  display: block;
  margin-top: 0.25rem;
  font-size: 10px;
  color: #8892a4;
}

.booking-summary-trust {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 11px;
  color: #8892a4;
  line-height: 1.4;
}

.booking-summary-trust svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  stroke: #c4694a;
  margin-top: 0.125rem;
}

/* Mobile summary card (sidebar hidden below 768px) */
.booking-mobile-summary {
  display: none;
}

.booking-mobile-summary[hidden] {
  display: none !important;
}

.booking-mobile-summary:not(:empty):not([hidden]) {
  display: block;
  margin-bottom: 1rem;
  padding: 0.75rem 0.875rem;
  border-radius: 0.625rem;
  background: #f7f9fc;
  border: 1px solid #e8ecf2;
  font-size: 0.75rem;
  font-weight: 500;
  color: #4a5568;
  line-height: 1.45;
  word-break: break-word;
}

@media (min-width: 768px) {
  .booking-mobile-summary,
  .booking-mobile-summary:not(:empty) {
    display: none !important;
  }
}

/* Footer actions */
.booking-modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #e8ecf2;
  background: #fff;
  flex-shrink: 0;
}

.booking-modal-foot .booking-btn--primary {
  margin-left: auto;
}

@media (min-width: 640px) {
  .booking-modal-foot {
    padding: 1rem 1.5rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 479px) {
  .booking-modal-foot {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .booking-modal-foot .booking-btn {
    width: 100%;
    min-width: 0;
  }

  .booking-modal-foot .booking-btn--primary {
    margin-left: 0;
    min-width: 0;
  }
}

.booking-modal-foot.is-hidden {
  display: none;
}

#bookingBackBtn[hidden] {
  display: none;
}

.booking-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.15s;
}

.booking-btn svg {
  width: 1rem;
  height: 1rem;
}

.booking-btn--primary {
  background: #0d1117;
  color: #fff;
  min-width: 8.5rem;
}

.booking-btn--primary:hover {
  background: #1a1a1a;
}

.booking-btn--primary:active {
  transform: scale(0.98);
}

.booking-btn.is-loading {
  cursor: wait;
  opacity: 0.92;
}

.booking-btn-spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: booking-btn-spin 0.65s linear infinite;
  flex-shrink: 0;
}

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

.booking-btn--ghost {
  background: transparent;
  color: #4a5568;
  border: 1px solid #e8ecf2;
}

.booking-btn--ghost:hover {
  background: #f7f9fc;
  color: #0d1117;
}

/* Success — hide trip summary sidebar */
.booking-modal-body--success .booking-summary {
  display: none;
}

.booking-modal-body--success .booking-modal-form-col {
  width: 100%;
  max-width: none;
}

.booking-modal-body--success .booking-success {
  padding: 2.5rem 1rem 3rem;
}

.booking-input-readonly,
.booking-input-readonly:focus {
  background: #eef1f6 !important;
  border-color: #d7dde7 !important;
  color: #94a3b8 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  opacity: 1 !important;
  pointer-events: none;
}

/* Success */
.booking-success {
  text-align: center;
  padding: 2rem 0.5rem;
}

.booking-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: 999px;
  background: #f6ebe5;
  color: #c4694a;
}

.booking-success-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.booking-success-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #0d1117;
}

.booking-success-text {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: #4a5568;
  line-height: 1.55;
}

.booking-success-ref {
  margin: 0 0 1.5rem;
  font-size: 0.8125rem;
  color: #8892a4;
}

.booking-success-ref strong {
  color: #0d1117;
  font-weight: 700;
}

/* Body lock */
body.is-booking-open {
  overflow: hidden;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .booking-modal-backdrop,
  .booking-modal-panel,
  .booking-stepper-bar-fill {
    transition: none;
  }
}

/* Admin styles */
.booking-modal.admin {
  position: relative;
}

.booking-modal.admin-calendar {
  position: fixed;
  inset: 0;
  z-index: 100200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  pointer-events: none;
}

.booking-modal.admin-calendar.is-open {
  pointer-events: auto;
}

.booking-modal.admin-calendar .booking-modal-panel {
  width: 100%;
  max-width: 980px;
  max-height: 90dvh;
  border-radius: 1.25rem;
  box-shadow: 0 24px 80px rgba(13, 17, 23, 0.2);
  overflow: visible;
}

.booking-modal.admin-calendar .booking-modal-body {
  overflow: visible;
}

body.wp-admin .daterangepicker {
  z-index: 100250 !important;
}

.booking-modal.admin-calendar .daterangepicker {
  z-index: 100250 !important;
  position: fixed !important;
}

.booking-modal.admin-calendar .daterangepicker {
  z-index: 100250 !important;
  position: fixed !important;
}

.booking-modal.admin.admin-calendar .booking-summary-trust,
.booking-modal.admin-calendar .booking-summary-trust {
  display: none;
}

.booking-modal.admin:not(.admin-calendar) .booking-modal-panel {
  max-width: 100%;
  max-height: none;
  box-shadow: none;
  border-radius: 0;
}

@media (max-width: 782px) {
  .booking-modal.admin:not(.admin-calendar) .booking-modal-body {
    flex-direction: column;
  }

  .booking-modal.admin:not(.admin-calendar) .booking-summary {
    display: block;
    width: 100%;
    border-left: 0;
    border-top: 1px solid #e8ecf2;
  }

  .booking-modal.admin:not(.admin-calendar) .booking-mobile-summary,
  .booking-modal.admin:not(.admin-calendar) .booking-mobile-summary:not(:empty) {
    display: none !important;
  }
}


/* Clickable stepper items (admin edit page only) */
.booking-stepper-item.is-clickable {
  cursor: pointer;
  transition: opacity 0.2s;
}

.booking-stepper-item.is-clickable:hover {
  opacity: 0.8;
}

.booking-stepper-item.is-clickable:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Payment options (Step 3) */
.booking-payment-section {
  margin: 0 0 1.25rem;
  padding: 0;
  border: 0;
}

.booking-payment-section__title {
  display: block;
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0d1117;
}

.booking-payment-options {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.booking-payment-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border: 1px solid #e8ecf2;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.booking-payment-option:hover {
  border-color: #c4694a;
  background: #fdf8f6;
}

.booking-payment-option__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.booking-payment-option__input:checked + .booking-payment-option__box {
  border-color: #c4694a;
  background: #c4694a;
  box-shadow: inset 0 0 0 3px #fff;
}

.booking-payment-option__box {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.125rem;
  border: 2px solid #cbd5e1;
  border-radius: 999px;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}

.booking-payment-option__content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.booking-payment-option__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0d1117;
  line-height: 1.35;
}

.booking-payment-option__hint {
  display: block;
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.45;
}

/* Payment / booking result notice (after gateway redirect) */
.wb-booking-result {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1200;
  max-width: 480px;
  margin: 0 auto;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: auto;
}

.wb-booking-result.is-dismissed {
  opacity: 0;
  transform: translateY(0.75rem);
  pointer-events: none;
}

.wb-booking-result__inner {
  position: relative;
  padding: 1rem 2.5rem 1rem 1rem;
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid #e8ecf2;
  box-shadow: 0 12px 40px rgba(13, 17, 23, 0.12);
}

.wb-booking-result--success .wb-booking-result__inner {
  border-color: #86efac;
  background: #f0fdf4;
}

.wb-booking-result--error .wb-booking-result__inner {
  border-color: #fca5a5;
  background: #fef2f2;
}

.wb-booking-result--info .wb-booking-result__inner {
  border-color: #93c5fd;
  background: #eff6ff;
}

.wb-booking-result__title {
  display: block;
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.wb-booking-result__text {
  margin: 0;
  font-size: 0.8125rem;
  color: #4a5568;
  line-height: 1.45;
}

.wb-booking-result--with-receipt {
  max-width: 520px;
}

.wb-booking-result__receipt {
  margin: 0.75rem 0 0;
}

.wb-booking-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin: 0.75rem 0 0;
}

.wb-booking-result__download,
.wb-booking-result__view {
  display: inline-block;
  padding: 0.5rem 0.875rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.wb-booking-result__download {
  background: #0d1117;
  color: #fff;
}

.wb-booking-result__view {
  background: #fff;
  color: #0d1117;
  border: 1px solid #e2e8f0;
}

.wb-booking-result__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 1.75rem;
  height: 1.75rem;
  border: 0;
  background: transparent;
  font-size: 1.25rem;
  line-height: 1;
  color: #8892a4;
  cursor: pointer;
}

.wb-booking-result--with-calendar {
  max-width: 28rem;
}

.wb-booking-result__calendar {
  margin-top: 0.75rem;
}

.wb-booking-calendar {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.875rem;
  padding: 0.875rem;
}

.wb-booking-calendar--compact .wb-booking-calendar__title {
  font-size: 0.8125rem;
}

.wb-booking-calendar__head {
  margin-bottom: 0.75rem;
}

.wb-booking-calendar__title {
  display: block;
  font-size: 0.875rem;
  color: #0d1117;
}

.wb-booking-calendar__dates {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: #64748b;
}

.wb-booking-calendar__body {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.wb-booking-calendar__qr {
  text-align: center;
  flex: 0 0 auto;
}

.wb-booking-calendar__qr img {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.wb-booking-calendar__qr-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 0.5rem;
  border: 1px dashed #e2e8f0;
  background: #fff;
  color: #94a3b8;
  font-size: 0.75rem;
  line-height: 96px;
  text-align: center;
}

.wb-booking-calendar__qr span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.625rem;
  color: #64748b;
}

.wb-booking-calendar__actions {
  display: grid;
  gap: 0.4rem;
  flex: 1;
  min-width: 9rem;
}

.wb-booking-calendar__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.6875rem;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  color: #0d1117;
  background: #fff;
}

.wb-booking-calendar__btn--apple {
  background: #111827;
  border-color: #111827;
  color: #fff;
}

.wb-booking-calendar__btn--google {
  background: #1a73e8;
  border-color: #1a73e8;
  color: #fff;
}

.wb-booking-calendar__icon {
  display: inline-flex;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.wb-booking-calendar__icon svg {
  display: block;
  width: 14px;
  height: 14px;
}

/* Participant info */
.booking-section {
  margin-bottom: 1.5rem;
}

.booking-section-title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #0d1117;
}

.booking-participants-list {
  display: grid;
  gap: 0.75rem;
}

.booking-participant {
  border: 1px solid #e8ecf2;
  border-radius: 0.9rem;
  overflow: hidden;
  background: #fff;
}

.booking-participant__toggle {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.9rem 1rem;
  border: 0;
  background: #f7f9fc;
  text-align: left;
  cursor: pointer;
}

.booking-participant__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: #0d1117;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
}

.booking-participant__label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0d1117;
}

.booking-participant__type {
  font-size: 0.75rem;
  font-weight: 600;
  color: #8892a4;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.booking-participant__chevron {
  width: 1rem;
  height: 1rem;
  color: #8892a4;
  transition: transform 0.2s ease;
}

.booking-participant.is-open .booking-participant__chevron {
  transform: rotate(180deg);
}

.booking-participant__body {
  display: none;
  padding: 1rem;
}

.booking-participant.is-open .booking-participant__body {
  display: block;
}

.booking-dob-row,
.booking-phone-row {
  display: grid;
  gap: 0.5rem;
}

.booking-gender-phone-row {
  display: grid;
  grid-template-columns: 30% minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.booking-gender-col,
.booking-phone-col {
  min-width: 0;
}

.booking-dob-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.booking-phone-row {
  grid-template-columns: 6.30rem minmax(0, 1fr);
}

.booking-phone-row select.booking-phone-code {
  min-width: 0;
  padding-left: 0.625rem !important;
  padding-right: 1.75rem !important;
  font-size: 0.8125rem !important;
}

@media (max-width: 639px) {
  .booking-gender-phone-row {
    grid-template-columns: 1fr;
  }
}

.booking-label-optional {
  font-size: 0.85em;
  font-weight: 400;
  color: var(--booking-muted, #6b7280);
}

.wb-booking-details h4 {
  margin: 1.25rem 0 0.75rem;
  font-size: 0.95rem;
}

.wb-booking-details h4:first-child {
  margin-top: 0;
}

.wb-booking-details__list {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 0.35rem 1rem;
  margin: 0 0 1rem;
}

.wb-booking-details__list dt {
  margin: 0;
  font-weight: 600;
  color: #4a5568;
}

.wb-booking-details__list dd {
  margin: 0;
  color: #0d1117;
}