/* ── Seating map loading overlay ────────────────────────────── */
#map-loading {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#map-loading.map-loading--visible {
  display: flex;
}

/* ── Home page layout ───────────────────────────────────────── */
.v-home {
  max-width: 1240px;
  margin: 0 auto;
  padding: 38px 28px 70px
}

/* Hero */
.v-hero {
  display: flex;
  gap: 40px;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 30px
}

.v-hero__copy {
  max-width: 560px
}

.v-hero__eyebrow {
  font-size: var(--text-micro);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 12px
}

.v-hero__h1 {
  font-family: var(--font-serif);
  font-size: var(--fs-display-2);
  line-height: var(--lh-tight);
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  margin: 0 0 14px
}

.v-hero__sub {
  font-size: var(--text-body);
  line-height: var(--lh-normal);
  color: var(--text-secondary);
  margin: 0
}

.v-search {
  display: flex;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 8px 8px 16px;
  box-shadow: var(--shadow-card);
  align-self: flex-end
}

.v-search input {
  border: none;
  outline: none;
  background: transparent;
  font-size: var(--text-small);
  font-family: var(--font-sans);
  width: 220px;
  color: var(--text-primary)
}

.v-search input::placeholder {
  color: var(--text-muted)
}

/* Category chips */
.v-chips {
  display: flex;
  gap: 8px;
  margin-bottom: 26px;
  flex-wrap: wrap
}

.v-chip {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: transparent;
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard)
}

.v-chip:hover,
.v-chip--active {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink)
}

/* Events grid */
.v-events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  justify-items: stretch
}

/* EventCard */
.v-event-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-sans);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: box-shadow var(--duration-base) var(--ease-standard), transform var(--duration-base) var(--ease-standard)
}

.v-event-card:hover {
  box-shadow: var(--shadow-raised);
  transform: translateY(-2px);
  color: inherit
}

.v-event-card__img {
  position: relative;
  height: 170px;
  overflow: hidden;
  flex-shrink: 0;
  background: repeating-linear-gradient(45deg, var(--surface-40) 0 24px, color-mix(in oklch, var(--surface-40) 88%, var(--ink)) 24px 48px)
}

.v-event-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.v-event-card__cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill)
}

.v-event-card__sold {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--ink);
  color: var(--surface);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  padding: 4px 10px;
  border-radius: var(--radius-pill)
}

.v-event-card__body {
  padding: 18px 18px 14px;
  display: flex;
  flex-direction: column;
  flex: 1
}

.v-event-card__date {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: 6px
}

.v-event-card__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 21px;
  color: var(--text-primary);
  margin: 0 0 4px;
  line-height: var(--lh-snug);
  height: calc(var(--lh-snug) * 21px * 2);
  overflow: hidden;
  position: relative;
}

.v-event-card__title-text {
  display: block;
  transition: transform 1.1s linear;
}

.v-event-card__title.is-truncated::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34px;
  height: 1.3em;
  background: linear-gradient(to right, transparent, var(--bg-card) 60%);
  pointer-events: none;
  transition: opacity var(--duration-fast) var(--ease-standard);
}

.v-event-card:hover .v-event-card__title.is-truncated .v-event-card__title-text {
  transform: translateY(var(--title-scroll, 0px));
}

.v-event-card:hover .v-event-card__title.is-truncated::after {
  opacity: 0;
}

.v-event-card__venue {
  font-size: 14px;
  color: var(--text-secondary)
}

.v-event-card__footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
  padding-top: 12px;
  margin-top: 14px
}

.v-event-card__from {
  font-size: 14px;
  color: var(--text-secondary)
}

.v-event-card__price {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary)
}

.v-event-card__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary)
}

/* Section header */
.v-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px
}

.v-section-head h2 {
  font-family: var(--font-serif);
  font-size: var(--text-h2);
  font-weight: 500;
  margin: 0
}

.v-section-head a {
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--text-primary)
}

/* Best sellers */
.v-bestsellers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.v-bestseller {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--duration-fast) var(--ease-standard)
}

.v-bestseller:hover {
  box-shadow: var(--shadow-raised);
  color: inherit
}

.v-bestseller__rank {
  font-family: var(--font-serif);
  font-size: 34px;
  color: var(--ink-30);
  line-height: 1;
  flex-shrink: 0
}

.v-bestseller__body {
  flex: 1;
  min-width: 0
}

.v-bestseller__title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.v-bestseller__venue {
  font-size: var(--text-micro);
  color: var(--text-muted);
  margin-bottom: 9px
}

.v-bestseller__bar-track {
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--surface-70);
  overflow: hidden;
  margin-bottom: 6px
}

.v-bestseller__bar-fill {
  height: 100%;
  border-radius: var(--radius-pill)
}

.v-bestseller__meta {
  font-size: var(--text-micro);
  font-weight: 600
}

/* Ad slot */
.v-ad-slot {
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--surface-20)
}

.v-ad-slot span {
  font-size: var(--text-micro);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted)
}

.v-ad-slot img {
  max-height: 130px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg)
}

/* How-to steps */
.v-steps-head {
  text-align: center;
  margin-bottom: 30px
}

.v-steps-head h2 {
  font-family: var(--font-serif);
  font-size: var(--text-h2);
  font-weight: 500;
  margin: 0 0 6px
}

.v-steps-head p {
  font-size: var(--text-small);
  color: var(--text-secondary);
  margin: 0
}

.v-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.v-step {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px 24px
}

.v-step__num {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 20px;
  margin-bottom: 16px
}

.v-step h3 {
  font-family: var(--font-serif);
  font-size: var(--text-h3);
  font-weight: 500;
  margin: 0 0 8px
}

.v-step p {
  font-size: var(--text-small);
  line-height: var(--lh-normal);
  color: var(--text-secondary);
  margin: 0
}

/* Stripe band */
.v-stripe-band {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: 34px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap
}

.v-stripe-band__eyebrow {
  font-size: var(--text-micro);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--wine-40);
  margin-bottom: 12px
}

.v-stripe-band__h2 {
  font-family: var(--font-serif);
  font-size: var(--text-h3);
  font-weight: 500;
  color: var(--text-on-dark);
  margin: 0 0 8px
}

.v-stripe-band__body {
  font-size: var(--text-small);
  line-height: var(--lh-normal);
  color: color-mix(in oklch, var(--surface) 70%, transparent);
  margin: 0;
  max-width: 440px
}

.v-stripe-band__methods {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 400px
}

.v-stripe-band__method {
  background: var(--bg-dark-raised);
  border: 1px solid var(--border-on-dark);
  color: var(--text-on-dark);
  font-size: var(--text-micro);
  font-family: var(--font-sans);
  font-weight: 600;
  padding: 9px 14px;
  border-radius: var(--radius-sm)
}

/* Organizer CTA */
.v-org-cta {
  background: var(--surface-70);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap
}

.v-org-cta__eyebrow {
  font-size: var(--text-micro);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 10px
}

.v-org-cta__h2 {
  font-family: var(--font-serif);
  font-size: var(--text-h2);
  font-weight: 500;
  margin: 0 0 10px;
  line-height: var(--lh-snug)
}

.v-org-cta__body {
  font-size: var(--text-small);
  line-height: var(--lh-normal);
  color: var(--text-secondary);
  margin: 0;
  max-width: 520px
}

/* Responsive home */
@media(max-width:900px) {
  .v-events-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .v-bestsellers {
    grid-template-columns: 1fr 1fr
  }

  .v-steps {
    grid-template-columns: 1fr 1fr
  }

  .v-section-head {
    flex-wrap: wrap;
    gap: 8px
  }
}

@media(max-width:640px) {
  .v-home {
    padding: 28px 16px 48px
  }

  .v-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px
  }

  .v-hero__h1 {
    font-size: clamp(1.9rem, 7vw, 2.5rem)
  }

  .v-search {
    width: 100%;
    flex-wrap: nowrap
  }

  .v-search input {
    flex: 1;
    min-width: 0;
    width: auto
  }

  .v-events-grid {
    grid-template-columns: 1fr
  }

  .v-bestsellers {
    grid-template-columns: 1fr
  }

  .v-steps {
    grid-template-columns: 1fr
  }

  .v-stripe-band {
    padding: 24px 20px;
    flex-direction: column
  }

  .v-org-cta {
    padding: 28px 20px
  }

  .v-section-head {
    flex-wrap: wrap;
    gap: 8px
  }
}

