/* =========================================================================
   MacroTicket · Página de selección de asientos (rediseño 2026)
   Parte 1: encabezado tipo cartelera con fondo animado.
   Todo va bajo body.mt-v2 para no afectar otras vistas.
   ========================================================================= */

body.mt-v2 {
    --mt-navy: #262262;
    --mt-magenta: #e9195a;
    --mt-vino: #b8125c;
    --mt-hero-h: 120px;           /* alto del encabezado en escritorio */
}
@media (max-width: 767.98px) {
    body.mt-v2 { --mt-hero-h: 150px; }  /* alto del encabezado en celular */
}

/* ---------- Encabezado ---------- */
body.mt-v2 .main-header.mt-hero {
    position: fixed;
    top: 0; left: 0; right: 0;
    margin-left: 0 !important;
    height: var(--mt-hero-h);
    z-index: 1040;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    padding: 0 36px;
    background: var(--mt-navy) !important;  /* adminlte.css pone #ededed en escritorio */
    border: 0;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    color: #fff;
}
/* línea inferior vino → magenta */
body.mt-v2 .mt-hero::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--mt-vino), var(--mt-magenta));
}
body.mt-v2 .mt-hero > *:not(.mt-fx) { position: relative; z-index: 1; }

.mt-hero__marca { display: flex; align-items: center; gap: 14px; }
.mt-hero__logo { height: 60px; width: auto; display: block; }
.mt-hero__menu { color: #fff !important; font-size: 1.3rem; padding: 4px 6px; }

.mt-hero__evento { text-align: center; min-width: 0; }
.mt-hero__evento h1 {
    margin: 0;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mt-hero__meta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-top: 9px;
    font-size: 14px;
    color: #d4d1f0;
}
.mt-hero__meta i { color: #ff6b98; margin-right: 6px; }
.mt-hero__sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.35); }

