.order-modal{
    padding: 0 !important;
    /*display: none;*/
    border-radius: 20px;
    overflow: hidden;
}
.order-modal .fancybox-close-small{
    display: none !important;
}
.order-modal__inner{
    display: flex;
    flex-direction: column;
    padding: 56px 80px;

    gap: 40px;

    background: #FFF;
    border-radius: 20px;

    max-width: 915px;
    overflow: hidden;
}

.order-modal__header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.order-modal__caption{
    width: 100%;
    margin-top: 24px;
    color: #2B1B35;
    font-size: 18px;
    line-height: 22px;
}

.order-modal__title{
    color: #2B1B35;
    font-size: 40px;
    font-family: var(--font-family-b);
    line-height: 48px;
}

.order-modal__close{
    cursor: pointer;
}
h2.order-modal__title{
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 24px;
}
.order-modal__form-body{
    display: flex;
    gap: 16px;
}
/*.order-modal__form [type=radio]{*/
/*    display: none;*/
/*}*/
.is-toggler .order-modal__form-body{
    display: none;
}

.is-toggler.is-active .order-modal__form-body{
    display: flex;
    margin-top: 40px;
}

.order-modal__form-data{
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    width: 30%;
    position: relative;
    padding-left: 24px;

    gap: 12px;

    color: #2B1B35;
    font-size: 18px;
    line-height: 22px;
}
.order-modal__form-data b{
    color: #2B1B35;
    font-family: var(--font-family-sm);
    line-height: 24px;
}
.order-modal__form-data::before{
    content: '';
    width: 18px;
    height: 20px;
    display: block;
    flex-shrink: 0;
    position: absolute;
    left: 0;
    top: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='20' viewBox='0 0 18 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15.364 4.63604C13.6761 2.94821 11.3869 2 9 2C6.61305 2 4.32387 2.94821 2.63604 4.63604C0.948212 6.32387 0 8.61305 0 11C0 13.3869 0.948212 15.6761 2.63604 17.364C4.32387 19.0518 6.61305 20 9 20C11.3869 20 13.6761 19.0518 15.364 17.364C17.0518 15.6761 18 13.3869 18 11C18 8.61305 17.0518 6.32387 15.364 4.63604ZM9 17.75C7.20979 17.75 5.4929 17.0388 4.22703 15.773C2.96116 14.5071 2.25 12.7902 2.25 11C2.25 9.20979 2.96116 7.4929 4.22703 6.22703C5.4929 4.96116 7.20979 4.25 9 4.25C10.7902 4.25 12.5071 4.96116 13.773 6.22703C15.0388 7.4929 15.75 9.20979 15.75 11C15.75 12.7902 15.0388 14.5071 13.773 15.773C12.5071 17.0388 10.7902 17.75 9 17.75ZM10.125 6.87463C10.125 6.2533 9.62132 5.74963 9 5.74963H8.99212C8.3708 5.74963 7.86712 6.2533 7.86712 6.87463C7.86712 7.49595 8.3708 7.99963 8.99212 7.99963H9C9.62132 7.99963 10.125 7.49595 10.125 6.87463ZM10.125 9.875H7.875C7.875 9.875 7.875 10.2001 7.875 10.4375V14.0004C7.875 14.3009 7.875 16.625 7.875 16.625H10.125C10.125 16.625 10.125 14.6217 10.125 14.0004L10.125 10.4375C10.125 9.81618 10.125 9.875 10.125 9.875Z' fill='%232B1B35'/%3E%3C/svg%3E%0A");
}
.order-modal__form-main{
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1 1 auto;
}

.order-modal__form-input{
    padding: 15px 12px;
    border-radius: 6px;
    border: 1px solid #E4E7EB;
    color: #2B1B35;
    font-size: 20px;
    transition: 0.5s;
}

.order-modal__form-input.error{
    border-color: red;
}

.error-message {
    margin-top: -20px;
    color: red;
}

.jq-checkbox.error .jq-checkbox__div{
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='23' height='23' rx='4.5' fill='white' stroke='%23FF0101'/%3E%3C/svg%3E%0A");
}