/* ── Event Detail ─────────────────────────────────────────── */
.v-event-hero {
  background: var(--bg-dark);
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
}

.v-event-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.v-event-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--ink), color-mix(in oklch, var(--ink) 55%, transparent));
}

.v-event-hero__inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  padding: 0 28px 30px;
  color: var(--text-on-dark);
}

.v-event-hero__pill {
  display: inline-block;
  background: var(--accent-primary);
  color: var(--text-on-accent);
  font-size: var(--text-micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.v-event-hero__h1 {
  font-family: var(--font-serif);
  font-size: var(--fs-display-2);
  font-weight: 500;
  margin: 0 0 6px;
  letter-spacing: var(--tracking-tight);
  color: var(--text-on-dark);
}

.v-event-hero__sub {
  font-size: var(--text-body);
  opacity: .85;
  color: var(--text-on-dark);
  margin: 0
}

/* Event detail two-column layout */
.v-event-detail {
  max-width: 1240px;
  margin: 0 auto;
  padding: 34px 28px 70px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 44px;
  align-items: start;
}

.v-event-detail aside {
  position: sticky;
  top: 80px;
  align-self: start;
}

/* Fact chips */
.v-event-facts {
  display: flex;
  gap: 14px;
  margin-bottom: 34px;
  flex-wrap: wrap
}

.v-event-fact {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  min-width: 130px;
}

.v-event-fact__key {
  font-size: var(--text-micro);
  color: var(--text-muted);
  margin-bottom: 4px
}

.v-event-fact__val {
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--text-primary)
}

/* Section heading in event detail */
.v-event-h2 {
  font-family: var(--font-serif);
  font-size: var(--text-h3);
  font-weight: 500;
  margin: 0 0 14px
}

/* Show (function) rows */
.v-shows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 560px
}

.v-show-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.v-show-row--sold {
  opacity: .55
}

.v-show-row__date {
  display: flex;
  align-items: center;
  gap: 16px
}

.v-show-row__cal {
  text-align: center;
  min-width: 52px;
  flex-shrink: 0
}

.v-show-row__mon {
  font-size: var(--text-micro);
  font-weight: 600;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.v-show-row__day {
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1;
  color: var(--text-primary)
}

.v-show-row__time {
  font-size: var(--text-body);
  font-weight: 600;
  font-family: var(--font-serif)
}

.v-show-row__meta {
  font-size: var(--text-small);
  color: var(--text-muted)
}

/* Venue map (embedded) */
/* Seccion "Como llegar" a dos columnas: datos a la izquierda, mapa a la derecha.
   La columna de contenido mide 780px, asi que el mapa pasa de panoramico (778px) a ~420px.
   minmax(0, …) en ambas para que ningun hijo ancho infle su columna. */
.v-venue-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 16px;
}

.v-venue-addr { padding-bottom: 18px; border-bottom: 1px solid var(--border-subtle); }
.v-venue-addr__key {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--text-secondary); margin-bottom: 6px;
}
.v-venue-addr__val {
  font-size: 15px; line-height: 1.5; color: var(--text-primary); margin: 0; font-weight: 600;
}

.v-venue-how { padding-top: 18px; }
.v-venue-how__title {
  display: block; font-size: 15px; font-weight: 700;
  color: var(--text-primary); margin-bottom: 10px;
}
.v-venue-how__item {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 0; text-decoration: none;
  font-size: 14.5px; color: var(--text-secondary);
  transition: color var(--duration-fast) var(--ease-standard);
}
.v-venue-how__item:hover { color: var(--accent-primary); }
.v-venue-how__item i {
  width: 22px; text-align: center; font-size: 15px; color: var(--accent-primary);
}

@media (max-width: 760px) {
  .v-venue-grid { grid-template-columns: 1fr; gap: 20px; }
  /* Apiladas, el mapa va primero: en un telefono ubicarse pesa mas que los enlaces. */
  .v-venue-grid > .v-venue-map { order: -1; }
}

.v-venue-grid > .v-venue-map { margin-bottom: 0; height: 340px; }

.v-venue-map {
  position: relative;
  height: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  margin-bottom: 16px;
  background: var(--surface-20);
}

.v-venue-map__open {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  font-size: var(--text-micro);
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--text-primary);
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  display: inline-block;
}

/* Venue info grid */
.v-venue-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 22px;
  max-width: 640px
}

.v-venue-info__item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.v-venue-info__key {
  font-size: var(--text-micro);
  color: var(--text-muted)
}

.v-venue-info__val {
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--text-primary)
}

/* Price card */
.v-price-card {
  position: sticky;
  top: 84px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-raised);
}

.v-price-card__from {
  font-size: var(--text-small);
  color: var(--text-muted);
  margin-bottom: 4px
}

.v-price-card__amount {
  font-family: var(--font-serif);
  font-size: 38px;
  margin-bottom: 2px;
  line-height: 1.1
}

.v-price-card__amount span {
  font-size: 14px;
  color: var(--text-muted);
  font-family: var(--font-sans)
}

.v-price-card__range {
  font-size: var(--text-small);
  color: var(--text-muted);
  margin-bottom: 20px
}

.v-price-card__note {
  text-align: center;
  font-size: var(--text-micro);
  color: var(--text-muted);
  margin-top: 12px
}

/* Ticket tier list in price card */
.v-price-tiers {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 20px
}

.v-price-tier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-small)
}

.v-price-tier__name {
  display: flex;
  align-items: center;
  gap: 9px
}

.v-price-tier__dot {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  flex-shrink: 0
}

.v-price-tier__price {
  font-family: var(--font-serif);
  font-size: 16px
}

/* FAQ with native <details> */
.v-faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 640px
}

.v-faq details {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.v-faq details summary {
  padding: 14px 16px;
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
}

.v-faq details summary::-webkit-details-marker {
  display: none
}

.v-faq details summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 400
}

.v-faq details[open] summary::after {
  content: '−'
}

.v-faq details .v-faq__answer {
  padding: 0 16px 14px;
  font-size: var(--text-small);
  color: var(--text-secondary);
  line-height: var(--lh-normal);
}

/* Breadcrumb */
.v-breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  font-size: var(--text-small);
  color: var(--text-muted);
  flex-wrap: wrap;
}

.v-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none
}

.v-breadcrumb a:hover {
  color: var(--text-primary)
}

.v-breadcrumb__sep {
  color: var(--border-strong)
}

/* Responsive event detail */
@media(max-width:960px) {
  .v-event-detail {
    grid-template-columns: 1fr;
    padding: 0 20px 60px;
    gap: 0;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .v-event-detail > * {
    min-width: 0;
    max-width: 100%;
  }

  /* Antes "order: -1": la tarjeta subia arriba de todo en celular. Ahora va al final del contenido
     y la barra fija (.v-buybar) da el boton de compra siempre a mano. */
  .v-event-detail aside {
    padding: 24px 0 0;
    position: static;
    width: 100%;
    box-sizing: border-box;
  }

  .v-price-card {
    position: static;
    margin-bottom: 32px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .v-price-card .v-btn {
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }

  .v-shows {
    max-width: 100%
  }
}

@media(max-width:640px) {
  .v-event-hero__inner {
    padding: 0 16px 24px
  }

  .v-event-hero__h1 {
    font-size: clamp(1.75rem, 6vw, 2.5rem)
  }

  .v-event-detail {
    padding: 0 16px 48px
  }

  .v-venue-info {
    grid-template-columns: 1fr
  }

  .v-faq {
    max-width: 100%
  }

  .v-event-facts {
    gap: 10px
  }

  .v-event-fact {
    min-width: calc(30% - 5px)
  }
}

/* ── Header ─────────────────────────────────────────────────── */
.v-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklch, var(--bg-canvas) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.v-header__inner {
  max-width: 1240px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: 0 var(--space-6);
}

.v-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.v-header__logo img {
  height: 26px;
  display: block;
}

.v-header__spacer {
  flex: 1;
}

.v-header__end {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.v-header__divider {
  width: 1px;
  height: 22px;
  background: var(--border-strong);
  flex-shrink: 0;
}

/* Nav pills */
.v-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.v-nav__link {
  font-family: var(--font-sans);
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--text-secondary);
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background var(--duration-fast) var(--ease-standard),
    color var(--duration-fast) var(--ease-standard);
}

.v-nav__link:hover {
  background: var(--ink-15);
  color: var(--text-primary);
}

.v-nav__link--active {
  background: var(--ink);
  color: var(--surface);
}

.v-nav__link--active:hover {
  background: var(--ink);
  color: var(--surface);
}

/* Dropdown */
.v-nav__dropdown {
  position: relative;
}

.v-nav__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 192px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-raised);
  padding: var(--space-2);
  z-index: 100;
  flex-direction: column;
  gap: 2px;
}

