/* Geist Sans (variable) */
@font-face {
  font-family: "Geist";
  src: url("/assets/Geist[wght]-fb4abd16.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("/assets/Geist-Italic[wght]-f70e2899.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
/* Geist Mono (variable) */
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/GeistMono-9c5c6ab0.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

.gsans { font-family: "Geist", sans-serif; }
.gmono { font-family: "Geist Mono", monospace; }

/* Theme tokens */
:root {
  --color-text: oklch(0 0 0);
  --color-muted: oklch(0.4 0 0);
  --color-subtle: oklch(0.88 0 0);
  --color-surface-0: oklch(1 0 0);
  --color-surface-1: oklch(0.94 0 0);
  --color-surface-2: oklch(0.98 0 0);
  --color-surface-3: oklch(0.99 0 0);
  --color-accent: oklch(0.5941 0.2343 253.06);
  --color-green: oklch(0.7 0.15 150);
  --color-amber: oklch(0.75 0.15 80);
  --color-red: oklch(0.65 0.15 25);
}

[data-theme="dark"] {
  --color-text: oklch(0.95 0 0);
  --color-muted: oklch(0.6 0 0);
  --color-subtle: oklch(0.30 0 0);
  --color-surface-0:  oklch(0.07 0 0);
  --color-surface-1: oklch(0.15 0 0);
  --color-surface-2: oklch(0.20 0 0);
  --color-surface-3: oklch(0.25 0 0);
  --color-green: oklch(0.75 0.15 150);
  --color-amber: oklch(0.8 0.15 80);
  --color-red: oklch(0.7 0.15 25);
}

/* Token utility classes */
.accent { color: var(--color-accent); }
.bg-accent { background-color: var(--color-accent); }
.b--accent { border-color: var(--color-accent); }
.hover-accent:hover,
.hover-accent:focus-visible { color: var(--color-accent); }
.hover-bg-accent:hover,
.hover-bg-accent:focus-visible { background-color: var(--color-accent); }

.text { color: var(--color-text); }
.bg-text { background-color: var(--color-text); }
.b--text { border-color: var(--color-text); }
.hover-text:hover,
.hover-text:focus-visible { color: var(--color-text); }
.hover-bg-text:hover,
.hover-bg-text:focus-visible { background-color: var(--color-text); }

.muted { color: var(--color-muted); }
.bg-muted { background-color: var(--color-muted); }
.b--muted { border-color: var(--color-muted); }
.hover-muted:hover,
.hover-muted:focus-visible { color: var(--color-muted); }
.hover-bg-muted:hover,
.hover-bg-muted:focus-visible { background-color: var(--color-muted); }

.subtle { color: var(--color-subtle); }
.bg-subtle { background-color: var(--color-subtle); }
.b--subtle { border-color: var(--color-subtle); }
.hover-subtle:hover,
.hover-subtle:focus-visible { color: var(--color-subtle); }
.hover-bg-subtle:hover,
.hover-bg-subtle:focus-visible { background-color: var(--color-subtle); }

.surface-0 { color: var(--color-surface-0); }
.bg-surface-0 { background-color: var(--color-surface-0); }
.b--surface-0 { border-color: var(--color-surface-0); }
.hover-surface-0:hover,
.hover-surface-0:focus-visible { color: var(--color-surface-0); }
.hover-bg-surface-0:hover,
.hover-bg-surface-0:focus-visible { background-color: var(--color-surface-0); }

.surface-1 { color: var(--color-surface-1); }
.bg-surface-1 { background-color: var(--color-surface-1); }
.b--surface-1 { border-color: var(--color-surface-1); }
.hover-surface-1:hover,
.hover-surface-1:focus-visible { color: var(--color-surface-1); }
.hover-bg-surface-1:hover,
.hover-bg-surface-1:focus-visible { background-color: var(--color-surface-1); }

.surface-2 { color: var(--color-surface-2); }
.bg-surface-2 { background-color: var(--color-surface-2); }
.b--surface-2 { border-color: var(--color-surface-2); }
.hover-surface-2:hover,
.hover-surface-2:focus-visible { color: var(--color-surface-2); }
.hover-bg-surface-2:hover,
.hover-bg-surface-2:focus-visible { background-color: var(--color-surface-2); }

.surface-3 { color: var(--color-surface-3); }
.bg-surface-3 { background-color: var(--color-surface-3); }
.b--surface-3 { border-color: var(--color-surface-3); }
.hover-surface-3:hover,
.hover-surface-3:focus-visible { color: var(--color-surface-3); }
.hover-bg-surface-3:hover,
.hover-bg-surface-3:focus-visible { background-color: var(--color-surface-3); }

.green { color: var(--color-green); }
.amber { color: var(--color-amber); }
.red { color: var(--color-red); }

/* Pointer-events utility (Tachyons doesn't include one) */
.pe-none { pointer-events: none; }

/* Word-break utilities (Tachyons doesn't include hyphens, and its h1-h6
   overflow-wrap: break-word is bypassed by `text-wrap: balance` because
   `break-word` doesn't contribute to min-content sizing — `anywhere` does). */
.hyphens-auto { hyphens: auto; overflow-wrap: anywhere; }

/* Hidden override — Tachyons !important display classes beat [hidden] */
[hidden] { display: none !important; }

/* Hero blurred-image fallback (when no dedicated background_image) */
.hero-bg-blur { filter: blur(40px); transform: scale(1.15);}

/* Accent-color gradient (used as fallback when no cover/background image) */
.accent-gradient {
  background:
    radial-gradient(ellipse at 20% 20%, oklch(from var(--color-accent) calc(l + 0.15) calc(c * 0.7) h) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 80%, oklch(from var(--color-accent) calc(l - 0.25) c calc(h + 20)) 0%, transparent 60%),
    var(--color-accent);
}
/* Flash toast — everything else via tachyons; this is just horizontal centering + animation */
.shop-toast {
  left: 50%;
  transform: translateX(-50%);
  animation: shop-toast-in-out 4s 200ms both;
}
.shop-toast:is(:hover, :focus-within) { animation-play-state: paused; }

@keyframes shop-toast-in-out {
  0%       { opacity: 0; transform: translate(-50%, -0.5rem); }
  5%, 75%  { opacity: 1; transform: translate(-50%, 0); }
  100%     { opacity: 0; transform: translate(-50%, -0.5rem); }
}

/* Checkout bar */
.checkout-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  transform: translateY(100%);
  transition: transform 300ms cubic-bezier(0.22, 1.2, 0.36, 1);
}
.checkout-bar--visible { transform: translateY(0); }

/* PayPal SDK injects an iframe; strip the browser-default 2px iframe border
   and round the iframe to match the pill button inside it. */
[data-paypal-target="container"] iframe {
  border: 0;
  border-radius: 9999px;
}

/* Hide number input spinners */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; }
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }

