
.dizza-eventos-shortcode,
.dizza-eventos-shortcode * {
    box-sizing: border-box;
}

.dizza-eventos-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 56px;
    padding: 14px 28px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff2f86 0%, #f02f96 55%, #e92bb4 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 7px 0 rgba(180, 25, 99, .25), 0 18px 35px rgba(255, 47, 134, .22);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.dizza-eventos-button:hover,
.dizza-eventos-button:focus {
    transform: translateY(-2px);
    filter: saturate(1.08);
    box-shadow: 0 9px 0 rgba(180, 25, 99, .22), 0 20px 42px rgba(255, 47, 134, .28);
    color: #fff;
}

.dizza-eventos-button-icon {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: rgba(255,255,255,.18);
    font-size: 19px;
}

.dizza-eventos-content-trigger {
    display: inline-block;
    width: auto;
    max-width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    appearance: none;
}

.dizza-eventos-content-trigger img {
    display: block;
    max-width: 100%;
    height: auto;
}

.dizza-eventos-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(24, 18, 44, .58);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
}

.dizza-eventos-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.dizza-eventos-modal {
    position: relative;
    width: min(760px, 100%);
    max-height: min(86vh, 860px);
    overflow: auto;
    border: 1px solid rgba(255, 202, 88, .38);
    border-radius: 34px;
    background:
        radial-gradient(circle at 18% 8%, rgba(255, 222, 96, .34), transparent 25%),
        radial-gradient(circle at 90% 15%, rgba(255, 47, 134, .13), transparent 22%),
        linear-gradient(180deg, #fff8df 0%, #fffdf7 100%);
    box-shadow: 0 28px 80px rgba(32, 21, 73, .32);
    padding: 34px;
    transform: translateY(16px) scale(.98);
    transition: transform .22s ease;
}

.dizza-eventos-overlay.is-open .dizza-eventos-modal {
    transform: translateY(0) scale(1);
}

.dizza-eventos-modal:before {
    content: '';
    display: block;
    position: absolute;
    left: 28px;
    right: 28px;
    top: 18px;
    height: 10px;
    border-radius: 999px;
    background: repeating-linear-gradient(90deg, #ff2f86 0 44px, #ffd52e 44px 88px, #39c96d 88px 132px, #20b9ff 132px 176px, #6b35d9 176px 220px);
    opacity: .95;
}

.dizza-eventos-close {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 47, 134, .22);
    border-radius: 999px;
    background: #ffffff;
    color: #ff2f86;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(67, 38, 142, .14);
    transition: transform .18s ease, color .18s ease, background .18s ease, border-color .18s ease;
}

.dizza-eventos-close-svg {
    width: 18px;
    height: 18px;
    display: block;
    flex: 0 0 18px;
}

.dizza-eventos-close:hover,
.dizza-eventos-close:focus {
    transform: translateY(-1px);
    background: #ff2f86;
    border-color: #ff2f86;
    color: #fff;
}

.dizza-eventos-header {
    display: grid;
    grid-template-columns: 126px 1fr;
    gap: 18px;
    align-items: center;
    padding: 22px 62px 22px 0;
}

.dizza-eventos-header.no-logo {
    grid-template-columns: 78px 1fr;
}

.dizza-eventos-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 118px;
    min-height: 78px;
    padding: 10px 12px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(107, 53, 217, .10);
    box-shadow: 0 12px 28px rgba(67, 38, 142, .10);
}

.dizza-eventos-brand img {
    display: block;
    width: 100%;
    max-width: 94px;
    height: auto;
}