.v-nav__dropdown:hover .v-nav__dropdown-menu,
.v-nav__dropdown:focus-within .v-nav__dropdown-menu {
  display: flex;
}

.v-nav__dropdown-menu a {
  font-family: var(--font-sans);
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--text-primary);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: block;
  transition: background var(--duration-fast) var(--ease-standard);
}

.v-nav__dropdown-menu a:hover {
  background: var(--ink-15);
  color: var(--text-primary);
}

/* Avatar / auth */
/* Menu de cuenta ─────────────────────────────────────────────────────────────
   Todo lo del usuario detras del avatar, al estilo Eventbrite. Se abre con hover y con
   focus-within para que tambien funcione navegando con teclado. */
.v-usermenu { position: relative; }

.v-usermenu__menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 232px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-raised);
  padding: 6px;
  z-index: 100;
}
.v-usermenu:hover .v-usermenu__menu,
.v-usermenu:focus-within .v-usermenu__menu { display: block; }

/* Puente invisible sobre los 8px de aire entre el avatar y el menu. Sin el, al bajar el mouse
   hacia las opciones se cruzaba un hueco que no pertenece a .v-usermenu: se perdia el :hover y el
   menu se cerraba antes de llegar — se veia al pasar el cursor pero no se podia hacer clic en nada.
   Es parte del menu (::before), asi que mientras el cursor lo cruza el :hover se mantiene. */
.v-usermenu__menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.v-usermenu__head {
  padding: 10px 12px 12px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 6px;
}
.v-usermenu__name {
  display: block; font-size: 14px; font-weight: 700;
  color: var(--text-primary); line-height: 1.3;
}
/* Un correo largo no debe ensanchar el menu ni desbordarlo. */
.v-usermenu__mail {
  display: block; font-size: 12.5px; color: var(--text-secondary);
  margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.v-usermenu__menu a,
.v-usermenu__menu button {
  display: block; width: 100%; text-align: left;
  padding: 9px 12px; border: none; background: none;
  border-radius: var(--radius-sm);
  font-family: inherit; font-size: 14px; color: var(--text-primary);
  text-decoration: none; cursor: pointer;
  transition: background var(--duration-fast) var(--ease-standard);
}
.v-usermenu__menu a:hover,
.v-usermenu__menu button:hover { background: var(--bg-canvas); color: var(--text-primary); }

.v-usermenu__sep {
  height: 1px; background: var(--border-subtle); margin: 6px 0;
}

.v-header__avatar {
  border: none;
  padding: 0;
  cursor: pointer;
  width: 33px;
  height: 33px;
  border-radius: var(--radius-pill);
  background: var(--pine);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-accent);
  font-weight: 600;
  font-size: 13px;
  font-family: var(--font-sans);
  text-decoration: none;
  flex-shrink: 0;
}

.v-header__auth {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.v-header__auth a {
  font-family: var(--font-sans);
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  transition: background var(--duration-fast) var(--ease-standard),
    color var(--duration-fast) var(--ease-standard);
}

.v-header__auth a:hover {
  background: var(--ink-15);
  color: var(--text-primary);
}

/* El CTA se estila por su propia clase, no como hijo de .v-header__auth: con sesion iniciada
   vive suelto junto al avatar, y colgarlo del contenedor lo dejaba sin boton. */
a.v-header__auth--cta {
  font-family: var(--font-sans);
  font-size: var(--text-small);
  font-weight: 600;
  text-decoration: none;
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  background: var(--accent-primary);
  color: var(--text-on-accent);
  transition: background var(--duration-fast) var(--ease-standard);
}

a.v-header__auth--cta:hover {
  background: var(--accent-primary-hover);
  color: var(--text-on-accent);
}

/* Mobile toggle */
.v-header__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background var(--duration-fast) var(--ease-standard);
}

.v-header__toggle:hover {
  background: var(--ink-15);
}

/* Mobile nav panel */
.v-nav-mobile {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-canvas);
  padding: var(--space-3) var(--space-6) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.v-nav-mobile .v-nav__link {
  display: block;
  width: 100%;
  text-align: left;
}

.v-nav-mobile .v-nav__dropdown-menu {
  display: flex;
  position: static;
  box-shadow: none;
  border: none;
  background: transparent;
  padding: 2px 0 2px var(--space-4);
}

/* ── Footer ─────────────────────────────────────────────────── */
.v-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 52px var(--space-6) 34px;
}

.v-footer__inner {
  max-width: 1240px;
  margin: 0 auto;
}

.v-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-on-dark);
}

.v-footer__col-label {
  font-size: var(--text-micro);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: color-mix(in oklch, var(--surface) 50%, transparent);
  margin-bottom: 14px;
  display: block;
}

.v-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.v-footer__links a,
.v-footer__links span {
  font-size: var(--text-small);
  color: color-mix(in oklch, var(--surface) 80%, transparent);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}

.v-footer__links a:hover {
  color: var(--surface);
}

.v-footer__tagline {
  font-size: var(--text-small);
  line-height: var(--lh-normal);
  color: color-mix(in oklch, var(--surface) 60%, transparent);
  margin: var(--space-3) 0 0;
  max-width: 300px;
}

.v-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.v-footer__copy {
  font-size: var(--text-micro);
  color: color-mix(in oklch, var(--surface) 45%, transparent);
}

@media(max-width:767px) {
  .v-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }

  .v-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media(max-width:479px) {
  .v-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ── Button ─────────────────────────────────────────────────── */
.v-btn {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-md);
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  line-height: 1;
  transition: background var(--duration-base) var(--ease-standard),
    border-color var(--duration-base) var(--ease-standard),
    opacity var(--duration-fast) var(--ease-standard);
}

.v-btn--primary {
  background: var(--accent-primary);
  color: var(--text-on-accent);
}

.v-btn--primary:hover {
  background: var(--accent-primary-hover);
  color: var(--text-on-accent);
}

.v-btn--dark {
  background: var(--ink);
  color: var(--surface);
}

.v-btn--dark:hover {
  opacity: .88;
  color: var(--surface);
}

.v-btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.v-btn--ghost:hover {
  background: var(--ink-15);
  color: var(--text-primary);
}

.v-btn--dashed {
  background: transparent;
  color: var(--text-secondary);
  border-style: dashed;
  border-color: var(--border-strong);
}

.v-btn--dashed:hover {
  background: var(--ink-15);
  color: var(--text-secondary);
}

.v-btn--sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.v-btn:disabled,
.v-btn[disabled] {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Event flyers carousel ───────────────────────────────────── */
.v-flyers-carousel {
  position: relative;
  margin-bottom: 28px;
}

.v-flyers-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.v-flyers-row::-webkit-scrollbar { display: none; }

.v-flyer-thumb {
  height: 220px;
  width: auto;
  flex-shrink: 0;
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: opacity var(--duration-fast), transform var(--duration-fast);
}

.v-flyer-thumb:hover {
  opacity: .88;
  transform: scale(1.01);
}

/* Dots (visible only on mobile) */
.v-flyer-dots {
  display: none;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.v-flyer-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--ink-30);
  cursor: pointer;
  transition: background var(--duration-fast), width var(--duration-fast);
  border: none;
  padding: 0;
}

