.box-popup-lock {
    overflow: hidden;
}

.box-popup-layer {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
}

.box-popup-layer.is-open {
    opacity: 1;
    pointer-events: auto;
}

.box-popup {
    position: relative;
    width: min(420px, 100%);
    background: #ECECEC;
    border: 1px solid #D1D1D1;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    color: var(--box-color-black, #000);
    font-family: var(--e-global-typography-primary-font-family), "AeonikPro", Sans-serif;
    font-size: 16px;
    line-height: 1.45;
    transform: translateY(8px);
    transition: transform 0.24s ease;
}

.box-popup-layer.is-open .box-popup {
    transform: translateY(0);
}

.box-popup-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    background: transparent !important;
    border: 0 !important;
    color: #000;
    cursor: pointer;
    line-height: 1;
}

.box-popup-close::before,
.box-popup-close::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 1px;
    background: currentColor;
}

.box-popup-close::before {
    transform: rotate(45deg);
}

.box-popup-close::after {
    transform: rotate(-45deg);
}

.box-popup-close:hover,
.box-popup-close:focus {
    background: transparent !important;
    color: #000;
    outline: none;
}

.box-popup-body {
    padding: 58px 40px 38px;
    color: inherit;
    font: inherit;
}

.box-popup-message {
    margin: 0;
    color: inherit;
    font: inherit;
}

@media (max-width: 767px) {
    .box-popup-layer {
        align-items: flex-end;
        padding: 16px;
    }

    .box-popup {
        width: 100%;
    }

    .box-popup-body {
        padding: 54px 28px 32px;
    }
}
