.booking-page {
  max-width: 1180px;
}
.booking-page h1 {
  max-width: 18ch;
  text-wrap: balance;
}
.booking-page h2,
.bk-dialog h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.68rem);
  line-height: 1.15;
  font-weight: 710;
}
.booking-page h3 {
  margin: 0;
  font-size: 1.05rem;
}
.booking-page .bk-back {
  margin: 0 0 16px;
}
.bk-intro,
.bk-muted,
.bk-note,
.bk-empty p,
.bk-state p {
  color: var(--muted);
}
.bk-intro {
  max-width: 60ch;
  margin-top: 12px;
  line-height: 1.55;
}
.bk-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(295px, 0.9fr);
  gap: clamp(28px, 5vw, 66px);
  align-items: start;
  margin-top: clamp(26px, 3.8vw, 48px);
}
.bk-section {
  padding-block: 25px;
  border-top: 1px solid var(--line);
}
.bk-section:first-child {
  padding-top: 0;
  border-top: 0;
}
.bk-section h2 {
  margin-bottom: 17px;
}
.bk-offers,
.bk-date-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.bk-offer {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 74px;
  display: grid;
  align-content: center;
  gap: 3px;
  text-align: left;
  padding: 12px 16px;
}
.bk-offer:hover {
  border-color: #9eaec7;
}
.bk-offer[aria-pressed="true"] {
  background: var(--pale);
  border-color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--blue);
}
.bk-offer strong {
  font-size: 1rem;
}
.bk-offer span,
.bk-ticket-item p,
.bk-receipt-item p {
  color: var(--muted);
  font-size: 0.9rem;
}
.bk-date-fields label,
.bk-field {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 650;
}
.bk-date-fields input,
.bk-field input,
.bk-field textarea {
  border: 1px solid var(--control-line);
  border-radius: var(--radius);
  background: white;
  font: inherit;
  color: var(--ink);
  padding: 9px 12px;
  min-height: 45px;
  width: 100%;
  min-width: 0;
}
.bk-date-fields input[readonly] {
  background: var(--surface);
}
.bk-note,
.bk-ticket-dates span,
.bk-dialog p {
  line-height: 1.5;
  font-size: 0.9rem;
}
.bk-section .bk-note,
.bk-ticket .bk-note {
  margin: 9px 0 14px;
}
.bk-note:empty,
.bk-error:empty,
.bk-notice:empty {
  display: none;
}
.bk-calendar {
  max-width: 420px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}
.bk-month {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}
.bk-month button {
  display: grid;
  place-content: center;
  line-height: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: 35px;
  height: 35px;
  font-size: 1.55rem;
}
.bk-week,
.bk-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.bk-week span {
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--muted);
  text-align: center;
  padding: 5px 0;
}
.bk-days button {
  border: 0;
  min-height: 37px;
  font-size: 0.92rem;
  font-weight: 640;
  font-variant-numeric: tabular-nums;
  border-radius: var(--radius);
}
.bk-days button:hover:not(:disabled) {
  background: var(--pale);
  color: var(--blue);
}
.bk-days .between {
  border-radius: 0;
  background: var(--pale);
  color: #12398c;
}
.bk-days .endpoint,
.bk-days .endpoint:hover:not(:disabled) {
  background: var(--blue);
  color: white;
}
.bk-days button:disabled,
.bk-month button:disabled {
  opacity: 0.36;
  cursor: default;
}
.bk-extras {
  display: grid;
}
.bk-extras label,
.bk-check {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 11px 0;
  cursor: pointer;
}
.bk-check {
  margin: 8px 0;
}
.bk-extras label + label {
  border-top: 1px solid var(--line);
}
.bk-extras label b {
  font-size: 0.86rem;
  white-space: nowrap;
  margin-left: auto;
}
.bk-extras small,
.bk-check small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}
.booking-page input[type="checkbox"] {
  accent-color: var(--blue);
  width: 17px;
  height: 17px;
  flex: none;
}
.bk-ticket {
  background: white;
  padding: clamp(20px, 2.3vw, 30px);
  position: sticky;
  top: calc(var(--app-sticky-height) + 18px);
}
.bk-ticket-item,
.bk-receipt-item {
  display: flex;
  align-items: center;
  gap: 15px;
  overflow-wrap: anywhere;
}
.bk-ticket-item img,
.bk-receipt-item img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--surface);
  flex: none;
}
.bk-ticket-item h2,
.bk-receipt-item h2 {
  margin: 0 0 5px;
}
.bk-ticket-item a:hover,
.bk-refresh:hover {
  text-decoration: underline;
}
.bk-ticket-dates {
  margin-top: 20px;
  display: grid;
  gap: 3px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}
.bk-ticket-dates span {
  color: var(--muted);
}
.bk-totals,
.bk-facts {
  margin: 15px 0;
}
.bk-totals > div,
.bk-facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 5px 0;
}
.bk-facts dt,
.bk-totals dt {
  color: var(--muted);
  font-size: 0.9rem;
}
.bk-facts dd,
.bk-totals dd {
  text-align: right;
  margin: 0;
  font-weight: 600;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}
