:root {
  --bg-dark: #0a0a0f;
  --bg-card: #14141f;
  --bg-card-hover: #1a1a2e;
  --accent: #e50914;
  --accent-hover: #f40612;
  --text: #ffffff;
  --text-muted: #a0a0a0;
  --green: #22c55e;
  --red: #ef4444;
  --gray: #6b7280;
  --blue: #3b82f6;
}

* { box-sizing: border-box; }

body {
  background: var(--bg-dark);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
}

.site-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}

.site-logo {
  display: block;
  width: auto;
  height: 2.25rem;
  max-width: min(11rem, 46vw);
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 640px) {
  .site-logo {
    height: 2.75rem;
    max-width: 12.5rem;
  }
}

.site-logo--sidebar {
  height: 2.5rem;
  max-width: 100%;
  object-position: left center;
}

.site-logo--login {
  height: 3.25rem;
  max-width: 14rem;
  margin: 0 auto;
  object-position: center;
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(20, 20, 31, 0.55) 0%, var(--bg-dark) 100%);
  padding: 2.5rem 1rem 1.75rem;
}

.site-footer--reserva {
  margin-bottom: 5rem;
}

.site-footer-shell {
  max-width: 80rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .site-footer {
    padding: 3rem 1.5rem 2rem;
  }
}

@media (min-width: 1280px) {
  .site-footer--reserva {
    margin-bottom: 0;
  }
}

.site-footer-main {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .site-footer-main {
    grid-template-columns: minmax(200px, 320px) 1fr;
    gap: 2.5rem 3rem;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .site-footer-main {
    grid-template-columns: minmax(240px, 360px) 1fr;
    align-items: center;
  }
}

.site-footer-brand-col {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.site-footer-brand-img {
  display: block;
  width: 100%;
  max-width: min(100%, 340px);
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.site-footer-info-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .site-footer-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 2rem;
  }
}

.site-footer-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.site-footer-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  background: rgba(229, 9, 20, 0.12);
  color: var(--accent);
  font-size: 0.85rem;
}

.site-footer-info-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #f3f4f6;
  margin: 0 0 0.2rem;
  line-height: 1.35;
}

.site-footer-info-text {
  font-size: 0.8125rem;
  color: #9ca3af;
  margin: 0;
  line-height: 1.5;
}

.site-footer-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

@media (min-width: 768px) {
  .site-footer-bar {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.site-footer-copy {
  font-size: 0.75rem;
  color: #6b7280;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.site-footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #6b7280;
  margin: 0;
}

.site-footer-credit-name {
  color: #d1d5db;
  font-weight: 500;
}

.site-footer-ig {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.375rem;
  color: #d1d5db;
  background: rgba(255, 255, 255, 0.06);
  font-size: 1rem;
  transition: color 0.2s, background 0.2s;
}

.site-footer-ig:hover {
  color: #fff;
  background: rgba(229, 9, 20, 0.25);
}

.app-spinner-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 10, 15, 0.88);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
}

.app-spinner-overlay.hidden {
  display: none;
}

.app-spinner {
  width: 3rem;
  height: 3rem;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: app-spin 0.75s linear infinite;
}

.app-spinner-text {
  color: #d1d5db;
  font-size: 0.9rem;
  text-align: center;
  max-width: 16rem;
}

@keyframes app-spin {
  to { transform: rotate(360deg); }
}

.cinematic-overlay {
  background: linear-gradient(to top, rgba(10,10,15,1) 0%, rgba(10,10,15,0.4) 50%, rgba(10,10,15,0.7) 100%);
}

.btn-primary {
  background: var(--accent);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover { background: var(--accent-hover); transform: scale(1.02); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-secondary {
  background: transparent;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover { border-color: white; background: rgba(255,255,255,0.05); }

.card-event {
  position: relative;
  background: #0b0b13;
  border-radius: 0.7rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255,255,255,0.08);
  display: block;
  isolation: isolate;
}

.card-event:hover {
  transform: scale(1.045);
  box-shadow: 0 20px 34px rgba(0,0,0,0.55);
  z-index: 5;
  border-color: rgba(255,255,255,0.24);
}

.card-event-media {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #08080d;
}

.card-event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-event:hover .card-event-media img {
  transform: scale(1.08);
}

.card-event-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,9,0.96) 0%, rgba(10,10,15,0.45) 45%, rgba(10,10,15,0.08) 70%, transparent 100%);
  pointer-events: none;
}

.card-event-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.card-event-featured {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 158, 11, 0.9);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.card-event-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1rem 0.8rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: linear-gradient(to top, rgba(7,7,12,0.98) 12%, rgba(7,7,12,0.68) 56%, rgba(7,7,12,0) 100%);
}

.card-event-title {
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 3px 10px rgba(0,0,0,0.7);
}

.card-event-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.72rem;
  color: #e5e7eb;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.card-event-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.card-event-meta i {
  width: 0.875rem;
  text-align: center;
  color: var(--accent);
  font-size: 0.75rem;
}

.card-event-upcoming {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  font-size: 0.63rem;
  color: #bfdbfe;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(147, 197, 253, 0.28);
  backdrop-filter: blur(4px);
}

.card-event-upcoming i {
  color: #93c5fd;
}

.card-event-cta {
  margin-top: 0.35rem;
  padding-top: 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease, gap 0.2s ease;
}

.card-event:hover .card-event-cta,
.card-event:focus-visible .card-event-cta {
  opacity: 1;
  transform: translateY(0);
  gap: 0.75rem;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .events-grid { gap: 1.25rem; }
}

@media (min-width: 768px) {
  .events-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1280px) {
  .events-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
}

.section-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .section-title { font-size: 1.5rem; margin-bottom: 1.5rem; }
}

.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  font-size: 0.9rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.hero-upcoming-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  color: #bfdbfe;
  background: rgba(30, 64, 175, 0.35);
  border: 1px solid rgba(147, 197, 253, 0.3);
  backdrop-filter: blur(8px);
}