.v-flyer-dot.active {
  background: var(--wine);
  width: 18px;
}

@media (max-width: 640px) {
  .v-flyers-row {
    gap: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
  }

  .v-flyer-thumb {
    width: 100%;
    height: 240px;
    border-radius: 0;
    border: none;
    flex-shrink: 0;
  }

  .v-flyer-dots {
    display: flex;
  }
}

/* ── Flyer lightbox ──────────────────────────────────────────── */
.v-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,.88);
  align-items: center;
  justify-content: center;
}

.v-lightbox--open {
  display: flex;
}

.v-lightbox__img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
}

.v-lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  opacity: .75;
  transition: opacity var(--duration-fast);
}
.v-lightbox__close:hover { opacity: 1; }

.v-lightbox__prev,
.v-lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: none;
  color: white;
  font-size: 40px;
  line-height: 1;
  width: 52px;
  height: 72px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration-fast);
}
.v-lightbox__prev { left: 20px; }
.v-lightbox__next { right: 20px; }
.v-lightbox__prev:hover,
.v-lightbox__next:hover { background: rgba(255,255,255,.22); }

.v-lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.6);
  font-size: 13px;
  font-family: var(--font-sans);
}

/* ── Badge ──────────────────────────────────────────────────── */
.v-badge {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}

.v-badge--neutral {
  background: var(--surface-20);
  color: var(--text-primary);
}

.v-badge--success {
  background: var(--status-success-bg);
  color: var(--status-success);
}

.v-badge--warning {
  background: var(--status-warning-bg);
  color: var(--status-warning);
}

.v-badge--danger {
  background: var(--status-danger-bg);
  color: var(--status-danger);
}

.v-badge--info {
  background: var(--status-info-bg);
  color: var(--status-info);
}

.v-badge--dark {
  background: var(--ink);
  color: var(--surface);
}

/* ── CategoryTag ────────────────────────────────────────────── */
.v-tag {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}

.v-tag--active {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}

/* ── SeatChip ───────────────────────────────────────────────── */
.v-seat {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-standard),
    border-color var(--duration-fast) var(--ease-standard);
}

.v-seat[data-state="available"] {
  background: var(--seat-available-bg);
  border-color: var(--seat-zone, var(--seat-available-border));
  color: var(--text-primary);
}

.v-seat[data-state="available"]:hover {
  background: var(--ink-15);
}

.v-seat[data-state="selected"] {
  background: var(--seat-selected-bg);
  border-color: var(--seat-selected-bg);
  color: var(--seat-selected-text);
}

.v-seat[data-state="occupied"] {
  background: var(--seat-occupied-bg);
  border-color: var(--seat-occupied-bg);
  color: var(--seat-occupied-text);
  cursor: not-allowed;
}

/* ── Seatmap layout ─────────────────────────────────────────── */
.v-seatmap {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.v-zone {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.v-zone__head {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--text-secondary);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--border-subtle);
}

.v-row {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.v-row__label {
  width: 20px;
  font-size: var(--text-micro);
  color: var(--text-muted);
  text-align: right;
  flex-shrink: 0;
}

.v-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Summary aside ──────────────────────────────────────────── */
.v-summary {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.v-summary__total {
  font-family: var(--font-serif);
  font-size: var(--text-price);
  font-weight: 500;
  color: var(--text-primary);
}

.v-summary__total small {
  font-family: var(--font-sans);
  font-size: var(--text-small);
  font-weight: 400;
  color: var(--text-muted);
}

/* ── StatCard ───────────────────────────────────────────────── */
.v-stat {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-card);
}

.v-stat__label {
  font-size: var(--text-small);
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.v-stat__value {
  font-family: var(--font-serif);
  font-size: var(--text-h2);
  font-weight: 500;
  color: var(--text-primary);
  margin: var(--space-1) 0;
}

.v-stat__delta {
  font-size: var(--text-small);
  color: var(--text-muted);
}

.v-stat__delta--up {
  color: var(--status-success);
}

.v-stat__delta--down {
  color: var(--status-danger);
}

/* ── Input / Select ─────────────────────────────────────────── */
.v-input,
.v-select {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  width: 100%;
  transition: border-color var(--duration-fast) var(--ease-standard);
  appearance: none;
}

/* ── Flecha de <select>: UNA para toda la plataforma ────────────────────────────
   Antes cada pagina estilizaba sus selects por su lado (.ord-filters select, .rpt-field select,
   .form-select de Bootstrap…) y dejaba la flecha NATIVA pegada al borde derecho, sin espacio
   reservado: se veia "descuadrada" en el panel, los reportes y el sitio publico. Ademas habia
   cuatro flechas propias compitiendo (.v-select, .wz-select y dos data URI en el checkout y el
   login, una con la tinta de la paleta vieja hardcodeada).

   Va sobre el elemento y no sobre una clase para que ningun select nuevo vuelva a nacer sin ella.
   La especificidad de select:not([multiple]):not([size]) (0,2,1) le gana a las reglas de pagina
   (".x select", 0,1,1) y a .form-select (0,1,0) en flecha y padding-right, pero NO toca el color
   de fondo: cada pagina conserva el suyo.

   El chevron son dos gradientes y no un SVG en data URI: dentro de un data URI var(--*) no se
   resuelve y el color quedaria hardcodeado. Excluye [multiple] y [size], que son listas, no combos. */
select:not([multiple]):not([size]) {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 36px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--text-secondary) 50%),
    linear-gradient(135deg, var(--text-secondary) 50%, transparent 50%);
  background-position: calc(100% - 19px) center, calc(100% - 14px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.v-input:focus,
.v-select:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.v-input::placeholder {
  color: var(--text-muted);
}

.v-label {
  font-family: var(--font-sans);
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-1);
  display: block;
}

.v-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

/* Seats page event info bar */
.v-seats-info {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 28px 14px;
  /* border-bottom: 1px solid var(--border-subtle); */
  background: var(--bg-page);
}

.v-seats-info__back {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 14px;
  text-decoration: none;
  transition: background var(--duration-fast) var(--ease-standard);
  margin-top: 2px;
}

.v-seats-info__back:hover {
  background: var(--ink-15);
  color: var(--text-primary)
}

.v-seats-info__back:focus-visible,
.v-event-header__back:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.v-seats-info__title {
  font-family: var(--font-serif);
  font-size: var(--text-h2);
  font-weight: 500;
  margin: 0 0 2px;
  color: var(--text-primary);
  line-height: var(--lh-snug);
}

.v-seats-info__sub {
  font-size: var(--text-small);
  color: var(--text-secondary);
  margin: 0;
}

/* "Tu seleccion" en computadora: aire entre el encabezado y el primer boleto (los items solo
   tenian margen a los lados y abajo, y el primero quedaba pegado a la linea del encabezado). En
   celular (<960px) la lista es una fila de chips con su propio padding. */
@media (min-width: 960px) {
  #containerResumeContent:not(:empty),
  #selected-seats:not(:empty) { padding-top: 12px; }
}

/* Seat list items in summary */
.v-seat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin: 0 16px 6px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.v-seat-item__info {
  flex: 1;
  min-width: 0
}

.v-seat-item__label {
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 1px
}

.v-seat-item__type {
  font-size: var(--text-micro);
  color: var(--text-secondary);
  margin: 0
}

.v-seat-item__price {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  flex-shrink: 0;
}

/* Icono fa-xmark (no el caracter "×", que no se centra en su caja) y gris legible: --text-muted
   no pasa AA. */
.v-seat-item__remove {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
  padding: 0;
  transition: background var(--duration-fast) var(--ease-standard),
    color var(--duration-fast) var(--ease-standard);
}

.v-seat-item__remove i { display: block; line-height: 1; }

.v-seat-item__remove:hover {
  background: var(--status-danger-bg);
  color: var(--status-danger);
  border-color: var(--status-danger)
}

.v-seat-totals {
  padding: 12px 16px;
  margin: 10px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 6px
}

.v-seat-totals__line {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-small);
  color: var(--text-secondary)
}

