body.is-reservation-flow .swal2-container {
  z-index: 10050;
}

body:has(.reservation-flow) > footer.bg-black {
  display: none !important;
}

body:has(.reservation-flow) #btn-back-to-top {
  display: none !important;
}

.reservation-flow [hidden] {
  display: none !important;
}

.reservation-flow {
  --rf-navy: #252f4a;
  --rf-navy-2: #1b2438;
  --rf-lime: #90be20;
  --rf-lime-2: #bce072;
  --rf-ink: #252f4a;
  --rf-muted: #5d6b7e;
  --rf-line: #e2e8f0;
  --rf-paper: #f7f8fb;
  --rf-reserved: #d97706;
  --rf-reserved-seat: color-mix(in srgb, var(--rf-reserved) 55%, #ffffff);
  color: var(--rf-ink);
  background: #fff;
  padding-bottom: 6.25rem;
}

.reservation-flow .croquis-app.croquis-guest-map {
  --available: #252f4a;
  --reserved: var(--rf-reserved-seat);
  --blocked: #94a3b8;
  --accent: #3b82f6;
  --table: #ffffff;
  --table-stroke: #b8cce4;
  --table-label: #1e3a5f;
  --amenity-fill: #d1e3f8;
  --amenity-stroke: #7ba3d4;
  --canvas: #ffffff;
  --grid: #eef1f5;
  height: min(58vh, 560px);
  min-height: 360px;
  grid-template-rows: 1fr;
  background: var(--canvas);
  border: none;
  border-radius: 0;
  overflow: hidden;
  font-family: inherit;
}

.reservation-flow .croquis-app.croquis-guest-map .workspace {
  grid-template-columns: 1fr;
  height: 100%;
  min-height: 0;
}

.reservation-flow .croquis-app.croquis-guest-map #floor {
  height: 100%;
  min-height: 0;
  background: var(--canvas);
  cursor: grab;
}

.reservation-flow .croquis-app.croquis-guest-map #canvas.is-panning {
  cursor: grabbing;
}

.reservation-flow .croquis-app.croquis-guest-map .spot-node.selected .spot-body {
  fill: var(--rf-lime);
  stroke: var(--rf-navy);
  stroke-width: 2;
}

.reservation-flow .croquis-app.croquis-guest-map .table-node.selected .table-body {
  stroke: var(--table-stroke);
  stroke-width: 1.75;
}

.reservation-flow .croquis-app.croquis-guest-map .table-select-ring {
  display: none;
}

.reservation-flow .croquis-app.croquis-guest-map .spot-node.status-reserved .spot-body,
.reservation-flow .croquis-app.croquis-guest-map .spot-node.status-checked_in .spot-body,
.reservation-flow .croquis-app.croquis-guest-map .spot-node.status-pending_payment .spot-body {
  fill: var(--rf-reserved-seat);
  opacity: 1;
  stroke: #ffffff;
  stroke-dasharray: none;
}

/* Seat another visitor is picking right now (live, not yet reserved). */
.reservation-flow .croquis-app.croquis-guest-map .spot-node.status-selecting .spot-body {
  fill: var(--rf-selecting-seat, #a3abbd);
  opacity: 1;
  stroke: #ffffff;
  stroke-dasharray: 3 2;
}

.reservation-flow .croquis-app.croquis-guest-map .spot-node.status-selecting {
  cursor: not-allowed;
}

.reservation-flow .croquis-app.croquis-guest-map .spot-node.dim .spot-body {
  opacity: 0.55;
}

.reservation-flow .croquis-app.croquis-guest-map .table-node.dim {
  opacity: 0.45;
}

.reservation-flow [data-panel] > h2,
.reservation-flow .rf-map-wrap,
.reservation-flow #order-summary,
.reservation-flow #reservation-form,
.reservation-flow #pay-box,
.reservation-flow #result-box {
  scroll-margin-top: 1rem;
}

.rf-stepper {
  position: static;
  width: auto;
  z-index: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.7rem;
  flex-wrap: wrap;
  row-gap: 0.5rem;
  padding: 0 0 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--rf-line);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rf-step {
  color: var(--rf-muted);
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.rf-step.is-current {
  color: var(--rf-lime);
}

.rf-step.is-done {
  color: var(--rf-navy);
}

.rf-step-sep {
  color: #cbd5e1;
  font-weight: 400;
}

.rf-event {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 0 1.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--rf-line);
}