.destacados-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 768px) {
  .destacados-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .events-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card-event-body {
    padding: 1rem 0.95rem 0.9rem;
  }

  .card-event-title {
    font-size: 0.95rem;
  }
}

@media (min-width: 1024px) {
  .destacados-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.35rem;
  }

  .events-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.35rem;
  }
}

/* Seat map & zones */
.seat-map-container {
  padding: 0.5rem 0.4rem;
  background: var(--bg-card);
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.05);
  width: 100%;
  overflow: hidden;
}

.seat-section {
  display: grid;
  gap: 2px;
  min-width: 0;
  width: 100%;
}

.section-13 { grid-template-columns: repeat(13, minmax(0, 1fr)); }
.section-16 { grid-template-columns: repeat(16, minmax(0, 1fr)); }
.section-18 { grid-template-columns: repeat(18, minmax(0, 1fr)); }

/* Zone picker — 4 zonas */
.zones-overview { width: 100%; }

.zone-group {
  margin-bottom: 0.5rem;
}

.zone-group-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 0.75rem;
}

.zone-group-badge {
  background: rgba(229,9,20,0.15);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.zone-group-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.zones-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .zones-grid { grid-template-columns: repeat(2, 1fr); }
}

.zone-card {
  background: #0a0a0f;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  width: 100%;
}

