html.eep-no-scroll,
html.eep-no-scroll body {
    overflow: hidden !important;
}

.eep-popup {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
    box-sizing: border-box;
}

.eep-popup.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.eep-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .68);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.eep-popup__dialog {
    position: relative;
    z-index: 2;
    width: min(92vw, 980px);
    max-height: calc(100vh - 48px);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(10px) scale(.985);
    opacity: 0;
    transition: transform .22s ease, opacity .22s ease;
}

.eep-popup.is-open .eep-popup__dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.eep-popup__content,
.eep-popup__picture {
    display: block;
    width: 100%;
}

.eep-popup__content {
    text-align: center;
}

.eep-popup__image {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 48px);
    object-fit: contain;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 20px 70px rgba(0, 0, 0, .28);
}




.eep-popup__actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.eep-popup__button {
    min-height: 46px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-decoration: none !important;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    transition: transform .15s ease, opacity .15s ease, box-shadow .15s ease;
}

.eep-popup__button--primary {
    border: 1px solid var(--eep-primary-border, #111111);
    border-radius: var(--eep-primary-radius, 8px);
    background: var(--eep-primary-bg, #111111);
    color: var(--eep-primary-color, #ffffff) !important;
    font-size: var(--eep-primary-font, 15px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
}

.eep-popup__button--primary:hover {
    color: var(--eep-primary-color, #ffffff) !important;
    opacity: .92;
    transform: translateY(-1px);
}

.eep-popup__button--close {
    display: inline-flex;
    border: 1px solid var(--eep-close-border, #d9d9d9);
    border-radius: var(--eep-close-radius, 8px);
    background: var(--eep-close-bg, #ffffff);
    color: var(--eep-close-color, #111111);
    font-size: var(--eep-close-font, 15px);

    min-width: 100px;
}

.eep-popup__button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .eep-popup {
        padding: 24px;
    }

    .eep-popup__dialog {
        width: min(82vw, 460px);
        max-height: calc(100vh - 48px);
    }

    .eep-popup__content {
        width: 100%;
    }

    .eep-popup__picture {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .eep-popup__image {
        width: 100%;
        max-height: 62vh;
        border-radius: 8px;
        object-fit: contain;
    }

    .eep-popup__actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        margin-top: 12px;
    }

    .eep-popup__button {
        width: 100%;
        min-height: 46px;
        padding: 11px 15px;
    }

    .eep-popup__button--close {
        display: inline-flex;
        width: auto;
        min-width: 88px;
    }

    .eep-popup__actions .eep-popup__button--primary:only-child {
        grid-column: 1 / -1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .eep-popup,
    .eep-popup__dialog,
    

}
