/* ══════════════════════════════════════════════════════
   MARKETPLACE — estilos propios (hereda example-home.css)
   ══════════════════════════════════════════════════════ */

:root {
    --mp-purple: #3d15ce;
    --mp-purple-light: #9046ea;
    --mp-gradient: linear-gradient(135deg, #5B2EFF 0%, #8A4FFF 100%);
    --mp-gradient-hover: linear-gradient(135deg, #4f26e6 0%, #7d45ef 100%);
    --mp-bg: #ffffff;
    --mp-card: #fff;
    --mp-border: #e4e4e7;
    --mp-muted: #71717a;
    --mp-text: #18181b;
    --mp-radius: 16px;
    --mp-radius-sm: 10px;
}

/* ── Page shell ──────────────────────────────────────────────────────────── */
.mp-page .ex-home-sheet,
.mp-page .mp-sheet {
    background: #fff;
    padding-top: 0;
}

.mp-page .ex-home-sheet > .ex-main {
    margin-top: 0;
}

.mp-page .mp-main {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

/* ── Hero compacto ───────────────────────────────────────────────────────── */
.mp-hero {
    min-height: 0 !important;
}

.mp-hero .ex-hero__inner {
    padding-top: 16px !important;
    padding-bottom: 28px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-end !important;
    text-align: left !important;
    gap: 0 !important;
    max-width: 1120px;
}

.mp-hero .ex-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.25rem) !important;
    line-height: 1.15 !important;
    margin-bottom: 0 !important;
}

.mp-eyebrow {
    margin: 0 0 6px;
    color: rgba(255, 255, 255, .55);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.mp-hero__desc {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .62);
    font-size: 15px;
    line-height: 1.55;
    max-width: 520px;
}

.mp-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px;
    margin-top: 18px;
    width: 100%;
    max-width: 520px;
}

.mp-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 44px;
    padding: 0 20px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, border-color .15s, transform .15s;
}

.mp-hero__btn--primary {
    background: var(--mp-gradient);
    color: #fff;
    border: 1px solid transparent;
    box-shadow: 0 2px 10px rgba(91, 46, 255, .25);
    gap: 8px;
}

.mp-hero__btn--primary:hover {
    background: var(--mp-gradient-hover);
    transform: translateY(-1px);
}

.mp-hero__btn-icon {
    flex-shrink: 0;
}

.mp-hero__toolbar {
    position: relative;
    z-index: 10;
    max-width: 1120px;
    margin: 0 auto;
    width: 100%;
}

.mp-hero__toolbar .mp-search-bar-wrap {
    margin-top: 0;
    padding: 0 24px 0;
    margin-bottom: -22px;
}

/* ── Search bar ──────────────────────────────────────────────────────────── */
.mp-search-bar-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
    margin-top: -22px;
}

.mp-search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--mp-border);
    border-radius: 14px;
    padding: 6px 6px 6px 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
}

.mp-search-bar__icon {
    flex-shrink: 0;
    color: #a1a1aa;
}

.mp-search-bar__input {
    flex: 1;
    min-width: 0;
    height: 44px;
    border: none;
    background: transparent;
    font: inherit;
    font-size: 15px;
    color: var(--mp-text);
    outline: none;
}

.mp-search-bar__input::placeholder {
    color: #a1a1aa;
}

.mp-search-bar__input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.mp-filter--home {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.mp-filter--home .mp-filter-btn {
    height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mp-filter-btn__icon {
    flex-shrink: 0;
}

/* ── Sections ────────────────────────────────────────────────────────────── */
.mp-section {
    margin-top: 48px;
}

.mp-section__title {
    margin: 0 0 20px;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -.025em;
    color: var(--mp-text);
}

/* ── Recent events horizontal scroll ─────────────────────────────────────── */
.mp-recent-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.mp-recent-scroll::-webkit-scrollbar {
    height: 4px;
}

.mp-recent-scroll::-webkit-scrollbar-thumb {
    background: #d4d4d8;
    border-radius: 4px;
}

.mp-event-card {
    flex: 0 0 280px;
    width: 280px;
    scroll-snap-align: start;
    border-radius: var(--mp-radius);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--mp-border);
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.mp-event-card:hover {
    border-color: #d4d4d8;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .07);
    transform: translateY(-2px);
}

.mp-event-card__img {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f4f4f5;
    overflow: hidden;
}

.mp-event-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mp-event-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f4f4f5, #e4e4e7);
    color: #a1a1aa;
    font-size: 2.5rem;
}

.mp-event-card__badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(9, 9, 11, .72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 6px;
}

.mp-event-card__body {
    padding: 14px 16px 18px;
}

.mp-event-card__title {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 600;
    color: var(--mp-text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mp-event-card__venue {
    margin: 0 0 2px;
    font-size: 13px;
    color: var(--mp-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mp-event-card__date {
    margin: 0 0 6px;
    font-size: 13px;
    color: var(--mp-muted);
}

.mp-event-card__price {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--mp-purple);
    letter-spacing: -.01em;
}

.mp-event-card__nav {
    display: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f4f4f5;
    color: #71717a;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .mp-event-card {
        flex: 0 0 300px;
        width: 300px;
    }
}

/* ── Listings table ──────────────────────────────────────────────────────── */
.mp-listings-table {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(236px, 1fr) 120px minmax(168px, auto);
    column-gap: 20px;
    padding-inline: 24px;
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius);
    overflow: hidden;
    background: #fff;
}

.mp-table__head,
.mp-table__row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: subgrid;
    align-items: center;
    justify-items: start;
}

.mp-table__head {
    padding-block: 12px;
    background: #fafafa;
    border-bottom: 1px solid var(--mp-border);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--mp-muted);
}