.rf-event-poster {
  width: 72px;
  height: 96px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--rf-navy-2);
}

.rf-event-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rf-event-poster-btn {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.rf-event-poster-btn:focus-visible {
  outline: 2px solid var(--rf-lime);
  outline-offset: 2px;
}

.rf-event-poster-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--rf-lime);
}

.rf-event-body h1 {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.2rem;
}

.rf-event-meta {
  margin: 0;
  font-size: 0.92rem;
  color: var(--rf-muted);
}

.rf-main {
  max-width: 52rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 2rem;
}

.rf-main h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.rf-notice {
  border: 1px solid var(--rf-line);
  background: var(--rf-paper);
  color: var(--rf-muted);
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
}

.rf-realtime-notice {
  border-color: #f0c36d;
  background: #fff8eb;
  color: #7a5b1a;
}

.rf-ticket {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--rf-line);
}

.rf-ticket-name {
  display: block;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.rf-ticket-price {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
}

.rf-ticket-note {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.82rem;
  color: var(--rf-muted);
}

.rf-qty {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rf-qty output {
  min-width: 1.5rem;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
}

.rf-qty button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid var(--rf-navy);
  background: #fff;
  color: var(--rf-navy);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.rf-qty button:hover {
  background: var(--rf-navy);
  color: #fff;
}

.rf-qty button:disabled {
  opacity: 0.35;
  cursor: default;
  background: #fff;
  color: var(--rf-navy);
}

.rf-map-wrap {
  position: relative;
  background: #fff;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.rf-zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 6;
}

.rf-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  padding: 0.9rem 0 0.2rem;
  font-size: 0.82rem;
  color: var(--rf-muted);
}

.rf-swatch {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  display: inline-block;
  margin-right: 0.35rem;
  vertical-align: -1px;
}

.rf-swatch-available {
  background: #252f4a;
}

.rf-swatch-reserved {
  background: var(--rf-reserved-seat);
}

.rf-swatch-selecting {
  background: var(--rf-selecting-seat, #a3abbd);
  box-shadow: inset 0 0 0 1px #ffffff;
  outline: 1px dashed #a3abbd;
  outline-offset: 1px;
}

.rf-swatch-selected {
  background: var(--rf-lime);
  box-shadow: inset 0 0 0 1px var(--rf-navy);
}

.rf-timer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--rf-navy);
  color: #fff;
  padding: 0.95rem 1.15rem;
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
}

.rf-timer-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.rf-timer-title {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.rf-timer-detail strong {
  color: var(--rf-lime-2);
}

.rf-timer-countdown {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
  flex-shrink: 0;
}

.rf-timer-countdown-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.82;
}

.rf-timer-countdown strong,
.rf-timer strong {
  color: var(--rf-lime-2);
  font-size: 1.65rem;
  line-height: 1;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.rf-summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  background: var(--rf-navy);
  color: #fff;
  padding: 1rem 1.15rem;
  margin-bottom: 1.5rem;
}

.rf-summary-count {
  font-size: 1.15rem;
  font-weight: 700;
}

.rf-summary-seats {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}

.rf-summary-total {
  text-align: right;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--rf-lime-2);
}

.rf-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.rf-req {
  color: #c24141;
}

.rf-form input[type="text"],
.rf-form input[type="email"],
.rf-form input[type="tel"] {
  display: block;
  width: 100%;
  margin-top: 0.3rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0.55rem 0.7rem;
  font: inherit;
  background: #fff;
}

.rf-form input:focus {
  outline: 2px solid var(--rf-lime);
  border-color: var(--rf-navy);
}

.rf-form input.is-invalid {
  border-color: #dc2626;
  background: #fff7f7;
}

.rf-form input.is-invalid:focus {
  outline-color: #fca5a5;
  border-color: #dc2626;
}

.rf-field-error {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #dc2626;
}

.rf-field-error[hidden] {
  display: none !important;
}

.rf-field-error-terms {
  margin-top: -0.35rem;
  margin-bottom: 0.85rem;
}

.rf-terms.is-invalid {
  color: #991b1b;
}

.rf-terms.is-invalid input {
  outline: 2px solid #fca5a5;
}

.rf-restrictions {
  border: 1px solid var(--rf-line);
  background: var(--rf-paper);
  color: var(--rf-muted);
  padding: 0.85rem 1rem;
  margin: 0 0 1rem;
  font-size: 0.88rem;
}