/* Tabular nums */
/*.tabular-nums { font-variant-numeric: tabular-nums; }*/

/* Forms */
.input,
.input select {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-surface-2);
  border: 1px solid var(--color-surface-3);
  border-radius: 0.5rem;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.input::placeholder { color: var(--color-muted); }
.input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px oklch(from var(--color-accent) l c h / 0.15);
}
.input:disabled { opacity: 0.5; cursor: not-allowed; }

select.input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23999' viewBox='0 0 256 256'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
}
.checkbox input[type="checkbox"] {
  appearance: none;
  position: relative;
  width: 2.5rem;
  height: 1.375rem;
  flex-shrink: 0;
  border: none;
  border-radius: 999px;
  background: var(--color-surface-3);
  cursor: pointer;
  transition: background 200ms ease;
}
.checkbox input[type="checkbox"]::after {
  content: "";
  position: absolute;
  top: 0.1875rem;
  left: 0.1875rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--color-muted);
  transition: transform 200ms cubic-bezier(0.22, 1.2, 0.36, 1), background 200ms ease;
}
.checkbox input[type="checkbox"]:checked {
  background: var(--color-accent);
}
.checkbox input[type="checkbox"]:checked::after {
  transform: translateX(1.125rem);
  background: white;
}
.checkbox input[type="checkbox"]:focus-visible {
  box-shadow: 0 0 0 3px oklch(from var(--color-accent) l c h / 0.15);
}

