.popup-container {
    --transition-duration: 0.3s;
    --padding-y: 70px;

    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.popup-container:not(.active) {
    pointer-events: none;
    opacity: 0;
    transform: scale(0);
    transition-delay: var(--transition-duration);
}

.popup {
    max-width: 450px;
    width: 100%;
    height: 100%;
    padding: var(--padding-y) 15px;
    background: var(--white);
}

.popup-side {
    margin-left: auto;
    transform: translateX(200%);
    transition: transform var(--transition-duration) ease;
}

.popup-container.active .popup-side {
    transform: none;
}

.popup__wrapper {
    height: 100%;
    overflow: auto;
    scrollbar-width: none;
}

/* WebKit */
.popup__wrapper::-webkit-scrollbar {
    display: none;
}

.popup__header {
    position: relative;
    display: flex;
    margin-bottom: 30px;
}

.popup__close {
    /* position: relative; */
    width: 20px;
    height: 20px;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: none;
}

.popup__close::before,
.popup__close::after {
/*     content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 1px;
    background: var(--black3);
    transform: translate(-50%, -50%) rotate(45deg); */
}

.popup__close::after {
   /*  transform: translate(-50%, -50%) rotate(-45deg); */
}

.popup__title {
    font-size: 24px;
    line-height: 1.2;
}

.popup__body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    padding-bottom: var(--padding-y);
}

@media (min-width: 450px) {
    .popup {
        padding-left: 74px;
        padding-right: 74px;
    }
}
