.reservation-page {
  width: auto;
  height: auto;
  min-height: 100%;
  color: #101719;
  background: #e8f5f7;
}

.reservation-page .site-header { font-family: "IBM Plex Sans", system-ui, sans-serif; }

.reservation-intro {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3.5rem 0 1.4rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.reservation-intro h1 {
  max-width: 780px;
  margin: 0;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: .95;
  letter-spacing: -.05em;
}

.reservation-intro > div > p:last-child {
  max-width: 650px;
  color: #5d6b6e;
}

.reservation-page .page {
  width: min(1240px, 100%);
  height: auto;
  min-height: 0;
  margin: 0 auto;
  padding: 0 1rem 4rem;
  display: block;
}

.reservation-page .plan-scroll {
  height: 720px;
  min-height: 0;
  background: #fff;
}

.reservation-page .legend {
  flex: 0 0 auto;
  color: #171717;
}

.reservation-page .site-footer {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
}

.reservation-page .popup {
  top: 92px;
  width: min(600px, calc(100vw - 2rem));
  max-height: calc(100dvh - 108px);
  padding: 1rem 1.15rem;
  overflow-y: auto;
  transform: translateX(-50%);
}

.booking-picker { margin-top: .65rem; }

.calendar-heading {
  display: grid;
  grid-template-columns: 2.25rem 1fr 2.25rem;
  align-items: center;
  gap: .5rem;
}

.calendar-heading h3,
.slot-picker h3 {
  margin: 0;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
}

.calendar-heading h3 {
  text-align: center;
  text-transform: capitalize;
}

.calendar-nav {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid #d7d0c6;
  border-radius: 50%;
  background: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.calendar-nav:disabled { opacity: .3; cursor: not-allowed; }

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .3rem;
}

.calendar-weekdays {
  margin: .5rem 0 .25rem;
  color: #756e67;
  font-size: .7rem;
  font-weight: 800;
  text-align: center;
}

.calendar-day {
  min-height: 2rem;
  border: 1px solid #d8d2c9;
  border-radius: 8px;
  color: #17221e;
  background: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.calendar-day:hover:not(:disabled),
.calendar-day--selected {
  border-color: #277153;
  color: #fff;
  background: #277153;
}

.calendar-day--unavailable,
.calendar-day--booked {
  color: #9c938b;
  background: #eeeae4;
  text-decoration: line-through;
  cursor: not-allowed;
}

.slot-option--unavailable {
  opacity: .72;
  color: #8a837b;
  background: #f3efe9;
  text-decoration: line-through;
  cursor: not-allowed;
}

.slot-option--unavailable strong,
.slot-option--unavailable span,
.slot-option--unavailable b {
  text-decoration: line-through;
  color: #8a837b;
}

.calendar-loading {
  grid-column: 1 / -1;
  margin: 1.5rem 0;
  text-align: center;
}

.slot-picker {
  margin-top: .65rem;
  padding-top: .65rem;
  border-top: 1px solid #e3ded6;
}

.slot-picker h3 { font-size: 1rem; }

.slot-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .4rem;
  margin-top: .45rem;
}

.slot-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .15rem .5rem;
  padding: .5rem .6rem;
  border: 1px solid #d8d2c9;
  border-radius: 9px;
  color: #191816;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.slot-option strong { grid-column: 1; }
.slot-option span { grid-column: 1; color: #756e67; font-size: .75rem; }
.slot-option b { grid-column: 2; grid-row: 1 / 3; align-self: center; color: #277153; }
.slot-option--selected { border-color: #277153; background: #e3f1eb; box-shadow: 0 0 0 2px rgba(39, 113, 83, .15); }
.slot-empty { grid-column: 1 / -1; color: #756e67; }
.reservation-page .popup-status { margin-top: .5rem; padding: .4rem .55rem; }
.reservation-page .popup-price { margin: .35rem 0 .55rem; font-size: 1.35rem; }

.season-panel {
  margin: .75rem 0 .35rem;
  padding: .85rem .9rem;
  border-radius: 12px;
  background: #f3f6f8;
  border: 1px solid #d5dde3;
}

.season-panel__lead { margin: 0 0 .45rem; color: #1d2a32; }
.season-panel__hint { margin: 0 0 .55rem; color: #3d5a45; font-weight: 600; }
.season-panel .btn { width: 100%; }

.priority-modal { z-index: 60; }
.priority-form {
  display: grid;
  gap: .65rem;
  margin-top: .75rem;
}
.priority-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.priority-form label {
  display: grid;
  gap: .3rem;
  font-size: .85rem;
  font-weight: 600;
}
.priority-form input {
  padding: .65rem .75rem;
  border: 1px solid #c9c2b8;
  border-radius: 10px;
  font: inherit;
}

@media (max-width: 760px) {
  .reservation-intro { align-items: stretch; flex-direction: column; }
  .reservation-page .legend { width: 100%; }
  .reservation-page .plan-scroll { height: 700px; }
  .slot-list { grid-template-columns: 1fr; }
}