.mp-table__cell {
    min-width: 0;
    text-align: left;
}

.mp-table__row {
    padding-block: 16px;
    border-bottom: 1px solid #f0f0f1;
    transition: background .15s;
}

.mp-table__row:last-child {
    border-bottom: none;
}

.mp-table__row:hover {
    background: #fafafa;
}

.mp-table__event {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.mp-table__event-flyer {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f4f4f5;
}

.mp-table__event-flyer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.mp-table__event-flyer img.loaded {
    opacity: 1;
}

.mp-table__event-flyer--ph {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #71717a;
    font-size: 18px;
    background: linear-gradient(135deg, #27272a, #3f3f46);
}

.mp-table__event-text {
    min-width: 0;
    flex: 1;
}

.mp-table__event-name {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 600;
    color: var(--mp-text);
    line-height: 1.3;
}

.mp-table__event-meta {
    margin: 0;
    font-size: 12px;
    color: var(--mp-muted);
    line-height: 1.35;
}

.mp-table__verified {
    font-size: 12px;
    color: #52525b;
}

.mp-table__verified .mp-listing-card__check {
    color: #16a34a;
    font-weight: 600;
}

.mp-table__type {
    font-size: 14px;
    font-weight: 500;
    color: var(--mp-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mp-table__qty {
    font-size: 14px;
    color: #52525b;
    white-space: nowrap;
}

.mp-table__cell--meta {
    display: grid;
    grid-template-columns: 140px 96px;
    gap: 20px;
    width: 100%;
    min-width: 0;
}

.mp-table__head .mp-table__cell--meta {
    align-items: center;
}

.mp-table__meta-item {
    min-width: 0;
}

.mp-table__cell--meta,
.mp-table__cell--price {
    min-width: 0;
}

.mp-table__cell--action {
    justify-self: end;
    width: 100%;
}

.mp-table__actions {
    --mp-table-action-size: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: nowrap;
}

.mp-table__cell--price .mp-price {
    align-items: flex-start;
    text-align: left;
}

.mp-price--table {
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    gap: 6px;
    flex-wrap: wrap;
}

.mp-table__cell--price .mp-price__compare {
    justify-content: flex-start;
}

.mp-table__cell--price .mp-price__now {
    font-size: 16px;
    font-weight: 700;
}

.mp-price__delta--table {
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
}

.mp-details-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid #d4d4d8;
    border-radius: 10px;
    background: #fff;
    color: #71717a;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -.01em;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: none;
    transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}

.mp-details-btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 0;
}

.mp-details-btn:hover {
    background: #fafafa;
    border-color: #a1a1aa;
    color: #52525b;
}

.mp-details-btn:active {
    transform: scale(0.98);
}

/* Fallback when subgrid is unavailable */
@supports not (grid-template-columns: subgrid) {
    .mp-listings-table {
        display: block;
    }

    .mp-table__head,
    .mp-table__row {
        grid-column: auto;
        grid-template-columns: minmax(0, 1fr) minmax(236px, 1fr) 120px minmax(168px, auto);
        column-gap: 20px;
    }
}

/* ── Trust section ───────────────────────────────────────────────────────── */
.mp-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--mp-border);
}

.mp-trust__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 18px;
    background: #fafafa;
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius);
    text-align: center;
}

.mp-trust__icon {
    flex-shrink: 0;
    font-size: 1.75rem;
    line-height: 1;
}

.mp-trust__text {
    min-width: 0;
}

.mp-trust__title {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
    color: var(--mp-text);
    letter-spacing: -.02em;
    line-height: 1.3;
}

.mp-trust__desc {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--mp-muted);
    line-height: 1.45;
}


/* Bug fix: display:flex en .mp-subpage anula el atributo hidden del navegador */
#mpDetailPage[hidden],
#mpCheckoutPage[hidden] {
    display: none !important;
}

[hidden] {
    display: none !important;
}

/* ── Estados loading / vacío ─────────────────────────────────────────────── */
.mp-state {
    color: var(--mp-muted);
    font-size: 14px;
    padding: 24px 0;
    text-align: center;
}

.mp-empty {
    padding: 8px 0 12px;
}

.mp-empty__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    max-width: 360px;
    margin: 0 auto;
    padding: 28px 24px 26px;
    background: #fafafa;
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius);
}

.mp-empty__main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.mp-empty__text {
    min-width: 0;
}

#mpListingsSection.is-empty {
    margin-top: 28px;
}

#mpListingsSection.is-empty .mp-section__title {
    display: none;
}

#mpListingsSection.is-empty .mp-empty {
    padding-bottom: 0;
}

#mpListingsSection.is-empty + .mp-trust {
    --mp-trust-divider-gap: 48px;
    margin-top: var(--mp-trust-divider-gap);
    padding-top: var(--mp-trust-divider-gap);
}

.mp-empty__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 4px;
    border-radius: 50%;
    background: #f4f4f5;
    font-size: 1.5rem;
    line-height: 1;
}

.mp-empty__title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--mp-text);
    line-height: 1.35;
}

.mp-empty__desc {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--mp-muted);
    line-height: 1.5;
}

.mp-empty__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    height: 40px;
    padding: 0 18px;
    border-radius: 10px;
    background: var(--mp-gradient);
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(91, 46, 255, .2);
    transition: filter .15s ease, transform .15s ease;
}

.mp-empty__cta:hover {
    filter: brightness(0.97);
    transform: translateY(-1px);
}

