/* Booking is an honest preview until availability and payment are connected. */
.booking-layout, .booking-steps {
  display: grid;
  align-items: start;
  gap: 1.5rem;
}

.booking-panel, .booking-summary {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  background: var(--panel-background);
  box-shadow: 0 1rem 3rem rgb(0 0 0 / 16%);
}

.booking-panel h2, .booking-summary h2 {
  margin-bottom: 1.75rem;
  font-size: 2.25rem;
}

.booking-panel .text-link {
  margin-top: 1rem;
}

.field {
  display: grid;
  gap: 0.5rem;
  margin-block: 1rem;
}

.field label {
  color: var(--muted);
  font-size: 0.8125rem;
}

.field input, .field select {
  width: 100%;
  min-width: 0;
  min-height: 3rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--night);
  color: var(--paper);
  font-size: 0.875rem;
}

.field input:disabled {
  opacity: 0.45;
}

.calendar-placeholder {
  margin-block: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--line);
}

.calendar-month {
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.375rem;
  text-align: center;
}

.calendar-weekday {
  padding-bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.6875rem;
}

.calendar-day {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: var(--surface);
  color: #91918f;
}

.customer-fields {
  min-width: 0;
  margin: 1rem 0 0;
  padding: 0;
  border: 0;
}

.booking-summary > p {
  margin-block: 1.5rem;
  font-size: 0.875rem;
}

.booking-summary .button-gold {
  width: 100%;
}

.selected-tour {
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
}

.selected-tour h3 {
  color: var(--gold-light);
}

.selected-tour .tour-facts {
  margin-top: 0.5rem;
}

/* Tablet: layout changes only. */
@media (width >= 48rem) {
  .customer-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 2rem;
  }
}

/* Desktop: the third and final layout size. */
@media (width >= 64rem) {
  .booking-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 2rem;
  }

  .booking-summary {
    position: sticky;
    top: 2rem;
  }
}
