#upsell-popup{
    z-index: 9999999999;
}

#upsell-popup .st-modal-content{
    width: 40vw;
    height: max-content;
}

#upsell-popup .st-modal-content h4{
    margin: 0px;
    margin-bottom: 20px;
}

#upsell-popup label{
    background: var(--green-grey-150);
    border-radius: 24px;
    padding: 20px;
    position: relative;
    border: 2px solid var(--green-grey-250);
    margin-top: 40px;
    margin-bottom: 40px;
    cursor: pointer;
}

#upsell-popup label h2{
    margin: 0px;
    margin-bottom: 5px;
}

#upsell-popup label:hover,
#upsell-popup label:has(input:checked){
    border-color: var(--main-green-light);
}

.upsell-popup-price{
    margin-bottom: 15px;
}

#upsell-popup .onsale{
    display: block;
    text-align: center;
    top: 0;
    left: 50%;
    transform: translate(-50%,-50%);
}

#upsell-popup img{
    width: 100px;
}

#upsell-popup input{
    flex-shrink: 0;
}

#upsell-popup s{
    opacity: 0.3;
    font-size: 16px;
}

#upsell-popup .upsell-popup-description{
    margin-bottom: 40px;
    display: none;
    background: var(--grey-200);
    border-radius: 20px;
    padding: 30px 40px;
}


.upsell-popup-skip{
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
}

.upsell-popup-skip:hover{
    text-decoration: underline;
}

.upsell-popup-submit{
    width: 60%;
}

.upsell-popup-submit.disabled,
.upsell-popup-submit.disabled:before,
.upsell-popup-submit.disabled:hover,
.upsell-popup-submit.disabled:visited{
    cursor: not-allowed;
    opacity: 0.5;
}

.upsell-popup-submit.disabled:hover{
    box-shadow: inset 0 0 0 60px var(--btn-backgorund);
    background: var(--btn-backgorund);
    color: var(--btn-color);
}

.upsell-popup-submit:not(.disabled) > span:first-child,
.upsell-popup-submit.disabled > span:last-child{
    display: none;
}

.upsell-popup-submit i {
    display: inline-block;
}

.upsell-popup-products-wrap.st-grid-3{
    --st-gap: 20px;
}

@media(max-width: 540px){
    #upsell-popup .st-modal-content{
        width: 95%;
    }

    .upsell-popup-products-wrap.st-grid-3{
        --st-gap: 5px;
    }

    #upsell-popup label{
        padding: 30px 10px 10px 10px;
        margin-top: 30px;
    }

    #upsell-popup .upsell-popup-description{
        padding: 20px 30px;
    }

    #upsell-popup .onsale{
        width: 100%;
    }

    #upsell-popup .onsale > span:nth-child(1)  {
        padding: 6px 10px;
        font-size: 12px;
    }

    #upsell-popup s{
        font-size: 14px;
    }

    .up-cur-desc{
        font-size: 13px;
        display: block;
        text-align: center;
        top: -10px;
    }
}