.popup.is-present {
    max-width: 600px;
    background-color: transparent;
    /*border-radius: 42px;*/
    box-shadow: 0 0 40px 0 #FFFFFF;
    padding: 0;
}
.jqmWindow{
    /*background-color: transparent;*/
    /*box-shadow: 0 0 40px 0 #FFFFFF;*/
    padding: 0 !important;
    border-radius: 32px !important;
}
.popup.is-qr {
    max-width: 328px;
    border-radius: 20px;
}

.popup.is-present .jqmClose {
    display: none;
}

.popup.is-present > .scrollbar {
    /*border-radius: 42px;*/
    overflow: hidden;
}

.popup.is-qr > .scrollbar {
    border-radius: 20px;
}

.present {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 36px 21px 32px;
    border: 1px solid;
    border-image-source: linear-gradient(180deg, #AD7BFA 0%, #3C095D 100%);
    background-color: #47185b;
    /*border-radius: 42px;*/
}

.present__title {
    font-size: 33px;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
    color: #E1B76D;
}

.present__description {
    font-size: 16px;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
    color: #E1B76D;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.present__receive {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-align: center;
    color: #fff;
    margin-bottom: 10px;
}

.present__phone {
    display: flex;
    align-items: center;
    background-color: #fff;
    column-gap: 10px;
    padding: 6px;
    border-radius: 8px;
    margin-bottom: 10px;
    max-width: 376px;
}

.present__phone input {
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    color: #441A5E;
    padding: 0 0 0 9px;
    border: none;
    background-color: transparent;
    width: 211px;
}

.present__phone input:focus {
    background-color: transparent !important;
    border: none !important;
}

.present__button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 33px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    color: #441A5E;
    background-color: #E2B66D;
    border: none;
    transition: color 0.3s ease, background-color 0.3s ease, opacity 0.3s ease;
    margin: 0;
    cursor:pointer;
}

.present__button:hover,
.present__button:focus {
    background-color: #441A5E;
    color: #E2B66D;
}

.present__close {
    border: none;
    padding: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-align: center;
    color: #C497E0;
    border-bottom: 1px solid #C497E0;
    background-color: transparent;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.present__close:hover,
.present__close:focus {
    opacity: 0.2;
}

.present__input-error {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-align: left;
    display: none;
    margin-bottom: 10px;
    color: red;
    max-width: 376px;
}

.present__invisible {
    display: none;
}

.present.present--code {
    padding: 55px 40px 40px;
}

.present.present--code .present__title {
    text-transform: uppercase;
    margin-bottom: 14px;
}

.present.present--code .present__receive {
    margin-bottom: 24px;
}

.present__entered-phone {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.present__entered-phone span {
    font-size: 33px;
    font-weight: 700;
    line-height: 30px;
    color: #E1B76D;
}

.present__back {
    position: absolute;
    right: -55px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.present__back:hover,
.present__back:focus {
    opacity: 0.7;
}

.present__input-code {
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    text-align: center;
    padding: 20px;
    color: #441A5E;
    border-radius: 8px;
    background-color: #fff;
    margin-bottom: 20px;
    -moz-appearance: textfield;
    border: none;
    width: 242px    ;
}

.present__input-code::-webkit-outer-spin-button,
.present__input-code::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.present__timer {
    font-size: 16px;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
    color: #E1B76D;
    margin-bottom: 25px;
}

.present__repeat {
    border: none;
    padding: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-align: center;
    color: #C497E0;
    border-bottom: 1px solid #C497E0;
    background-color: transparent;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    margin-bottom: 44px;
}

.present__repeat:hover,
.present__repeat:focus {
    opacity: 0.2;
}

.present__policy {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-align: center;
    color: #fff;
    margin: 0;
}

.present__policy a {
    color: #C497E0;
    transition: opacity 0.3s ease;
}

.present__policy a:hover,
.present__policy a:focus {
    opacity: 0.7;
    color: #C497E0;
}

.present.present--qr {
    border-radius: 20px;
    padding: 40px 30px;
}

.present__qr {
    width: 242px;
    height: 241px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.present__qr img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.present__discount {
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    text-align: center;
    color: #fff;
    margin-bottom: 30px;
}

.present__discount a {
    color: #E2B66D;
    transition: opacity 0.3s ease;
}

.present__discount a:hover,
.present__discount a:focus {
    opacity: 0.7;
    color: #E2B66D;
}

.present__qr-close:hover,
.present__qr-close:focus {
    background-color: #E2B66D;
    color: #441A5E;
    opacity: 0.7;
}
.present__amount{
    width: 100%;
    display: flex;
    overflow: hidden;
}
.present__amount img{
    width: 100%;
    height: auto;
}
@media (max-width: 991px) {
    .popup.is-present {
        max-width: 328px;
    }

    .present {
        padding: 18px 21px 24px;
    }

    .present__title {
        font-size: 22px;
    }

    .present__amount {
        width: 100%;
        margin-bottom: 9px;
    }

    .present__amount img {
        width: 100%;
        height: auto;
    }

    .present__description {
        line-height: 18px;
        margin-bottom: 15px;
    }

    .present__receive {
        font-size: 12px;
        line-height: 16px;
        margin-bottom: 20px;
    }

    .present__phone {
        max-width: 288px;
    }

    .present__phone input {
        width: 148px;
    }

    .present__get {
        padding-left: 21px;
        padding-right: 21px;
        font-size: 14px;
        line-height: 19px;
    }

    .present.present--code {
        padding: 20px 20px 30px;
    }

    .present__entered-phone span {
        font-size: 20px;
    }

    .present__timer {
        line-height: 18px;
        margin-bottom: 10px;
    }

    .present__repeat {
        margin-bottom: 29px;
    }

    .present__policy {
        font-size: 12px;
        line-height: 16px;
    }

    .present__back {
        right: -50px;
    }
}