.booking-page-section { padding-top: 3.5rem; }

.booking-page-head { max-width: 62ch; margin-bottom: 1.6rem; }
.booking-page-head h1 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  margin-bottom: 0.6rem;
}
.booking-page-sub { font-size: 1.05rem; }

.area-notice {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: var(--paper-raised);
  border: 2px solid var(--red);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  margin-bottom: 2.4rem;
  font-size: 0.92rem;
  color: var(--ink);
}
.area-notice-icon {
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
}
.area-notice strong { display: block; color: var(--red-deep); margin-bottom: 0.2rem; }
.area-notice a { color: var(--navy); font-weight: 600; text-decoration: underline; }

.booking-page-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.booking-info-card {
  background: var(--paper-raised);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.booking-info-card p { margin: 0.8rem 0 1.4rem; font-size: 0.94rem; }

/* ---------- calendar ---------- */
.calendar {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.2rem;
}
.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--navy);
  color: #fff;
  padding: 0.7rem 1rem;
}
.cal-month-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.cal-nav {
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.cal-nav:disabled { opacity: 0.25; cursor: not-allowed; }
.cal-nav:not(:disabled):hover { background: rgba(255,255,255,0.22); }

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-align: center;
  padding: 0.5rem 0.4rem 0.2rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.3rem;
  padding: 0.4rem;
  background: var(--paper-raised);
}
.cal-day {
  aspect-ratio: 1;
  border: 1.5px solid transparent;
  border-radius: 8px;
  background: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ink-faint);
  cursor: default;
}
.cal-day.is-empty { visibility: hidden; }
.cal-day.is-disabled { color: var(--steel-line); }
.cal-day.is-open {
  color: var(--ink);
  border-color: var(--steel-line);
  background: var(--paper);
  cursor: pointer;
  font-weight: 700;
}
.cal-day.is-open:hover { border-color: var(--navy); }
.cal-day.is-today.is-open { border-color: var(--navy); border-style: dashed; }
.cal-day.is-selected { background: var(--navy) !important; border-color: var(--navy) !important; color: #fff !important; }

@media (max-width: 980px) {
  .booking-page-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  /* Picking a date is the core action of this page and most of it happens on a
     phone, so claw back every pixel of width for the grid: let the calendar
     break out of the card's padding and tighten its internal spacing, so day
     cells land near a 44px tap target instead of a fiddly ~35px. */
  .calendar {
    margin-left: -0.6rem;
    margin-right: -0.6rem;
  }
  .calendar-grid {
    padding: 0.25rem;
    gap: 0.2rem;
  }
  .calendar-weekdays { padding: 0.5rem 0.25rem 0.2rem; }
  .cal-day { font-size: 0.82rem; border-radius: 6px; }
  .cal-nav { width: 40px; height: 40px; font-size: 1.25rem; }
  .cal-month-label { font-size: 0.8rem; }
  .area-notice { flex-direction: column; }
}

@media (max-width: 400px) {
  /* Small-phone territory (iPhone SE and similar): the 7-column grid is fluid,
     so day cells shrink with the viewport. Trade outer gutter for grid width
     here — keeping a ~12px gutter — rather than let cells fall back under 35px. */
  .booking-page-section .wrap { padding-left: 0.75rem; padding-right: 0.75rem; }
  .booking-page-grid .form-card { padding: 0.85rem; }
  .cal-day { font-size: 0.78rem; }
}
