.booking-calendar { min-width: 0; grid-column: 1 / -1; }
.komplex-booking-fields .booking-calendar,
.reservation-dialog .booking-calendar { display: grid; align-content: start; gap: 5px; }
.komplex-booking-fields .booking-date-label,
.reservation-dialog .booking-date-label { margin-bottom: 0; line-height: 1.5; }
.komplex-booking-fields label > span,
.reservation-dialog .reservation-preview label > span { line-height: 1.5; }
.button.booking-whatsapp-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.button.booking-whatsapp-action svg { width: 20px; height: 20px; flex: 0 0 20px; }
.button.booking-whatsapp-action[hidden] { display: none; }
.booking-date-label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 600; }
.booking-date-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgb(59 7 18 / 28%);
  border-radius: 4px;
  background: #fffdf8;
  color: var(--wine);
  font: 400 14px/1.5 var(--sans);
  text-align: left;
  cursor: pointer;
}
.booking-date-trigger svg { width: 20px; height: 20px; flex-shrink: 0; }
.booking-date-trigger[aria-invalid="true"] { border-color: #ad2439; }
.booking-calendar-panel {
  position: fixed;
  inset: auto;
  z-index: 20;
  box-sizing: border-box;
  margin: 0;
  padding: 14px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgb(168 118 54 / 45%);
  border-radius: 6px;
  background: var(--ivory);
  color: var(--wine);
  font-family: var(--sans);
  box-shadow: 0 12px 30px rgb(59 7 18 / 18%);
}
.booking-calendar-panel[hidden] { display: none; }
.booking-calendar-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.booking-calendar-month { margin: 0; font: 600 14px/1.4 var(--sans); }
.booking-calendar-month::first-letter { text-transform: uppercase; }
.booking-calendar-toolbar button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--wine);
  font-size: 22px;
  cursor: pointer;
}
.booking-calendar-weekdays, .booking-calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center; }
.booking-calendar-weekdays { margin-top: 10px; font-size: 11px; color: #746267; }
.booking-calendar-days { margin-top: 6px; gap: 4px 0; }
.booking-calendar-days button {
  min-width: 0;
  min-height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--wine);
  font: 500 13px/1 var(--sans);
  cursor: pointer;
}
.booking-calendar-days button:disabled, .booking-calendar-toolbar button:disabled { color: #b7adb0; cursor: default; }
.booking-calendar-days button:not(:disabled):hover { background: #f2e4c8; }
.booking-calendar-days button[aria-pressed="true"] { background: var(--gold); }
.booking-calendar button:focus-visible, [data-whatsapp-link]:focus-visible { outline: 2px solid #a77a26; outline-offset: 2px; }
.booking-calendar-hint { margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: #746267; }
@media (max-height: 800px) {
  .booking-calendar-days button { min-height: 32px; }
}
[data-whatsapp-link][aria-disabled="true"] { opacity: .6; cursor: pointer; }
.reservation-dialog[data-booking-mode="local"] .reservation-schedule-row { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.reservation-dialog[data-booking-mode="local"] .reservation-contact-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.reservation-dialog[data-booking-mode="local"] .booking-calendar { grid-column: auto; }
.reservation-dialog [data-whatsapp-link] { text-align: center; text-decoration: none; font-size: 13px; }
.reservation-dialog .booking-date-label { font-size: 11px; }
.reservation-dialog .booking-date-trigger { font-size: 12px; }
.reservation-dialog[data-booking-mode="local"] [data-whatsapp-link] { margin-top: 6px; }

/* Local booking uses the shared form, with a photograph-free mobile layout. */
@media (max-width: 760px) {
  .reservation-dialog[data-booking-mode="local"][open] { position: fixed; inset: 0; grid-template-columns: minmax(0, 1fr); width: 100%; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; border-radius: 0; }
  .reservation-dialog[data-booking-mode="local"] .reservation-dialog-photo { display: none; }
  .reservation-dialog[data-booking-mode="local"] .reservation-dialog-content { width: 100%; height: 100%; box-sizing: border-box; max-height: none; padding: calc(24px + env(safe-area-inset-top)) 20px calc(20px + env(safe-area-inset-bottom)); overscroll-behavior: contain; }
  .reservation-dialog[data-booking-mode="local"] h2 { font-size: 28px; line-height: 1.12; margin: 0 42px 12px 0; }
  .reservation-dialog[data-booking-mode="local"] .reservation-dialog-intro { margin-bottom: 14px; font-size: 12px; line-height: 1.5; }
  .reservation-dialog[data-booking-mode="local"] .reservation-preview { gap: 12px; }
  .reservation-dialog[data-booking-mode="local"] .reservation-preview label { gap: 5px; font-size: 12px; }
  .reservation-dialog[data-booking-mode="local"] .booking-date-trigger,
  .reservation-dialog[data-booking-mode="local"] .reservation-preview input,
  .reservation-dialog[data-booking-mode="local"] .reservation-preview select { min-height: 44px; }
  .reservation-dialog[data-booking-mode="local"] .booking-date-trigger { padding: 8px; gap: 6px; }
  .reservation-dialog[data-booking-mode="local"] .booking-date-trigger span { min-width: 0; overflow-wrap: anywhere; }
  .reservation-dialog[data-booking-mode="local"] .reservation-preview-status:empty { display: none; }
  .reservation-dialog[data-booking-mode="local"] .reservation-send-hint { margin: 0; font-size: 12px; line-height: 1.5; }
  .reservation-dialog[data-booking-mode="local"] [data-whatsapp-link] { position: static; margin: 0; min-height: 46px; }
}