.rf-restrictions h3 {
  margin: 0 0 0.45rem;
  color: var(--rf-navy);
  font-size: 0.95rem;
  font-weight: 700;
}

.rf-restrictions ul {
  margin: 0 0 0.55rem;
  padding-left: 1.1rem;
  list-style: disc;
}

.rf-restrictions li + li {
  margin-top: 0.2rem;
}

.rf-restrictions a {
  color: var(--rf-navy);
  font-weight: 700;
  text-decoration: underline;
}

.rf-terms {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 400;
  color: var(--rf-muted);
  font-size: 0.88rem;
}

.rf-terms input {
  margin-top: 0.2rem;
}

.rf-terms a {
  color: var(--rf-navy);
  font-weight: 700;
  text-decoration: underline;
}

.rf-pay-note {
  font-size: 0.85rem;
  color: var(--rf-muted);
  margin: 0 0 1rem;
}

.rf-pay-note-simulated {
  color: var(--rf-ink);
  background: color-mix(in srgb, var(--rf-lime) 14%, #ffffff);
  border-left: 3px solid var(--rf-lime);
  border-radius: 6px;
  padding: 0.6rem 0.75rem;
}

.rf-result {
  text-align: center;
}

.rf-result h2 {
  margin-bottom: 0.5rem;
}

.rf-qr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.rf-qr-card {
  border: 1px solid var(--rf-line);
  padding: 1rem;
  background: #fff;
}

.rf-qr-card img {
  max-height: 160px;
  margin: 0 auto;
}

.rf-result-link {
  color: var(--rf-navy);
  font-weight: 700;
  text-decoration: underline;
}

.rf-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: #fff;
  border-top: 1px solid var(--rf-line);
  box-shadow: 0 -6px 18px rgba(37, 47, 74, 0.08);
  padding: 0.65rem 1rem;
}

.rf-bar-info {
  min-width: 0;
}

.rf-bar-count {
  margin: 0;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.25;
}

.rf-bar-seats {
  margin: 0.05rem 0 0;
  font-size: 0.78rem;
  color: var(--rf-muted);
  line-height: 1.2;
}

.rf-bar-total {
  margin: 0.05rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--rf-navy);
  line-height: 1.2;
}

.rf-bar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.rf-back {
  background: none;
  border: 0;
  color: var(--rf-navy);
  font: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.5rem 0.45rem;
  line-height: 1.25;
}

.rf-next {
  min-width: 9rem;
  background: var(--rf-lime);
  color: var(--rf-navy);
  border: 0;
  font: inherit;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.62rem 1rem;
  line-height: 1.25;
  cursor: pointer;
}

.rf-next:hover:not(:disabled) {
  background: var(--rf-lime-2);
}

.rf-next:disabled {
  opacity: 0.45;
  cursor: default;
}

@media (max-width: 800px) {
  body.is-reservation-flow nav {
    z-index: 50;
  }
}

@media (max-width: 720px) {
  .rf-stepper {
    position: static !important;
    width: auto !important;
    z-index: auto !important;
  }

  .rf-event-body h1 {
    font-size: 1.1rem;
  }

  .rf-summary {
    grid-template-columns: 1fr;
  }

  .rf-bar {
    flex-direction: row;
    align-items: center;
    padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
    gap: 0.5rem;
  }

  .rf-bar-info {
    flex: 1;
    min-width: 0;
  }

  .rf-bar-count {
    font-size: 0.84rem;
  }

  .rf-bar-seats {
    font-size: 0.75rem;
  }

  .rf-bar-total {
    font-size: 0.92rem;
  }

  .rf-bar-actions {
    flex-shrink: 0;
    justify-content: flex-end;
    gap: 0.35rem;
  }

  .rf-back {
    padding: 0.42rem 0.35rem;
    font-size: 0.74rem;
  }

  .rf-next {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 11rem;
    padding: 0.52rem 0.75rem;
    font-size: 0.74rem;
  }

  .reservation-flow {
    padding-bottom: 5.25rem;
  }

  .reservation-flow .rf-map-wrap {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .reservation-flow .croquis-app.croquis-guest-map {
    height: min(70dvh, calc(100dvh - 10.5rem));
    min-height: 300px;
    max-height: none;
  }

  .reservation-flow .rf-legend {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .reservation-flow[data-active-step="3"] .rf-event,
  .reservation-flow[data-active-step="3"] .rf-stepper {
    display: none;
  }

  .reservation-flow[data-active-step="3"] .rf-main {
    padding-top: 1rem;
  }

  .reservation-flow[data-active-step="3"] #order-summary {
    scroll-margin-top: 0.5rem;
  }
}

/* —— Comprobante / confirmación —— */
.reservation-receipt-page,
.reservation-flow .rf-result {
  max-width: 720px;
  margin: 0 auto;
}

.rf-main-receipt {
  padding: 1.5rem 1rem 3rem;
}

.rf-receipt {
  background: #fff;
  border: 1px solid var(--rf-line);
  box-shadow: 0 8px 28px rgba(37, 47, 74, 0.08);
}

.rf-receipt-success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: var(--rf-lime-2);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 1rem;
}