.v-seat-totals__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 8px;
  margin-top: 4px;
}

.v-seat-totals__label {
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--text-primary)
}

.v-seat-totals__amount {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--text-primary);
}

/* Zoom control override */
.btn-zoom-control {
  background: var(--bg-card) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-strong) !important;
  border-radius: var(--radius-sm) !important;
  transition: background var(--duration-fast) var(--ease-standard) !important;
  margin-bottom: 3px;
}

.btn-zoom-control:hover {
  background: var(--ink-15) !important;
  color: var(--text-primary) !important;
}

/* ── Seat Selection Page ─────────────────────────────────────── */

/* Desktop site header wrapper */
.v-page-header-desktop {
  display: block;
}

/* Compact event header — visible on mobile only */
.v-event-header {
  display: none;
}

/* Step progress bar — mobile only */
.v-step-tabs {
  display: none;
  background: var(--bg-card);
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Barra de avance: la linea de arriba se llena con los pasos hechos y el actual. Mismo grosor en
   todos (antes el activo media 2.5px y empujaba su texto). Gris en --text-secondary: con
   --text-muted no pasaba AA. */
.v-step-tab {
  flex: 1;
  padding: 10px 0 12px;
  font-size: var(--text-micro);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-secondary);
  border-top: 2px solid var(--border-subtle);
  text-align: center;
}

.v-step-tab--done {
  border-top-color: var(--ink);
}

.v-step-tab--active {
  color: var(--text-primary);
  border-top-color: var(--ink);
}

/* Zone price chips row — mobile only (desktop uses v-seats-legend inside map) */
.v-zone-chips {
  display: none;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 28px;
  scrollbar-width: none;
  background: var(--bg-page);
}

.v-zone-chips::-webkit-scrollbar {
  display: none;
}

.v-zone-chip {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: 100px;
  background: var(--bg-card);
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
}

.v-zone-chip--occupied {
  border-color: var(--border-subtle);
  color: var(--text-muted);
}

.v-zone-chip__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Nombre en gris y precio en negritas: se leen como dos datos ("General" · "Gratis"). */
.v-zone-chip__name { color: var(--text-secondary); font-weight: 500; }
.v-zone-chip__price { color: var(--text-primary); font-weight: 700; margin-left: 2px; }

/* "Elige por mí" card — mobile only */
.v-auto-pick {
  display: none;
}

/* Desktop event info bar */
.v-seats-info--desktop {
  display: flex;
}

/* Function picker strip */
.v-fn-picker {
  padding: 12px 28px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  /* border-bottom: 1px solid var(--border-subtle); */
  background: var(--bg-page);
  scrollbar-width: none;
}

.v-fn-picker::-webkit-scrollbar {
  display: none
}

.v-fn-chip {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-card);
  cursor: pointer;
  text-align: center;
  font-family: var(--font-sans);
  transition: border-color var(--duration-fast) var(--ease-standard),
    background var(--duration-fast) var(--ease-standard),
    color var(--duration-fast) var(--ease-standard);
}

.v-fn-chip.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface)
}

.v-fn-chip__mon {
  font-size: var(--text-micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--accent-primary);
  line-height: 1;
  margin-bottom: 2px;
}

.v-fn-chip.active .v-fn-chip__mon {
  color: var(--wine-40)
}

.v-fn-chip__day {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1;
  margin-bottom: 4px
}

.v-fn-chip__time {
  font-size: 11px;
  color: var(--text-muted)
}

.v-fn-chip.active .v-fn-chip__time {
  color: color-mix(in oklch, var(--surface) 65%, transparent)
}

/* Two-column layout */
.v-seats-layout {
  display: grid;
  /* minmax(0, 1fr) y no 1fr: por spec "1fr" es minmax(auto, 1fr), y ese auto equivale a
     min-content, asi que la columna nunca se encoge por debajo de su hijo mas ancho. La tira
     de fechas (.v-fn-picker) ya trae overflow-x: auto para desplazarse sola, pero no podia:
     la columna crecia hasta contenerla y empujaba el aside fuera de la pantalla. */
  grid-template-columns: minmax(0, 1fr) 340px;
  max-width: 1240px;
  margin: 0 auto;
  min-height: calc(100vh - 120px);
  align-items: start;
}

.v-seats-map {
  padding: 24px 28px;
  /* border-right: 1px solid var(--border-subtle); */
  position: relative;
}

.v-seats-stage {
  text-align: center;
  margin-bottom: 14px
}

.v-seats-stage__bar {
  display: inline-block;
  background: var(--surface-40);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 7px 40px;
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.v-seats-canvas-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  position: relative;
}

/* Leyenda del mapa: cada muestra imita al asiento (contorno de la zona sobre blanco; tinta
   rellena = tu seleccion; lavanda = ocupado) con los mismos tokens que usa mapViewer.js. */
.v-seats-legend {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}

.v-seats-legend__zones,
.v-seats-legend__states {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.v-seats-legend__zones { gap: 12px 28px; }

/* Estados: en su propia pastilla, mas chicos, para que no compitan con las zonas. */
.v-seats-legend__states {
  gap: 18px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.v-seats-legend__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-body);
  line-height: 1.2;
  white-space: nowrap;
}

.v-seats-legend__states .v-seats-legend__item {
  gap: 8px;
  font-size: var(--text-small);
}

.v-seats-legend__states .v-seats-legend__seat {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.v-seats-legend__seat {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 5px;
  border: 1.5px solid var(--zone, var(--seat-available-border));
  background: var(--seat-available-bg);
}

.v-seats-legend__seat--selected {
  background: var(--seat-selected-bg);
  border-color: var(--seat-selected-bg);
}

.v-seats-legend__seat--occupied {
  background: var(--seat-occupied-bg);
  border-color: var(--seat-occupied-bg);
}

.v-seats-legend__name {
  color: var(--text-secondary);
  font-weight: 500;
}

.v-seats-legend__price {
  color: var(--text-primary);
  font-weight: 700;
}

/* Aviso del mapa al usar la rueda sin Cmd/Ctrl (mapViewer.showZoomHint). Cubre el mapa con un
   velo oscuro y no captura el puntero: la pagina se sigue desplazando por debajo. */
.v-map-hint {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: color-mix(in oklch, var(--ink) 55%, transparent);
  color: var(--text-on-dark);
  font-size: var(--text-body);
  font-weight: 600;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-fast) var(--ease-standard);
}

.v-map-hint--show { opacity: 1; }

.v-map-hint kbd {
  display: inline-block;
  min-width: 26px;
  padding: 2px 7px;
  margin: 0 2px;
  border-radius: 6px;
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--text-small);
  font-weight: 700;
}

/* En celular no hay rueda: el aviso nunca aplica. */
@media (pointer: coarse) {
  .v-map-hint { display: none; }
}

/* Ficha del asiento en el mapa (computadora). La crea y la posiciona mapViewer.js, anclada
   sobre el asiento con una flecha que apunta a el (--arrow-x). */
.v-seat-tip {
  position: fixed;
  z-index: 1000;
  width: 232px;
  padding: 14px 16px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-raised);
  font-family: var(--font-sans);
  color: var(--text-primary);
}

.v-seat-tip[hidden] { display: none; }

.v-seat-tip__zone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--text-primary);
}

.v-seat-tip__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.v-seat-tip__place {
  display: flex;
  gap: 24px;
  margin: 10px 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.v-seat-tip__place strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
}

.v-seat-tip__label {
  font-size: var(--text-micro);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-secondary);
}

.v-seat-tip__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.v-seat-tip__price {
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
}

.v-seat-tip__btn {
  padding: 9px 18px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--accent-primary);
  color: var(--text-on-accent);
  font-size: var(--text-small);
  font-weight: 700;
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-standard);
}

.v-seat-tip__btn:hover { background: var(--accent-primary-hover); }