@media (min-width: 861px) {
    .mp-empty {
        padding: 12px 0 20px;
    }

    #mpListingsSection.is-empty .mp-empty {
        padding-bottom: 0;
    }

    .mp-empty__card {
        max-width: none;
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        padding: 32px 36px;
        text-align: left;
    }

    .mp-empty__main {
        flex-direction: row;
        align-items: center;
        gap: 20px;
        flex: 1;
        min-width: 0;
    }

    .mp-empty__icon {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .mp-empty__text {
        text-align: left;
    }

    .mp-empty__cta {
        margin-top: 0;
        flex-shrink: 0;
    }

    .mp-empty__card--search {
        justify-content: flex-start;
    }
}

/* ── Badge sobre imagen de evento (legacy) ───────────────────────────────── */
.ex-event-card__img { position: relative; }

.mp-event-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(9, 9, 11, .7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}

/* ── Listing card extras ─────────────────────────────────────────────────── */
.mp-listing-card__per {
    font-size: 12px;
    color: var(--mp-muted);
    white-space: nowrap;
}

/* ── Banner de resultado de pago ─────────────────────────────────────────── */
#mpPaymentBanner {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}
.mp-banner--error   { background:#fef2f2; border:1px solid #fecaca; color:#dc2626; }
.mp-banner--warning { background:#fffbeb; border:1px solid #fde68a; color:#92400e; }

/* ══════════════════════════════════════════════════════
   SUBPÁGINAS (detalle + checkout)
   ══════════════════════════════════════════════════════ */

.mp-subpage {
    min-height: 100vh;
    background: var(--mp-bg);
    display: flex;
    flex-direction: column;
}

.mp-subpage__header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.mp-subpage__header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.mp-subpage__logo { display: flex; align-items: center; line-height: 0; }
.mp-subpage__back-link {
    font-size: 13.5px;
    font-weight: 600;
    color: #52525b;
    text-decoration: none;
    transition: color .15s;
}
.mp-subpage__back-link:hover { color: var(--mp-text); }

.mp-subpage__main {
    flex: 1;
    padding: 28px 0 64px;
}

.mp-subpage__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.mp-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: none;
    border: none;
    cursor: pointer;
    color: #52525b;
    font-size: 14px;
    font-weight: 600;
    padding: 0;
    margin-bottom: 16px;
    transition: color .15s;
}
.mp-back:hover { color: var(--mp-text); }

/* ══════════════════════════════════════════════════════
   DETALLE — evento izquierda, entradas derecha
   ══════════════════════════════════════════════════════ */

.mp-detail-main {
    padding-top: 12px;
}

.mp-trust-line {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 500;
    color: #6b7280;
    line-height: 1.4;
}

.mp-detail-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.mp-detail-left {
    position: sticky;
    top: calc(62px + 16px);
}

.mp-event-flyer {
    display: flex;
    flex-direction: column;
}

.mp-event-flyer__overlay {
    display: none;
}

.mp-event-cover {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--mp-radius);
    display: block;
    background: #e4e4e7;
}

.mp-event-cover-ph {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    border-radius: var(--mp-radius);
    background: linear-gradient(135deg, #27272a, #3f3f46);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #71717a;
    font-size: 40px;
}

.mp-event-meta {
    margin-top: 14px;
}

.mp-event-meta__mobile {
    display: none;
}

.mp-event-meta__desktop {
    display: block;
}

.mp-event-name {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 800;
    color: var(--mp-text);
    letter-spacing: -.02em;
    line-height: 1.2;
}

.mp-event-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13.5px;
    color: #52525b;
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f1;
    line-height: 1.4;
}

.mp-event-row:last-of-type {
    border-bottom: none;
}

.mp-event-row svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: #a1a1aa;
}

.mp-detail-right {
    min-width: 0;
}

/* ── Listings section ────────────────────────────────────────────────────── */
.mp-listings-section {
    margin-bottom: 8px;
}

.mp-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.mp-section-head__text {
    flex: 1;
    min-width: 0;
}

.mp-section-head__title {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: var(--mp-text);
    letter-spacing: -.02em;
}

.mp-section-head__sub {
    margin: 3px 0 0;
    font-size: 12.5px;
    color: var(--mp-muted);
}

.mp-listings {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ── Filtros ─────────────────────────────────────────────────────────────── */
.mp-filter {
    position: relative;
    flex-shrink: 0;
}

.mp-filter-btn {
    height: 32px;
    padding: 0 12px;
    border: 1px solid var(--mp-border);
    border-radius: 8px;
    background: #fff;
    color: var(--mp-text);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .15s, color .15s;
}

.mp-filter-btn:hover {
    border-color: #d4d4d8;
}

.mp-filter-btn.is-active {
    border-color: rgba(91, 46, 255, .35);
    color: #5b2eff;
}

.mp-filter__backdrop {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, .45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .28s ease, visibility .28s ease;
}

body.mp-filter-sheet-open .mp-filter__backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mp-filter__panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 120;
    width: min(300px, calc(100vw - 32px));
    padding: 14px;
    background: #fff;
    border: 1px solid var(--mp-border);
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    pointer-events: none;
    transition:
        opacity .22s ease,
        transform .28s cubic-bezier(0.4, 0, 0.2, 1),
        visibility .22s ease;
}

.mp-filter.is-open.is-visible .mp-filter__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.mp-filter__title {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--mp-text);
}

.mp-filter__group {
    margin-bottom: 12px;
}

.mp-filter__group:last-of-type {
    margin-bottom: 14px;
}

