/* Shared booking page. Restaurant colours come from each brand stylesheet. */
.booking-shell {
  width: min(100% - 64px, 1040px);
  margin-inline: auto;
  padding-block: clamp(40px, 7vw, 88px);
}

.booking-intro {
  max-width: 760px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.booking-intro h1 {
  margin: 12px 0 16px;
  line-height: 1.1;
}

.booking-page h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
}

.booking-page p:not(.eyebrow) { color: var(--color-muted); }

.booking-standard,
.booking-group {
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--color-border);
}

.booking-widget-slot {
  margin-top: 28px;
  padding: clamp(20px, 4vw, 36px);
  background: #fff;
  color: #20211d;
  color-scheme: light;
  border: 1px solid var(--color-border);
  text-align: center;
}

.booking-widget-slot > p { margin-top: 0; }
.booking-fallback { font-size: 14px; }
.booking-fallback a { text-underline-offset: 3px; }

/* Let the official widget expand without cropping its booking journey. */
.booking-widget-slot iframe { display: block; max-width: 100%; margin-inline: auto; border: 0; }

.booking-group {
  margin-top: 32px;
  border-top: 2px solid var(--color-accent);
  scroll-margin-top: calc(var(--header-top, 0px) + var(--header-height, 80px) + 24px);
}

.booking-group .button { margin-top: 12px; }
.booking-page .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 760px) {
  .booking-shell { width: min(100% - 32px, 1040px); }
  .booking-widget-slot { padding: 24px 16px; }
  .booking-widget-slot .button,
  .booking-group .button { width: 100%; text-align: center; }
}

/* Keep Original's OpenTable surround black; the hosted widget uses its dark theme. */
.izakaya-home .booking-widget-slot {
  background: #000;
  color: #fff;
  color-scheme: dark;
}

/* Formstack's official embed grows with its fields and validation messages. */
.booking-group-form {
  margin-top: 28px;
  padding: 0;
  background: transparent;
  color: #20211d;
  color-scheme: light;
  min-width: 0;
}

/* The hosted document is transparent below its form. Match the iframe canvas
   to Original's black surround without cropping controls or calendar popovers. */
.izakaya-home .booking-widget-slot iframe {
  background: #000;
  color-scheme: normal;
}