.v-seat-tip__btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.v-seat-tip__btn--remove {
  background: transparent;
  color: var(--text-primary);
  box-shadow: inset 0 0 0 1.5px var(--border-strong);
}

.v-seat-tip__btn--remove:hover { background: var(--ink-15); }

/* Flecha: cuadro girado con los mismos borde y fondo que la ficha. */
.v-seat-tip__arrow {
  position: absolute;
  left: var(--arrow-x, 50%);
  bottom: -7px;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  background: var(--bg-card);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  transform: rotate(45deg);
}

.v-seat-tip--below .v-seat-tip__arrow {
  bottom: auto;
  top: -7px;
  transform: rotate(225deg);
}

/* Mobile expand button inside map area */
.v-seats-map__expand {
  display: none;
  text-align: center;
  padding: 12px 0 0;
}

/* Right aside */
.v-seats-aside {
  padding: 0 20px 24px;
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.v-seats-aside__heading {
  font-family: var(--font-serif);
  font-size: var(--text-h3);
  font-weight: 500;
  margin: 0;
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Desktop: hide mobile-only controls */
.v-seats-resume__handle,
.v-seats-resume__close,
.v-seats-expand__label {
  display: none;
}

.v-seats-resume__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--border-subtle);
}

/* Desktop: hide mobile-only elements */
.v-seat-item__chip-label {
  display: none;
}

.v-mob-price-info {
  display: none;
}

.v-seats-resume__note {
  text-align: center;
  font-size: var(--text-micro);
  color: var(--text-secondary);
  margin: 0;
}

/* Desktop: #containerResume static card with constrained height */
@media(min-width:960px) {
  .v-seats-aside #containerResume {
    position: static !important;
    box-shadow: none !important;
    width: 100% !important;
    z-index: auto !important;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: var(--bg-card) !important;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 160px);
    overflow: hidden;
  }

  /* Only the seat list scrolls, not the heading or action button */
  .v-seats-aside #containerResume #seat-selection-summary {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
  }

  .v-seats-aside #containerResume.hide {
    display: flex !important;
    opacity: 1 !important;
  }

  /* Desktop: hide mobile-only elements */
  .v-seats-aside__heading { display: flex; }
  .v-mob-prompt { display: none !important; }
  .v-seat-chip-dot { display: none; }
  .v-seats-legend { display: flex; }
}

/* ── Mobile adaptive layout ────────────────────────────────── */
@media(max-width:959px) {
  /* Hide full site header; show compact event header */
  .v-page-header-desktop {
    display: none;
  }

  .v-event-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px 12px;
    background: var(--bg-card);
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .v-event-header__back {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: var(--bg-page);
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 16px;
    text-decoration: none;
    transition: background var(--duration-fast) var(--ease-standard);
  }

  .v-event-header__back:hover {
    background: var(--ink-15);
    color: var(--text-primary);
  }

  .v-event-header__info {
    flex: 1;
    min-width: 0;
  }

  .v-event-header__title {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .v-event-header__sub {
    font-size: var(--text-small);
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
  }

  .v-event-header__timer {
    display: none;
  }

  .v-event-header__timer-label {
    display: block;
    font-size: var(--text-micro);
    color: var(--text-muted);
    line-height: 1.3;
  }

  .v-event-header__timer-value {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 500;
    color: var(--wine);
    line-height: 1;
  }

  .v-event-header__timer--expired .v-event-header__timer-value {
    color: var(--status-danger, #c0392b);
  }

  /* Hide desktop event info bar and desktop-only elements on mobile */
  .v-seats-info--desktop {
    display: none !important;
  }

  /* En celular la leyenda solo muestra los estados; las zonas ya van en los chips de arriba. */
  .v-seats-legend { margin-top: 12px; }
  .v-seats-legend__zones { display: none; }

  /* Hide seat selection tooltip on mobile (tap directly selects) */
  #seat-tooltip-modal {
    display: none !important;
  }

  /* Hide date function chips on mobile */
  .v-fn-picker {
    display: none !important;
  }

  /* Show zone chips on mobile */
  .v-zone-chips {
    display: flex;
    padding: 10px 16px;
  }

  /* "Elige por mí" card */
  .v-auto-pick {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 18px 16px;
    margin: 8px 16px 4px;
  }

  .v-auto-pick__row {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .v-auto-pick__text {
    flex: 1;
    min-width: 0;
  }

  .v-auto-pick__title {
    font-family: var(--font-sans);
    font-size: var(--text-body);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px;
  }

  .v-auto-pick__desc {
    font-size: var(--text-small);
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
  }

  .v-auto-pick__stepper {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-md);
    background: var(--bg-page);
    overflow: hidden;
  }

  .v-stepper__btn {
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    font-size: 22px;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
  }

  .v-stepper__btn:disabled {
    color: var(--text-muted);
    cursor: default;
  }

  .v-stepper__value {
    min-width: 36px;
    text-align: center;
    font-size: var(--text-body);
    font-weight: 600;
    color: var(--text-primary);
  }

  .v-auto-pick__cta {
    width: 100%;
    padding: 14px;
    background: var(--ink);
    color: var(--surface);
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--text-body);
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.01em;
  }

  .v-auto-pick__cta:active {
    opacity: 0.85;
  }

  /* Show step bar on mobile */
  .v-step-tabs {
    display: flex;
  }

  /* Single column: map takes full width */
  /* Sin la altura minima de computadora (pantalla - 120px): en celular el contenido es mas corto
     y esa altura dejaba un hueco vacio entre el mapa y la barra fija. */
  .v-seats-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  /* Espacio para que la barra fija no tape el final del mapa. La mide el script de la pagina
     (--v-resume-h, ya incluye el safe-area); 136px era la estimacion fija de antes y dejaba un
     hueco grande cuando la barra no trae chips de seleccion. */
  .v-seats-map {
    padding: 0 16px calc(var(--v-resume-h, 136px) + 16px);
    border-right: none
  }

  .v-seats-info {
    padding: 12px 16px 10px
  }

  /* Collapse the aside — containerResume is position:fixed so it escapes the clip */
  .v-seats-aside {
    height: 0;
    overflow: hidden;
    padding: 0 !important;
    gap: 0 !important;
    min-height: 0 !important;
  }

  /* Compact fixed bottom bar — ALWAYS visible on mobile */
  #containerResume {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 400 !important;
    background: var(--bg-card) !important;
    border-top: 1px solid var(--border-subtle);
    border-radius: 0;
    box-shadow: 0 -4px 24px rgba(20,8,14,0.12);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    max-height: none;
    overflow: visible;
  }

  /* Override .hide so bar is always visible on mobile */
  #containerResume.hide {
    display: block !important;
    opacity: 1 !important;
  }

  /* Hide desktop-only panel elements */
  .v-seats-resume__handle,
  .v-seats-aside__heading,
  .v-seat-totals,
  .v-seats-resume__note,
  .v-seats-map__expand,
  .v-nonseat-total {
    display: none !important;
  }

  /* Horizontal scrollable chip row — mismo tratamiento en ambos flujos: #selected-seats
     (con mapa interactivo) y #containerResumeContent (selector de tipo/cantidad sin mapa) */
  #selected-seats,
  #containerResumeContent {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding: 10px 16px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  #selected-seats::-webkit-scrollbar,
  #containerResumeContent::-webkit-scrollbar {
    display: none;
  }

  /* Hide the empty-state prompt on mobile */
  #selected-seats > p {
    display: none;
  }

  /* Seat items become compact pill chips */
  .v-seat-item {
    flex-direction: row;
    align-items: center;
    flex-shrink: 0;
    border: 1px solid var(--border-strong);
    border-radius: 100px;
    padding: 5px 8px 5px 12px;
    margin: 0;
    gap: 6px;
    background: var(--bg-card);
    white-space: nowrap;
  }

  .v-seat-item__chip-label {
    display: inline;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
  }

  .v-seat-item__info,
  .v-seat-item__price {
    display: none;
  }

  /* Actions row: price info on left, CTA on right */
  .v-seats-resume__actions {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 10px 16px 14px;
    border-top: none;
  }

  /* Mobile price info */
  .v-mob-price-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
  }

  .v-mob-count {
    font-size: var(--text-micro);
    color: var(--text-secondary);
    line-height: 1.3;
  }

  .v-mob-total {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.15;
  }

  /* CTA button — auto width, wine when enabled */
  .v-seats-resume__actions #btnQuoteCheckout {
    width: auto !important;
    flex-shrink: 0;
    white-space: nowrap;
    padding: 13px 20px;
    border-radius: var(--radius-pill);
    font-size: var(--text-body);
    font-weight: 700;
  }

  /* Naranja de marca y pildora, igual que en computadora (usaba --wine de la paleta vieja). */
  .v-seats-resume__actions #btnQuoteCheckout:not(:disabled) {
    background: var(--accent-primary) !important;
    border-color: var(--accent-primary) !important;
    color: var(--text-on-accent) !important;
  }

  .v-seats-resume__actions #btnQuoteCheckout:disabled {
    background: var(--surface) !important;
    border-color: var(--surface) !important;
    color: var(--text-muted) !important;
    cursor: default;
  }

  /* Mobile empty-state prompt */
  .v-mob-prompt {
    font-size: var(--text-small);
    color: var(--text-secondary);
    text-align: center;
    padding: 10px 20px 0;
    margin: 0;
    line-height: 1.5;
  }

  /* Show/hide prompt and chips based on empty state */
  #containerResume.v-resume-empty .v-mob-prompt { display: block; }
  #containerResume:not(.v-resume-empty) .v-mob-prompt { display: none; }
  #containerResume.v-resume-empty #seat-selection-summary { display: none; }
  #containerResume:not(.v-resume-empty) #seat-selection-summary { display: block; }

  /* Zone color dot inside seat chips */
  .v-seat-chip-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
    flex-shrink: 0;
    vertical-align: middle;
  }
}