.rf-receipt-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  font-size: 0.75rem;
  line-height: 1;
}

.rf-receipt-lead,
.rf-receipt-note-inline,
.rf-receipt-ref-label,
.rf-receipt-ref,
.rf-receipt-footnote {
  text-align: center;
  margin: 0;
  padding: 0 1.25rem;
}

.rf-receipt-lead {
  margin-top: 1rem;
  line-height: 1.5;
  color: var(--rf-ink);
}

.rf-receipt-note-inline {
  margin-top: 0.35rem;
  font-size: 0.88rem;
  color: var(--rf-muted);
}

.rf-receipt-ref-label {
  margin-top: 1.1rem;
  font-size: 0.9rem;
  color: var(--rf-muted);
}

.rf-receipt-ref {
  margin-top: 0.35rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--rf-navy);
}

.rf-receipt-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.25rem 0 0;
  padding: 1.25rem;
  border-top: 1px solid var(--rf-line);
  border-bottom: 1px solid var(--rf-line);
}

.rf-receipt-event {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--rf-navy);
  line-height: 1.25;
}

.rf-receipt-venue,
.rf-receipt-when,
.rf-receipt-buyer {
  margin: 0 0 0.25rem;
  color: var(--rf-muted);
  font-size: 0.95rem;
}

.rf-receipt-hero-qr {
  flex-shrink: 0;
  text-align: center;
}

.rf-receipt-hero-qr img {
  display: block;
  width: 132px;
  height: 132px;
  border: 1px solid var(--rf-line);
  background: #fff;
}

.rf-receipt-hero-qr span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: var(--rf-muted);
  word-break: break-all;
}

.rf-receipt-tickets-title {
  margin: 1.1rem 1.25rem 0.65rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--rf-navy);
}

.rf-receipt-tickets {
  border-top: 1px solid var(--rf-line);
}

.rf-receipt-ticket {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--rf-line);
}

.rf-receipt-ticket-info strong {
  display: block;
  font-size: 0.98rem;
  color: var(--rf-navy);
  margin-bottom: 0.15rem;
}

.rf-receipt-ticket-info span {
  display: block;
  color: var(--rf-muted);
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.rf-receipt-ticket-info code {
  display: block;
  font-size: 0.75rem;
  color: var(--rf-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.rf-wallet-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.65rem;
}

.rf-wallet-link {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}

.rf-wallet-link img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 100%;
}

.rf-receipt-ticket-qr {
  flex-shrink: 0;
  width: 92px;
  height: 92px;
  border: 1px solid var(--rf-line);
  background: #fff;
}

.rf-receipt-footnote {
  padding: 1rem 1.25rem 0;
  font-size: 0.82rem;
  color: var(--rf-muted);
  line-height: 1.45;
}

.rf-receipt-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.25rem;
}

.rf-receipt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.25rem;
  border: 1px solid var(--rf-line);
  background: #fff;
  color: var(--rf-navy);
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.rf-receipt-btn-primary {
  background: #000;
  border-color: #000;
  color: #fff;
}

.rf-receipt-btn-primary:hover {
  background: #222;
  border-color: #222;
}