.order-modal__form-input::placeholder{
    color: rgba(43, 27, 53, 0.5);
    font-size: 20px;
}

.order-modal__form-input:focus{
    transition: 0.5s;
    border-color: #0049bc;
}

.order-modal__form-footer{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 40px;

    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #E4E7EB;
}

.order-modal__form-policy .jq-checkbox__div{
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='23' height='23' rx='4.5' fill='white' stroke='%23E4E7EB'/%3E%3C/svg%3E%0A");
}


.order-modal__form-policy .jq-checkbox{
    flex-shrink: 0;
}
.order-modal__form-policy .jq-checkbox.checked .jq-checkbox__div{
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='23' height='23' rx='4.5' fill='%23164CB5' stroke='%23164CB5'/%3E%3Cpath d='M9.87891 15.9512L17.8789 7.95117' stroke='white' stroke-width='2' stroke-miterlimit='10'/%3E%3Cpath d='M10.5859 16.6582L5.58594 11.6582' stroke='white' stroke-width='2' stroke-miterlimit='10'/%3E%3C/svg%3E%0A");
}

.order-modal__form-policy input{
    display: none;
}

.order-modal__form-policy{
    display: flex;
    align-items: center;
    gap: 12px;
    color: #2B1B35;
    font-size: 14px;
    line-height: 120%;

    max-width: 450px;
}

.order-modal__form-policy a {
    color: #0049BC;
}

.order-modal__form-policy a:hover{
    text-decoration: underline;
}
.order-modal__form-send{
    width: 230px;
    height: 44px;
}

.order-modal-card{
    display: flex;
    align-items: center;

    gap: 8px;

    width: auto;

    max-width: 315px;
    flex-shrink: 0;
}

.order-modal-card__photo{
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;

    width: 56px;
    height: 56px;

    position: relative;
}

.order-modal-card__photo img{
    max-width: 100%;
}