.mp-filter__label {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--mp-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.mp-filter__options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mp-filter__opt {
    padding: 6px 10px;
    border: 1px solid #e4e4e7;
    border-radius: 8px;
    background: #fff;
    color: #3f3f46;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition: border-color .15s, background .15s, color .15s;
}

.mp-filter__opt:hover {
    border-color: #d4d4d8;
}

.mp-filter__opt.is-active {
    border-color: #5b2eff;
    background: #f5f3ff;
    color: #5b2eff;
    font-weight: 600;
}

.mp-filter__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding-top: 4px;
}

.mp-filter__clear {
    padding: 8px 10px;
    border: none;
    background: none;
    color: var(--mp-muted);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
}

.mp-filter__clear:hover {
    color: var(--mp-text);
}

.mp-filter__apply {
    padding: 8px 14px;
    border: none;
    border-radius: 9px;
    background: var(--mp-gradient);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(91, 46, 255, .2);
    transition: filter .15s, transform .15s;
}

.mp-filter__apply:hover {
    filter: brightness(1.04);
}

.mp-filter__apply:active {
    transform: scale(0.98);
}

@media (max-width: 860px) {
    body.mp-filter-sheet-open {
        overflow: hidden;
    }

    .mp-filter__backdrop--home {
        z-index: 500;
    }

    .mp-filter--home .mp-filter__panel,
    #mpHomeFilterPanel.mp-filter__panel {
        position: fixed;
        top: auto;
        right: 0;
        left: 0;
        bottom: 0;
        z-index: 510;
        width: auto;
        max-height: 78vh;
        overflow-y: auto;
        border-radius: 16px 16px 0 0;
        border-bottom: none;
        box-shadow: 0 -8px 32px rgba(0, 0, 0, .12);
        transform: translateY(100%);
        transform-origin: bottom center;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .mp-filter--home.is-open.is-visible .mp-filter__panel,
    #mpHomeFilterPanel.mp-filter__panel.is-sheet-open.is-sheet-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    body.mp-filter-sheet-open {
        overflow: hidden;
    }

    .mp-filter__panel {
        position: fixed;
        top: auto;
        right: 0;
        left: 0;
        bottom: 0;
        z-index: 510;
        width: auto;
        max-height: 78vh;
        overflow-y: auto;
        border-radius: 16px 16px 0 0;
        border-bottom: none;
        box-shadow: 0 -8px 32px rgba(0, 0, 0, .12);
        transform: translateY(100%);
        transform-origin: bottom center;
    }

    .mp-filter.is-open.is-visible .mp-filter__panel {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
}

/* ── FAQ acordeón (detalle evento) ───────────────────────────────────────── */
.mp-faq {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--mp-border);
}

.mp-faq__title {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 800;
    color: var(--mp-text);
    letter-spacing: -.03em;
    line-height: 1.2;
}

.mp-faq__accordion {
    background: var(--mp-card);
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius);
    overflow: hidden;
}

.mp-faq__item {
    border-bottom: 1px solid #ececef;
    transition: background .15s ease;
}

.mp-faq__item:not(.is-open):hover {
    background: #fafafa;
}

.mp-faq__item.is-open {
    background: #fafafa;
}

.mp-faq__item:last-child {
    border-bottom: none;
}

.mp-faq__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    padding: 16px 18px;
    border: none;
    background: transparent;
    text-align: left;
    font: inherit;
    cursor: pointer;
    user-select: none;
    transition: background .15s ease;
}

.mp-faq__summary:focus {
    outline: none;
}

.mp-faq__q {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--mp-text);
    line-height: 1.35;
    letter-spacing: -.01em;
}

.mp-faq__toggle {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f4f4f5;
    color: #5b2eff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease, transform .25s ease;
}

.mp-faq__item.is-open .mp-faq__toggle {
    background: #f5f3ff;
    transform: rotate(180deg);
}

.mp-faq__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .32s cubic-bezier(0.4, 0, 0.2, 1);
}

.mp-faq__item.is-open .mp-faq__panel {
    grid-template-rows: 1fr;
}

.mp-faq__panel-inner {
    overflow: hidden;
    min-height: 0;
    padding: 0 18px;
    opacity: 0;
    transform: translateY(-6px);
    transition:
        opacity .26s ease,
        transform .32s cubic-bezier(0.4, 0, 0.2, 1),
        padding .32s cubic-bezier(0.4, 0, 0.2, 1);
}

.mp-faq__item.is-open .mp-faq__panel-inner {
    padding-bottom: 16px;
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity .26s ease .08s,
        transform .32s cubic-bezier(0.4, 0, 0.2, 1) .06s,
        padding .32s cubic-bezier(0.4, 0, 0.2, 1);
}

.mp-faq__panel-inner p {
    margin: 0;
    font-size: 13px;
    color: var(--mp-muted);
    line-height: 1.45;
}

@media (prefers-reduced-motion: reduce) {
    .mp-faq__panel,
    .mp-faq__panel-inner,
    .mp-faq__toggle,
    .mp-filter__panel,
    .mp-filter__backdrop,
    .mp-details-modal__backdrop,
    .mp-details-modal__dialog {
        transition: none;
    }
}

/* ── Sale cards ──────────────────────────────────────────────────────────── */
.mp-listing-card {
    background: var(--mp-card);
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius);
    padding: 14px 16px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.mp-listing-card__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "seller price"
        "ticket price"
        "cta cta";
    gap: 10px 16px;
    align-items: start;
}