.bk-totals dd {
  font-variant-numeric: tabular-nums;
}
.bk-totals .bk-total {
  border-top: 1px solid var(--line);
  margin-top: 7px;
  padding-top: 11px;
}
.bk-totals .bk-total > * {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 730;
}
.bk-wide {
  width: 100%;
}
.bk-head,
.bk-ticket-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.bk-head {
  margin: 24px 0 18px;
}
.bk-segment {
  display: flex;
  padding: 3px;
  gap: 3px;
  border-radius: var(--radius);
  background: var(--surface);
}
.bk-segment button {
  border: 0;
  padding: 8px 14px;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 650;
}
.bk-segment button[aria-pressed="true"] {
  color: var(--ink);
  background: white;
  box-shadow: 0 1px 4px #151f3526;
}
.bk-rows {
  border-block: 1px solid var(--line);
}
.bk-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 4px;
}
.bk-row + .bk-row {
  border-top: 1px solid var(--line);
}
.bk-row:hover strong {
  text-decoration: underline;
}
.bk-row-image img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: var(--radius);
}
.bk-row-info,
.bk-row-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.bk-row-info strong {
  font-size: 1.08rem;
  overflow-wrap: anywhere;
}
.bk-row-info > span,
.bk-row-meta > span:last-child {
  font-size: 0.86rem;
  color: var(--muted);
}
.bk-row-meta {
  margin-left: auto;
  justify-items: end;
  text-align: right;
}
.bk-chevron {
  font-size: 1.5rem;
  color: var(--muted);
}
.bk-badge {
  display: inline-block;
  border-radius: var(--radius);
  background: #edf0f4;
  color: #475160;
  padding: 4px 8px;
  line-height: 1.25;
  font-size: 0.78rem;
  font-weight: 700;
}
.bk-badge[data-state="requested"],
.bk-badge[data-state="pending_payment"] {
  background: #fff0cc;
  color: #785100;
}
.bk-badge[data-state="active"],
.bk-badge[data-state="confirmed"] {
  background: #e0f1e7;
  color: #255d3d;
}
.bk-empty,
.bk-state {
  background: var(--surface);
  padding: clamp(24px, 4vw, 46px);
  border-radius: var(--radius);
}
.bk-empty {
  display: grid;
  justify-items: start;
  gap: 12px;
}
.bk-state p {
  margin: 14px 0 20px;
}
#bk-more {
  margin-top: 16px;
}
.bk-error,
.bk-notice {
  font-size: 0.92rem;
  margin: 12px 0;
  color: #993916;
  line-height: 1.5;
}
.bk-notice {
  color: #24573c;
}
.bk-recover {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.bk-recover p {
  margin: 6px 0 13px;
}
.bk-recover a {
  display: inline-block;
  margin: 6px;
}
.bk-dialog {
  width: min(430px, calc(100% - 32px));
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
}
.bk-dialog h2 {
  margin: 0 0 10px;
}
.bk-dialog p {
  color: var(--muted);
}
.bk-dialog form > div,
.bk-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 18px;
}
.bk-dialog::backdrop {
  background: #11182670;
}
.bk-danger {
  background: #9d3027;
  border: 1px solid #9d3027;
  color: white;
  min-height: 42px;
  border-radius: var(--radius);
  padding: 9px 15px;
  font-weight: 650;
  font-size: 0.92rem;
}
.bk-code {
  background: var(--pale);
  color: #11399f;
  display: grid;
  gap: 8px;
  padding: 15px 20px;
  border-radius: var(--radius);
}
.bk-code span {
  letter-spacing: 0.19em;
  font-variant-numeric: tabular-nums;
  font-size: 2.3rem;
  font-weight: 740;
  line-height: 1.1;
}
#pickup-form .bk-field {
  max-width: 230px;
}
.bk-reference {
  margin: 16px 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.bk-reference summary {
  cursor: pointer;
}
.bk-reference code {
  overflow-wrap: anywhere;
}
.bk-refresh {
  font: inherit;
  border: 0;
  color: var(--blue);
  text-decoration: underline;
  padding: 6px 0;
}
.bk-fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 16px;
}
.bk-fieldset legend {
  font-weight: 650;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.bk-fieldset legend span {
  color: var(--muted);
  font-weight: 400;
}
.bk-stars,
.bk-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.bk-stars label,
.bk-tags label {
  position: relative;
  cursor: pointer;
}
.bk-stars input,
.bk-tags input {
  position: absolute;
  opacity: 0;
}
.bk-stars span {
  display: block;
  font-size: 2.2rem;
  line-height: 1.25;
  color: #6b7382;
}
.bk-stars .selected span {
  color: var(--blue);
}
.bk-tags span {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 7px 10px;
  font-size: 0.87rem;
}
.bk-tags input:checked + span {
  border-color: var(--blue);
  color: #11399f;
  background: var(--pale);
}
.bk-stars input:focus-visible + span,
.bk-tags input:focus-visible + span,
.bk-field textarea:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
#review-form .bk-field {
  margin-bottom: 12px;
}
#payment-element {
  margin: 12px 0;
}
#card-form {
  margin-top: 12px;
}
@media (max-width: 760px) {
  .bk-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .bk-ticket {
    position: static;
  }
  .bk-calendar {
    max-width: 100%;
  }
  .bk-days button {
    min-height: 40px;
  }
}
@media (max-width: 450px) {
  .bk-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .bk-date-fields {
    gap: 7px;
  }
  .bk-date-fields input {
    padding: 7px 6px;
    font-size: 0.87rem;
  }
  .bk-row {
    gap: 8px;
  }
  .bk-row-image img {
    width: 45px;
    height: 45px;
  }
  .bk-row-meta {
    max-width: 99px;
  }
  .bk-chevron {
    display: none;
  }
  .bk-ticket-item img,
  .bk-receipt-item img {
    width: 65px;
    height: 65px;
  }
}