@media(max-width:640px) {
  .v-seats-info__title {
    font-size: var(--text-h3)
  }

  .v-seats-map {
    padding: 0 12px calc(var(--v-resume-h, 136px) + 16px)
  }

  /* Smaller canvas on phones */
  #previewArea {
    height: 320px !important
  }

  /* Compact function chips */
  .v-fn-chip {
    min-width: 60px;
    padding: 6px 10px;
  }
}
/* ── Header: clases que reemplazan estilos inline ───────────────────────── */

/* Formulario que envuelve un enlace de acción (Salir) sin romper la fila del nav. */
.v-header__form-inline { margin: 0; }

/* Botón que debe verse como enlace del nav: el logout es POST, no un <a>. */
.v-nav__link-button {
    font-family: inherit;
    border: none;
    background: transparent;
    cursor: pointer;
}
.v-nav__link-button--block { width: 100%; text-align: left; }

/* Encabezado de grupo dentro del menú móvil ("Teatros"). */
.v-nav__col-label {
    display: block;
    padding: 10px 13px 4px;
    font-size: var(--text-micro);
    font-weight: 600;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Enlace anidado bajo un encabezado de grupo. */
.v-nav__link--nested { padding-left: 22px; }

/* Bloque separado del resto del menú por una línea (sesión / cuenta). */
.v-nav__group--divided {
    margin-top: var(--space-3);
    padding-top: var(--space-3);
    border-top: 1px solid var(--border-subtle);
}

/* ── Layouts: clases que reemplazan estilos inline ──────────────────────── */

/* iframe del snippet de Google Tag Manager: no debe ocupar ni verse. */
.gtm-noscript { display: none; visibility: hidden; }

/* Contenedor principal del layout público. */
.main--canvas { background: var(--bg-page); }
.main--no-overflow-x { overflow-x: hidden; }
.page--full-height { max-height: 100%; }

/* Logo del footer: block para que no arrastre el espacio inferior del inline. */
.v-footer__logo { display: block; }

/* Fila de iconos sociales. El hover se hacía con onmouseover manipulando
   style; con :hover es una regla y no JS en cada enlace. */
.v-footer__social {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}
.v-footer__social a {
    font-size: 18px;
    color: color-mix(in oklch, var(--surface) 60%, transparent);
    transition: color var(--duration-fast) var(--ease-standard);
}
.v-footer__social a:hover { color: var(--surface); }

/* ── Banda "Publica tu primer evento hoy" (_PromoCrearEvento) ─────────────
   Una sola banda para invitar a productoras: la usan Precios y la página 404.
   Las tarjetas de la derecha son decorativas (aria-hidden) y se ocultan en
   teléfono, donde solo empujarían el botón hacia abajo. */
.v-promo {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--space-6);
    padding: 48px 48px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(120% 140% at 100% 0%, color-mix(in oklch, var(--accent-primary) 38%, transparent) 0%, transparent 55%),
        var(--bg-dark);
    color: var(--text-on-dark);
}
.v-promo__eyebrow {
    display: inline-block;
    margin: 0 0 12px;
    font-size: var(--text-small);
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--surface-70);
}
.v-promo__title {
    font-family: var(--font-serif);
    font-size: clamp(26px, 3.4vw, 36px);
    font-weight: 800;
    line-height: var(--lh-tight);
    letter-spacing: -.01em;
    color: var(--text-on-dark);
    margin: 0 0 12px;
}
.v-promo__text {
    font-size: 16px;
    line-height: var(--lh-normal);
    color: var(--surface-70);
    margin: 0 0 26px;
    max-width: 44ch;
}
.v-promo__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: var(--radius-pill);
    background: var(--accent-primary);
    color: var(--text-on-accent);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background var(--duration-fast) var(--ease-standard);
}
.v-promo__btn:hover { background: var(--accent-primary-hover); color: var(--text-on-accent); }

/* Maqueta flotante: un boleto, un aviso de venta y el bono. */
.v-promo__art { position: relative; min-height: 230px; }
.v-promo__card {
    position: absolute;
    background: var(--bg-card);
    color: var(--text-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-raised);
    animation: v-promo-float 6s var(--ease-standard) infinite;
}
.v-promo__card--ticket {
    top: 6px; left: 8%;
    width: 230px;
    padding: 16px 18px;
    transform: rotate(-4deg);
}
.v-promo__card--sale {
    bottom: 10px; right: 2%;
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px;
    transform: rotate(3deg);
    animation-delay: -2s;
}
.v-promo__card--gift {
    top: 0; right: 4%;
    display: flex; align-items: center; gap: 8px;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-size: var(--text-small);
    font-weight: 700;
    animation-delay: -4s;
}
.v-promo__ticket-tag {
    font-size: var(--text-micro);
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin: 0 0 4px;
}
.v-promo__ticket-name { font-family: var(--font-serif); font-size: 18px; font-weight: 800; margin: 0 0 2px; }
.v-promo__ticket-date { font-size: var(--text-small); color: var(--text-secondary); margin: 0; }
.v-promo__ticket-foot {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 14px; padding-top: 12px;
    border-top: 1px dashed var(--border-strong);
    font-size: var(--text-small); font-weight: 700;
}
.v-promo__ticket-foot i { font-size: 26px; }
.v-promo__icon {
    width: 34px; height: 34px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--radius-pill);
    background: var(--accent-primary);
    color: var(--text-on-accent);
    font-size: 15px;
}
.v-promo__sale-title { font-size: 14px; font-weight: 700; margin: 0; }
.v-promo__sale-sub { font-size: var(--text-small); color: var(--text-secondary); margin: 0; }
.v-promo__card--gift i { color: var(--accent-primary); }

@keyframes v-promo-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -8px; }
}
@media (prefers-reduced-motion: reduce) {
    .v-promo__card { animation: none; }
}
@media (max-width: 860px) {
    .v-promo { grid-template-columns: 1fr; padding: 36px 24px; text-align: center; }
    .v-promo__text { margin-left: auto; margin-right: auto; }
    .v-promo__art { display: none; }
}