.mp-listing-card__seller-col {
    grid-area: seller;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mp-listing-card__seller {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.mp-listing-card__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #f4f4f5;
    color: #71717a;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mp-listing-card__seller-name {
    font-size: 13px;
    font-weight: 500;
    color: #52525b;
    line-height: 1.25;
}

.mp-listing-card__check {
    color: #16a34a;
    font-weight: 600;
}

.mp-listing-card__ticket-col {
    grid-area: ticket;
    min-width: 0;
}

.mp-listing-card__ticket-tier {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--mp-text);
    letter-spacing: -.03em;
    line-height: 1.15;
}

.mp-listing-card__ticket-qty {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    margin: 3px 0 0;
    font-size: 12px;
    font-weight: 500;
    color: var(--mp-muted);
    line-height: 1.3;
}

.mp-listing-card__qty-sep {
    color: #52525b;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    user-select: none;
}

.mp-listing-card__pricing {
    grid-area: price;
    min-width: 0;
    align-self: start;
}

/* Price block — current price is hero */
.mp-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 2px;
}

.mp-price__compare {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0;
}

.mp-price__now {
    font-size: 22px;
    font-weight: 800;
    color: var(--mp-text);
    letter-spacing: -.04em;
    line-height: 1.05;
}

.mp-price__now--solo {
    margin-top: 0;
}

.mp-price__was {
    font-size: 12px;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -.01em;
}

.mp-price__delta {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -.01em;
    white-space: nowrap;
    line-height: 1.25;
}

.mp-price__delta--save {
    color: #16a34a;
}

.mp-price__delta--over {
    color: #F59E0B;
}

.mp-buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 42px;
    padding: 0 20px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #3d15ce 0%, #9046ea 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -.01em;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(61, 21, 206, 0.08);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.mp-listing-card__actions {
    grid-area: cta;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.mp-listing-card__actions .mp-details-btn--card {
    flex: 0 0 42px;
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
}

.mp-listing-card__actions .mp-buy-btn--card {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
}

.mp-buy-btn:hover {
    filter: brightness(0.97);
    box-shadow: 0 2px 8px rgba(61, 21, 206, 0.18);
}

.mp-buy-btn:active {
    transform: scale(0.98);
}

.mp-table__actions .mp-details-btn--table,
.mp-table__actions .mp-buy-btn--table {
    height: var(--mp-table-action-size);
    min-height: var(--mp-table-action-size);
    box-sizing: border-box;
}

.mp-table__actions .mp-details-btn--table {
    flex: 0 0 var(--mp-table-action-size);
    width: var(--mp-table-action-size);
    min-width: var(--mp-table-action-size);
    max-width: var(--mp-table-action-size);
    padding: 0;
}

.mp-table__actions .mp-buy-btn--table {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    padding: 0 18px;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
}

@media (min-width: 861px) {
    .mp-hero__toolbar {
        padding-top: 4px;
    }

    .mp-listing-card:hover {
        transform: translateY(-2px);
        border-color: rgba(91, 46, 255, .15);
        box-shadow:
            0 4px 6px rgba(0, 0, 0, .04),
            0 10px 28px rgba(0, 0, 0, .08);
    }

    .mp-listing-card {
        padding: 16px 20px;
    }

    .mp-listing-card__row {
        grid-template-columns: minmax(140px, 0.9fr) minmax(160px, 1.15fr) minmax(150px, 1fr) auto;
        grid-template-areas: "seller ticket price cta";
        gap: 16px 24px;
        align-items: center;
    }

    .mp-listing-card__seller-col {
        gap: 4px;
    }

    .mp-listing-card__pricing {
        justify-self: end;
    }

    .mp-listing-card__actions {
        justify-self: end;
        width: auto;
    }

    .mp-listing-card__actions .mp-buy-btn--card {
        min-width: 116px;
        height: 40px;
        padding: 0 22px;
        white-space: nowrap;
    }

    .mp-listing-card__actions .mp-details-btn--card {
        flex: 0 0 40px;
        width: 40px;
        min-width: 40px;
        height: 40px;
    }

    .mp-buy-btn {
        justify-self: end;
        width: auto;
        min-width: 116px;
        height: 40px;
        padding: 0 22px;
        white-space: nowrap;
    }

    .mp-price__now {
        font-size: 26px;
    }

    .mp-table__cell--price .mp-price__now {
        font-size: 16px;
    }
}

@media (max-width: 860px) {
    .mp-table__cell--price .mp-price {
        align-items: flex-end;
        text-align: right;
    }

    .mp-price--table {
        justify-content: flex-end;
    }

    .mp-table__cell--price .mp-price__compare {
        justify-content: flex-end;
    }
}

/* ── Listing details modal ───────────────────────────────────────────────── */
body.mp-details-open {
    overflow: hidden;
}

.mp-details-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.mp-details-modal[hidden] {
    display: none;
}

.mp-details-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.52);
    opacity: 0;
    transition: opacity 0.28s ease;
}

.mp-details-modal--open .mp-details-modal__backdrop {
    opacity: 1;
}

.mp-details-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    overflow: auto;
    background: #fff;
    border-radius: 20px;
    padding: 26px 24px 22px;
    box-shadow: 0 24px 80px rgba(17, 24, 39, 0.24);
    opacity: 0;
    transform: translateY(14px) scale(0.98);
    transition:
        transform 0.32s cubic-bezier(0.32, 0.72, 0, 1),
        opacity 0.28s ease;
    will-change: transform, opacity;
}

.mp-details-modal--open .mp-details-modal__dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.mp-details-modal__handle {
    display: none;
}

.mp-details-modal__body {
    min-width: 0;
}

.mp-details-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: #f4f4f5;
    color: #71717a;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background .15s ease;
}

.mp-details-modal__close:hover {
    background: #e4e4e7;
}