.zone-card:hover {
  border-color: rgba(229,9,20,0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.zone-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.zone-card-id {
  font-size: 0.65rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.zone-card-cols {
  font-size: 0.65rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.zone-card-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.zone-card-filas {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.zone-card-stats {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.zone-disponibles {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}

.zone-stats-label {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.zone-card-bar {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.zone-card-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), #4ade80);
  border-radius: 2px;
  transition: width 0.3s;
}

.zone-card-action {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
}

.zone-aisle {
  margin: 1.25rem 0;
}

.zone-aisle::after { content: none; }

.zone-aisle span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg-dark);
  padding: 0 0.75rem;
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.zone-aisle {
  position: relative;
  height: 1.5rem;
  border-top: 2px dashed rgba(255,255,255,0.1);
}

/* Diagrama general del teatro */
.zones-diagram {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 0.75rem;
  padding: 1rem;
}

.diagram-screen {
  background: linear-gradient(to bottom, #333, #111);
  color: var(--text-muted);
  text-align: center;
  padding: 0.3rem;
  margin: 0 auto 0.75rem;
  max-width: 50%;
  border-radius: 0 0 40% 40%;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
}

.diagram-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 3px;
  max-width: 320px;
  margin: 0 auto;
}

.diagram-cell {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  min-height: 4.5rem;
  padding: 0.4rem 0.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  font-size: 0.65rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.diagram-cell:hover {
  border-color: var(--accent);
  color: #fff;
  background: rgba(229,9,20,0.12);
  transform: scale(1.02);
}

.diagram-zone-id {
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.diagram-cols {
  font-size: 0.6rem;
  opacity: 0.7;
}

.diagram-cols::after {
  content: ' cols';
  font-size: 0.5rem;
}

.diagram-disp {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.diagram-disp-label {
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.diagram-cell-ok {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.08);
}

.diagram-cell-ok .diagram-disp { color: var(--green); }

.diagram-cell-low {
  border-color: rgba(234, 179, 8, 0.4);
  background: rgba(234, 179, 8, 0.06);
}

.diagram-cell-low .diagram-disp { color: #eab308; }

.diagram-cell-empty {
  opacity: 0.45;
  cursor: not-allowed;
}

.diagram-cell-empty .diagram-disp { color: var(--gray); }

.diagram-cell-selected {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 2px rgba(229, 9, 20, 0.35);
  background: rgba(229, 9, 20, 0.15) !important;
}

.zones-diagram-live {
  max-width: 100%;
}

.zones-diagram-live .diagram-row {
  max-width: min(100%, 360px);
}

.zones-diagram-live .diagram-row--frente .diagram-cell {
  min-height: 5rem;
}

.zones-diagram-live .diagram-row--trasera .diagram-cell {
  min-height: 5.5rem;
}

.zones-diagram-live .diagram-aisle-h {
  max-width: min(100%, 360px);
}

.diagram-pmr {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  max-width: min(100%, 360px);
  margin: 0.35rem auto;
  padding: 0.35rem 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  font-size: 0.6rem;
  color: var(--text-muted);
}

.diagram-pmr-label {
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #9ca3af;
}

.diagram-pmr-count {
  font-size: 0.55rem;
}

.diagram-aisle-v {
  width: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 1px;
  flex-shrink: 0;
}

.diagram-aisle-h {
  height: 4px;
  background: rgba(255,255,255,0.08);
  margin: 6px auto;
  max-width: 320px;
}

/* Mapa ampliado de una zona */
.btn-back-zones {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: #ccc;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-back-zones:hover {
  border-color: var(--accent);
  color: #fff;
}

.zone-seat-map {
  width: 100%;
}

.zone-cols-header,
.zone-seat-row {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr) 1.25rem;
  gap: 4px;
  align-items: center;
  margin-bottom: 3px;
  width: 100%;
}

.zone-cols-hint {
  text-align: center;
  font-size: 0.65rem;
  color: var(--text-muted);
  padding: 0.25rem 0;
}

.zone-cols-header { margin-bottom: 6px; }

.screen {
  text-align: center;
  margin: 0 auto 0.75rem;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.screen--stage {
  background: linear-gradient(to bottom, #333, #111);
  color: var(--text-muted);
  padding: 0.35rem 1rem;
  max-width: 70%;
  border-radius: 0 0 50% 50%;
  letter-spacing: 0.25em;
}

.screen--aisle {
  max-width: 100%;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 2px dashed rgba(255, 255, 255, 0.18);
  border-radius: 0.35rem;
  color: #d1d5db;
}

.screen--aisle .screen-label {
  display: block;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #e5e7eb;
}

.screen--aisle .screen-hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.55rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--text-muted);
  line-height: 1.35;
}

.seat-map-footer {
  margin-top: 0.65rem;
  padding: 0.35rem 0.5rem;
  text-align: center;
  font-size: 0.55rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.seat-map-footer i {
  margin-right: 0.25rem;
  opacity: 0.8;
}

.seat-map--platea-alta .zone-seat-row:first-of-type .row-label {
  color: #fbbf24;
}

.row-label {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.55rem;
  color: var(--text-muted);
  min-width: 0;
}

.seat {
  width: 100%;
  aspect-ratio: 1;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: none;
  border-radius: 2px 2px 1px 1px;
  cursor: pointer;
  font-size: 0;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.12s, box-shadow 0.12s, filter 0.12s;
  color: rgba(255,255,255,0.95);
}

.seat:hover:not(:disabled) {
  transform: scale(1.2);
  z-index: 2;
  filter: brightness(1.15);
}

.seat-disponible { background: var(--green); }
.seat-ocupada { background: var(--red); cursor: not-allowed; opacity: 0.8; }
.seat-fisica { background: var(--gray); cursor: not-allowed; opacity: 0.65; }
.seat-seleccionado {
  background: var(--blue);
  box-shadow: 0 0 0 1px #fff, 0 0 8px rgba(59,130,246,0.7);
  transform: scale(1.15);
  z-index: 3;
}

.aisle-horizontal {
  height: 1.25rem;
  margin: 0.75rem 0;
  border-top: 2px dashed rgba(255,255,255,0.12);
  position: relative;
}

.aisle-horizontal::after {
  content: 'PASILLO';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg-card);
  padding: 0 0.5rem;
  font-size: 0.55rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
}

.seat-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.legend-dot {
  width: 1rem;
  height: 1rem;
  border-radius: 0.25rem;
}

/* Swiper hero */
.hero-swiper { width: 100%; height: 85vh; }

.hero-nav {
  display: none;
}

@media (min-width: 1024px) {
  .hero-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: rgba(10,10,15,0.55);
    border: 1px solid rgba(255,255,255,0.14);
    color: #fff;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    backdrop-filter: blur(8px);
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
  }

  .hero-nav:hover {
    background: rgba(10,10,15,0.75);
    border-color: rgba(229,9,20,0.45);
  }

  .hero-nav:active {
    transform: translateY(-50%) scale(0.98);
  }

  .hero-nav-prev { left: 1rem; }
  .hero-nav-next { right: 1rem; }
}

.hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video--promo {
  background: #0a0a0f;
}

.hero-skip-promo {
  margin-bottom: 0.5rem;
}

.hero-audio-consent {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
}

.hero-audio-consent.hidden {
  display: none;
}

.hero-audio-consent__panel {
  width: 100%;
  max-width: 22rem;
  padding: 1.5rem 1.25rem;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.hero-audio-consent__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  background: rgba(229, 9, 20, 0.15);
  color: #e50914;
  font-size: 1.35rem;
}

.hero-audio-consent__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

body.hero-audio-consent-open {
  overflow: hidden;
}

.hero-swiper--promo-active .hero-nav,
.hero-swiper--promo-active .swiper-pagination {
  opacity: 0.35;
  pointer-events: none;
}

.hero-swiper--promo-active .hero-skip-promo {
  pointer-events: auto;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.event-hero .hero-video,
.event-hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.event-hero .hero-bg {
  background-size: cover;
  background-position: center;
}

/* Admin */
.admin-layout {
  display: flex;
  min-height: 100vh;
  position: relative;
}

.admin-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 60;
  width: 2.75rem;
  height: 2.75rem;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.625rem;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.admin-menu-toggle:hover { background: var(--bg-card-hover); }

@media (min-width: 1024px) {
  .admin-menu-toggle { display: none; }
}

.admin-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 45;
  backdrop-filter: blur(2px);
}

.admin-overlay.is-visible { display: block; }

@media (min-width: 1024px) {
  .admin-overlay { display: none !important; }
}

.admin-sidebar {
  background: var(--bg-card);
  min-height: 100vh;
  width: 260px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.admin-sidebar.is-open {
  transform: translateX(0);
}

@media (min-width: 1024px) {
  .admin-sidebar {
    transform: translateX(0);
    position: sticky;
    top: 0;
    flex-shrink: 0;
  }
}

.admin-menu-close { display: block; }

@media (min-width: 1024px) {
  .admin-menu-close { display: none; }
}

.admin-content {
  flex: 1;
  padding: 1.25rem;
  padding-top: 4.5rem;
  min-width: 0;
}

@media (min-width: 1024px) {
  .admin-content { padding: 2rem; padding-top: 2rem; }
}

body.admin-menu-open { overflow: hidden; }

/* Control de ingreso — lector QR */
.qr-page .admin-content {
  padding-bottom: 2rem;
}

.qr-scanner-wrap {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  padding: 1rem;
  overflow: hidden;
}

.qr-reader {
  width: 100%;
  min-height: 280px;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #000;
}

.qr-reader video {
  border-radius: 0.75rem;
  object-fit: cover;
}

.qr-scanner-hint {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.qr-manual summary {
  list-style: none;
}

.qr-manual summary::-webkit-details-marker {
  display: none;
}

.qr-result {
  border-radius: 1rem;
  padding: 1.25rem;
  border: 2px solid transparent;
  animation: qrFadeIn 0.35s ease;
}

@keyframes qrFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.qr-result--ok {
  background: linear-gradient(180deg, rgba(34,197,94,0.12) 0%, var(--bg-card) 40%);
  border-color: rgba(34,197,94,0.45);
}

.qr-result--warn {
  background: linear-gradient(180deg, rgba(234,179,8,0.12) 0%, var(--bg-card) 40%);
  border-color: rgba(234,179,8,0.45);
}

.qr-result--error {
  background: linear-gradient(180deg, rgba(239,68,68,0.12) 0%, var(--bg-card) 40%);
  border-color: rgba(239,68,68,0.45);
}

.qr-result-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.qr-result-header > i {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.qr-result--ok .qr-result-header > i { color: var(--green); }
.qr-result--warn .qr-result-header > i { color: #eab308; }
.qr-result--error .qr-result-header > i { color: var(--red); }

.qr-result-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.qr-result-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.qr-seat-hero {
  text-align: center;
  background: rgba(0,0,0,0.35);
  border-radius: 0.875rem;
  padding: 1.25rem 1rem;
  margin-bottom: 1rem;
}

.qr-seat-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.qr-seat-fila,
.qr-seat-num {
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
}

.qr-seat-fila {
  font-size: clamp(2rem, 10vw, 3rem);
}

.qr-seat-num {
  font-size: clamp(2.5rem, 12vw, 3.75rem);
  margin-top: 0.15rem;
}

.qr-seat-fila span,
.qr-seat-num span {
  color: var(--accent);
}

.qr-ubicacion-box {
  background: rgba(229,9,20,0.08);
  border: 1px solid rgba(229,9,20,0.25);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
  text-align: center;
}

.qr-ubicacion-zona {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}

.qr-ubicacion-bloque {
  font-size: 0.9375rem;
  color: #ddd;
}

.qr-ubicacion-sector {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.qr-ubicacion-hint {
  font-size: 0.8125rem;
  color: var(--accent);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.qr-person-box {
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 0.75rem;
}

.qr-person-name {
  font-size: 1.125rem;
  font-weight: 600;
}

.qr-person-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.qr-person-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.qr-minor-badge {
  color: #fbbf24 !important;
  font-weight: 600;
}

.qr-event-box {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.qr-event-title {
  font-weight: 600;
  color: #ccc;
  font-size: 0.9375rem;
}

.qr-event-meta {
  margin-top: 0.25rem;
  text-transform: capitalize;
}

.qr-btn-ingreso {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  background: var(--green);
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: transform 0.15s, filter 0.15s;
}

.qr-btn-ingreso:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: scale(1.01);
}

.qr-btn-ingreso:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.qr-btn-hint {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .qr-reader {
    min-height: 240px;
  }

  .qr-result-title {
    font-size: 1.0625rem;
  }
}

.stat-card {
  background: var(--bg-card);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.05);
}

.input-field {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: white;
  outline: none;
  transition: border-color 0.2s;
}

.input-field:focus { border-color: var(--accent); }

select.input-field option {
  background: #14141f;
  color: #fff;
}

/* Fecha de nacimiento — día / mes / año */
.birth-date-picker__grid {
  display: grid;
  grid-template-columns: minmax(4.5rem, 1fr) minmax(0, 1.6fr) minmax(5.5rem, 1fr);
  gap: 0.5rem;
  align-items: end;
}

.birth-date-field__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.birth-date-select-wrap {
  position: relative;
}

.birth-date-select {
  appearance: none;
  padding: 0.75rem 2rem 0.75rem 0.75rem;
  font-size: 0.9375rem;
  cursor: pointer;
  width: 100%;
}

.birth-date-field--month .birth-date-select {
  font-size: 0.875rem;
}

.birth-date-select-icon {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 0.6rem;
  color: var(--text-muted);
}

@media (max-width: 380px) {
  .birth-date-picker__grid {
    grid-template-columns: 1fr 1fr;
  }

  .birth-date-field--month {
    grid-column: 1 / -1;
  }
}

/* Localidad searchable picker */
.localidad-picker {
  position: relative;
  width: 100%;
  z-index: 120;
}

.localidad-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 9998;
  backdrop-filter: blur(2px);
}

.localidad-backdrop:not(.hidden) {
  display: block;
}

.localidad-sheet-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.localidad-sheet-title {
  font-weight: 700;
  font-size: 1rem;
}

.localidad-sheet-close {
  background: rgba(255,255,255,0.08);
  border: none;
  color: #ccc;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.localidad-sheet-close:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
}

body.localidad-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.input-numeric {
  font-variant-numeric: tabular-nums;
}

.localidad-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: #0a0a0f;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0.625rem;
  padding: 0.75rem 1rem;
  color: #888;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  text-align: left;
}

.localidad-trigger:hover {
  border-color: rgba(255,255,255,0.25);
}

.localidad-trigger.is-open,
.localidad-trigger:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(229,9,20,0.15);
  outline: none;
}

.localidad-trigger.has-value {
  background: #0a0a0f;
  border-color: rgba(229,9,20,0.4);
}

.localidad-trigger.has-value .localidad-trigger-text {
  color: #fff;
  font-weight: 600;
}

.localidad-trigger.is-open .localidad-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.localidad-chevron {
  flex-shrink: 0;
  color: #666;
  transition: transform 0.2s, color 0.2s;
  font-size: 0.875rem;
}

.localidad-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 10050;
  background: #0a0a0f;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.75rem;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@media (min-width: 769px) {
  .localidad-dropdown {
    max-height: min(320px, 52vh);
  }

  .reserva-form-panel {
    z-index: 30;
  }
}

.localidad-search-wrap {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: #666;
}

.localidad-search {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1rem;
  outline: none;
}

.localidad-search::placeholder { color: #555; }

.localidad-list {
  list-style: none;
  margin: 0;
  padding: 0.375rem;
  max-height: min(240px, 45vh);
  min-height: 7.5rem;
  overflow-y: auto;
  flex: 1 1 auto;
}

.localidad-list::-webkit-scrollbar { width: 5px; }
.localidad-list::-webkit-scrollbar-thumb { background: rgba(229,9,20,0.4); border-radius: 3px; }

.localidad-option {
  width: 100%;
  text-align: left;
  padding: 0.75rem 0.875rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: #ccc;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.localidad-option:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}

.localidad-option.is-selected {
  background: rgba(229,9,20,0.15);
  color: var(--accent);
  font-weight: 600;
}

.localidad-option.is-selected:hover {
  background: rgba(229,9,20,0.22);
  color: #ff4d4d;
}

.localidad-empty {
  padding: 1rem;
  text-align: center;
  color: #666;
  font-size: 0.875rem;
  margin: 0;
}

.table-admin {
  width: 100%;
  border-collapse: collapse;
}

.table-admin th,
.table-admin td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.table-admin th {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.estado-valida { background: rgba(34,197,94,0.15); color: #4ade80; }
.estado-utilizada { background: rgba(59,130,246,0.15); color: #60a5fa; }
.estado-cancelada { background: rgba(239,68,68,0.15); color: #f87171; }

/* Admin — Reservas */
.reservas-page-header {
  margin-bottom: 1.5rem;
}

.reservas-page-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .reservas-page-title { font-size: 1.75rem; }
}

.reservas-page-title__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(229, 9, 20, 0.12);
  border: 1px solid rgba(229, 9, 20, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.reservas-page-subtitle {
  margin-top: 0.35rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 42rem;
}

.reservas-section-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.reservas-section-heading i {
  color: var(--accent);
}

.reservas-eventos-section {
  margin-bottom: 1.5rem;
}

.reservas-eventos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .reservas-eventos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .reservas-eventos-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.reservas-eventos-loading,
.reservas-eventos-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  background: var(--bg-card);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 0.85rem;
}

.reservas-evento-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  width: 100%;
  text-align: left;
  padding: 1rem 1.05rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.85rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.reservas-evento-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: var(--bg-card-hover);
}

.reservas-evento-card.is-selected {
  border-color: rgba(229, 9, 20, 0.55);
  background: rgba(229, 9, 20, 0.08);
  box-shadow: 0 0 0 1px rgba(229, 9, 20, 0.2);
}

.reservas-evento-card__pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
}

.reservas-evento-card__title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reservas-evento-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  font-size: 0.78rem;
  color: #9ca3af;
}

.reservas-evento-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.reservas-evento-card__cat {
  font-size: 0.75rem;
  color: #6b7280;
  margin: 0;
}

.reservas-evento-card__cat i {
  margin-right: 0.25rem;
}

.reservas-evento-card__count {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: #d1d5db;
}

.reservas-evento-card__count i {
  color: var(--accent);
  margin-right: 0.3rem;
}

.reservas-toolbar {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.reservas-toolbar__filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: end;
}

@media (min-width: 640px) {
  .reservas-toolbar__filters {
    grid-template-columns: 1fr 11rem;
  }
}

.reservas-field--search {
  min-width: 0;
}

.reservas-field-hint {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  color: #6b7280;
}

.reservas-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.reservas-label i {
  color: rgba(229, 9, 20, 0.85);
  font-size: 0.7rem;
}

.reservas-select-wrap {
  position: relative;
}

.reservas-select-wrap__chevron {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 0.65rem;
  color: var(--text-muted);
  z-index: 1;
}

.reservas-select {
  appearance: none;
  padding-right: 2.5rem;
}

.reservas-input-wrap {
  position: relative;
}

.reservas-input-wrap__icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
  pointer-events: none;
}

.reservas-input-with-icon {
  padding-left: 2.75rem;
}

.reservas-btn-buscar {
  width: 100%;
  min-height: 3rem;
}

@media (min-width: 640px) {
  .reservas-btn-buscar {
    width: auto;
    min-width: 7.5rem;
  }
}

.reservas-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--bg-card);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
}

.reservas-empty__icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.25rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-muted);
}

.reservas-empty__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.reservas-empty__text {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 22rem;
  margin: 0 auto;
  line-height: 1.5;
}

.reservas-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.reservas-content.hidden {
  display: none;
}

.reservas-hero {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.08) 0%, var(--bg-card) 55%);
  border: 1px solid rgba(229, 9, 20, 0.2);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .reservas-hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }
}

.reservas-hero__main {
  min-width: 0;
  flex: 1;
}

.reservas-hero__title {
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .reservas-hero__title { font-size: 1.25rem; }
}

.reservas-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.reservas-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.reservas-hero__meta i {
  color: rgba(229, 9, 20, 0.9);
  font-size: 0.75rem;
}

.reservas-hero__pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.reservas-hero__pill--activo { color: #4ade80; border-color: rgba(74, 222, 128, 0.35); background: rgba(34, 197, 94, 0.1); }
.reservas-hero__pill--proximamente { color: #fbbf24; border-color: rgba(251, 191, 36, 0.35); background: rgba(234, 179, 8, 0.1); }
.reservas-hero__pill--finalizado { color: #94a3b8; border-color: rgba(148, 163, 184, 0.35); background: rgba(148, 163, 184, 0.08); }

.reservas-hero__hint {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.reservas-hero__actions {
  flex-shrink: 0;
}

.reservas-btn-excel {
  width: 100%;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
}

.reservas-btn-excel:hover:not(:disabled) {
  background: rgba(34, 197, 94, 0.2);
  transform: scale(1.02);
}

.reservas-btn-excel:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

@media (min-width: 768px) {
  .reservas-btn-excel { width: auto; }
}

.reservas-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .reservas-kpis {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }
}

.reservas-kpi {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
  padding: 1rem 1.1rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.reservas-kpi__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.reservas-kpi__icon--red { background: rgba(229, 9, 20, 0.12); color: #f87171; }
.reservas-kpi__icon--blue { background: rgba(59, 130, 246, 0.12); color: #60a5fa; }
.reservas-kpi__icon--green { background: rgba(34, 197, 94, 0.12); color: #4ade80; }
.reservas-kpi__icon--amber { background: rgba(234, 179, 8, 0.12); color: #fbbf24; }
.reservas-kpi__icon--purple { background: rgba(168, 85, 247, 0.12); color: #c084fc; }

.reservas-kpi__body {
  min-width: 0;
  flex: 1;
}

.reservas-kpi__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.reservas-kpi__value {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
}

.reservas-kpi__sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  line-height: 1.3;
}

.reservas-table-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  overflow: hidden;
}

.reservas-table-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.reservas-table-card__title {
  font-size: 0.9375rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reservas-table-card__title i {
  color: var(--accent);
}

.reservas-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(229, 9, 20, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(229, 9, 20, 0.25);
}

.reservas-table-wrap {
  overflow-x: auto;
}

.reservas-table-empty {
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.reservas-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.reservas-action-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: background 0.15s, border-color 0.15s;
  cursor: pointer;
}

.reservas-action-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}

.reservas-action-btn--pdf { color: #60a5fa; }
.reservas-action-btn--ok { color: #4ade80; }
.reservas-action-btn--cancel { color: #f87171; }
.reservas-action-btn--mail { color: #fbbf24; }

.reservas-estado {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.55rem;
  border-radius: 0.35rem;
}

.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  z-index: 9999;
  animation: slideIn 0.3s ease;
}

.toast-success { background: #166534; }
.toast-error { background: #991b1b; }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@media (min-width: 768px) {
  .seat { font-size: 7px; }
  .row-label { font-size: 0.65rem; }
  .zone-seat-row { grid-template-columns: 1.5rem minmax(0, 1fr) 1.5rem; }
}

@media (min-width: 1024px) {
  .seat { font-size: 8px; }
  .seat-map-container { padding: 0.75rem; }
}

@media (max-width: 768px) {
  .hero-swiper { height: 65vh; min-height: 420px; }
  .event-hero { height: 50vh !important; }
  .screen { max-width: 90%; margin-bottom: 0.5rem; }
  .seat-legend { gap: 0.5rem; }
  .legend-item { font-size: 0.7rem; }
  .zone-cols-header,
  .zone-seat-row { grid-template-columns: 1rem minmax(0, 1fr) 1rem; gap: 2px; }
  nav.fixed { padding-left: 1rem; padding-right: 1rem; }
  nav.fixed .text-xl { font-size: 0.875rem; }
  nav.fixed .flex.gap-6 { gap: 0.75rem; }

  /* Localidad — bottom sheet en móvil */
  .localidad-sheet-header { display: flex; }
  .localidad-dropdown {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    height: 78vh;
    max-height: 78vh;
    border-radius: 1.125rem 1.125rem 0 0;
    z-index: 9999;
    box-shadow: 0 -12px 40px rgba(0,0,0,0.55);
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .localidad-list {
    max-height: none;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
  }
  .localidad-option {
    min-height: 2.75rem;
    display: flex;
    align-items: center;
  }
  .localidad-trigger {
    min-height: 2.75rem;
    font-size: 1rem;
  }

  /* Cards inicio — mantener formato poster */
  .destacados-grid,
  .events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .card-event-title {
    font-size: 0.82rem;
  }

  .card-event-meta {
    font-size: 0.66rem;
  }

  .card-event-body {
    padding: 0.8rem 0.68rem 0.7rem;
  }

  .card-event-cta {
    opacity: 1;
    transform: none;
  }

  .card-event:hover {
    transform: none;
  }
}

/* Reserva — pasos y layout unificado */
.reserva-main-shell {
  scroll-padding-top: 6rem;
}

.reserva-event-header {
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.9rem;
  padding: 0.85rem 0.95rem;
}

.reserva-step-nav-wrap {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.85rem;
  padding: 0.4rem 0.25rem;
}

.reserva-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 1280px) {
  .reserva-layout {
    grid-template-columns: 1fr minmax(280px, 360px);
    align-items: start;
    gap: 1.25rem;
  }
}

.reserva-step-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.reserva-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  min-width: 4.5rem;
  border-radius: 0.65rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.reserva-step-item:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.reserva-step-num {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.reserva-step-item.is-active .reserva-step-num,
.reserva-step-item.is-done .reserva-step-num {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.reserva-step-item.is-done:not(.is-active) .reserva-step-num {
  background: rgba(34, 197, 94, 0.2);
  border-color: var(--green);
  color: var(--green);
}

.reserva-step-label {
  font-size: 0.65rem;
  font-weight: 600;
}

.reserva-step-item.is-active .reserva-step-label { color: #fff; }

.reserva-step-item.is-active {
  background: rgba(229, 9, 20, 0.12);
}

.reserva-step-line {
  width: 1.5rem;
  height: 2px;
  background: rgba(255,255,255,0.1);
}

@media (min-width: 480px) {
  .reserva-step-line { width: 2.5rem; }
}

.theater-overview {
  width: 100%;
}

.reserva-section {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 0.9rem;
  padding: 0.95rem 0.85rem;
}

.desktop-form-hint {
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.8rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(229, 9, 20, 0.35);
  background: rgba(229, 9, 20, 0.12);
}

.desktop-form-hint-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.desktop-form-hint-text {
  font-size: 0.8rem;
  color: #d1d5db;
}

.reserva-form-spotlight {
  border-color: rgba(229, 9, 20, 0.6) !important;
  box-shadow: 0 0 0 2px rgba(229, 9, 20, 0.2), 0 14px 36px rgba(0, 0, 0, 0.45);
}

@keyframes reservaFormCueShake {
  0% { transform: translateX(0); }
  20% { transform: translateX(-9px); }
  45% { transform: translateX(8px); }
  70% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}

.reserva-form-cue {
  animation: reservaFormCueShake 240ms ease-out;
}

#step-zones {
  display: none !important;
}

.reserva-success-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.reserva-success-modal.hidden {
  display: none;
}

.reserva-success-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 12, 0.82);
  backdrop-filter: blur(3px);
}

.reserva-success-card {
  position: relative;
  width: min(420px, 100%);
  background: linear-gradient(180deg, rgba(20,20,31,0.98) 0%, rgba(12,12,20,0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  padding: 1.25rem;
  display: grid;
  gap: 0.75rem;
  z-index: 1;
  animation: reservaSuccessIn 180ms ease-out;
}

.reserva-success-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: #d1d5db;
}

.reserva-success-zone {
  color: #fca5a5;
  font-size: 0.9rem;
  font-weight: 600;
  margin-right: 2.2rem;
}

.reserva-success-seat {
  color: #e5e7eb;
  font-size: 0.96rem;
  font-weight: 700;
}

.reserva-success-icon {
  color: #22c55e;
  font-size: 2.5rem;
  text-align: center;
}

.reserva-success-title {
  font-size: 1.35rem;
  font-weight: 800;
  text-align: center;
}

.reserva-entry-notice-card {
  text-align: center;
}

.reserva-entry-notice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  background: rgba(229, 9, 20, 0.15);
  color: #e50914;
  font-size: 1.35rem;
  margin: 0 auto;
}

body.reserva-entry-notice-open {
  overflow: hidden;
}

.reserva-success-text {
  color: #cbd5e1;
  text-align: center;
  font-size: 0.9rem;
}

@keyframes reservaSuccessIn {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Recuperar entrada */
.recover-card {
  background: linear-gradient(180deg, rgba(20,20,31,0.98) 0%, rgba(12,12,20,0.98) 100%);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 20px 45px rgba(0,0,0,0.4);
}

@media (min-width: 640px) {
  .recover-card {
    padding: 1.8rem;
  }
}

.recover-hero {
  text-align: center;
}

.recover-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  background: rgba(229,9,20,0.18);
  border: 1px solid rgba(229,9,20,0.38);
  color: #ff6b74;
}

.recover-result {
  border-radius: 0.75rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid transparent;
}

.recover-result--ok {
  background: rgba(22, 101, 52, 0.2);
  border-color: rgba(74, 222, 128, 0.35);
}

.recover-result--error {
  background: rgba(153, 27, 27, 0.2);
  border-color: rgba(248, 113, 113, 0.35);
}

.recover-result-title {
  font-size: 0.92rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.3rem;
}

.recover-result-message {
  font-size: 0.84rem;
  color: #e5e7eb;
}

.recover-result-detail {
  font-size: 0.78rem;
  color: #cbd5e1;
  margin-top: 0.35rem;
}

.recover-support {
  border: 1px solid rgba(37, 99, 235, 0.32);
  background: rgba(30, 64, 175, 0.16);
  border-radius: 0.8rem;
  padding: 0.9rem;
}

.recover-support-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: #bfdbfe;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.recover-support-text {
  color: #dbeafe;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.recover-support .btn-secondary {
  margin-top: 0.75rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  text-align: center;
  white-space: normal;
  line-height: 1.35;
}

.recover-support-btn-label {
  font-weight: 700;
}

.recover-picker-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 0.75rem;
}

.recover-picker-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.recover-picker-item {
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-family: inherit;
  color: inherit;
}

.recover-picker-item:hover {
  border-color: rgba(229, 9, 20, 0.45);
  background: rgba(229, 9, 20, 0.08);
}

.recover-picker-item-title {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}

.recover-picker-item-meta,
.recover-picker-item-seat {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.recover-picker-item-warn {
  display: block;
  font-size: 0.7rem;
  color: #eab308;
  margin-top: 0.35rem;
}

.recover-support-btn-phone {
  font-size: 0.82rem;
  color: #dbeafe;
}

/* Móvil: solo mapa + pasos; tarjetas detalle en desktop */
@media (max-width: 1279px) {
  .zone-group-desktop { display: none; }
  .reserva-form-panel:not(.hidden) {
    margin-top: 0.5rem;
    position: relative;
    z-index: 2;
  }

  .reserva-main-shell {
    padding-top: 5.9rem;
  }

  .reserva-step-nav-wrap {
    position: sticky;
    top: 4.15rem;
    z-index: 18;
    backdrop-filter: blur(8px);
  }
}

.reserva-form-inactive {
  opacity: 0.55;
  pointer-events: none;
}

.reserva-form-inactive::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0.75rem;
}

.reserva-minor-consent {
  padding: 0.85rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(251, 191, 36, 0.45);
  background: rgba(251, 191, 36, 0.1);
}

.reserva-minor-consent__label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #e5e7eb;
}

.reserva-minor-consent__check {
  margin-top: 0.15rem;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  accent-color: #e50914;
}

.reservas-estado--menor {
  background: rgba(251, 191, 36, 0.18);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.35);
}

/* Modal: ocultar barra de scroll visible (igual mantiene el scroll) */
.no-scrollbar {
  -ms-overflow-style: none; /* IE/Edge legacy */
  scrollbar-width: none; /* Firefox */
}
.no-scrollbar::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none; /* Chrome/Safari */
}

/* Mapa completo del teatro — reserva */
.full-theater-map {
  width: 100%;
  overflow-x: auto;
  padding: 0.25rem 0;
}

.full-map-screen {
  background: linear-gradient(to bottom, #333, #111);
  color: var(--text-muted);
  text-align: center;
  padding: 0.35rem;
  margin: 0 auto 0.65rem;
  max-width: 55%;
  border-radius: 0 0 40% 40%;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
}

.full-map-block {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  margin: 0 auto;
  max-width: 100%;
}

.full-map-block--frente,
.full-map-block--trasera {
  margin-bottom: 0.35rem;
}

.full-map-block--pmr {
  margin-bottom: 0.35rem;
  align-items: stretch;
}

.full-map-zone {
  flex: 1;
  min-width: 0;
  max-width: min(48%, 420px);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 0.35rem 0.25rem;
}

.full-map-zone-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
  padding: 0 0.15rem;
}

.full-map-zone-id {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.full-map-zone-disp {
  font-size: 0.55rem;
  color: var(--green);
}

.full-map-row {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  gap: 3px;
  align-items: center;
  margin-bottom: 2px;
}

.full-map-row-label {
  font-size: 0.5rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
}

.full-map-seats {
  display: grid;
  grid-template-columns: repeat(13, minmax(0, 1fr));
  gap: 1px;
  min-width: 0;
}

.full-map-aisle-v {
  width: 6px;
  min-height: 2rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  flex-shrink: 0;
  align-self: stretch;
}

.full-map-aisle-v--pmr {
  width: 6px;
}

.full-map-aisle-h {
  position: relative;
  height: 1.25rem;
  border-top: 2px dashed rgba(255, 255, 255, 0.12);
  margin: 0.35rem auto 0.5rem;
  max-width: 100%;
}

.full-map-aisle-h span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg-card);
  padding: 0 0.5rem;
  font-size: 0.55rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.full-map-pmr-col {
  flex: 1;
  min-width: 0;
  max-width: min(48%, 420px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.full-map-pmr-label {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #9ca3af;
  text-transform: uppercase;
}

.full-map-pmr-seats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
  width: 100%;
}

.full-map-pmr-seats .seat {
  width: calc((100% - 18px) / 10);
  max-width: 1.75rem;
  aspect-ratio: 1;
}

.seat-pmr {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Vista ampliada de zona en reserva */
.zone-focus-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  background: rgba(229, 9, 20, 0.08);
  border: 1px solid rgba(229, 9, 20, 0.22);
  animation: zoneFocusBarIn 0.3s ease;
}

.zone-focus-bar.hidden {
  display: none;
}

@keyframes zoneFocusBarIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.zone-focus-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
}

.full-theater-map {
  transition: opacity 0.25s ease;
}

.full-map-zone {
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    max-width 0.35s ease,
    flex 0.35s ease,
    padding 0.35s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.full-theater-map:not(.full-theater-map--focused) .full-map-zone[data-zona] {
  cursor: pointer;
}

.full-theater-map:not(.full-theater-map--focused) .full-map-zone[data-zona]:hover {
  border-color: rgba(229, 9, 20, 0.45);
  background: rgba(229, 9, 20, 0.08);
  transform: translateY(-1px);
}

.full-map-zone-tap {
  font-size: 0.5rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.full-theater-map--focused .full-map-screen,
.full-theater-map--focused .full-map-aisle-h,
.full-theater-map--focused .full-map-block--pmr,
.full-theater-map--focused .full-map-aisle-v {
  opacity: 0;
  max-height: 0;
  min-height: 0;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  pointer-events: none;
  transform: scale(0.96);
  border: none;
}

.full-theater-map--focused .full-map-zone:not(.is-active) {
  opacity: 0;
  max-height: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  pointer-events: none;
  transform: scale(0.94);
  border: none;
}

.full-theater-map--focused .full-map-block {
  margin: 0;
}

.full-theater-map--focused .full-map-zone.is-active {
  max-width: 100%;
  flex: 1 1 100%;
  cursor: default;
  padding: 0.85rem 0.65rem;
  border-color: rgba(229, 9, 20, 0.35);
  background: rgba(229, 9, 20, 0.06);
  transform: scale(1);
  animation: zoneExpandIn 0.35s ease;
}

@keyframes zoneExpandIn {
  from { opacity: 0.4; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.full-theater-map--focused .full-map-zone.is-active .full-map-zone-head {
  margin-bottom: 0.65rem;
}

.full-theater-map--focused .full-map-zone.is-active .full-map-zone-id {
  font-size: 0.85rem;
}

.full-theater-map--focused .full-map-zone.is-active .full-map-zone-disp {
  font-size: 0.75rem;
}

.full-theater-map--focused .full-map-zone.is-active .full-map-row {
  grid-template-columns: 1.35rem minmax(0, 1fr);
  margin-bottom: 4px;
}

.full-theater-map--focused .full-map-zone.is-active .full-map-row-label {
  font-size: 0.72rem;
}

.full-theater-map--focused .full-map-zone.is-active .full-map-seats {
  gap: 3px;
}

.full-theater-map--focused .full-map-zone.is-active .seat {
  font-size: clamp(0.58rem, 2.4vw, 0.9rem);
  min-height: 1.35rem;
}

.full-theater-map--focused .full-map-zone.is-active .full-map-zone-tap {
  display: none;
}

@media (min-width: 640px) {
  .full-theater-map--focused .full-map-zone.is-active {
    padding: 1rem 0.85rem;
  }

  .full-theater-map--focused .full-map-zone.is-active .seat {
    min-height: 1.55rem;
  }
}

/* Admin — filas impresas por zona */
.filas-impresas-zone {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.65rem;
  padding: 0.65rem 0.75rem;
}

.filas-impresas-zone-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  margin-bottom: 0.5rem;
}

.filas-impresas-zone-id {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.filas-impresas-zone-name {
  font-size: 0.75rem;
  color: #d1d5db;
}

.filas-impresas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.filas-impresas-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.75rem;
  color: #9ca3af;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.filas-impresas-chip.is-checked {
  border-color: rgba(229, 9, 20, 0.55);
  background: rgba(229, 9, 20, 0.15);
  color: #fff;
}

.filas-impresas-chip input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.asientos-rebuild-banner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.08);
}

.asientos-rebuild-banner.hidden {
  display: none;
}

.asientos-rebuild-banner-body {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.asientos-rebuild-icon {
  color: #f59e0b;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.asientos-rebuild-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fbbf24;
}

.asientos-rebuild-text {
  font-size: 0.75rem;
  color: #d1d5db;
  margin-top: 0.25rem;
}

.asientos-rebuild-btn {
  align-self: flex-start;
  font-size: 0.8125rem;
  padding: 0.5rem 0.875rem;
}

@media (min-width: 640px) {
  .asientos-rebuild-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  .full-map-screen { max-width: 75%; }
  .full-map-row { grid-template-columns: 0.75rem minmax(0, 1fr); }
  .full-map-row-label { font-size: 0.45rem; }
}