.rf-receipt-btn-link {
  border: 0;
  background: transparent;
  text-decoration: underline;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

.rf-receipt-back {
  text-align: center;
  margin-top: 1.25rem;
}

.reservation-flow .rf-result .rf-receipt {
  margin-top: 0.5rem;
}

@media (max-width: 720px) {
  .rf-receipt-hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .rf-receipt-actions {
    flex-direction: column;
  }

  .rf-receipt-btn {
    width: 100%;
  }
}

/* —— Vista previa del evento (antes de reservar) —— */
.reservation-event {
  --rf-navy: #252f4a;
  --rf-lime: #90be20;
  --rf-lime-2: #bce072;
  --rf-ink: #252f4a;
  --rf-muted: #5d6b7e;
  --rf-line: #e2e8f0;
  --rf-reserved: #d97706;
  --rf-reserved-seat: color-mix(in srgb, var(--rf-reserved) 55%, #ffffff);
  color: var(--rf-ink);
  background: #fff;
  padding-bottom: 3rem;
}

.re-main {
  max-width: 56rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2rem;
}

.re-back {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  position: relative;
  z-index: 1;
}

.reservation-event .rf-legend .rf-swatch {
  flex-shrink: 0;
  min-width: 0.85rem;
  min-height: 0.85rem;
  font-style: normal;
}

.reservation-event .rf-swatch-reserved {
  background: var(--rf-reserved-seat, #e8a54b);
}

.re-back a {
  color: var(--rf-navy);
  font-weight: 600;
  text-decoration: none;
}

.re-back a:hover {
  text-decoration: underline;
}

.re-hero {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
  margin-bottom: 2rem;
}

.re-hero-media img,
.re-hero-poster-fallback {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 0.35rem;
  background: var(--rf-navy);
}

.re-hero-poster-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.re-hero-poster-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 3rem;
  font-weight: 700;
}

.re-hero-body h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.2;
}

.re-hero-meta {
  margin: 0 0 0.35rem;
  color: var(--rf-muted);
  font-size: 0.95rem;
}

.re-hero-when {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.re-hero-when-icon {
  flex-shrink: 0;
  width: 1.05em;
  height: 1.05em;
  color: var(--rf-navy);
  opacity: 0.88;
  transform: translateY(0.04em);
}

.re-hero-desc {
  margin: 1rem 0 0;
  line-height: 1.65;
  color: var(--rf-ink);
}

.re-hero-price {
  margin: 1.15rem 0 0;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--rf-navy);
}

.re-hero-price-free {
  color: #166534;
}

.re-map-section {
  margin-bottom: 2rem;
}

.re-map-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.65rem;
}

.re-map-head h2 {
  margin: 0;
  font-size: 1.35rem;
}

.re-map-stats {
  margin: 0;
  color: var(--rf-muted);
  font-size: 0.95rem;
}

.re-map-stats strong {
  color: var(--rf-navy);
}

.re-map-note {
  margin: 0 0 1rem;
  color: var(--rf-muted);
  font-size: 0.92rem;
}

.reservation-event .re-map-wrap {
  position: relative;
  background: #fff;
}

.reservation-event .croquis-app.re-map-preview {
  display: grid;
  grid-template-rows: 1fr;
  height: min(52vh, 480px);
  min-height: 280px;
  overflow: hidden;
}

.reservation-event .croquis-app.re-map-preview .workspace {
  grid-template-columns: 1fr;
  height: 100%;
  min-height: 0;
}

.reservation-event .croquis-app.re-map-preview #floor {
  height: 100%;
  min-height: 0;
  background: #fff;
}

.reservation-event .croquis-app.re-map-preview #canvas {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  touch-action: none;
  cursor: default;
  user-select: none;
}

.reservation-event .croquis-app.re-map-preview .spot-node,
.reservation-event .croquis-app.re-map-preview .table-node {
  pointer-events: none;
}

.re-actions {
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}

.re-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 18rem);
  padding: 0.85rem 1.75rem;
  background: var(--rf-lime);
  color: var(--rf-navy);
  border: 0;
  font: inherit;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.re-cta:hover:not(:disabled) {
  background: var(--rf-lime-2);
  color: var(--rf-navy);
}

.re-cta:disabled {
  opacity: 0.55;
  cursor: default;
  background: #cbd5e1;
  color: #475569;
}

@media (max-width: 800px) {
  .reservation-event .re-main {
    padding-top: 5.25rem;
  }
}

@media (max-width: 720px) {
  .re-hero {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .re-hero-media {
    max-width: 16rem;
    margin: 0 auto;
    width: 100%;
  }

  .reservation-event .re-map-wrap {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .reservation-event .croquis-app.re-map-preview {
    height: min(58dvh, calc(100dvh - 14rem));
    min-height: 260px;
  }
}

@media print {
  body:has(.reservation-receipt-page) > footer.bg-black,
  body:has(.reservation-receipt-page) #btn-back-to-top,
  .rf-receipt-actions,
  .rf-receipt-back {
    display: none !important;
  }

  .rf-receipt {
    box-shadow: none;
    border: 0;
  }
}