/* ── Barra fija de compra en la pagina del evento (solo celular) ─────────
   Resumen de una linea + boton. Se oculta (.v-buybar--hidden) mientras la tarjeta
   de precio esta en pantalla. Ver Views/Cartelera/Item.cshtml. */
.v-buybar { display: none; }
@media (max-width: 960px) {
    .v-buybar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
        display: flex; align-items: center; justify-content: space-between; gap: 12px;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        background: var(--bg-card); border-top: 1px solid var(--border-subtle);
        box-shadow: 0 -6px 20px color-mix(in oklch, var(--ink) 10%, transparent);
        transition: transform var(--duration-base) var(--ease-standard);
    }
    .v-buybar--hidden { transform: translateY(110%); }
    .v-buybar__info { display: flex; flex-direction: column; min-width: 0; }
    .v-buybar__label { font-size: 13px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .v-buybar__amount { font-family: var(--font-serif); font-size: 20px; font-weight: 800; color: var(--text-primary); line-height: 1.2; }
    .v-buybar__amount--off { color: var(--status-danger); }
    .v-buybar__cta { flex-shrink: 0; white-space: nowrap; }
    /* Las migas quedaban pegadas al encabezado: el aire de arriba lo daba la tarjeta de precio
       cuando subia antes que todo (order: -1). */
    .v-event-detail .v-breadcrumb { margin-top: 20px; }
    /* Sin espacio reservado abajo: la barra se esconde tambien cuando el pie entra en pantalla, asi
       que nunca lo tapa. Reservarlo dejaba un hueco vacio bajo el pie al llegar al final. */
}

/* Preguntas frecuentes del evento: titulo con aire y enlaces legibles (el naranja sobre blanco no
   pasa AA en texto chico; el enlace va en tinta subrayada). */
.v-faq-title { margin-top: 36px; }
.v-faq__answer a { color: var(--text-primary); font-weight: 600; text-decoration: underline; }

/* ── Pagina del evento: Compartir, Organizado por, Mas eventos ─────────── */
.v-share-btn {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
    padding: 9px 18px; border-radius: var(--radius-pill); cursor: pointer;
    background: color-mix(in oklch, var(--surface) 14%, transparent);
    border: 1px solid color-mix(in oklch, var(--surface) 40%, transparent);
    color: var(--text-on-dark); font-size: 14px; font-weight: 700;
    transition: background var(--duration-fast) var(--ease-standard);
}
.v-share-btn:hover { background: color-mix(in oklch, var(--surface) 26%, transparent); }

.v-share-modal {
    position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
    padding: 16px; background: color-mix(in oklch, var(--ink) 55%, transparent);
}
.v-share-modal[hidden] { display: none; }
.v-share-modal__box { width: 100%; max-width: 520px; background: var(--bg-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-raised); overflow: hidden; }
.v-share-modal__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--border-subtle); }
.v-share-modal__title { font-size: 17px; font-weight: 800; color: var(--text-primary); margin: 0; }
.v-share-modal__close {
    width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center; line-height: 1;
    background: var(--bg-canvas); color: var(--text-primary); font-size: 16px;
}
.v-share-modal__opts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 24px 16px 28px; }
.v-share-opt {
    display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 6px 2px;
    border: 0; background: none; cursor: pointer; text-decoration: none;
    color: var(--text-primary); font-size: 13px; font-weight: 600; text-align: center;
}
.v-share-opt:hover { color: var(--text-primary); }
.v-share-opt__icon {
    width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--border-strong);
    display: flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1;
    transition: background var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard);
}
.v-share-opt:hover .v-share-opt__icon { background: var(--accent-primary); border-color: var(--accent-primary); color: var(--text-on-accent); }
@media (max-width: 480px) { .v-share-modal__opts { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; } }

.v-org-card {
    display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 18px; align-items: center;
    padding: 20px 22px; border-radius: var(--radius-lg); background: var(--bg-card); border: 1px solid var(--border-subtle);
}
.v-org-card__logo {
    width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-dark); color: var(--text-on-dark); font-family: var(--font-serif); font-size: 26px; font-weight: 800;
}
.v-org-card__logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v-org-card__name { font-size: 17px; font-weight: 800; color: var(--text-primary); margin: 0; overflow-wrap: anywhere; }
.v-org-card__meta { font-size: 14px; color: var(--text-secondary); margin: 2px 0 0; }
.v-org-card__actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.v-org-card__btn { white-space: nowrap; }
@media (max-width: 640px) {
    .v-org-card { grid-template-columns: 56px minmax(0, 1fr); }
    .v-org-card__logo { width: 56px; height: 56px; }
    .v-org-card__actions { grid-column: 1 / -1; justify-content: stretch; }
    .v-org-card__actions .v-org-card__btn { flex: 1; justify-content: center; }
}
/* Mas eventos de la productora: filas horizontales al 100%, texto a la izquierda y foto a la derecha. */
.v-more-events { display: flex; flex-direction: column; border-top: 1px solid var(--border-subtle); }
.v-more-event {
    display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 20px; align-items: center;
    padding: 20px 4px; border-bottom: 1px solid var(--border-subtle);
    color: var(--text-primary); text-decoration: none;
}
.v-more-event:hover { color: var(--text-primary); }
.v-more-event:hover .v-more-event__name { text-decoration: underline; }
.v-more-event__date { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-secondary); margin: 0 0 4px; }
.v-more-event__name { font-family: var(--font-serif); font-size: 20px; font-weight: 800; line-height: 1.25; margin: 0 0 4px; overflow-wrap: anywhere; }
.v-more-event__venue { font-size: 14px; color: var(--text-secondary); margin: 0 0 6px; }
.v-more-event__price { font-size: 15px; font-weight: 700; margin: 0; }
.v-more-event__img { aspect-ratio: 16 / 10; border-radius: var(--radius-md); overflow: hidden; background: var(--bg-dark); }
.v-more-event__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) {
    .v-more-event { grid-template-columns: minmax(0, 1fr) 104px; gap: 14px; padding: 16px 0; }
    .v-more-event__img { aspect-ratio: 1; }
    .v-more-event__name { font-size: 17px; }
}

/* Lugar de la tarjeta de precio en celular (despues de las fechas). Vacio en computadora. */
.v-price-slot:empty { display: none; }
.v-price-slot { margin-top: 10px; }


/* Paginas legales (/aviso-de-privacidad, /terminos-y-condiciones). Texto largo: columna de
   lectura angosta, jerarquia por tamaño y no por color (--text-muted no pasa AA, ver CLAUDE.md). */
.v-legal { max-width: 760px; margin: 0 auto; padding: var(--space-7) var(--space-4) var(--space-8); color: var(--text-primary); font-size: 16px; line-height: 1.65; }
.v-legal__head { margin-bottom: var(--space-6); }
.v-legal__title { font-size: 36px; font-weight: 800; line-height: 1.15; margin: 0 0 var(--space-2); }
.v-legal__meta { color: var(--text-secondary); font-size: 14px; margin: 0; }
.v-legal__toc { display: grid; gap: var(--space-1); padding: var(--space-4) var(--space-5); margin-bottom: var(--space-7); background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); font-size: 14px; }
.v-legal__toc a { color: var(--text-secondary); text-decoration: none; }
.v-legal__toc a:hover { color: var(--text-primary); text-decoration: underline; }
.v-legal section { margin-bottom: var(--space-6); scroll-margin-top: 90px; }
.v-legal h2 { font-size: 22px; font-weight: 800; margin: 0 0 var(--space-3); }
.v-legal h3 { font-size: 16px; font-weight: 700; margin: var(--space-5) 0 var(--space-2); }
.v-legal p, .v-legal ul { margin: 0 0 var(--space-3); }
.v-legal ul { padding-left: var(--space-5); }
.v-legal li { margin-bottom: var(--space-2); }
.v-legal a { color: var(--text-primary); font-weight: 600; text-decoration: underline; }
.v-legal code { font-size: 14px; padding: 1px 6px; background: var(--ink-15); border-radius: var(--radius-sm); }
@media (max-width: 600px) { .v-legal__title { font-size: 28px; } .v-legal { padding-top: var(--space-6); } }
