/* =============================================
   HERO EVENTO — shortcode [hero_evento]
   Página single do evento — Enjoy Ticket 2026
   ============================================= */

/* ── Container principal ────────────────────── */
.hev {
    position: relative;
    width: 100%;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Fallback gradient quando não há thumbnail */
    background: linear-gradient(135deg, #2a1a0e 0%, #7a3a10 30%, #c87a30 65%, #e8b870 85%, #f5d8a0 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Borda inferior direita arredondada — igual ao HTML de referência */
    border-radius: 0 0 20px 0;
    overflow: hidden;
}

/* Gradiente colorido alternativo quando não há imagem */
.hev--no-thumb {
    background: linear-gradient(135deg, #1a0a2e 0%, #6b1a5a 40%, #e41f69 80%, #eb6928 100%);
}

/* ── Decoração (círculos translúcidos) ──────── */
.hev__deco {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.hev__deco::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.hev__deco::after {
    content: '';
    position: absolute;
    bottom: 30px;
    left: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.08);
}

/* ── Overlay gradiente (legibilidade) ───────── */
.hev__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.68) 0%,
        rgba(0, 0, 0, 0.25) 40%,
        rgba(0, 0, 0, 0.05) 70%,
        transparent 100%
    );
    z-index: 2;
}

/* ── Conteúdo inferior ──────────────────────── */
.hev__bottom {
    position: relative;
    z-index: 3;
    padding: 28px 32px;
}

/* ── Tags de categoria ──────────────────────── */
.hev__tags {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.hev__tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 11px;
    border-radius: 999px;
    line-height: 1.4;
}

/* Primeira tag em rosa */
.hev__tag--pink {
    background: #E41F69;
    border-color: #E41F69;
}

/* ── Título do evento ───────────────────────── */
.hev__title {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    margin-bottom: 8px;
}

/* ── Local ──────────────────────────────────── */
.hev__location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 400;
    line-height: 1.4;
}

.hev__location svg {
    flex-shrink: 0;
    opacity: 0.8;
}

/* ── Botão de compartilhar ──────────────────── */
.hev__share-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s, transform 0.15s !important;
    padding: 0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hev__share-btn:hover {
    background: rgba(255, 255, 255, 0.28) !important;
    transform: scale(1.05);
}

.hev__share-btn:active {
    transform: scale(0.95);
}

@media (max-width: 480px) {
    .hev__share-btn {
        top: 16px;
        right: 16px;
        width: 36px;
        height: 36px;
    }
    .hev__share-btn svg {
        width: 15px;
        height: 15px;
    }
}

/* ── Responsivo ─────────────────────────────── */
@media (max-width: 900px) {
    .hev {
        min-height: 300px;
        border-radius: 0;
    }

    .hev__bottom {
        padding: 20px;
    }

    .hev__title {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .hev {
        min-height: 260px;
    }

    .hev__title {
        font-size: 1.4rem;
    }

    .hev__bottom {
        padding: 16px;
    }
}

/* ── Correção do Cabeçalho Fixo (Sticky Header) e Sobreposições ──────── */
#Header,
#Header.is-sticky,
#mfn-header-template,
#mfn-header-template.is-sticky,
.mfn-header-template,
.mfn-header-template.is-sticky {
    z-index: 99999 !important;
}

#Header.is-sticky,
#mfn-header-template.is-sticky {
    background-color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
}

#Header.is-sticky .mcb-section-inner,
#mfn-header-template.is-sticky .mcb-section-inner {
    background-color: #ffffff !important;
}

/* Garante que o cabeçalho receba cliques e links funcionem */
#Header,
#mfn-header-template {
    pointer-events: auto !important;
}

/* Corrige o recuo de conteúdo da página para que não fique sob o cabeçalho de forma desalinhada */
.mfn-header-body-offset #Content {
    padding-top: 0 !important;
}

/* Esconde o Subheader padrão do tema BeTheme para evitar títulos duplicados/sobrepostos */
body.single-product #Subheader {
    display: none !important;
}