.order-modal-card__data{
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.order-modal-card__title{
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;

    color: #2B1B35;
    font-size: 14px;
    font-family: var(--font-family-sm);
    line-height: 18px;
    letter-spacing: -0.5px;
    max-width: 252px;
}

.order-modal-card__price{
    display: flex;
    align-items: center;

    color: #2B1B35;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: -0.5px;
}

.order-modal-card__price-old{
    display: inline-flex;
    position: relative;
    margin-left: 15px;
    color: rgba(43, 27, 53, 0.7);
}

.order-modal-card__price-old::after{
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 100%;
    max-width: 45px;
    height: 1px;
    background: #EE005A;
    transform: rotate(348deg);
}
.order-modal-card__actions{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.order-modal-card__count{
    font-family: var(--font-family-sm);
    color: #2B1B35;
    font-size: 14px;
    line-height: 15px;
    letter-spacing: -0.5px;
}

.order-modal__slider-inner{
    overflow: hidden;
}

.order-modal__slider{
    position: relative;
}

.swiper-button-prev, .swiper-button-next{
    width: 40px;
    height: 40px;
    display: flex;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_81_110)'%3E%3Cpath d='M20 -1.74846e-06C8.95431 -2.7141e-06 -1.1006e-06 8.9543 -2.06624e-06 20C-3.03189e-06 31.0457 8.9543 40 20 40C31.0457 40 40 31.0457 40 20C40 8.95431 31.0457 -7.8281e-07 20 -1.74846e-06Z' fill='white'/%3E%3Cpath d='M0.999998 20C0.999999 9.50659 9.50659 0.999997 20 0.999998C30.4934 0.999999 39 9.50659 39 20C39 30.4934 30.4934 39 20 39C9.50659 39 0.999997 30.4934 0.999998 20Z' stroke='%23164CB5' stroke-opacity='0.1' stroke-width='2' stroke-miterlimit='10'/%3E%3Cpath d='M24.123 19.9375L14.0001 19.9375' stroke='%230049BC' stroke-width='1.75' stroke-miterlimit='10'/%3E%3Cpath d='M20.9962 24L25 19.9372L24.9897 19.9267L21.1201 16' stroke='%230049BC' stroke-width='1.75' stroke-miterlimit='10'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_81_110'%3E%3Crect width='40' height='40' fill='white' transform='translate(40 40) rotate(-180)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
}

.swiper-button-prev::after, .swiper-button-next::after{
    display: none;
}

.swiper-button-prev{
    left: -20px;
    transform: rotate(180deg);
}

.swiper-button-next{
    right: -20px;
}
.swiper-button-disabled{
    display: none;
}

.fancybox-is-modal .fancybox-slide{
    background: rgba(0, 0, 0, 0.50);
}

.order-modal__socials{
    display: flex;
    align-items: flex-start;

    gap: 30px;

    color: #2B1B35;
    font-size: 18px;
    line-height: 22px;
}

.order-modal__links{
    display: flex;
    align-items: center;

    gap: 16px;
}

.order-modal__radio{
    display: flex;
    flex-direction: column;
}

.order-modal__radio .order-modal__form-body{
    display: none;
}

.order-modal__radio .other-modal__label-for-input{
    display: flex;
    align-items: center;

    color: #2B1B35;
    font-size: 20px;
    font-family: var(--font-family-b);
    line-height: 26px; /* 130% */
    cursor: pointer;
}


.order-modal__radio .other-modal__label-for-input:before{
    content: '';
    display: block;
    flex-shrink: 0;
    margin-right: 12px;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect opacity='0.5' x='0.5' y='0.5' width='23' height='23' rx='11.5' stroke='%231248B2'/%3E%3C/svg%3E%0A");
}

.order-modal__radio .jq-radio.checked ~ .other-modal__label-for-input::before{
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='23' height='23' rx='11.5' fill='%23164CB5' stroke='%23164CB5'/%3E%3Crect x='6' y='6' width='12' height='12' rx='6' fill='white'/%3E%3C/svg%3E%0A");
}

.order-modal__radio .jq-radio.checked ~ .order-modal__form-body{
    display: flex;
    margin-top: 40px;
}

@media (max-width: 992px) {

    .is-toggler.is-active .order-modal__form-body{
        margin-top: 33px;
    }


    .fancybox-is-modal .fancybox-slide{
        padding: 0 !important;
    }
    .order-modal{
        border-radius: 0;
        height: 100%;
        width: 100%;
    }

    .order-modal__inner{
        padding: 66px 28px 56px;
    }

    .order-modal__title{
        font-size: 32px;
        line-height: 32px; /* 100% */
        font-family: var(--font-family-sm);
    }

    h2.order-modal__title{
        font-size: 24px;
        line-height: 32px;
    }

    .order-modal__form-input{
        padding: 11px 12px;
    }
    .order-modal__form-body{
        flex-direction: column;
        gap: 24px;
    }

    .order-modal__form-data{
        width: 100%;
    }

    .order-modal__form-data b {
        font-size: 20px;
    }

    .order-modal__form-footer{
        flex-direction: column;
        margin-top: 32px;
        padding-top: 32px;
        gap: 18px;
    }

    .order-modal__close{
        position: absolute;
        top: 18px;
        right: 28px;
    }

    .swiper-button-next, .swiper-button-prev{
        display: none;
    }

    .order-modal img{
        max-width: 100%;
    }

    .order-modal__caption{
        margin-top: 20px;
    }

    .order-modal__socials{
        flex-direction: column;
        gap: 20px;
        margin-top: -4px;
        font-size: 18px;
        line-height: 22px; /* 122.222% */
    }

    .order-modal{
        overflow: auto;
    }

    .order-modal__inner{
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    .order-modal__inner{
        padding-left: 18px;
        padding-right: 18px;
    }
}

.order-modal .hide{
    display: none !important;
}
#order-modal{
    margin-bottom: 0!important;
    left: 1px;
}
.order-modal__radio .jq-radio{
    /*min-height: 1.3em;*/
    display: list-item;
}