/* Default Modal */
.popup__container,.popup__layout {
    height: 100%;
    visibility: visible;
    left: 0
}

.popup__body,.popup__container:before {
    display: inline-block;
    vertical-align: middle
}

html.with--no_scroll {
    overflow: hidden;
    margin-right: 17px
}

.popup__layout {
    position: fixed;
    top: 0;
    width: 100%;
    background: #000;
    z-index: 1000;
    will-change: top;
    opacity: .75;
    -webkit-transition: opacity .3s cubic-bezier(.2, 0, .2, 1),visibility;
    transition: opacity .3s cubic-bezier(.2, 0, .2, 1),visibility
}

.popup__container {
    position: fixed;
    top: 0;
    width: 100%;
    -webkit-perspective: 600px;
    perspective: 600px;
    z-index: 1001;
    text-align: center;
    overflow-y: scroll;
    padding: 50px 0
}

.popup__container:before {
    content: '';
    height: 100%
}

.popup__body {
    background-color: #fff;
    pointer-events: auto;
    position: relative;
    min-width: 380px;
    margin: 0 auto 0 -3px;
    -webkit-transition: .3s cubic-bezier(.2, 0, .2, 1),visibility;
    transition: .3s cubic-bezier(.2, 0, .2, 1),visibility;
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
    padding: 20px;
    max-width: 600px
}

.modal-close,.popup__close {
    position: absolute;
    top: 0;
    border: 0;
    right: 0
}

.popup__close {
    font-size: 1.2rem;
    cursor: pointer;
    color: #fff;
    background: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTQgMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik02Ljk5OTk5IDUuNTg1MThMMi4wNTA4IDAuNjM1OTg2TDAuNjM2NTg1IDIuMDUwMkw1LjU4NTc3IDYuOTk5MzlMMC42MzUzNzYgMTEuOTQ5OEwyLjA0OTU5IDEzLjM2NEw2Ljk5OTk5IDguNDEzNkwxMS45NTAzIDEzLjM2MzlMMTMuMzY0NSAxMS45NDk3TDguNDE0MiA2Ljk5OTM5TDEzLjM2MzMgMi4wNTAyOUwxMS45NDkxIDAuNjM2MDc5TDYuOTk5OTkgNS41ODUxOFoiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPg==") 50% 50%/13px no-repeat #22252d;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center
}

.popup__close:hover {
    background-color: #f53338
}

.popup__heading {
    line-height: 21px;
    margin: 0 0 15px;
    color: #000;
    font-weight: 700;
    text-align: center;
    font-size: 1.5em
}

.promo__text {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto
}

.promo__image {
    max-width: 600px;
    margin-top: 30px;
    width: 100%
}

@media (max-width: 768px) {
    .popup__container {
        padding:20px
    }

    .popup__body {
        min-width: auto
    }

    .promo__image {
        max-width: 100%;
        margin-top: 10px
    }

    html.with--no_scroll {
        margin-right: 0
    }
}


/* Promocode Modal */
.modal__promo {
    max-width: 380px;
    background-color: rgba(106, 90, 205, .95);
    padding: 0.75em 1em;
    line-height: 1.25em;
    color: #fff;
}

.promo-popup-box {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 8px;
}

.promo-popup-item {
    font-size: 16px;
    display: flex;
    gap: 12px;
    line-height: 1.4;
    font-weight: 400;
}

.promo-popup-item:before {
    display: inline-flex;
    width: 26px;
    height: 26px;
    border: 1px solid #228FFC;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.promo-popup-item__1:before {
    content: "1";
}

.promo-popup-item__2:before {
    content: "2";
}

.promo-popup-item__3:before {
    content: "3";
}

.promo-popup-code {
    padding: 3px 8px;
    background: #fff;
    border: 1px dashed #ff4747;
    font-weight: bold;
    font-size: 14px;
    color: #ff4747;
    margin: 0 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.promo-popup-item img {
    vertical-align: top;
}