.booking { padding-block: 46px 72px; }

.booking-intro h1 {
  margin: 6px 0 10px;
  font: oblique 700 clamp(3.4rem, 7vw, 6rem)/.95 var(--display);
  text-transform: uppercase;
}

.booking-intro > p:last-child, .booking-panel p, .booking-dialog p { color: var(--muted); }

.booking-note {
  margin-block: 22px;
  padding: 12px 16px;
  border-left: 2px solid var(--gold);
  background: #f4cb820d;
  color: var(--muted);
}

.booking-note strong { color: var(--gold-light); }

.booking-steps { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin-block: 0 16px; padding: 0; }
.booking-steps li { padding-block: 5px; color: var(--muted); }
.booking-steps [aria-current="step"] { color: var(--gold-light); border-bottom: 2px solid var(--gold); font-weight: 700; }
.cart-count { min-width: 1.3em; text-align: center; color: var(--gold-light); }
.booking-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .49fr); gap: 20px; align-items: start; }
.booking-plan { grid-column: 1 / -1; }

.booking-panel {
  padding: clamp(15px, 2.4vw, 26px);
  border: 1px solid #6c554978;
  border-radius: 6px;
  background: linear-gradient(145deg, #1a1720, #111119 85%);
}

.booking-panel-head { display: flex; gap: 12px 20px; justify-content: space-between; flex-wrap: wrap; align-items: start; }

.booking-panel h2, .booking-dialog h2 {
  font: oblique 700 2rem/1 var(--display);
  text-transform: uppercase;
}

.booking-panel h3 { font-size: 1.08rem; }
.booking-panel h2 + p, .booking-panel h3 + p { margin-top: 5px; }

.booking-price { display: grid; justify-items: end; margin-left: auto; line-height: 1.3; }
.booking-price strong, .booking-total output, .booking-total strong { color: var(--gold); font-size: 1.3rem; }
.booking-price span { color: var(--muted); font-size: .875rem; }

.booking-quantity { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: 17px; }
.booking-quantity label { font-weight: 700; }
.booking-quantity input {
  width: 82px;
  min-height: 44px;
  border: 1px solid #9b7856;
  border-radius: 4px;
  padding-inline: 9px;
  background: #101018;
  color: var(--text);
  font: inherit;
}

.hall-row-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(5px, 1.4vw, 12px);
  margin: 14px 0 0;
}
.hall-row-info[hidden] { display: none; }
.hall-row-info > div {
  padding: 9px clamp(6px, 1.5vw, 14px);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #12111a;
}
.hall-row-info dt { font-weight: 700; }
.hall-row-info dd { margin: 2px 0 0; color: var(--muted); font-size: .82rem; }
.hall-row-info .hall-row-price { color: var(--gold-light); font-size: .92rem; font-weight: 700; }
.hall-tools, .hall-zoom, .hall-legend, .booking-lookup {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 12px;
}