.mp-details__header {
    padding-right: 40px;
    margin-bottom: 20px;
}

.mp-details__eyebrow {
    margin: 0 0 10px;
    font-size: 10px;
    font-weight: 700;
    color: var(--mp-purple);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.mp-details__title {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--mp-text);
    line-height: 1.15;
    letter-spacing: -.03em;
}

.mp-details__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 4px;
    font-size: 13px;
    color: #71717a;
    line-height: 1.4;
}

.mp-details__meta svg {
    flex-shrink: 0;
    color: #a1a1aa;
}

.mp-details__hero {
    margin-bottom: 18px;
}

.mp-details__hero-price {
    margin: 0;
    font-size: 36px;
    font-weight: 800;
    color: var(--mp-text);
    letter-spacing: -.045em;
    line-height: 1;
}

.mp-details__hero-compare {
    margin: 8px 0 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.mp-details__hero-compare--save {
    color: #16a34a;
}

.mp-details__hero-compare--over {
    color: #ea580c;
}

.mp-details__info-card {
    margin-bottom: 18px;
    border: 1px solid #ececef;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.mp-details__info-row {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px 12px;
    padding: 12px 14px;
    border-bottom: 1px solid #f1f1f3;
}

.mp-details__info-row:last-child {
    border-bottom: none;
}

.mp-details__info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #a1a1aa;
}

.mp-details__info-label {
    font-size: 13px;
    font-weight: 500;
    color: #71717a;
}

.mp-details__info-value {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--mp-text);
    text-align: right;
    line-height: 1.35;
}

.mp-details__verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 6px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #f4f4f5;
    border: 1px solid #e4e4e7;
    color: #71717a;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    vertical-align: middle;
}

.mp-details__verified-badge svg {
    width: 11px;
    height: 11px;
}

.mp-details__original-price {
    color: #a1a1aa;
    text-decoration: line-through;
    font-weight: 600;
}

.mp-details__tickets-section {
    margin-bottom: 16px;
}

.mp-details__tickets-title {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--mp-text);
    letter-spacing: -.01em;
}

.mp-details__tickets {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.mp-details__ticket {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #ececef;
    border-radius: 12px;
    background: #fff;
}

.mp-details__ticket-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f5f0ff;
    color: var(--mp-purple);
}

.mp-details__ticket-body {
    flex: 1;
    min-width: 0;
}

.mp-details__ticket-name {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--mp-text);
    letter-spacing: -.02em;
    line-height: 1.25;
}

.mp-details__ticket-sub {
    margin: 2px 0 0;
    font-size: 12px;
    font-weight: 500;
    color: #71717a;
    line-height: 1.35;
}

.mp-details__ticket-attendance {
    margin: 3px 0 0;
    font-size: 11px;
    color: #a1a1aa;
    line-height: 1.3;
}

.mp-details__ticket-shield {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #a1a1aa;
}

.mp-details__qr-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    padding: 11px 14px;
    border-radius: 12px;
    background: #f0fdf4;
    border: 1px solid #dcfce7;
    font-size: 12px;
    font-weight: 600;
    color: #15803d;
    line-height: 1.3;
}

.mp-details__qr-note > span:last-child {
    white-space: nowrap;
}

.mp-details__qr-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
}

.mp-details__qr-icon svg {
    width: 12px;
    height: 12px;
}

.mp-details__cta {
    display: grid;
    gap: 10px;
}

.mp-details__buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 48px;
    padding: 0 20px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #3d15ce 0%, #9046ea 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -.01em;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(61, 21, 206, 0.22);
    transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}

.mp-details__buy-btn svg {
    flex-shrink: 0;
}

.mp-details__buy-btn:hover {
    filter: brightness(0.97);
    box-shadow: 0 4px 14px rgba(61, 21, 206, 0.28);
}

.mp-details__buy-btn:active {
    transform: scale(0.98);
}

.mp-details__cta-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    font-size: 11px;
    color: #a1a1aa;
    text-align: center;
    line-height: 1.45;
}

.mp-details__cta-note svg {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    color: #d4d4d8;
}

