.booking-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
  padding: 0 16px;
  border-bottom: 1px solid #000;
  background: #fff;
}
.booking-header > a {
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
}
.booking-header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 0;
}
.booking-header nav a {
  font-size: 13px;
  text-decoration: none;
}
.booking-header nav a:hover,
.booking-header nav a[aria-current] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.booking-header > button {
  margin-left: auto;
  white-space: nowrap;
}
.booking-page {
  max-width: 1400px;
  padding: 24px 16px;
  margin: 0 auto;
}
.booking-page h1 {
  margin: 0 0 20px;
  font-size: 24px;
}
.booking-page h2 {
  margin: 0 0 16px;
  font-size: 18px;
}
.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  align-items: start;
  gap: 32px;
}
.booking-browse,
.booking-sidebar {
  min-width: 0;
}
.booking-sidebar {
  position: sticky;
  top: 88px;
  padding-left: 24px;
  border-left: 1px solid #ccc;
  scroll-margin-top: 88px;
}
.booking-page label {
  display: block;
  font-size: 13px;
}
.booking-page label input,
.booking-page label select {
  display: block;
  margin-top: 4px;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}
.booking-page input,
.booking-page select {
  min-height: 40px;
  padding: 8px 10px;
  font-size: 14px;
}
.booking-filters {
  display: grid;
  grid-template-columns: minmax(120px, 1.6fr) minmax(130px, 1fr) minmax(100px, 0.7fr);
  align-items: end;
  gap: 12px;
}
.booking-times-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #000;
}
.booking-times-heading h2 {
  margin: 0;
  font-size: 16px;
}
.booking-times {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 8px;
}
.booking-times button {
  min-width: 0;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.booking-times button span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
}
.booking-page fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.booking-page form label {
  margin-bottom: 12px;
}
.booking-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.booking-page .booking-meta {
  margin: 10px 0 16px;
  font-size: 12px;
  color: #555;
}
.booking-page #page-status {
  margin: 0 0 16px;
  padding: 12px 0;
  border-bottom: 1px solid #000;
  font-weight: 600;
}
.booking-page :is(#page-status, #availability-status, #reservations-status):empty {
  display: none;
}
.booking-selection {
  margin: 0 0 16px;
  padding: 12px 0;
  border-top: 1px solid #000;
  border-bottom: 1px solid #ccc;
  font-size: 14px;
}
.booking-selection p {
  margin: 0;
}
.booking-selection #party-summary {
  margin-top: 4px;
  font-size: 12px;
}
.booking-page #book-submit {
  width: 100%;
  margin-top: 8px;
}
.booking-reservations {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #000;
  scroll-margin-top: 88px;
}
.booking-reservations h2 {
  margin-bottom: 8px;
}
.booking-page ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.booking-page li {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(200px, 2fr) auto;
  gap: 8px 16px;
  padding: 12px 0;
  border-bottom: 1px solid #ddd;
  font-size: 14px;
}
.booking-page li span:last-child {
  font-size: 13px;
}
@media (max-width: 800px) {
  .booking-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .booking-sidebar {
    position: static;
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid #000;
  }
  .booking-sidebar > section {
    max-width: 560px;
  }
  .booking-times {
    max-height: 320px;
    overflow-y: auto;
    padding: 4px;
    margin: -4px;
  }
  .booking-page li {
    grid-template-columns: 1fr auto;
  }
  .booking-page li span:first-of-type {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}
@media (max-width: 480px) {
  .booking-header {
    gap: 12px;
    min-height: 64px;
    padding: 8px 12px;
  }
  .booking-header nav {
    gap: 6px 12px;
  }
  .booking-header nav a {
    font-size: 12px;
  }
  .booking-page {
    padding: 20px 12px;
  }
  .booking-filters {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .booking-filters label:first-child {
    grid-column: 1 / -1;
  }
}

.booking-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px;
}
.booking-header > button {
  min-height: 40px;
  padding: 6px 10px;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  font: inherit;
}
.booking-header :is(a, button):hover {
  background: #eee;
}
.booking-header :is(a, button):focus-visible {
  background: #000;
  color: #fff;
  outline: 2px solid #000;
  outline-offset: -2px;
}
@media (max-width: 480px) {
  .booking-page :is(input, select) {
    font-size: 16px;
  }
}