.hall-tools { justify-content: space-between; margin-block: 16px 8px; }
.hall-zoom { gap: 5px; }
.hall-zoom .button { min-height: 40px; padding: 6px 11px; }
.hall-zoom .button:disabled { opacity: .45; cursor: default; }
.hall-legend { margin: 0; padding: 0; list-style: none; font-size: .88rem; }
.hall-legend li { display: flex; align-items: center; gap: 5px; }
.hall-legend li::before {
  content: "";
  width: 11px;
  height: 11px;
  border: 1px solid #ffffff55;
  border-radius: 2px;
  background: #0b6d68;
}
.hall-legend .hall-chosen::before { background: var(--gold); }
.hall-legend .hall-unavailable::before { background: #626b73; }
.hall-feet { font-size: .88rem; }
.hall-feet:not(:empty) { margin-top: 7px; min-height: 1.5em; }
.hall-scroll {
  overflow: auto;
  border: 1px solid #7e6754;
  border-radius: 4px;
  background: #171820;
  scrollbar-color: #9b7856 #171820;
}
.hall-scroll[data-zoomed="true"] { max-height: clamp(320px, 60vh, 630px); }
.hall-scroll:focus-visible, .booking-area summary:focus-visible, .booking-lookup select:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.hall-surface { position: relative; width: var(--hall-scale, 100%); aspect-ratio: 1.62; container: seating-plan / inline-size; }
.hall-floor, .hall-table-plate {
  position: absolute;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  border-radius: 4px;
}
.hall-floor[hidden] { display: none; }
.hall-floor {
  border: 1px solid #947043;
  background: #32271f;
  color: var(--gold-light);
  font: 700 clamp(12px, 2.1cqw, 39px)/1 var(--display);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hall-table-group { position: absolute; }
.hall-table {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold-light);
  cursor: pointer;
}
.hall-table-plate {
  border: 1px solid #9e784e;
  background: #543c2b;
  color: var(--gold-light);
  font-size: clamp(5px, 1.12cqw, 27px);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}
.hall-table:hover:not(:disabled) .hall-table-plate { border-color: var(--gold-light); background: #694b32; }
.hall-table:disabled { cursor: default; }
.hall-table:disabled .hall-table-plate { border-color: #71737d; background: #30313a; color: #dedfe4; }
.hall-chair {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 12%;
  background: #0b6d68;
  color: #fff;
  font-size: clamp(3px, .78cqw, 20px);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.hall-chair:hover:not(:disabled), .hall-chair:focus-visible, .hall-table:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 1px; }
.hall-chair[data-tier="vip"]:not(:disabled) { background: #87550e; }
.hall-chair:disabled { background: #626b73; color: #fff; cursor: default; }
.hall-chair[aria-pressed="true"]:not(:disabled) { background: var(--gold); color: #231a10; }

@container seating-plan (width < 640px) {
  .hall-table-group .hall-chair { pointer-events: none; }
}

.hall-seat-dialog { width: min(350px, calc(100% - 24px)); }
.hall-seat-dialog .button { width: 100%; }
.hall-seat-dialog #hall-seat-price { margin-top: 4px; color: var(--gold-light); font-weight: 700; }
.hall-table-detail { position: relative; width: min(100%, 244px); margin: 16px auto; }
.hall-table-detail .hall-table-plate, .hall-table-detail .hall-chair { font-size: 1.1rem; }

.booking-area { margin-top: 13px; border-top: 1px solid var(--line); padding-top: 12px; }
.booking-area summary { color: var(--gold-light); cursor: pointer; }
.booking-lookup { margin-block: 13px; }
.booking-lookup select { max-width: 100%; padding: 6px 8px; border: 1px solid #9b7856; border-radius: 4px; background: #101018; font: inherit; }
.booking-lookup-heading { align-items: center; margin-block: 8px; }
.booking-tables { width: min(100%, 230px); }
.booking-table { min-width: 0; margin: 0; border: 1px solid var(--line); border-radius: 4px; padding: 8px; }
.booking-table legend { padding-inline: 5px; color: var(--muted); font-size: .87rem; }
.booking-seat { cursor: pointer; }
.booking-seat:hover:not(:disabled) { border-color: var(--gold); }
.booking-seat[aria-pressed="true"]:not(:disabled) { color: #1d1510; background: var(--gold); border-color: var(--gold-light); }
.booking-seats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas:
    "seat1 table table seat6"
    "seat2 table table seat5"
    ". seat3 seat4 .";
  gap: 4px;
  max-width: 208px;
  margin-inline: auto;
}
.booking-seats::before {
  content: "";
  grid-area: table;
  border: 1px solid #684f3a;
  border-radius: 4px;
  background: #553a2b;
}
.booking-seat { min-width: 0; min-height: 41px; border: 1px solid #684f3a; border-radius: 4px; background: #0e0d16; }

.booking-cart { position: sticky; top: 100px; scroll-margin-top: 110px; }
#tables-title, #checkout-title { scroll-margin-top: 110px; }
.booking-cart > p { margin-top: 13px; }
.booking-cart .button { width: 100%; }
.booking-cart > .button + .button { margin-top: 8px; }
.booking-cart .button:disabled { opacity: .55; cursor: default; box-shadow: none; }
.booking-checkout > .button { margin-bottom: 16px; }
.booking-checkout h2 { margin-bottom: 12px; }
.guest-checkout, .checkout-payment {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  min-width: 0;
  border: 0;
}
.guest-checkout > legend { padding: 0; margin-bottom: 12px; color: var(--muted); font-size: .9rem; }
.guest-checkout label { font-weight: 700; min-width: 0; }
.checkout-names { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.guest-checkout input:not([type="radio"]) {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: 4px;
  padding: 7px 9px;
  border: 1px solid #9b7856;
  border-radius: 4px;
  background: #101018;
  color: var(--text);
  font: inherit;
}
.checkout-help { font-size: .86rem; }
.checkout-payment { margin-top: 16px; }
.checkout-payment legend { padding: 0; margin-bottom: 9px; font-size: 1.08rem; font-weight: 700; }
.checkout-payment label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
}
.checkout-payment label:has(input:checked) { border-color: var(--gold); background: #f4cb820d; }
.checkout-payment input { accent-color: var(--gold); }
.review-checkout, #review-delivery { overflow-wrap: anywhere; }
#review-delivery:not(:empty) { margin-top: 8px; color: var(--gold-light); }
.booking-items { list-style: none; padding: 0; margin: 12px 0; }
.booking-items li { display: flex; justify-content: space-between; gap: 12px; padding-block: 7px; border-bottom: 1px solid var(--line); }
.booking-items li span:last-child { white-space: nowrap; }
.booking-items .cart-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 4px 12px; }
.cart-line > strong { white-space: nowrap; font-size: .93rem; }
.cart-line-controls { display: flex; grid-column: 1 / -1; align-items: center; gap: 8px; }
.cart-line-controls .button { width: auto; min-height: 37px; padding: 4px 9px; font-size: .85rem; }
.cart-line-controls .cart-quantity { min-width: 38px; }
.booking-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-block: 15px; font-weight: 700; }

.booking-dialog { padding: 24px; }
.booking-dialog h2 + p { margin-top: 12px; }
.booking-dialog-actions { display: flex; justify-content: end; gap: 8px; flex-wrap: wrap; }

.booking-review { padding: 0; overflow: hidden; }
.booking-review-layout {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: calc(100dvh - 26px);
}
.booking-review-header, .booking-review-body, .booking-review-footer { padding-inline: clamp(14px, 3vw, 24px); }
.booking-review-header { padding-block: 16px; }
.booking-review-header h2:focus { outline: none; }
.booking-review-body { overflow: auto; overscroll-behavior: contain; }
.booking-review-body:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
#review-reservation { overflow-wrap: anywhere; font-size: .9rem; }
#review-status { margin-top: 5px; }
.booking-review-footer { padding-block: 10px 14px; border-top: 1px solid var(--line); }
.booking-review-footer .booking-total { margin-block: 0 8px; }
.booking-review .button[hidden] { display: none; }

@media (max-width: 820px) {
  .booking-layout { grid-template-columns: 1fr; }
  .booking-cart { position: static; }
}

@media (max-width: 540px) {
  .booking { padding-top: 30px; }
  .booking-seat { min-height: 44px; }
  .checkout-names { grid-template-columns: 1fr; }
}

.booking-seat:disabled {
  opacity: .48;
  cursor: default;
  border-color: var(--line);
}
#booking-feedback:not(:empty) { color: var(--gold-light); margin-bottom: 12px; }
.ticket-codes { list-style: none; margin: 10px 0; padding: 0; }
.ticket-codes li { padding-block: 9px; border-bottom: 1px solid var(--line); }
.ticket-code-label { display: flex; justify-content: space-between; gap: 12px; }
.ticket-code-label span:last-child { white-space: nowrap; }
.ticket-codes code { display: block; overflow-wrap: anywhere; color: var(--gold-light); }
.ticket-codes .ticket-qr { width: 148px; height: 148px; max-height: none; margin: 8px 0 4px; image-rendering: pixelated; }
.ticket-print-details { display: none; }

@media print {
  body:has(.booking-review[open] #review-codes:not([hidden])) > :not(.booking-review) { display: none; }
  .booking-review[open]:has(#review-codes:not([hidden])) {
    position: static;
    width: auto;
    max-width: none;
    max-height: none;
    margin: 0;
    border: 0;
    overflow: visible;
    background: #fff;
    color: #000;
  }
  .booking-review::backdrop { background: transparent; }
  .booking-review-layout { display: block; max-height: none; }
  .booking-review-body { overflow: visible; }
  .ticket-print-details { display: block; }
  .booking-review p, .booking-review code, .booking-review .booking-total strong { color: #000; }
  .booking-review #review-status, .booking-review .booking-dialog-actions { display: none; }
  .ticket-codes li { break-inside: avoid; }
}

.hall-tools[hidden] { display: none; }
.hall-preview-chair { cursor: inherit; pointer-events: none; }

.hall-vip-zone, .hall-vip-label, .hall-stage {
  position: absolute;
  pointer-events: none;
}
.hall-vip-zone {
  border: 1px dashed #7d808d;
  border-radius: 4px;
  background: #33343d;
}
.hall-vip-label, .hall-stage {
  display: grid;
  place-items: center;
  z-index: 2;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}
.hall-vip-label { color: #eeeff4; font-size: clamp(6px, 1.7cqw, 30px); }
.hall-stage {
  border: 1px solid #edc581;
  border-radius: 3px;
  background: #392c21;
  color: var(--gold-light);
  font-size: clamp(4px, 1.07cqw, 22px);
}
.hall-vip-table .hall-table-plate,
.hall-vip-table .hall-table:disabled .hall-table-plate {
  border-color: #a5a7b1;
  background: #454750;
  color: #f1f2f6;
}
.hall-vip-table .hall-chair { background: #777983; }
.hall-legend .hall-vip-key::before { background: #777983; }