.dizza-eventos-badge {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    border-radius: 24px;
    background: linear-gradient(135deg, #ffe682, #ff2f86);
    box-shadow: 0 12px 28px rgba(255, 47, 134, .18);
    font-size: 34px;
}

.dizza-eventos-header h2 {
    margin: 0 0 7px;
    color: #43268e;
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 900;
    letter-spacing: -.04em;
    line-height: .98;
}

.dizza-eventos-header p {
    margin: 0;
    color: #162c61;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 700;
    line-height: 1.35;
}

.dizza-eventos-list {
    display: grid;
    gap: 14px;
    margin-top: 8px;
}

.dizza-eventos-card {
    position: relative;
    display: grid;
    gap: 8px;
    padding: 18px 18px 18px 22px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(107, 53, 217, .12);
    box-shadow: 0 12px 34px rgba(67, 38, 142, .08);
    overflow: hidden;
}

.dizza-eventos-card:before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 8px;
    background: linear-gradient(180deg, #ff2f86, #ffd52e, #20b9ff);
}

.dizza-eventos-date {
    width: max-content;
    max-width: 100%;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 47, 134, .12);
    color: #e01f78;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.dizza-eventos-card h3 {
    margin: 0;
    color: #43268e;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.14;
}

.dizza-eventos-card p {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin: 0;
    color: #243763;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.dizza-eventos-footer-text,
.dizza-eventos-empty {
    margin: 18px 0 0;
    padding: 16px 18px;
    border-radius: 22px;
    background: rgba(255, 224, 103, .32);
    color: #162c61;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.45;
}

.dizza-eventos-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 18px;
    min-height: 54px;
    padding: 14px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #35d36d, #18b85b);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 17px;
    font-weight: 900;
    box-shadow: 0 14px 30px rgba(24, 184, 91, .22);
    transition: transform .18s ease, filter .18s ease;
}

.dizza-eventos-cta:hover,
.dizza-eventos-cta:focus {
    transform: translateY(-2px);
    filter: saturate(1.08);
}

.dizza-eventos-deco {
    position: absolute;
    pointer-events: none;
    user-select: none;
    font-weight: 900;
}

.dizza-eventos-deco-1 {
    right: 82px;
    top: 64px;
    color: #ff2f86;
    font-size: 28px;
    transform: rotate(15deg);
}

.dizza-eventos-deco-2 {
    left: 30px;
    bottom: 22px;
    color: #ffd52e;
    font-size: 31px;
    transform: rotate(-15deg);
}

body.dizza-eventos-no-scroll {
    overflow: hidden;
}

@media (max-width: 600px) {
    .dizza-eventos-overlay {
        align-items: center;
        justify-content: center;
        padding: 16px;
    }

    .dizza-eventos-modal {
        width: 100%;
        max-height: calc(100dvh - 32px);
        margin: auto;
        border-radius: 28px;
        padding: 26px 18px 20px;
    }

    .dizza-eventos-header {
        grid-template-columns: 92px 1fr;
        gap: 12px;
        padding: 22px 50px 18px 0;
    }

    .dizza-eventos-header.no-logo {
        grid-template-columns: 56px 1fr;
    }

    .dizza-eventos-brand {
        width: 88px;
        min-height: 56px;
        padding: 8px 10px;
        border-radius: 18px;
    }

    .dizza-eventos-brand img {
        max-width: 68px;
    }

    .dizza-eventos-badge {
        width: 54px;
        height: 54px;
        border-radius: 18px;
        font-size: 25px;
    }

    .dizza-eventos-close {
        top: 18px;
        right: 16px;
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
    }

    .dizza-eventos-close-svg {
        width: 16px;
        height: 16px;
    }

    .dizza-eventos-card {
        padding: 16px 15px 16px 19px;
    }

    .dizza-eventos-card h3 {
        font-size: 18px;
    }

    .dizza-eventos-card p,
    .dizza-eventos-footer-text,
    .dizza-eventos-empty {
        font-size: 14px;
    }

    .dizza-eventos-button {
        width: 100%;
        min-height: 52px;
        font-size: 16px;
    }
}


@supports not (height: 100dvh) {
    @media (max-width: 600px) {
        .dizza-eventos-modal {
            max-height: calc(100vh - 32px);
        }
    }
}