@media (max-width: 640px) {
    .mp-details-modal {
        align-items: flex-end;
        justify-content: center;
        padding: 0;
    }

    .mp-details-modal__dialog {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: none;
        max-height: min(94dvh, 100%);
        border-radius: 18px 18px 0 0;
        padding: 0;
        overflow: hidden;
        box-shadow: 0 -8px 40px rgba(17, 24, 39, 0.18);
        transform: translateY(100%);
    }

    .mp-details-modal--open .mp-details-modal__dialog {
        transform: translateY(0);
    }

    .mp-details-modal__handle {
        display: block;
        flex-shrink: 0;
        width: 38px;
        height: 4px;
        margin: 10px auto 2px;
        border-radius: 999px;
        background: #e4e4e7;
    }

    .mp-details-modal__close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        z-index: 2;
    }

    .mp-details-modal__body {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        padding: 12px 16px 0;
    }

    .mp-details__header {
        padding-right: 44px;
        margin-bottom: 16px;
    }

    .mp-details__title {
        font-size: 20px;
    }

    .mp-details__meta {
        align-items: flex-start;
        font-size: 12px;
    }

    .mp-details__meta span {
        min-width: 0;
    }

    .mp-details__hero {
        margin-bottom: 14px;
    }

    .mp-details__hero-price {
        font-size: 32px;
    }

    .mp-details__hero-compare {
        font-size: 12px;
    }

    .mp-details__info-card {
        margin-bottom: 14px;
        border-radius: 12px;
    }

    .mp-details__info-row {
        grid-template-columns: 18px minmax(0, 1fr);
        grid-template-rows: auto auto;
        align-items: start;
        gap: 2px 10px;
        padding: 11px 12px;
    }

    .mp-details__info-icon {
        grid-row: 1 / -1;
        align-self: start;
        margin-top: 1px;
    }

    .mp-details__info-label {
        grid-column: 2;
        font-size: 12px;
    }

    .mp-details__info-value {
        grid-column: 2;
        justify-content: flex-start;
        text-align: left;
        font-size: 13px;
    }

    .mp-details__verified-badge {
        margin-left: 0;
        margin-top: 4px;
    }

    .mp-details__tickets-section {
        margin-bottom: 12px;
    }

    .mp-details__ticket {
        gap: 10px;
        padding: 11px 12px;
    }

    .mp-details__ticket-icon {
        width: 34px;
        height: 34px;
        border-radius: 9px;
    }

    .mp-details__ticket-name {
        font-size: 13px;
        word-break: break-word;
    }

    .mp-details__ticket-sub {
        font-size: 11px;
    }

    .mp-details__qr-note {
        align-items: flex-start;
        margin-bottom: 0;
        padding: 10px 12px;
        font-size: 11px;
        line-height: 1.4;
    }

    .mp-details__qr-note > span:last-child {
        white-space: normal;
        min-width: 0;
    }

    .mp-details__cta {
        position: sticky;
        bottom: 0;
        z-index: 1;
        gap: 8px;
        margin: 16px -16px 0;
        padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
        background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 18%);
        border-top: 1px solid #f1f1f3;
    }

    .mp-details__buy-btn {
        height: 50px;
        font-size: 16px;
        border-radius: 14px;
    }

    .mp-details__cta-note {
        font-size: 10px;
        line-height: 1.35;
        padding: 0 4px;
    }

    .mp-details__cta-note span {
        min-width: 0;
    }
}

/* Legacy summary card (unused) */
.mp-summary-card {
    background: var(--mp-card);
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius);
    overflow: hidden;
}
.mp-summary-card__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    background: #e4e4e7;
}
.mp-summary-card__img-ph {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #27272a, #3f3f46);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #71717a;
    font-size: 36px;
}
.mp-summary-card__body { padding: 20px; }
.mp-summary-card__name {
    margin: 0 0 14px;
    font-size: 19px;
    font-weight: 800;
    color: var(--mp-text);
    letter-spacing: -.02em;
}
.mp-summary-card__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 14px;
    color: var(--mp-muted);
    padding: 7px 0;
    border-bottom: 1px solid #f4f4f5;
}
.mp-summary-card__row:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 16px;
    color: var(--mp-text);
    padding-top: 12px;
    margin-top: 4px;
}
.mp-summary-card__row strong { color: var(--mp-text); font-weight: 700; }

/* removed duplicate checkout-card block */

/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */

