/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: #0d0d0d;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

/* ===== LAYOUT ===== */
.page-wrapper {
    display: flex;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* ===== SIDEBAR ===== */
.sidebar {
    width: 240px;
    min-height: 100vh;
    background: #111111;
    display: flex;
    flex-direction: column;
    padding: 24px 16px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar-top {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 32px;
}
.sidebar-close-btn {
    width: 32px; height: 32px; border-radius: 8px;
    background: #222; border: 1px solid #2a2a2a;
    color: #888; font-size: 1.1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}
.sidebar-close-btn:hover { background: #2a2a2a; color: #fff; }
.sidebar-logo {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: #fff;
    margin-bottom: 0;
    display: block;
}

.sidebar-nav { list-style: none; flex: 1; }

.sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #aaaaaa;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s;
}

.sidebar-nav li a:hover,
.sidebar-nav li a.active {
    background: #1e1e1e;
    color: #ffffff;
}

.sidebar-social { margin-top: auto; padding-top: 24px; }
.sidebar-social p { font-size: 0.75rem; color: #666; margin-bottom: 8px; }
.sidebar-social a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #aaa;
    padding: 4px 0;
    transition: color 0.2s;
}
.sidebar-social a:hover { color: #fff; }

.sidebar-terms {
    margin-top: 16px;
    font-size: 0.8rem;
    color: #555;
    transition: color 0.2s;
}
.sidebar-terms:hover { color: #aaa; }

/* ===== MAIN AREA (desktop: offset for sidebar) ===== */
@media (min-width: 768px) {
    .main-content { margin-left: 240px; }
    .sidebar { transform: none !important; }
    .sidebar-overlay { display: none !important; }
    .topbar { display: none; }
    .topbar-desktop { display: flex; }
    /* Pages that hide the sidebar on desktop — drawer mode */
    .no-sidebar .sidebar { transform: translateX(-100%) !important; }
    .no-sidebar .sidebar.open { transform: translateX(0) !important; }
    .no-sidebar .main-content { margin-left: 0; }
    .no-sidebar .topbar { display: flex; }
    .no-sidebar .sidebar-overlay { display: none; }
    .no-sidebar .sidebar-overlay.active { display: block !important; }
}

/* ===== TOPBAR (mobile) ===== */
.topbar {
    background: #111;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    position: sticky;
    top: 0;
    z-index: 900;
}

.topbar-logo {
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.topbar-desktop {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid #1a1a1a;
}

.btn-hamburger {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.btn-help {
    background: #ff6b00;
    border: none;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-help:hover { background: #e05e00; }

/* ===== SIDEBAR OVERLAY (mobile) ===== */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 999;
}
.sidebar-overlay.active { display: block; }

.sidebar.open { transform: translateX(0) !important; }

@media (max-width: 767px) {
    .sidebar { transform: translateX(-100%); }
}

/* ===== SEARCH BAR ===== */
.search-wrapper {
    padding: 16px 24px;
    border-bottom: 1px solid #1a1a1a;
}

.search-input-group {
    display: flex;
    align-items: center;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 8px 14px;
    gap: 8px;
}

.search-input-group input {
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.95rem;
    width: 100%;
}

.search-input-group input::placeholder { color: #555; }
.search-icon { color: #555; font-size: 1rem; }

/* ===== EVENT CARDS ===== */
.events-grid {
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.event-card {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #2a2a2a;
    transition: transform 0.2s, border-color 0.2s;
    cursor: pointer;
    display: block;
}

.event-card:hover {
    transform: translateY(-4px);
    border-color: #ff6b00;
    color: #fff;
}

.event-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.event-card-body { padding: 16px; }
.event-card-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.event-card-body p { font-size: 0.85rem; color: #aaa; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== EVENT PAGE ===== */
.event-banner { width: 100%; max-height: 400px; object-fit: cover; display: block; }

.event-details-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    padding: 32px 24px;
}

@media (max-width: 991px) {
    .event-details-wrapper { grid-template-columns: 1fr; }
}

.event-info h1 { font-size: 1.75rem; font-weight: 900; margin-bottom: 16px; }
.event-meta { list-style: none; margin-bottom: 24px; }
.event-meta li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0;
    border-bottom: 1px solid #1a1a1a; font-size: 0.95rem; color: #ccc; }
.event-meta li span.label { color: #aaa; min-width: 80px; }
.event-description { font-size: 0.95rem; color: #bbb; line-height: 1.7; }

/* ===== CHECKOUT BOX ===== */
.checkout-box {
    background: #111;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 24px;
    position: sticky;
    top: 80px;
    align-self: start;
}

.checkout-box h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; }

.ticket-option {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: border-color 0.2s;
}
.ticket-option:hover { border-color: #ff6b00; }
.ticket-option.selected { border-color: #ff6b00; background: #1f1505; }
.ticket-option input[type="radio"] { accent-color: #ff6b00; }
.ticket-option .ticket-name { font-weight: 600; font-size: 0.9rem; }
.ticket-option .ticket-batch { font-size: 0.75rem; color: #888; }
.ticket-option .ticket-price { font-size: 1.1rem; font-weight: 700; color: #ff6b00; margin-top: 4px; }

.qty-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
}
.qty-btn {
    width: 32px; height: 32px;
    background: #2a2a2a; border: none; color: #fff;
    border-radius: 6px; font-size: 1.1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.qty-btn:hover { background: #ff6b00; }
.qty-display { font-size: 1.1rem; font-weight: 600; min-width: 24px; text-align: center; }

.form-dark label { font-size: 0.85rem; color: #aaa; margin-bottom: 4px; display: block; }
.form-dark input {
    width: 100%; background: #1a1a1a; border: 1px solid #2a2a2a;
    color: #fff; border-radius: 6px; padding: 10px 12px;
    font-size: 0.9rem; outline: none; margin-bottom: 12px;
    transition: border-color 0.2s;
}
.form-dark input:focus { border-color: #ff6b00; }

.btn-pix {
    width: 100%; background: #ff6b00; border: none; color: #fff;
    font-weight: 700; font-size: 1rem; padding: 14px;
    border-radius: 8px; cursor: pointer; transition: background 0.2s;
    margin-top: 8px;
}
.btn-pix:hover { background: #e05e00; }
.btn-pix:disabled { background: #555; cursor: not-allowed; }

/* Mobile sticky CTA */
.mobile-cta-bar {
    display: none;
    position: fixed; bottom: 0; left: 0; right: 0;
    background: #111; border-top: 1px solid #2a2a2a;
    padding: 12px 16px; z-index: 800;
}
@media (max-width: 767px) { .mobile-cta-bar { display: block; } }

/* ===== PIX MODAL ===== */
.pix-modal {
    position: fixed; inset: 0; z-index: 999;
    display: flex; align-items: flex-end; justify-content: center;
}
@media (min-width: 640px) { .pix-modal { align-items: center; } }
.pix-modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(2px);
}
.pix-modal-sheet {
    position: relative; width: 100%; max-width: 520px;
    background: #111; border: 1px solid #222;
    border-radius: 24px 24px 0 0; overflow: hidden;
    box-shadow: 0 -8px 40px rgba(0,0,0,0.6);
}
@media (min-width: 640px) {
    .pix-modal-sheet { border-radius: 20px; }
}
/* Top bar */
.pix-top-bar {
    background: #2d1f00; border-bottom: 1px solid #5a3a00;
    padding: 12px 20px; display: flex; align-items: center;
    justify-content: center; gap: 8px;
}
.pix-top-bar-icon { font-size: 15px; }
.pix-top-bar-text { font-size: 13px; font-weight: 600; color: #f59e0b; }
.pix-top-bar-text strong { color: #fbbf24; }
/* Body */
.pix-modal-body { padding: 24px; }
.pix-header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.pix-header-icon {
    width: 48px; height: 48px; border-radius: 50%;
    background: #052e16; display: flex; align-items: center;
    justify-content: center; flex-shrink: 0;
}
.pix-title { font-size: 18px; font-weight: 800; color: #fff; line-height: 1.2; }
.pix-step-badge { display: inline-block; font-size: 11px; font-weight: 700; color: #ff6b00; background: rgba(255,107,0,0.15); border: 1px solid rgba(255,107,0,0.3); border-radius: 999px; padding: 2px 8px; margin-left: 6px; vertical-align: middle; }
.pix-subtitle { margin-top: 4px; font-size: 13px; color: #777; line-height: 1.5; }
/* QR */
.pix-qr-wrap { display: flex; flex-direction: column; align-items: center; margin-bottom: 20px; }
.pix-qr-box {
    width: 220px; height: 220px; border-radius: 16px;
    border: 2px solid #2a2a2a; background: #fff;
    display: flex; align-items: center; justify-content: center;
    padding: 8px; overflow: hidden;
}
.pix-qr-box img { width: 100%; height: 100%; object-fit: contain; }
.pix-qr-label { margin-top: 12px; font-size: 14px; font-weight: 700; color: #fff; }
.pix-qr-hint { margin-top: 2px; font-size: 12px; color: #555; }
/* EMV code box */
.pix-emv-box {
    background: #111; border: 1px solid #2a2a2a; border-radius: 10px;
    padding: 10px 14px; margin-bottom: 12px; word-break: break-all;
    cursor: pointer;
}
.pix-emv-box:hover { border-color: #444; }
.pix-emv-text {
    font-size: 11px; color: #777; font-family: monospace; line-height: 1.5;
    user-select: all;
}
/* Copy button */
.pix-copy-btn {
    width: 100%; height: 52px; border-radius: 14px;
    background: #ff6b00; border: none; color: #fff;
    font-size: 15px; font-weight: 700; cursor: pointer;
    transition: background 0.15s;
}
.pix-copy-btn:hover { background: #e05a00; }
/* Benefits */
.pix-benefits {
    margin-top: 16px; background: #0a1f14;
    border: 1px solid #14532d; border-radius: 14px;
    padding: 14px 16px; display: flex; flex-direction: column; gap: 8px;
}
.pix-benefit { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: #22c55e; }
.pix-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #22c55e; flex-shrink: 0;
}
/* Footer */
.pix-modal-footer {
    border-top: 1px solid #1e1e1e; padding: 16px 24px;
    background: #0d0d0d;
}
.pix-footer-note { text-align: center; font-size: 12px; color: #555; line-height: 1.5; }
.pix-status-row {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; margin-top: 10px;
}
.pix-pulse {
    width: 8px; height: 8px; border-radius: 50%;
    background: #22c55e;
    animation: pixPulse 1.5s ease-in-out infinite;
}
@keyframes pixPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}
.pix-status-text { font-size: 12px; font-weight: 600; color: #777; }

/* ===== CONFIRMATION PAGE ===== */
.confirm-box {
    max-width: 560px; margin: 48px auto; padding: 0 16px;
    text-align: center;
}
.confirm-box .check-icon { font-size: 3rem; color: #2ecc71; margin-bottom: 16px; }
.confirm-box h1 { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.confirm-box p { color: #aaa; margin-bottom: 24px; }
.order-summary {
    background: #1a1a1a; border: 1px solid #2a2a2a;
    border-radius: 12px; padding: 20px; text-align: left;
}
.order-summary dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; }
.order-summary dt { color: #888; font-size: 0.875rem; }
.order-summary dd { font-size: 0.875rem; font-weight: 600; }

/* ===== TERMS PAGE ===== */
.terms-content {
    max-width: 720px; margin: 48px auto; padding: 0 24px;
}
.terms-content h1 { font-size: 1.75rem; font-weight: 800; margin-bottom: 24px; }
.terms-content h2 { font-size: 1.1rem; font-weight: 700; margin: 24px 0 12px; }
.terms-content p { font-size: 0.95rem; color: #bbb; line-height: 1.7; margin-bottom: 16px; }

/* ===== UTILITIES ===== */
.text-orange { color: #ff6b00; }
.hidden { display: none !important; }

/* ===== RESERVATION BAR ===== */
.reservation-bar {
    background: #111;
    border-bottom: 1px solid #2a2a2a;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 12px;
}
.reservation-label { font-size: 0.9rem; color: #ccc; }

/* Reservation countdown bar */
.reservation-timer-bar {
    background: #ff6b00;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 800;
}
.reservation-timer-bar strong { font-weight: 700; }

/* ===== EVENT BANNER ===== */
.event-banner-wrap { width: 100%; overflow: hidden; max-height: 380px; }
.event-banner { width: 100%; max-height: 380px; object-fit: cover; display: block; }
.event-banner-placeholder {
    width: 100%; height: 200px; background: #1a1a1a;
    display: flex; align-items: center; justify-content: center;
    color: #444; font-size: 3rem;
}

/* ===== COUPON FIELD ===== */
.coupon-field {
    display: flex; align-items: center; gap: 10px;
    background: #1a1a1a; border: 1px solid #2a2a2a;
    border-radius: 8px; padding: 10px 14px; margin-bottom: 12px;
}
.coupon-field input {
    background: none; border: none; outline: none;
    color: #888; font-size: 0.875rem; width: 100%; cursor: default;
}
.coupon-field i { color: #555; }

/* ===== DATE PICKER ROW ===== */
.date-picker-row {
    display: flex; align-items: center; justify-content: space-between;
    background: #1a1a1a; border: 1px solid #2a2a2a;
    border-radius: 8px; padding: 10px 14px; margin-bottom: 16px;
}
.date-label { font-size: 0.9rem; color: #ccc; font-weight: 500; }
.date-nav {
    background: none; border: none; color: #555; font-size: 1rem;
    cursor: default; padding: 2px 6px; border-radius: 4px;
}

/* ===== TICKET SECTION HEADER ===== */
.ticket-section-header {
    font-size: 0.75rem; font-weight: 700; color: #888;
    text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: 10px; padding-bottom: 8px;
    border-bottom: 1px solid #2a2a2a;
}

/* ===== TICKET CARDS (new design) ===== */
.ticket-card {
    display: flex; justify-content: space-between; align-items: center;
    background: #1a1a1a; border: 1px solid #2a2a2a;
    border-radius: 8px; padding: 14px 16px; margin-bottom: 10px;
    cursor: pointer; transition: border-color 0.2s, background 0.2s;
    gap: 12px;
}
.ticket-card:hover:not(.ticket-sold-out) { border-color: #ff6b00; }
.ticket-card.selected { border-color: #ff6b00; background: #1f1505; }
.ticket-card.ticket-sold-out { opacity: 0.45; cursor: default; }

.ticket-card-left { flex: 1; }
.ticket-card-name { font-size: 0.95rem; font-weight: 600; color: #fff; margin-bottom: 2px; }
.ticket-card-batch { font-size: 0.75rem; color: #888; }
.ticket-sold-label { font-size: 0.75rem; color: #ff4444; margin-top: 4px; }

.ticket-card-right { text-align: right; flex-shrink: 0; }
.ticket-card-price { font-size: 1.05rem; font-weight: 700; color: #ff6b00; }

.ticket-qty-row {
    display: flex; align-items: center; gap: 8px;
    margin-top: 6px; justify-content: flex-end;
}

/* ===== CART BLOCK ===== */
.cart-summary-row {
    display: flex; align-items: center; gap: 8px; margin-top: 16px;
}
.cart-summary-btn {
    flex: 1; display: flex; justify-content: space-between; align-items: center;
    background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 12px;
    padding: 12px 16px; cursor: pointer; transition: border-color 0.2s;
}
.cart-summary-btn:hover { border-color: #444; }
.cart-count { font-size: 0.8rem; font-weight: 600; color: #aaa; text-transform: uppercase; letter-spacing: 0.04em; }
.cart-total-inline { font-size: 0.95rem; font-weight: 700; color: #fff; }
.cart-chevron { color: #888; font-size: 0.85rem; transition: transform 0.2s; }
.cart-chevron.open { transform: rotate(180deg); }

.cart-trash-btn {
    width: 44px; height: 44px; flex-shrink: 0;
    background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #e05050; transition: background 0.2s, border-color 0.2s;
}
.cart-trash-btn:hover { background: #2a1010; border-color: #7a2020; }

.cart-detail-panel {
    overflow: hidden; max-height: 0; opacity: 0;
    transition: max-height 0.3s ease, opacity 0.25s ease;
    background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 12px;
    margin-top: 6px;
}
.cart-detail-panel.open {
    max-height: 400px; opacity: 1; padding: 16px;
}
.cart-line {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 12px; padding-bottom: 12px;
}
.cart-line-name { font-size: 0.82rem; font-weight: 600; color: #fff; }
.cart-line-sub { font-size: 0.75rem; color: #888; margin-top: 2px; }
.cart-line-price { font-size: 0.82rem; font-weight: 700; color: #fff; white-space: nowrap; }
.cart-detail-total {
    display: flex; justify-content: space-between; align-items: center;
    border-top: 1px solid #2a2a2a; padding-top: 12px; margin-top: 4px;
    font-size: 0.9rem; font-weight: 600; color: #fff;
}
.cart-detail-total .text-orange { font-size: 1.1rem; font-weight: 800; }
.cart-cancel-note {
    font-size: 0.7rem; color: #4caf50; text-align: center;
    margin-top: 10px; font-weight: 500;
}

.btn-continuar {
    width: 100%; background: #ff6b00; border: none; color: #fff;
    font-weight: 700; font-size: 1rem; padding: 14px;
    border-radius: 12px; cursor: pointer; transition: background 0.2s;
    margin-top: 10px; box-shadow: 0 8px 24px rgba(255,107,0,0.25);
}
.btn-continuar:hover { background: #e05e00; }

/* ===== STEP 2: BUYER FORM HEADER ===== */
.checkout-step-header { margin-bottom: 20px; }
.back-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.85rem; color: #888; margin-bottom: 12px;
    transition: color 0.2s;
}
.back-link:hover { color: #fff; }
.checkout-step-header h2 { font-size: 1.1rem; font-weight: 700; }

.selected-ticket-summary {
    display: flex; justify-content: space-between; align-items: center;
    background: #1f1505; border: 1px solid #ff6b00;
    border-radius: 8px; padding: 12px 14px; margin-bottom: 16px;
    font-size: 0.9rem; font-weight: 600;
}

.alert-error {
    background: #3a1010; border: 1px solid #7a2020;
    border-radius: 6px; padding: 10px 14px;
    margin-bottom: 16px; font-size: 0.875rem; color: #ffaaaa;
}
.input-error { border-color: #ef4444 !important; }
.field-error { display: block; font-size: 0.75rem; color: #ef4444; margin-top: 4px; margin-bottom: 4px; }

/* ===== MOBILE EXTRA ===== */
@media (max-width: 480px) {
    .events-grid { padding: 12px; gap: 12px; }
    .event-details-wrapper { padding: 16px 12px; }
    .checkout-box { padding: 16px; }
    .confirm-box { margin: 24px auto; }
    .terms-content { padding: 0 16px; }
}

@media (max-width: 767px) {
    .event-details-wrapper { padding-bottom: 80px; }
    .mobile-cta-bar { display: block; }

    /* Cart block fixed at bottom on mobile */
    #cart-block {
        position: fixed; bottom: 0; left: 0; right: 0; z-index: 800;
        background: #111; border-top: 1px solid #2a2a2a;
        padding: 12px 16px 16px;
    }
    /* Push page content above the cart block */
    #checkout-form { padding-bottom: 160px; }
    /* Detail panel expands upward */
    .cart-detail-panel { position: relative; }
}

/* ===== EVENT PAGE LAYOUT ===== */
.ev-main {
    background: #0d0d0d;
    margin-left: 0 !important;
}

.ev-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
}

@media (max-width: 991px) {
    .ev-layout { grid-template-columns: 1fr; }
}

.ev-left { display: flex; flex-direction: column; }

.ev-banner {
    width: 100%; display: block; object-fit: contain;
}

.ev-info {
    padding: 28px 32px;
}

.ev-info h1 {
    font-size: 1.6rem; font-weight: 900; margin-bottom: 16px;
}

.ev-meta { margin-bottom: 20px; }
.ev-meta-item {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 6px 0; font-size: 0.9rem; color: #ccc;
}
.ev-meta-item i { color: #888; margin-top: 2px; flex-shrink: 0; }
.ev-meta-sub { font-size: 0.8rem; color: #777; margin-top: 2px; }

.ev-description {
    font-size: 0.9rem; color: #999; line-height: 1.7;
}

/* Checkout right panel */
.ev-checkout {
    background: #111;
    border-left: 1px solid #1e1e1e;
    padding: 20px;
    position: sticky;
    top: 0;
    max-height: 100vh;
    overflow-y: auto;
}

/* Coupon button */
.coupon-btn {
    width: 100%; background: #1a1a1a; border: 1px solid #2a2a2a;
    color: #888; font-size: 0.875rem; padding: 12px 16px;
    border-radius: 8px; cursor: pointer; text-align: left;
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 12px; transition: border-color 0.2s;
}
.coupon-btn:hover { border-color: #ff6b00; color: #ccc; }

/* Session accordion (parent) */
.session-accordion { margin-bottom: 12px; border: 1px solid #ff6b00; border-radius: 10px; overflow: hidden; }
.session-btn {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    background: #1a1a1a; border: none; cursor: pointer;
    padding: 14px 16px; text-align: left; transition: background 0.2s;
}
.session-btn:hover { background: #1e1e1e; }
.session-info { display: flex; flex-direction: column; gap: 2px; }
.session-day { font-size: 0.9rem; font-weight: 600; color: #fff; }
.session-time { font-size: 0.75rem; color: #888; }
.session-avail { font-size: 0.75rem; color: #2ecc71; font-weight: 600; }
.session-avail.esgotado { color: #ef4444; }
.session-chevron { color: #888; transition: transform 0.2s; }
.session-chevron.open { transform: rotate(180deg); }
.session-date { font-size: 0.78rem; color: #ccc; }

/* Multi-day session range */
.session-range { display: flex; align-items: center; gap: 12px; }
.session-range-col { display: flex; flex-direction: column; gap: 1px; }
.session-range-arrow { font-size: 0.75rem; color: #666; flex-shrink: 0; }

/* Session body — sub-menu container */
.session-body {
    background: #111;
    max-height: 4000px;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 12px;
}
.session-body.collapsed { max-height: 0; padding: 0 12px; }

/* Ticket groups (sub-menus inside session) */
.ticket-group { margin-bottom: 8px; border: 1px solid #2a2a2a; border-radius: 8px; overflow: hidden; }
.ticket-group:last-child { margin-bottom: 0; }

.ticket-group-header {
    width: 100%; background: #1a1a1a; border: none;
    padding: 14px 16px; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between;
    text-align: left; transition: background 0.2s;
}
.ticket-group-header:hover { background: #222; }

.tg-label { display: block; font-size: 0.7rem; color: #888; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
.tg-name { display: block; font-size: 0.875rem; font-weight: 700; color: #fff; }
.tg-chevron { color: #888; transition: transform 0.2s; flex-shrink: 0; }
.ticket-group-header.open .tg-chevron { transform: rotate(180deg); }

/* Category description shown inside ticket group body */
.tg-cat-desc {
    font-size: 0.78rem; color: #777; line-height: 1.5;
    padding: 12px 16px 0; margin-bottom: 0;
}

.ticket-group-body {
    background: #111; padding: 0;
    max-height: 2000px;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.ticket-group-body.collapsed { max-height: 0; }

/* Individual ticket row */
.ticket-row {
    display: flex; align-items: flex-start; justify-content: space-between;
    padding: 14px 16px; border-top: 1px solid #1e1e1e; gap: 12px;
}
.ticket-row:first-child { border-top: none; }

.ticket-row-info { flex: 1; }
.ticket-row-name { font-size: 0.9rem; font-weight: 600; color: #fff; margin-bottom: 4px; }
.ticket-row-desc {
    font-size: 0.78rem; color: #777; line-height: 1.4; margin-bottom: 6px;
    overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.ticket-row-desc.expanded { -webkit-line-clamp: unset; }
.ticket-row-price { font-size: 0.95rem; font-weight: 700; color: #ff6b00; }
.ticket-esgotado { font-size: 0.85rem; color: #ff4444; margin-top: 4px; }

.ver-mais-btn {
    background: none; border: none; color: #ff6b00;
    font-size: 0.75rem; cursor: pointer; padding: 0; margin-left: 4px;
}

.ticket-row-counter {
    display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-top: 2px;
}
.qty-val {
    min-width: 20px; text-align: center; font-size: 0.95rem; font-weight: 600; color: #fff;
}

/* Step 2 header */
.ev-step2-header { margin-bottom: 20px; }

/* Checkout steps breadcrumb */
.checkout-steps-wrap {
    position: relative; display: flex; align-items: center;
    justify-content: center; margin-bottom: 28px;
}
.back-btn {
    position: absolute; left: 0;
    width: 36px; height: 36px; border-radius: 50%;
    background: #1a1a1a; border: 1px solid #2a2a2a;
    display: flex; align-items: center; justify-content: center;
    color: #aaa; font-size: 0.95rem;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.back-btn:hover { background: #252525; border-color: #444; color: #fff; }
.checkout-steps {
    display: flex; align-items: center; gap: 8px; font-size: 0.8rem;
}
.checkout-steps .step-active { color: #ff6b00; font-weight: 600; }
.checkout-steps .step-inactive { color: #555; }
.checkout-steps .step-sep { color: #333; }

/* Participantes section */
.checkout-section {
    background: #1a1a1a; border: 1px solid #2a2a2a;
    border-radius: 12px; overflow: hidden; margin-bottom: 16px;
}
.checkout-section-header {
    display: flex; align-items: center; gap: 12px;
    padding: 16px; background: #141414;
    border-bottom: 1px solid #2a2a2a;
}
.checkout-section-icon {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,107,0,0.12);
    display: flex; align-items: center; justify-content: center;
    color: #ff6b00; flex-shrink: 0;
}
.checkout-section-title { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; color: #fff; }
.checkout-section-sub { font-size: 0.75rem; color: #666; margin-top: 2px; }
.checkout-section-body { padding: 16px; }

/* Participant sub-row */
.participant-row {
    border: 1px solid #2a2a2a; border-radius: 8px;
    padding: 14px; margin-bottom: 12px;
}
.participant-row:last-child { margin-bottom: 0; }
.participant-label {
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em;
    color: #ff6b00; font-weight: 600; margin-bottom: 10px;
}

/* Phone input with prefix */
.phone-wrap {
    display: flex; border: 1px solid #2c2c2c; border-radius: 8px; overflow: hidden;
    transition: border-color 0.2s;
}
.phone-wrap:focus-within { border-color: #ff6b00; }
.phone-prefix {
    padding: 0 12px; background: #141414; border-right: 1px solid #2c2c2c;
    font-size: 0.85rem; color: #888; display: flex; align-items: center;
    white-space: nowrap; flex-shrink: 0;
}
.phone-wrap input {
    flex: 1; border: none !important; border-radius: 0 !important;
    background: transparent !important;
}
.phone-wrap input:focus { box-shadow: none !important; }

/* Checkout standalone page */
.checkout-page {
    max-width: 900px;
    margin: 32px auto;
    padding: 0 16px 80px;
}
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
}
.checkout-main { min-width: 0; }
.checkout-summary { position: sticky; top: 16px; }

@media (max-width: 767px) {
    .checkout-layout { grid-template-columns: 1fr; }
    .checkout-summary { order: -1; }
}

/* Digital ticket badge */
.digital-ticket-badge {
    background: rgba(34,197,94,0.08);
    border: 1px solid rgba(34,197,94,0.25);
    border-radius: 12px; padding: 16px; margin-bottom: 8px;
}
.dtb-header {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.85rem; font-weight: 700; color: #22c55e; margin-bottom: 6px;
}
.dtb-sub { font-size: 0.78rem; color: rgba(34,197,94,0.7); margin-bottom: 10px; }
.dtb-features { display: flex; flex-direction: column; gap: 4px; }
.dtb-feature { font-size: 0.78rem; color: #22c55e; display: flex; align-items: center; gap: 6px; }

/* Payment option cards */
.payment-options { display: flex; flex-direction: column; gap: 12px; }
.payment-option {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 16px;
    padding: 18px; cursor: pointer; text-align: left; transition: border-color 0.2s;
    gap: 12px;
}
.payment-option:hover { border-color: #3a3a3a; }
.payment-option.selected { border-color: #ff6b00; }
.payment-option-icon {
    width: 46px; height: 46px; border-radius: 50%;
    background: #222; display: flex; align-items: center; justify-content: center;
    color: #aaa; font-size: 1.2rem; flex-shrink: 0;
}
.payment-option-icon.pix-icon { background: rgba(50,188,173,0.1); }
.payment-option-title { font-size: 0.9rem; font-weight: 700; color: #fff; text-transform: uppercase; }
.payment-option-sub { font-size: 0.78rem; color: #666; margin-top: 2px; }
.payment-option-radio {
    width: 22px; height: 22px; border-radius: 50%; border: 2px solid #444;
    flex-shrink: 0; transition: border-color 0.2s; position: relative;
}
.payment-option.selected .payment-option-radio {
    border-color: #ff6b00;
}
.payment-option.selected .payment-option-radio::after {
    content: ''; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 10px; height: 10px; border-radius: 50%; background: #ff6b00;
}
.payment-option-disabled {
    opacity: 0.5; cursor: pointer;
}
.payment-option-disabled:hover { border-color: #2a2a2a; }

.pix-badge {
    background: rgba(34,197,94,0.15); color: #22c55e;
    font-size: 0.65rem; font-weight: 800; text-transform: uppercase;
    padding: 2px 8px; border-radius: 999px; letter-spacing: 0.05em;
}