.mt-hero__timer {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    color: #d4d1f0;
    font-size: 12.5px;
    line-height: 1.25;
    white-space: nowrap;
}
.mt-hero__timer i { color: #ff6b98; font-size: 1rem; }
.mt-hero__timer #lblTime {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

/* ---------- Fondo animado (solo transform / opacity) ---------- */
.mt-fx { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.mt-fx i { position: absolute; top: -60%; height: 220%; transform: skewX(-25deg); will-change: transform; }
.mt-fx .t1 { left: 8%;  width: 180px; background: linear-gradient(180deg, rgba(233,25,90,0), rgba(233,25,90,.16));   animation: mtDrift 22s ease-in-out infinite alternate; }
.mt-fx .t2 { left: 34%; width: 120px; background: linear-gradient(180deg, rgba(184,18,92,.22), rgba(184,18,92,0));   animation: mtDrift 28s ease-in-out -6s infinite alternate-reverse; }
.mt-fx .t3 { left: 60%; width: 220px; background: linear-gradient(180deg, rgba(233,25,90,.18), rgba(184,18,92,.05)); animation: mtDrift 25s ease-in-out -12s infinite alternate; }
.mt-fx .t4 { left: 82%; width: 140px; background: linear-gradient(180deg, rgba(184,18,92,.05), rgba(233,25,90,.2));  animation: mtDrift 31s ease-in-out -3s infinite alternate-reverse; }
.mt-fx b {
    position: absolute; left: 50%; bottom: -120px;
    width: 900px; height: 260px; margin-left: -450px; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(233,25,90,.38), transparent);
    animation: mtGlow 9s ease-in-out infinite;
    will-change: transform, opacity;
}
@keyframes mtDrift { from { transform: skewX(-25deg) translateX(-90px); } to { transform: skewX(-25deg) translateX(90px); } }
@keyframes mtGlow  { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .mt-fx i, .mt-fx b { animation: none; } }

/* ---------- Ajustes del layout AdminLTE al nuevo alto del encabezado ---------- */
body.mt-v2 .main-sidebar { top: var(--mt-hero-h); height: calc(100vh - var(--mt-hero-h)); }
body.mt-v2 .main-sidebar .brand-link { display: none; }              /* el logo ya va en el encabezado */
body.mt-v2.layout-navbar-fixed.layout-fixed .wrapper .sidebar { margin-top: 0; height: 100%; }
body.mt-v2.layout-navbar-fixed .wrapper .content-wrapper { margin-top: var(--mt-hero-h); }
body.mt-v2 #chart { height: calc(100vh - var(--mt-hero-h) - 111px); }
body.mt-v2 .toast-chart-error { top: calc(var(--mt-hero-h) + 8px) !important; }
@media (min-width: 768px) {
    body.mt-v2 .seats-chart { height: calc(100vh - var(--mt-hero-h) - 55px) !important; }
    body.mt-v2 .col-r-sidebar { height: calc(100vh - var(--mt-hero-h) - 3.5rem - 4px); }
    body.mt-v2 .right-bar { height: calc(100vh - var(--mt-hero-h) - 3.5rem - 14px); }
}

/* ---------- Celular ---------- */
@media (max-width: 767.98px) {
    body.mt-v2 .main-header.mt-hero {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto 1fr;
        gap: 6px 12px;
        padding: 10px 16px 14px;
        height: auto;
    }
    .mt-hero__marca  { grid-column: 1; grid-row: 1; }
    .mt-hero__timer  { grid-column: 2; grid-row: 1; padding: 6px 11px; gap: 7px; }
    .mt-hero__timer #lblTime { font-size: 17px; }
    .mt-hero__evento { grid-column: 1 / -1; grid-row: 2; }
    .mt-hero__logo   { height: 40px; }
    .mt-hero__evento h1 { font-size: 24px; white-space: normal; }
    .mt-hero__meta   { flex-direction: column; gap: 3px; margin-top: 6px; font-size: 12px; }
    .mt-hero__sep    { display: none; }
}

/* =========================================================================
   Parte 2: columna de zonas, "Tu selección" y barra inferior en celular
   ========================================================================= */
body.mt-v2 {
    --mt-ink: #1d1b3a;
    --mt-mute: #6e6c86;
    --mt-line: #e6e5ee;
    --mt-zonas-h: 0px;
    font-family: 'Inter', sans-serif;
}
@media (max-width: 767.98px) {
    body.mt-v2 { --mt-zonas-h: 72px; --mt-pie-h: 160px; }
}

/* ---------- Botón principal ---------- */
body.mt-v2 .mt-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; height: 50px; margin-top: 14px;
    border: 0; border-radius: 8px;
    background: var(--mt-magenta); color: #fff !important;
    font-weight: 600; font-size: 15.5px;
    transition: background .2s ease, transform .2s ease;
}
body.mt-v2 .mt-btn:hover { background: var(--mt-vino); }
body.mt-v2 .mt-btn.disabled { background: #d9d8e3; color: #8f8da5 !important; opacity: 1; }
body.mt-v2 .mt-btn--sec { background: #fff; color: var(--mt-navy) !important; border: 1px solid var(--mt-line); margin-top: 8px; }
body.mt-v2 .mt-btn--sec:hover { background: #f6f6f9; }

/* ---------- Columna izquierda: zonas ---------- */
body.mt-v2 .main-sidebar { background: #fff; box-shadow: none !important; border-right: 1px solid var(--mt-line); }
.mt-zonas { padding: 20px 16px; }
.mt-zonas__titulo { font-size: 15px; font-weight: 600; color: var(--mt-ink); margin-bottom: 10px; }
.mt-zona {
    position: relative; overflow: hidden; cursor: pointer;
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2px 10px;
    padding: 14px 14px 14px 18px; margin-bottom: 8px;
    background: #fff; border: 1px solid var(--mt-line); border-radius: 8px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.mt-zona::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c, #ccc); }
.mt-zona > * { pointer-events: none; }         /* el clic siempre llega a la tarjeta (data-id) */
.mt-zona:hover { border-color: #cfcedd; }
.mt-zona.mt-zona--on { border-color: var(--c); box-shadow: 0 0 0 1px var(--c); }
.mt-zona__nombre { font-size: 14.5px; font-weight: 600; color: var(--mt-ink); }
.mt-zona__precio { font-size: 15px; font-weight: 600; color: var(--mt-ink); font-variant-numeric: tabular-nums; }
.mt-zona__disp   { flex-basis: 100%; font-size: 12px; color: var(--mt-mute); }

/* Zonas en celular (fila horizontal debajo del encabezado) */
.mt-zonas-movil { display: flex; gap: 6px; padding: 10px 12px 8px; overflow-x: auto; background: #f6f6f9; scrollbar-width: none; }
.mt-zonas-movil::-webkit-scrollbar { display: none; }
.mt-zonas-movil .mt-zona { flex: 1 0 84px; flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 8px 8px 11px; margin: 0; }
.mt-zonas-movil .mt-zona::before { width: 3px; }
.mt-zonas-movil .mt-zona__nombre { font-size: 12px; }
.mt-zonas-movil .mt-zona__precio { font-size: 13px; font-weight: 700; }

/* ---------- Columna derecha: Tu selección ---------- */
body.mt-v2 .col-r-sidebar { background: #fff !important; border-left: 1px solid var(--mt-line); padding: 0; }
body.mt-v2 .tool-rightbar.mt-sel { background: #fff; display: flex; flex-direction: column; padding: 20px; min-height: 100%; }
.mt-sel__head { font-size: 15px; font-weight: 600; color: var(--mt-ink); padding-bottom: 12px; border-bottom: 1px solid var(--mt-line); margin-bottom: 6px; }
.mt-sel__body { flex: 1; }
.mt-sel__grupo { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mt-mute); margin: 12px 0 2px; }
.mt-sel__vacio { text-align: center; color: var(--mt-mute); padding: 48px 12px; }
.mt-sel__vacio i { font-size: 28px; color: #c9c7d8; }
.mt-sel__vacio p { margin: 10px 0 0; font-size: 13.5px; }
.mt-item, body.mt-v2 .mt-item.info-box { display: flex; align-items: flex-start; gap: 10px; padding: 12px 0; margin: 0; min-height: 0; background: transparent; box-shadow: none; border-radius: 0; border: 0 !important; border-bottom: 1px solid var(--mt-line) !important; }  /* custom.css le pone borde gris */
.mt-item__dot { flex: none; width: 9px; height: 9px; border-radius: 50%; margin-top: 6px; }
.mt-item__txt { flex: 1; min-width: 0; }
.mt-item__cat { font-size: 14px; font-weight: 600; color: var(--mt-ink); }
.mt-item__desc { font-size: 12.5px; color: var(--mt-mute); margin-top: 2px; }
.mt-item__der { text-align: right; }
.mt-item__precio { font-size: 14px; font-weight: 600; color: var(--mt-ink); font-variant-numeric: tabular-nums; }
.mt-item__quitar { display: inline-block; margin-top: 3px; font-size: 12px; font-weight: 500; color: var(--mt-magenta) !important; }
.mt-sel__pie { border-top: 1px solid var(--mt-line); padding-top: 14px; margin-top: 12px; }
.mt-sel__fila { display: flex; justify-content: space-between; align-items: baseline; color: var(--mt-ink); font-size: 15px; font-weight: 600; }
.mt-sel__fila b { font-size: 24px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mt-sel__nota { font-size: 13px; color: var(--mt-mute); margin-top: 4px; }
.mt-sel__seguro { text-align: center; font-size: 12px; color: var(--mt-mute); margin-top: 12px; }

/* Detalle en celular (offcanvas que copia la lista) */
body.mt-v2 #offcanvasBottom .offcanvas-title { font-weight: 600; color: var(--mt-ink); font-size: 16px; }

/* ---------- Pie / barra inferior ---------- */
@media (min-width: 768px) {
    body.mt-v2 .main-footer { font-size: 12px; color: var(--mt-mute); padding: .6rem 1rem; }
}
@media (max-width: 767.98px) {
    body.mt-v2 .main-footer { max-height: none; padding: 12px 16px 14px; border-top: 1px solid var(--mt-line); box-shadow: 0 -8px 24px -16px rgba(38,34,98,.25); }
    body.mt-v2 .main-footer .container { padding: 0; }
    /* 100svh = alto visible con las barras de Safari mostradas; no cambia al hacer scroll (dvh sí, y eso reacomodaba el mapa).
       --mt-hero-h y --mt-zonas-h se miden en boletos.blade.php; 150px = barra inferior con selección. */
    body.mt-v2 #chart { height: calc(100vh - var(--mt-hero-h) - var(--mt-zonas-h) - var(--mt-pie-h)); }
    body.mt-v2 #chart { height: calc(100svh - var(--mt-hero-h) - var(--mt-zonas-h) - var(--mt-pie-h)); }
    /* La barra inferior mide siempre lo mismo (con o sin selección) para que el mapa use todo el espacio */
    body.mt-v2 .main-footer { height: var(--mt-pie-h); overflow: hidden; box-sizing: border-box; }
    body.mt-v2 .main-footer, body.mt-v2 .mt-barra { text-align: left; }
}
body.mt-v2 .chart-bottom-bar .comprar-boleto { display: flex; width: 100%; }
.mt-barra__fila { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mt-barra__info { min-width: 0; }
.mt-barra__items { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; font-weight: 600; color: var(--mt-ink); line-height: 1.5; }
.mt-barra__items span + span { margin-left: 12px; }
.mt-barra__items--vacio { font-weight: 500; color: var(--mt-mute); }
.mt-barra__items i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.mt-barra__nota { font-size: 11.5px; color: var(--mt-mute); margin-top: 3px; }
.mt-barra__total { font-size: 22px; font-weight: 800; color: var(--mt-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mt-barra .mt-btn { height: 48px; margin-top: 10px; }
.mt-barra__pos { display: flex; gap: 8px; }
.mt-barra__pos .mt-btn { margin-top: 0; }

/* =========================================================================
   Aviso de tiempo / sesión expirada (SweetAlert2, función mtAviso)
   ========================================================================= */
.mt-aviso-fondo.swal2-backdrop-show { background: rgba(20,18,52,.55) !important; backdrop-filter: blur(3px); }
.swal2-popup.mt-aviso { width: 460px; max-width: calc(100vw - 32px); padding: 0; border-radius: 16px; overflow: hidden; font-family: 'Inter', sans-serif; box-shadow: 0 30px 80px -20px rgba(20,18,52,.5); }
.mt-aviso .mt-aviso__html { margin: 0; padding: 0; text-align: center; }
.mt-aviso__hd { position: relative; overflow: hidden; background: #262262; padding: 30px 24px 26px; }
.mt-aviso__hd::before { content: ""; position: absolute; inset: 0; background:
    linear-gradient(115deg, transparent 0 55%, rgba(233,25,90,.18) 55% 68%, transparent 68%),
    linear-gradient(115deg, transparent 0 70%, rgba(184,18,92,.25) 70% 85%, transparent 85%),
    radial-gradient(400px 120px at 50% 130%, rgba(233,25,90,.4), transparent 70%); }
.mt-aviso__hd::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, #b8125c, #e9195a); }
.mt-aviso__hd > * { position: relative; }
.mt-aviso__ic { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); display: grid; place-items: center; }
.mt-aviso__ic i { font-size: 28px; color: #ff6b98; }
.mt-aviso__t { font-size: 34px; font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.mt-aviso__ley { font-size: 12.5px; font-weight: 500; color: #d4d1f0; margin-top: 2px; }
.mt-aviso__bd { padding: 26px 34px 0; }
.mt-aviso__bd h2 { font-size: 22px; font-weight: 800; color: #1d1b3a; letter-spacing: -.01em; margin: 0; }
.mt-aviso__bd p { font-size: 15px; color: #6e6c86; margin: 10px 0 0; line-height: 1.5; }
.mt-aviso .mt-aviso__acciones { width: 100%; padding: 22px 34px 30px; margin: 0; }
.mt-aviso .mt-aviso__btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 50px; border: 0; border-radius: 8px; background: #e9195a; color: #fff; font-weight: 600; font-size: 15.5px; cursor: pointer; transition: background .2s ease; }
.mt-aviso .mt-aviso__btn:hover { background: #b8125c; }
.mt-aviso .mt-aviso__btn:focus { outline: none; box-shadow: none; }
.mt-aviso .mt-aviso__btn:focus-visible { box-shadow: 0 0 0 3px rgba(233,25,90,.3); }

/* Barra inferior en celular: "Ver detalle" como botón junto a "Continuar" */
.mt-barra__acciones { display: flex; gap: 8px; margin-top: 10px; }
body.mt-v2 .mt-barra__acciones .mt-btn { margin-top: 0; height: 48px; }
body.mt-v2 .mt-barra__acciones .mt-barra__detalle { flex: 0 0 42%; width: auto; font-size: 14.5px; }
body.mt-v2 .mt-barra__acciones .comprar-boleto { flex: 1; width: auto; }
.mt-barra__detalle i { font-size: 13px; }

/* =========================================================================
   Parte 3: diseño de columnas (zonas con ícono, "Tu selección" con estado vacío y pasos)
   ========================================================================= */
/* Encabezados de columna */
.mt-zonas { display: flex; flex-direction: column; padding: 22px 18px; }
.mt-col-head { margin-bottom: 14px; }
.mt-col-head h3, .mt-sel__head h3 { font-size: 16px; font-weight: 700; color: var(--mt-ink); margin: 0; letter-spacing: -.01em; }
.mt-col-head p { font-size: 12.5px; color: var(--mt-mute); margin: 3px 0 0; }

/* Tarjetas de zona */
.mt-zona { flex-wrap: nowrap; gap: 12px; padding: 12px 14px 12px 12px; margin-bottom: 10px; border-radius: 10px;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease; }
.mt-zona::before { display: none; }
.mt-zona__ic { flex: none; width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center;
    background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); font-size: 18px; }
.mt-zona__info { flex: 1; min-width: 0; }
.mt-zona__nombre { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: #4a4865; }
.mt-zona__precio { display: block; font-size: 15px; font-weight: 700; color: var(--mt-ink); margin-top: 1px; }
.mt-zona__ir, .mt-zona__ok { flex: none; font-size: 14px; color: #b3b1c4; }
.mt-zona__ok { display: none; color: var(--c); font-size: 18px; }
.mt-zona:hover { border-color: color-mix(in srgb, var(--c) 45%, #fff); box-shadow: 0 6px 16px -10px rgba(38,34,98,.35); transform: translateY(-1px); }
.mt-zona.mt-zona--on { background: color-mix(in srgb, var(--c) 7%, #fff); border-color: var(--c); box-shadow: 0 0 0 1px var(--c); transform: none; }
.mt-zona.mt-zona--on .mt-zona__ir { display: none; }
.mt-zona.mt-zona--on .mt-zona__ok { display: block; }
.mt-nota { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--mt-mute); padding: 6px 2px 0; }
.mt-nota i { color: #9a98ad; }

/* Zonas en celular: tarjetas compactas (sin ícono ni flecha) */
.mt-zonas-movil .mt-zona { padding: 8px 8px 8px 11px; }
.mt-zonas-movil .mt-zona::before { display: block; width: 3px; }
.mt-zonas-movil .mt-zona__ic, .mt-zonas-movil .mt-zona__ir, .mt-zonas-movil .mt-zona__ok { display: none !important; }
.mt-zonas-movil .mt-zona__nombre { font-size: 11.5px; }
.mt-zonas-movil .mt-zona__precio { font-size: 13px; }
.mt-zonas-movil .mt-zona:hover { transform: none; }

/* Tu selección */
.mt-sel__head { display: flex; align-items: center; justify-content: space-between; border-bottom: 0; padding-bottom: 0; margin-bottom: 14px; }
.mt-chip { font-size: 12px; font-weight: 600; color: var(--mt-mute); background: #f1f0f6; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.mt-chip.on { background: #fdeef3; color: var(--mt-vino); }
.mt-vacio { border: 1.5px dashed #d9d7e6; border-radius: 12px; padding: 26px 18px; text-align: center; background: #fcfcfe; }
.mt-vacio__ic { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: #fdeef3; color: var(--mt-magenta); display: grid; place-items: center; font-size: 24px; }
.mt-vacio b { display: block; font-size: 14.5px; color: var(--mt-ink); }
.mt-vacio p { font-size: 12.5px; color: var(--mt-mute); margin: 4px 0 0; line-height: 1.45; }
.mt-pasos { margin-top: 22px; }
.mt-pasos h4 { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9a98ad; margin: 0 0 12px; }
.mt-paso { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.mt-paso .mt-paso__n { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #fdeef3; border: 1px solid #f6c9d8; color: var(--mt-vino); font-size: 12.5px; font-weight: 700; line-height: 1; display: grid; place-items: center; }
.mt-paso b { display: block; font-size: 13.5px; color: var(--mt-ink); }
.mt-paso div span { font-size: 12px; color: var(--mt-mute); }

/* Lugar seleccionado como tarjeta con franja e ícono de su zona */
.mt-item, body.mt-v2 .mt-item.info-box { position: relative; align-items: center; padding: 12px 12px 12px 16px; margin-bottom: 8px;
    border: 1px solid var(--mt-line) !important; border-radius: 10px; background: #fff; overflow: hidden; }
.mt-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c, #ccc); }
.mt-item__ic { flex: none; width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center;
    background: color-mix(in srgb, var(--c, #ccc) 12%, #fff); color: var(--c, #999); font-size: 16px; }
.mt-sel__pie { margin-top: auto; }
.mt-sel__seguro { line-height: 1.5; }
.mt-sel__seguro i { margin-right: 4px; }

/* ---------- Reloj del temporizador con latido (onda cada segundo) ---------- */
.mt-ping { position: relative; flex: none; width: 26px; height: 26px; display: grid; place-items: center; }
.mt-ping::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #ff6b98; animation: mtPing 1s ease-out infinite; }
.mt-ping i { position: relative; z-index: 1; font-size: 20px; color: #ff6b98; animation: mtLatido 1s ease-in-out infinite; }
@keyframes mtPing { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes mtLatido { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .mt-ping::before, .mt-ping i { animation: none; } .mt-ping::before { opacity: 0; } }
@media (max-width: 767.98px) { .mt-ping { width: 22px; height: 22px; } .mt-ping i { font-size: 17px; } }

/* ---------- "Tu entrada segura" con íconos ---------- */
.mt-seguro { margin-top: 14px; text-align: center; }
.mt-seguro__t { display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #3b3a55; }
.mt-seguro__t i { color: #1f9d6b; font-size: 14px; }
.mt-seguro__ics { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.mt-seguro__ics span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: #f4f3f8; border: 1px solid #e9e8f0; font-size: 11.5px; color: var(--mt-mute); white-space: nowrap; }
.mt-seguro__ics i { font-size: 13px; color: var(--mt-navy); }

/* ---------- "Tu entrada segura" compacto en la barra de celular ---------- */
.mt-seguro-movil { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 10px; font-size: 11.5px; font-weight: 600; color: #3b3a55; white-space: nowrap; }
.mt-seguro-movil > i { color: #1f9d6b; font-size: 13px; }
.mt-seguro-movil__sep { width: 1px; height: 12px; background: #dcdbe6; margin: 0 2px; }
.mt-seguro-movil__ic { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 500; color: var(--mt-mute); }
.mt-seguro-movil__ic i { color: var(--mt-navy); font-size: 12px; }

/* =========================================================================
   Celular compacto: más espacio para el mapa
   ========================================================================= */
@media (max-width: 767.98px) {
    body.mt-v2 { --mt-pie-h: 138px; }

    /* Encabezado: logo y temporizador chicos, fecha y recinto en un renglón */
    body.mt-v2 .main-header.mt-hero { padding: 8px 14px 10px; gap: 2px 10px; }
    .mt-hero__logo { height: 32px; }
    .mt-hero__timer { padding: 4px 9px; gap: 6px; }
    .mt-hero__timer #lblTime { font-size: 15px; }
    .mt-ping { width: 18px; height: 18px; }
    .mt-ping i { font-size: 14px; }
    .mt-hero__evento h1 { font-size: 21px; }
    .mt-hero__meta { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 2px 10px; margin-top: 3px; font-size: 11.5px; }
    .mt-hero__meta i { margin-right: 4px; }
    .mt-hero__sep { display: inline-block; }

    /* Zonas: tarjetas más delgadas */
    .mt-zonas-movil { padding: 8px 10px 6px; gap: 6px; }
    .mt-zonas-movil .mt-zona { padding: 6px 8px 6px 10px; border-radius: 8px; }
    .mt-zonas-movil .mt-zona__nombre { font-size: 10.5px; }
    .mt-zonas-movil .mt-zona__precio { font-size: 12.5px; margin-top: 0; }

    /* Barra inferior: menos relleno y botones más bajos */
    body.mt-v2 .main-footer { padding: 8px 14px; }
    .mt-barra__nota { margin-top: 1px; }
    .mt-barra__total { font-size: 20px; }
    body.mt-v2 .mt-barra__acciones { margin-top: 8px; }
    body.mt-v2 .mt-barra__acciones .mt-btn { height: 44px; }
    .mt-seguro-movil { margin-top: 7px; }
}

/* Celular: logo | evento | temporizador en una sola fila */
@media (max-width: 767.98px) {
    body.mt-v2 .main-header.mt-hero { grid-template-columns: auto 1fr auto; grid-template-rows: auto; align-items: center; gap: 8px; padding: 8px 12px 11px; }
    body.mt-v2 .mt-hero__marca  { grid-column: 1; grid-row: 1; }
    body.mt-v2 .mt-hero__evento { grid-column: 2; grid-row: 1; min-width: 0; }
    body.mt-v2 .mt-hero__timer  { grid-column: 3; grid-row: 1; }
    body.mt-v2 .mt-hero__logo { height: 30px; }
    body.mt-v2 .mt-hero__evento h1 { font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    body.mt-v2 .mt-hero__meta { flex-direction: column; gap: 1px; margin-top: 2px; font-size: 10.5px; }
    body.mt-v2 .mt-hero__meta span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
    body.mt-v2 .mt-hero__sep { display: none; }
}
@media (max-width: 767.98px) {
    body.mt-v2 .mt-hero__evento h1 { font-size: 16px; }
    body.mt-v2 .mt-hero__meta { font-size: 10px; }
    body.mt-v2 .mt-hero__meta i { font-size: 10px; margin-right: 3px; }
}

/* ---------- Títulos de columna: franja de marca ---------- */
body.mt-v2 .main-sidebar .sidebar { padding-left: 0; padding-right: 0; }
.mt-franja { position: relative; display: flex; align-items: center; gap: 10px; background: var(--mt-navy); color: #fff; padding: 13px 18px; }
.mt-franja::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--mt-vino), var(--mt-magenta)); }
.mt-franja i { color: #ff6b98; font-size: 16px; }
.mt-franja h3 { flex: 1; margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.mt-zonas > .mt-franja { margin: -22px -18px 16px; }
.mt-sel > .mt-franja { margin: -20px -20px 16px; padding: 13px 20px; }
.mt-franja .mt-chip { background: rgba(255,255,255,.12); color: #fff; }
.mt-franja .mt-chip.on { background: var(--mt-magenta); color: #fff; }

/* ---------- Columnas como tarjetas separadas del encabezado (opción A) ---------- */
@media (min-width: 768px) {
    body.mt-v2 .main-sidebar { background: #f4f4f7 !important; border-right: 0; }
    body.mt-v2 .mt-zonas { margin: 14px 10px 14px 14px; background: #fff; border: 1px solid var(--mt-line); border-radius: 12px; overflow: hidden; }
    body.mt-v2 .col-r-sidebar { background: #f4f4f7 !important; border-left: 0; padding: 14px 14px 14px 10px !important; }
    body.mt-v2 .tool-rightbar.mt-sel { border: 1px solid var(--mt-line); border-radius: 12px; overflow: hidden; }
    body.mt-v2 .mt-franja::after { height: 2px; }
}

/* ---------- Celular: hoja inferior "Ver detalle" ---------- */
body.mt-v2 #offcanvasBottom.mt-hoja { height: auto !important; max-height: 85svh; border: 0; border-radius: 18px 18px 0 0; overflow: hidden; box-shadow: 0 -16px 40px -12px rgba(20,18,52,.45); background: #fff; }
.mt-hoja__grab { position: absolute; z-index: 3; top: 7px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: rgba(255,255,255,.45); cursor: pointer; }
.mt-hoja .offcanvas-header.mt-franja { padding: 20px 16px 14px 18px; border-radius: 0; }
.mt-hoja .offcanvas-title { flex: 1; margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.mt-hoja__cerrar { flex: none; width: 32px; height: 32px; margin-left: 8px; border: 0; border-radius: 8px; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; font-size: 13px; }
.mt-hoja .offcanvas-body { padding: 14px 16px 6px; overflow-y: auto; }
.mt-hoja .offcanvas-body .selected-seats { margin: 0; }
.mt-hoja .tool-rightbar { background: transparent; }
.mt-hoja__pie { padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--mt-line); }
.mt-hoja__pie .mt-btn { margin-top: 12px; }
body.mt-v2 .mt-hoja .offcanvas-header.mt-franja { background: var(--mt-navy) !important; border-bottom: 0 !important; }
body.mt-v2 .mt-hoja .offcanvas-title { color: #fff !important; }
body.mt-v2 .mt-hoja .mt-hoja__cerrar, body.mt-v2 .mt-hoja .mt-hoja__cerrar i { color: #fff !important; }

/* =========================================================================
   Tipografía: todo en Inter (la de la marca).
   custom.css asigna 'Poppins' a textos, pero Poppins nunca se carga y el navegador
   mostraba la letra del sistema. Los íconos (bootstrap-icons / Font Awesome) no se tocan.
   ========================================================================= */
body.mt-v2, body.mt-v2 a, body.mt-v2 p, body.mt-v2 span:not([class*="fa"]):not(.bi), body.mt-v2 label, body.mt-v2 cite,
body.mt-v2 small, body.mt-v2 pre, body.mt-v2 input, body.mt-v2 select, body.mt-v2 textarea, body.mt-v2 button,
body.mt-v2 h1, body.mt-v2 h2, body.mt-v2 h3, body.mt-v2 h4, body.mt-v2 h5, body.mt-v2 h6 { font-family: 'Inter', sans-serif; }
body.mt-v2 { -webkit-font-smoothing: auto; -moz-osx-font-smoothing: auto; }
body.mt-v2 .mt-hero__meta span:not(.mt-hero__sep) { font-weight: 500; }

/* ---------- Fondo del mapa en blanco (seats.io dibuja transparente): más contraste entre libre y ocupado ---------- */
body.mt-v2 .container-chart,
body.mt-v2 #chart { background: #fff; }

/* ---------- Computadora: el mapa como tarjeta, igual que "Zonas" y "Tu selección" ---------- */
@media (min-width: 768px) {
    body.mt-v2 .content-wrapper > .container-fluid > .row > .col-md-9 { background: #f4f4f7; padding-top: 14px !important; padding-bottom: 14px !important; }
    body.mt-v2 .container-chart { border: 1px solid var(--mt-line); border-radius: 12px; overflow: hidden; background: #fff; }
    /* mismo alto que la columna "Tu selección" (que tiene 14px de margen arriba y abajo) */
    body.mt-v2 .seats-chart { height: calc(100vh - var(--mt-hero-h) - 3.5rem - 4px - 30px) !important; }
}

/* Computadora: pie de marca (opción C, versión B) — barra de 36px de orilla a orilla, marino con línea magenta */
@media (min-width: 768px) {
    body.mt-v2 { --mt-pie-esc: 36px; }
    body.mt-v2 .content-wrapper { background: #f4f4f7 !important; }  /* sin franja de otro gris arriba del pie */
    body.mt-v2 .main-footer {
        position: fixed; bottom: 0; left: 0 !important; right: 0; margin-left: 0 !important; z-index: 1040;
        height: var(--mt-pie-esc); max-height: none; padding: 0 24px !important;
        display: flex; align-items: center;
        background: var(--mt-navy) !important; border-top: 2px solid var(--mt-magenta) !important; box-shadow: none !important;
    }
    body.mt-v2 .mt-pie-marca { width: 100%; justify-content: space-between; align-items: center; font-size: 13px; color: #d4d1f0; }
    body.mt-v2 .mt-pie-marca b { color: #fff; font-weight: 700; }
    /* las columnas terminan justo arriba del pie */
    body.mt-v2 .main-sidebar { height: calc(100vh - var(--mt-hero-h) - var(--mt-pie-esc)); }
    body.mt-v2 .col-r-sidebar { height: calc(100vh - var(--mt-hero-h) - var(--mt-pie-esc)); }
    body.mt-v2 .right-bar { height: calc(100vh - var(--mt-hero-h) - var(--mt-pie-esc) - 28px); }
    body.mt-v2 .seats-chart { height: calc(100vh - var(--mt-hero-h) - var(--mt-pie-esc) - 30px) !important; }
}

/* ---------- Tarjetas de zona en computadora (opción A): franja de color, nombre en su color y botón circular (v2) ---------- */
@media (min-width: 768px) {
    body.mt-v2 .mt-zonas .mt-zona { position: relative; overflow: hidden; padding: 12px 12px 12px 18px; }
    body.mt-v2 .mt-zonas .mt-zona::before { display: block; content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c, #ccc); }
    body.mt-v2 .mt-zonas .mt-zona__ic { display: none; }
    body.mt-v2 .mt-zonas .mt-zona__nombre { color: var(--c, #4a4865); }
    body.mt-v2 .mt-zonas .mt-zona__ir,
    body.mt-v2 .mt-zonas .mt-zona__ok {
        width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; line-height: 1;
        background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); font-size: 13px;
    }
    body.mt-v2 .mt-zonas .mt-zona__ok { display: none; background: var(--c); color: #fff; font-size: 14px; }
    body.mt-v2 .mt-zonas .mt-zona__ok::before { content: "\F26E"; }  /* palomita (bi-check-lg) dentro del círculo */
    body.mt-v2 .mt-zonas .mt-zona.mt-zona--on .mt-zona__ok { display: grid; }
    body.mt-v2 .mt-zonas .mt-zona.mt-zona--on .mt-zona__ir { display: none; }
    body.mt-v2 .mt-zonas .mt-zona:hover .mt-zona__ir { background: var(--c); color: #fff; }
}

/* ---------- Boletos generales agrupados: "× 2" junto a la zona y precio unitario debajo del total ---------- */
body.mt-v2 .mt-item__x { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 20px; font-size: 11.5px; font-weight: 700; color: #fff; background: var(--c, var(--mt-navy)); vertical-align: 1px; }
body.mt-v2 .mt-item__unit { font-size: 11.5px; color: var(--mt-mute); font-variant-numeric: tabular-nums; }
