/* Separate two-step enquiry dialog. The original contact section keeps its existing styles. */
.booking-form {
  display: grid;
  gap: 1rem;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.booking-field {
  display: grid;
  gap: .4rem;
  min-width: 0;
}

.booking-field label,
.booking-party legend {
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.4;
}

.booking-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.booking-form input,
.booking-form select {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: .65rem .8rem;
  border: 1px solid #a4b4a1;
  border-radius: 8px;
  background: var(--sand-50);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  color-scheme: light;
}

.booking-form input:focus-visible,
.booking-form select:focus-visible {
  outline: 2px solid var(--forest-700);
  outline-offset: 2px;
  border-color: var(--forest-700);
}

.booking-party {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.booking-party legend {
  margin-bottom: .6rem;
  padding: 0;
}

.booking-party label {
  font-weight: 400;
}

.booking-form .booking-helper,
.booking-form .booking-error {
  max-width: none;
  margin: .25rem 0 0;
  color: #4d6155;
  font-size: .78rem;
  line-height: 1.5;
}

.booking-form .booking-error {
  margin: 0;
  color: #9b3526;
}

.booking-submit,
.booking-continue,
.booking-edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 48px;
  padding: .8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  background: var(--coral-dark);
  color: var(--cream);
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
}

.booking-submit {
  width: 100%;
  justify-content: space-between;
}

.booking-submit:hover,
.booking-continue:hover {
  background: #a83e28;
}

.booking-submit:disabled {
  opacity: .55;
  cursor: wait;
}

.booking-dialog-open {
  overflow: hidden;
}

.booking-dialog {
  width: min(720px, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-media);
  background: var(--sand-50);
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(16, 39, 29, .2);
}

.booking-dialog::backdrop {
  background: rgba(16, 39, 29, .68);
}

.booking-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.booking-dialog h2 {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.1;
}

.booking-dialog-close {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.8rem;
  cursor: pointer;
}

.booking-dialog-close:hover {
  background: var(--mist);
}

.booking-form-note,
.booking-dialog-note {
  margin: 1.25rem 0;
  color: var(--coral-dark);
  font-size: .9rem;
  line-height: 1.6;
}

.booking-message {
  padding: 1.25rem;
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink);
  font-size: .95rem;
  line-height: 1.7;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.booking-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.booking-edit {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.booking-edit:hover {
  border-color: var(--forest-700);
  background: var(--mist);
}

.booking-form [hidden],
.booking-dialog [hidden] {
  display: none;
}

@media (max-width: 430px) {
  .booking-row {
    gap: .65rem;
  }

  .booking-form input,
  .booking-form select {
    padding-inline: .55rem;
  }

  .booking-dialog {
    width: calc(100% - 1.25rem);
    max-height: calc(100dvh - 1.25rem);
    padding: 1.25rem;
    border-radius: 20px;
  }

  .booking-message {
    padding: 1rem;
    font-size: .88rem;
  }

  .booking-dialog-actions > * {
    width: 100%;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .booking-submit,
  .booking-continue,
  .booking-edit {
    transition: none;
  }
}

.booking-form-note {
  color: #4d6155;
}

.booking-continue[aria-disabled="true"] {
  opacity: .58;
  cursor: not-allowed;
}

.booking-dialog h2:focus {
  outline: none;
}