@media (max-width: 860px) {
    .mp-hero .ex-hero__inner {
        padding: 16px 16px 8px !important;
    }

    .mp-hero__actions {
        margin-top: 16px;
        margin-bottom: 0;
        max-width: none;
    }

    .mp-hero__btn--primary {
        width: 100%;
        font-size: 14px;
    }

    .mp-hero {
        position: relative;
        z-index: 2;
    }

    .mp-hero__toolbar {
        position: relative;
        z-index: 15;
        padding: 8px 16px 16px;
    }

    .mp-hero__toolbar .mp-search-bar-wrap {
        padding: 0;
        margin-bottom: 0;
    }

    .mp-search-bar {
        gap: 8px;
        padding: 4px 4px 4px 14px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 12px;
        box-shadow: none;
    }

    .mp-search-bar__icon {
        color: rgba(255, 255, 255, 0.45);
    }

    .mp-search-bar__input {
        height: 40px;
        font-size: 14px;
        color: #fff;
    }

    .mp-search-bar__input::placeholder {
        color: rgba(255, 255, 255, 0.45);
    }

    .mp-filter--home .mp-filter-btn {
        height: 40px;
        padding: 0 12px;
        background: rgba(255, 255, 255, 0.14);
        border-color: rgba(255, 255, 255, 0.22);
        color: #fff;
        font-size: 13px;
    }

    .mp-filter--home .mp-filter-btn .mp-filter-btn__icon {
        color: rgba(255, 255, 255, 0.85);
    }

    .mp-filter--home .mp-filter-btn.is-active {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(196, 181, 253, 0.65);
        color: #fff;
    }

    .mp-page .ex-home-sheet,
    .mp-page .mp-sheet {
        border-top-left-radius: 24px;
        border-top-right-radius: 24px;
        margin-top: -1px;
        position: relative;
        z-index: 1;
        box-shadow:
            0 -10px 28px rgba(0, 0, 0, 0.14),
            0 -1px 0 rgba(255, 255, 255, 0.85) inset;
    }

    .mp-page .mp-main {
        padding: 16px 16px 56px;
    }

    #mpRecentSection:not([hidden]) {
        margin-top: 0;
    }

    #mpRecentSection[hidden] + #mpListingsSection {
        margin-top: 0;
    }

    .mp-section {
        margin-top: 28px;
    }

    .mp-section__title {
        margin-bottom: 14px;
        font-size: 1.125rem;
    }

    .mp-recent-scroll {
        display: flex;
        flex-direction: column;
        gap: 10px;
        overflow: visible;
        scroll-snap-type: none;
        padding-bottom: 0;
    }

    .mp-recent-scroll .mp-event-card {
        display: grid;
        grid-template-columns: 88px minmax(0, 1fr) 36px;
        align-items: stretch;
        gap: 0;
        width: 100%;
        flex: none;
        padding: 0;
        overflow: hidden;
        border: 1px solid var(--mp-border);
        border-radius: 14px;
        background: #fff;
        scroll-snap-align: unset;
    }

    .mp-recent-scroll .mp-event-card:hover {
        transform: none;
    }

    .mp-recent-scroll .mp-event-card__img {
        width: 88px;
        min-height: 100%;
        height: auto;
        align-self: stretch;
        aspect-ratio: auto;
        border-radius: 0;
    }

    .mp-recent-scroll .mp-event-card__img img,
    .mp-recent-scroll .mp-event-card__placeholder {
        width: 100%;
        height: 100%;
        min-height: 88px;
        object-fit: cover;
        border-radius: 0;
    }

    .mp-recent-scroll .mp-event-card__body {
        padding: 10px 8px 10px 12px;
        min-width: 0;
        text-align: left;
        align-self: center;
    }

    .mp-recent-scroll .mp-event-card__title {
        font-size: 14px;
        font-weight: 700;
        margin-bottom: 4px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .mp-recent-scroll .mp-event-card__venue,
    .mp-recent-scroll .mp-event-card__date {
        display: flex;
        align-items: center;
        gap: 4px;
        font-size: 11px;
        color: var(--mp-muted);
        margin-bottom: 2px;
    }

    .mp-recent-scroll .mp-event-card__venue svg,
    .mp-recent-scroll .mp-event-card__date svg {
        flex-shrink: 0;
        width: 12px;
        height: 12px;
        color: #a1a1aa;
    }

    .mp-recent-scroll .mp-event-card__price {
        margin-top: 4px;
        font-size: 13px;
    }

    .mp-recent-scroll .mp-event-card__badge {
        bottom: 6px;
        left: 6px;
        font-size: 9px;
        padding: 3px 6px;
    }

    .mp-recent-scroll .mp-event-card__venue span,
    .mp-recent-scroll .mp-event-card__date span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mp-recent-scroll .mp-event-card__nav {
        display: flex;
        align-self: center;
        margin-right: 10px;
    }

    .mp-table__head {
        display: none;
    }

    .mp-listings-table {
        display: block;
        padding-inline: 0;
    }

    .mp-table__row {
        display: grid;
        grid-column: auto;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto auto;
        gap: 10px 14px;
        padding: 16px;
    }

    .mp-table__cell--event {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .mp-table__cell--meta {
        grid-column: 1;
        grid-row: 2;
        display: flex;
        align-items: flex-start;
        gap: 18px;
        width: auto;
        min-width: 0;
    }

    .mp-table__meta-item {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
        flex: 0 1 auto;
    }

    .mp-table__meta-item--type {
        flex: 1 1 auto;
        max-width: 100%;
    }

    .mp-table__meta-item--qty {
        flex: 0 0 auto;
    }

    .mp-table__meta-item::before {
        display: block;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #a1a1aa;
        line-height: 1.2;
    }

    .mp-table__meta-item--type::before {
        content: 'Tipo';
    }

    .mp-table__meta-item--qty::before {
        content: 'Cantidad';
    }

    .mp-table__type,
    .mp-table__qty {
        font-size: 13px;
        line-height: 1.35;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .mp-table__type {
        color: var(--mp-text);
    }

    .mp-table__qty {
        font-weight: 500;
        color: #52525b;
    }

    .mp-table__cell--price {
        grid-column: 2;
        grid-row: 2;
        text-align: right;
        align-self: center;
    }

    .mp-table__cell--action {
        grid-column: 1 / -1;
        grid-row: 3;
        margin-top: 6px;
        padding-top: 2px;
    }

    .mp-table__actions {
        width: 100%;
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .mp-table__actions .mp-buy-btn--table {
        flex: 1 1 auto;
        width: 100%;
    }

    .mp-trust {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 48px;
        padding-top: 36px;
    }

    #mpListingsSection.is-empty + .mp-trust {
        --mp-trust-divider-gap: 36px;
        margin-top: var(--mp-trust-divider-gap);
        padding-top: var(--mp-trust-divider-gap);
    }

    .mp-trust__card {
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 14px;
        padding: 16px 18px;
        text-align: left;
    }

    .mp-trust__icon {
        font-size: 1.5rem;
        margin-top: 1px;
    }

    .mp-detail-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .mp-detail-left {
        position: static;
    }

    .mp-event-cover,
    .mp-event-cover-ph {
        aspect-ratio: 1 / 1;
        max-width: 280px;
        border-radius: var(--mp-radius);
    }
}

@media (max-width: 768px) {
    .mp-event-flyer {
        display: flex;
        flex-direction: column;
    }

    .mp-event-cover,
    .mp-event-cover-ph {
        aspect-ratio: 1 / 1;
        width: 100%;
        max-width: none;
        border-radius: var(--mp-radius);
    }

    .mp-event-flyer__overlay {
        display: none;
    }

    .mp-event-meta {
        position: static;
        margin-top: 14px;
        padding: 0;
    }

    .mp-event-name {
        margin: 0 0 10px;
        font-size: 20px;
        font-weight: 800;
        color: var(--mp-text);
    }

    .mp-event-meta__mobile {
        display: none;
    }

    .mp-event-meta__desktop {
        display: block;
    }
}

@media (max-width: 560px) {
    .mp-subpage__inner { padding: 0 16px; }
    .mp-subpage__main { padding: 12px 0 36px; }
    .mp-listing-card__total { font-size: 16px; }
    .mp-trust-line {
        font-size: 10.5px;
    }
}