.seat-choice:checked + .seat-choice-label {
  color: var(--color-surface-0);
  background: var(--color-accent);
}

.seat-choice:focus-visible + .seat-choice-label {
  box-shadow: 0 0 0 3px oklch(from var(--color-accent) l c h / 0.2);
}

/* Image hover transition */
.transition-img {
  transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

a {
  color: var(--color-text);
  opacity: 1;
  transition: color .15s ease-in, opacity .15s ease-in;
  &:hover, &:focus {
    opacity: .5;
  }
  &:active {
    opacity: .8;
  }
}

/* Monochrome SVG icons from simpleicons.org render as black paths.
   Invert them in dark mode so they're visible on the dark background. */
[data-theme="dark"] .payment-icon {
  filter: invert(1);
}

/* Popover anchored via CSS anchor positioning.
   Native Popover API → ESC + light-dismiss for free.
   anchor() returns viewport coords and auto-updates on scroll,
   which is correct for top-layer elements. */
.shop-popover-anchor {
  display: inline-block;
  anchor-name: --shop-popover-anchor;
}

.shop-popover {
  background-color: var(--color-surface-0);
  color: var(--color-text);
  border: 1px solid var(--color-surface-1);
  border-radius: 0.75rem;
  box-shadow: 0 10px 30px oklch(0 0 0 / 0.25);
  padding: 0.25rem;
  min-inline-size: 12rem;

  transition-behavior: allow-discrete;
  transition-duration: 150ms;
  transition-property: display, overlay, opacity, transform;

  opacity: 0;
  transform: scale(0.96);
  transform-origin: top left;

  &:popover-open {
    opacity: 1;
    transform: scale(1);
  }

  @starting-style {
    &:popover-open {
      opacity: 0;
      transform: scale(0.96);
    }
  }
}

@supports (anchor-name: --x) {
  .shop-popover {
    position-anchor: --shop-popover-anchor;
    inset: auto;
    top: calc(anchor(bottom) + 0.5rem);
    left: anchor(left);
    margin: 0;
  }
}

.shop-popover__item {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;

  &:hover,
  &:focus-visible {
    background-color: var(--color-surface-1);
    opacity: 1;
  }
}

/* Customer seat selection */
.seat-selection-page {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-block: 1rem 3rem;
}

.seat-selection-header {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.seat-selection-header__back {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.4rem;
  color: var(--color-muted);
  font-size: 0.875rem;
  font-weight: 650;
  text-decoration: none;
}

.seat-selection-header__title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.seat-selection-header__title h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.seat-selection-header__title p:last-child {
  max-width: 44rem;
  margin-top: 0.75rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.seat-selection-header__ticket-price {
  display: flex;
  flex-direction: column;
  align-items: end;
  flex: 0 0 auto;
  gap: 0.35rem;
  text-align: right;
}

.seat-selection-header__ticket-price > strong {
  color: var(--color-muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seat-selection-tickets {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}

.seat-selection-tickets__ticket {
  position: relative;
  display: grid;
  grid-template-columns: auto auto;
  gap: 0.15rem 1rem;
  min-width: 11rem;
  padding: 0.85rem 1rem;
  color: var(--color-text);
  background: var(--color-surface-2);
  border: 1px solid transparent;
  border-radius: 0.9rem;
  text-decoration: none;
}

.seat-selection-tickets__ticket:hover,
.seat-selection-tickets__ticket:focus-visible {
  opacity: 1;
  border-color: var(--color-accent);
}

.seat-selection-tickets__ticket.is-active {
  background: oklch(from var(--color-accent) l c h / 0.12);
  border-color: var(--color-accent);
}

.seat-selection-tickets__ticket span {
  overflow: hidden;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seat-selection-tickets__ticket small { color: var(--color-muted); }

.seat-selection-tickets__ticket > strong {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  display: grid;
  place-items: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding-inline: 0.35rem;
  color: white;
  background: var(--color-accent);
  border-radius: 999px;
  font-size: 0.75rem;
}

.seat-selection-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20rem;
  align-items: start;
  gap: 1rem;
}

.seatmap-customer-map {
  min-width: 0;
  overflow: hidden;
  background: var(--color-surface-2);
  border: 1px solid var(--color-surface-1);
  border-radius: 1.25rem;
}

.seatmap-customer-map__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
  padding: 0.7rem;
  border-bottom: 1px solid var(--color-surface-1);
}

.seatmap-customer-map__floors,
.seatmap-customer-map__zoom {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.seatmap-customer-map__floor-tab,
.seatmap-customer-map__zoom button {
  min-height: 2.25rem;
  padding: 0.45rem 0.75rem;
  color: var(--color-muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 750;
  cursor: pointer;
}

.seatmap-customer-map__zoom output {
  min-width: 3.4rem;
  color: var(--color-muted);
  font-family: "Geist Mono", monospace;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.seatmap-customer-map__zoom button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.seatmap-customer-map__floor-tab:hover,
.seatmap-customer-map__floor-tab:focus-visible,
.seatmap-customer-map__floor-tab.is-active,
.seatmap-customer-map__zoom button:hover,
.seatmap-customer-map__zoom button:focus-visible {
  color: var(--color-text);
  background: var(--color-surface-1);
  outline: none;
}

.seatmap-customer-map__floor-tab.is-active {
  color: white;
  background: var(--color-accent);
}

.seatmap-customer-map__viewport {
  max-height: min(70vh, 48rem);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 1rem;
  background:
    radial-gradient(circle at center, oklch(from var(--color-accent) l c h / 0.08), transparent 65%),
    var(--color-surface-1);
  cursor: default;
  user-select: none;
}

.seatmap-customer-map__viewport.is-zoomed {
  cursor: grab;
}

.seatmap-customer-map__viewport.is-panning {
  cursor: grabbing;
  scroll-behavior: auto;
}

.seatmap-customer-map__floor { min-width: 48rem; }

.seatmap-customer-map__plane {
  --seatmap-map-width: 100%;
  position: relative;
  width: var(--seatmap-map-width);
  min-width: 48rem;
  overflow: hidden;
  color: var(--color-text);
  border-radius: 1rem;
  box-shadow: 0 1rem 3rem oklch(0 0 0 / 0.12);
}

.seatmap-customer-map__room {
  position: absolute;
  inset: 0;
  background: var(--color-surface-0);
}

.seatmap-customer-map__walls {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.seatmap-customer-map__wall {
  fill: none;
  stroke: #111;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 6;
}

.seatmap-customer-map__door-opening {
  fill: none;
  stroke: var(--color-surface-2);
  stroke-linecap: butt;
  stroke-width: 12;
}

.seatmap-customer-map__door-jamb,
.seatmap-customer-map__door-leaf {
  fill: none;
  stroke: #111;
  stroke-linecap: square;
  stroke-width: 3;
}

.seatmap-customer-map__door-arc {
  fill: none;
  opacity: 0.55;
  stroke: #111;
  stroke-dasharray: 5 3;
  stroke-width: 1.5;
}

.seatmap-customer-map__section,
.seatmap-customer-map__table,
.seatmap-customer-map__standing,
.seatmap-customer-map__element {
  position: absolute;
  left: var(--seatmap-x);
  top: var(--seatmap-y);
  width: var(--seatmap-width);
  height: var(--seatmap-height);
  transform: rotate(var(--seatmap-rotation));
  transform-origin: center;
}

.seatmap-customer-map__section {
  z-index: 1;
  padding: 0.65rem;
  background: var(--color-surface-2);
  border: 1px solid var(--color-surface-1);
  border-radius: 0.8rem;
  color: var(--color-muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seatmap-customer-map__row-label {
  position: absolute;
  z-index: 4;
  left: var(--seatmap-x);
  top: var(--seatmap-y);
  min-width: 1.25rem;
  transform: translate(-125%, -50%);
  color: var(--color-muted);
  font-family: "Geist Mono", monospace;
  font-size: 0.7rem;
  font-weight: 800;
  text-align: right;
}

.seatmap-customer-map__seat {
  position: absolute;
  z-index: 6;
  left: var(--seatmap-x);
  top: var(--seatmap-y);
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  /* Circles with upright labels — match editor/preview. Rotating chair-shaped
     chips around tables makes seats look like diamonds with sideways numbers. */
  transform: translate(-50%, -50%);
  border-radius: 999px;
  font-family: "Geist Mono", monospace;
  font-size: 0.62rem;
  font-weight: 800;
}

.seatmap-customer-map__seat--choice {
  color: var(--color-text);
  background: var(--color-surface-0);
  border: 2px solid var(--color-accent);
  box-shadow: 0 0.2rem 0.5rem oklch(0 0 0 / 0.12);
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease, color 120ms ease;
}

.seatmap-customer-map__seat--choice:hover {
  transform: translate(-50%, -50%) scale(1.12);
}

.seatmap-customer-map__seat--neutral {
  z-index: 4;
  width: 1rem;
  height: 1rem;
  background: var(--color-subtle);
  border-radius: 999px;
  opacity: 0.55;
}

.seatmap-customer-map__input:focus-visible + .seatmap-customer-map__seat,
.seatmap-customer-map__input:focus-visible + .seatmap-customer-map__table {
  outline: 3px solid oklch(from var(--color-accent) l c h / 0.35);
  outline-offset: 3px;
}

.seatmap-customer-map__input:checked + .seatmap-customer-map__seat {
  color: white;
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.seatmap-customer-map__seat.is-unavailable {
  color: var(--color-muted);
  background: var(--color-surface-1);
  border-color: var(--color-subtle);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.55;
}

.seatmap-customer-map__seat.is-accessible {
  border-radius: 999px;
}

.seatmap-customer-map__seat.is-companion {
  border-style: dashed;
}

.seatmap-customer-map__seat.is-paired {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent) 20%, transparent),
    0 0.2rem 0.5rem oklch(0 0 0 / 0.12);
}

.seatmap-customer-map__pair-links {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.seatmap-customer-map__pair-links line {
  stroke: var(--color-accent);
  stroke-width: 3;
  stroke-dasharray: 6 5;
  vector-effect: non-scaling-stroke;
  opacity: 0.7;
}

.seatmap-customer-map__seat.is-restricted-view {
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0 4px,
    oklch(from var(--color-accent) l c h / 0.14) 4px 6px
  );
}

.seatmap-customer-map__seat-traits {
  position: absolute;
  top: -0.55rem;
  right: -0.55rem;
  display: inline-flex;
  gap: 0.05rem;
  padding: 0.08rem 0.16rem;
  color: var(--color-text);
  background: var(--color-surface-0);
  border: 1px solid var(--color-subtle);
  border-radius: 999px;
  box-shadow: 0 0.1rem 0.25rem oklch(0 0 0 / 0.16);
  font-family: sans-serif;
  font-size: 0.55rem;
  line-height: 1;
}

.seatmap-customer-map__input:checked + .seatmap-customer-map__seat .seatmap-customer-map__seat-traits {
  color: var(--color-text);
}

.seatmap-customer-map__table {
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  color: var(--color-muted);
  background: var(--color-surface-1);
  border: 1px solid var(--color-subtle);
  border-radius: var(--seatmap-radius, 0.75rem);
  font-size: 0.7rem;
  font-weight: 800;
  text-align: center;
}

.seatmap-customer-map__table--around {
  border-radius: var(--seatmap-radius, 50%);
}

.seatmap-customer-map__table small {
  margin-top: 0.1rem;
  font-size: 0.58rem;
  font-weight: 600;
}

.seatmap-customer-map__table--choice {
  z-index: 5;
  color: var(--color-text);
  background: var(--color-surface-0);
  border: 2px solid var(--color-accent);
  box-shadow: 0 0.25rem 0.65rem oklch(0 0 0 / 0.12);
  cursor: pointer;
}

.seatmap-customer-map__input:checked + .seatmap-customer-map__table {
  color: white;
  background: var(--color-accent);
}

.seatmap-customer-map__table.is-unavailable {
  border-color: var(--color-subtle);
  cursor: not-allowed;
  opacity: 0.5;
}

.seatmap-customer-map__standing {
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.5rem;
  color: var(--color-muted);
  background:
    repeating-linear-gradient(135deg, transparent 0 8px, oklch(from var(--color-accent) l c h / 0.06) 8px 16px),
    var(--color-surface-1);
  border: 1px dashed var(--color-subtle);
  border-radius: 0.75rem;
  font-size: 0.72rem;
  text-align: center;
}

.seatmap-customer-map__standing--choice {
  color: var(--color-text);
  border-color: var(--color-accent);
  text-decoration: none;
}

.seatmap-customer-map__standing--choice:hover,
.seatmap-customer-map__standing--choice:focus-visible {
  opacity: 1;
  background-color: oklch(from var(--color-accent) l c h / 0.12);
}

.seatmap-customer-map__standing.is-unavailable { opacity: 0.5; }

.seatmap-customer-map__standing i { font-size: 1.25rem; }
.seatmap-customer-map__standing span { font-size: 0.6rem; }

.seatmap-customer-map__element {
  z-index: 2;
  display: grid;
  place-items: center;
  color: var(--color-muted);
  border: 1px solid var(--color-subtle);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
}

.seatmap-customer-map__element--stage {
  color: var(--color-text);
  background: linear-gradient(180deg, var(--color-surface-2), var(--color-surface-1));
  border-radius: 0.6rem 0.6rem 50% 50% / 0.6rem 0.6rem 25% 25%;
  box-shadow: 0 0.4rem 1rem oklch(0 0 0 / 0.08);
}

.seatmap-customer-map__element--aisle {
  background: oklch(from var(--color-accent) l c h / 0.045);
  border-style: dashed;
}

.seatmap-customer-map__element--background { z-index: 0; }

.seatmap-customer-map__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--color-surface-1);
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 650;
}

.seatmap-customer-map__legend > span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.seatmap-customer-map__legend i {
  display: grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  background: var(--color-surface-0);
  border: 1.5px solid var(--color-accent);
  border-radius: 0.3rem;
  font-style: normal;
}

.seatmap-customer-map__legend i.is-selected {
  background: var(--color-accent);
}

.seatmap-customer-map__legend i.is-unavailable {
  background: var(--color-surface-1);
  border-color: var(--color-subtle);
  opacity: 0.6;
}

.seatmap-customer-map__legend i.is-accessible {
  border-radius: 999px;
  font-size: 0.7rem;
}

.seatmap-customer-map__legend i.is-companion {
  border-style: dashed;
  font-size: 0.7rem;
}

.seatmap-customer-map__legend i.is-restricted-view {
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0 3px,
    oklch(from var(--color-accent) l c h / 0.2) 3px 5px
  );
  font-size: 0.7rem;
}

.seatmap-customer-map__companion-note {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  color: var(--color-muted);
  background: var(--color-surface-1);
  font-size: 0.76rem;
  line-height: 1.45;
}

.seatmap-customer-map__companion-note i {
  margin-top: 0.1rem;
  color: var(--color-accent);
  font-size: 1rem;
}

.seat-selection-sidebar {
  position: sticky;
  top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.seat-selection-sidebar__card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.15rem;
  background: var(--color-surface-2);
  border: 1px solid var(--color-surface-1);
  border-radius: 1.1rem;
}

.seat-selection-sidebar__status {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-green);
  font-size: 0.72rem;
  font-weight: 750;
}

.seat-selection-sidebar__counts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: var(--color-surface-1);
  border-radius: 0.85rem;
}

.seat-selection-sidebar__counts > div { padding: 0.85rem; }
.seat-selection-sidebar__counts > div + div { border-left: 1px solid var(--color-subtle); }

.seat-selection-sidebar__counts dt {
  color: var(--color-muted);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.seat-selection-sidebar__counts dd {
  margin-top: 0.2rem;
  font-family: "Geist Mono", monospace;
  font-size: 1.4rem;
  font-weight: 850;
}

.seat-selection-sidebar__hint {
  min-height: 2.5rem;
  color: var(--color-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.seat-selection-sidebar__best,
.seat-selection-sidebar__reserve,
.seat-selection-sidebar__checkout,
.seat-selection-sidebar__mobile-checkout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.seat-selection-sidebar__best {
  color: var(--color-text);
  background: var(--color-surface-1);
  border: 0;
}

.seat-selection-sidebar__reserve,
.seat-selection-sidebar__checkout,
.seat-selection-sidebar__mobile-checkout {
  color: white;
  background: var(--color-accent);
  border: 0;
}

.seat-selection-sidebar__reserve:disabled {
  cursor: not-allowed;
  filter: saturate(0.4);
  opacity: 0.45;
}

.seat-selection-sidebar__checkout:hover,
.seat-selection-sidebar__checkout:focus-visible,
.seat-selection-sidebar__mobile-checkout:hover,
.seat-selection-sidebar__mobile-checkout:focus-visible { color: white; opacity: 0.82; }

.seat-selection-sidebar__mobile-checkout { display: none; }

.seat-selection-sidebar__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
  color: var(--color-muted);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 750;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.seat-selection-sidebar__line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-surface-1);
}

.seat-selection-sidebar__line > div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.seat-selection-sidebar__line strong {
  overflow: hidden;
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seat-selection-sidebar__line span { color: var(--color-muted); font-size: 0.72rem; }

.inventory-hold-timer {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.75rem;
  color: var(--color-text);
  background: oklch(from var(--color-amber) l c h / 0.13);
  border: 1px solid oklch(from var(--color-amber) l c h / 0.3);
  border-radius: 0.75rem;
  font-size: 0.72rem;
}

.inventory-hold-timer strong { margin-left: auto; font-size: 0.86rem; }

.checkout-inventory {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-surface-1);
}

.checkout-inventory__ticket {
  display: grid;
  grid-template-columns: minmax(8rem, 0.7fr) 1fr;
  align-items: start;
  gap: 1rem;
}

.checkout-inventory__heading {
  display: flex;
  align-items: start;
  gap: 0.5rem;
}

.checkout-inventory__heading > div {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.checkout-inventory__heading span { color: var(--color-muted); font-size: 0.68rem; }
.checkout-inventory__heading strong { font-size: 0.78rem; }

.checkout-inventory ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checkout-inventory li {
  padding: 0.35rem 0.5rem;
  background: var(--color-surface-2);
  border-radius: 0.45rem;
  font-size: 0.7rem;
  font-weight: 650;
}

.seat-selection-standing-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 0.5rem;
}

.seat-selection-standing-card {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem;
  background: var(--color-surface-2);
  border: 1px solid var(--color-surface-1);
  border-radius: 1rem;
  scroll-margin-top: 5rem;
}

.seat-selection-standing-card__form {
  display: flex;
  align-items: end;
  gap: 0.65rem;
}

.seat-selection-standing-card__form > div { width: 7rem; }

.seat-selection-standing-card__controls {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 0.55rem;
}

.seat-selection-standing-card__remove {
  width: 100%;
  padding: 0;
  color: var(--color-muted);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

@media (max-width: 64rem) {
  .seat-selection-layout { grid-template-columns: minmax(0, 1fr); }

  .seat-selection-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .seat-selection-page:not(.has-map-choices) .seat-selection-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 40rem) {
  .seat-selection-page { gap: 1.25rem; }
  .seat-selection-page.has-map-choices { padding-bottom: 10rem; }

  .seat-selection-header__title {
    align-items: start;
    flex-direction: column;
    gap: 1rem;
  }

  .seat-selection-header__ticket-price { align-items: start; text-align: left; }
  .seat-selection-sidebar { grid-template-columns: 1fr; }

  .seat-selection-sidebar__picker.has-map-choices {
    position: fixed;
    z-index: 30;
    right: 0.5rem;
    bottom: max(0.5rem, env(safe-area-inset-bottom, 0px));
    left: 0.5rem;
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: 0.45rem;
    padding: 0.65rem;
    border-color: var(--color-subtle);
    box-shadow: 0 0.75rem 2.5rem oklch(0 0 0 / 0.35);
  }

  .seat-selection-sidebar__picker.has-map-choices > div:first-child { display: none; }

  .seat-selection-sidebar__picker.has-map-choices .seat-selection-sidebar__counts {
    grid-row: 1 / span 2;
    grid-column: 1;
    grid-template-columns: 1fr;
    align-self: stretch;
  }

  .seat-selection-sidebar__picker.has-map-choices .seat-selection-sidebar__counts > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.4rem 0.45rem;
  }

  .seat-selection-sidebar__picker.has-map-choices .seat-selection-sidebar__counts > div + div {
    border-left: 0;
    border-top: 1px solid var(--color-subtle);
  }

  .seat-selection-sidebar__picker.has-map-choices .seat-selection-sidebar__counts dt {
    font-size: 0.55rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  .seat-selection-sidebar__picker.has-map-choices .seat-selection-sidebar__counts dd { font-size: 1.05rem; }

  .seat-selection-sidebar__picker.has-map-choices .seat-selection-sidebar__hint {
    grid-row: 3;
    grid-column: 1 / -1;
    min-height: 0;
    font-size: 0.68rem;
    text-align: center;
  }

  .seat-selection-sidebar__picker.has-map-choices .seat-selection-sidebar__best,
  .seat-selection-sidebar__picker.has-map-choices .seat-selection-sidebar__reserve,
  .seat-selection-sidebar__picker.has-map-choices .seat-selection-sidebar__mobile-checkout {
    grid-column: 2;
    min-height: 2.35rem;
    padding-block: 0.45rem;
    padding-inline: 0.65rem;
    font-size: 0.72rem;
  }

  .seat-selection-sidebar__picker.has-map-choices .seat-selection-sidebar__best { grid-row: 1; }
  .seat-selection-sidebar__picker.has-map-choices .seat-selection-sidebar__reserve { grid-row: 2; }

  .seat-selection-sidebar__picker.has-map-choices .seat-selection-sidebar__remove {
    grid-row: 4;
    grid-column: 1 / -1;
  }

  .seat-selection-sidebar__picker.has-map-choices.has-reservation .seat-selection-sidebar__best { display: none; }
  .seat-selection-sidebar__picker.has-map-choices.has-reservation .seat-selection-sidebar__reserve { grid-row: 1; }

  .seat-selection-sidebar__mobile-checkout {
    display: inline-flex;
    grid-row: 2;
  }

  .seatmap-customer-map__toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .seatmap-customer-map__floors { overflow-x: auto; }
  .seatmap-customer-map__zoom { justify-content: flex-end; }
  .seatmap-customer-map__viewport { padding: 0.5rem; }

  .seat-selection-standing-card {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
  }

  .seat-selection-standing-card__form { align-items: stretch; flex-direction: column; }
  .seat-selection-standing-card__form > div { width: 100%; }
  .checkout-inventory__ticket { grid-template-columns: 1fr; }
}
