.checkout__custom{
    display: flex;
    gap:1rem;
}
#ship-to-different-address{
    display: none;
}
.woocommerce-additional-fields{
    display: none;
}
.customer__info{

}
.address__checkout > h3{
    font: 700 2.2rem / normal var(--Ubuntu);
    margin-bottom: 2rem;
}
.woocommerce-terms-and-conditions-wrapper{
    display: none;
}

.woocommerce-shipping-fields__field-wrapper > .address__checkout-invoice{
    display: none;
}
.address__checkout-invoice{
    margin-bottom: 7rem;
}
.address__checkout-invoice.disabled{
    pointer-events: none;
    opacity: 0.6;
}
.checkout__item{
    display: flex;
    gap:2rem;
    position: relative;
}
.checkout__flex{
    gap:1.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.checkout__item .cart__img{
    width: 57%;
    min-width: 57%;
    border-radius: 2rem;
    height: 20rem;
}
.checkout__item .cart__img img{
    height: 100%;
    border-radius: 2rem;
}
.checkout__item .cart__product > h2{
    font: 700 1.4rem/normal var(--Ubuntu);
    margin-bottom: 0.8rem;
}

.checkout__item .cart__product > h3{
    font: 400 1.4rem/normal var(--Ubuntu);
    color: #747D8C;
    margin-bottom: 1rem;
}
.checkout__item .cart__product-link{
    color: var(--color-primary);
    font: 500 1.4rem/normal var(--Ubuntu);
    margin-bottom: 1rem;
    display: block;
}
.checkout__item .cart__price-full{
    font: 700 1.4rem/normal var(--Ubuntu);
}
.checkout__block-wrap{
    border-radius: 2rem;
    border: 0.1rem solid #CED6E0;
    padding: 3rem 3rem 5rem;
    background: #FFF;
    margin-bottom: 2rem;
}
.woocommerce ul#shipping_method li{
    margin: 0;
}
#add_payment_method #payment ul.payment_methods li, .woocommerce-cart #payment ul.payment_methods li, .woocommerce-checkout #payment ul.payment_methods li {
    line-height: unset;
}
#add_payment_method #payment div.payment_box, .woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box{
    line-height: unset;
}
#customer_details{
    width: 53%;
}
.checkout__main .container{
    padding: 1.5rem 5.5rem 7rem;

}
#order_review{
    width: calc(47% - 2rem);
    font: 700 2.2rem / normal var(--Ubuntu);
}
#order_review{}
.checkout__block{
    display: flex;
    flex-direction: column;
    gap:4rem;
}

.checkout__item:after {
    content:'';
    position: absolute;
    bottom: -2rem;
    width: 100%;
    height: 0.1rem;
    left: 0;
    background: #CED6E0;
}
.woocommerce form .form-row label{
  color: var(--color-label);
    line-height: normal;
  font: 500 1.2rem/normal var(--Ubuntu);

}
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea{
    font: 400 1.4rem / normal var(--Ubuntu);
    border: none;
    background-color: transparent;
}

.woocommerce form .form-row::after, .woocommerce form .form-row::before, .woocommerce-page form .form-row::after, .woocommerce-page form .form-row::before{
    display: none;
}
.woocommerce form .form-row{
    margin: 0;
}
.woocommerce form .form-row .required{
    display: none;
}
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper{
    display: flex;
    flex-direction: column;
    gap:3rem;
}
.woocommerce form .form-row-first, .woocommerce form .form-row-last, .woocommerce-page form .form-row-first, .woocommerce-page form .form-row-last{
    width: 100%;
}
.total__wrap-price{
    display: flex;
    align-items: center;
    gap:2rem;
}
.total__wrap-price  *{
    font: 700 2rem / normal var(--Ubuntu);
}
.total__wrap{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap:2rem;
    align-items: flex-end;
}

.shipping_address-show{
    display: block!important;
}
.woocommerce-billing-fields{
    display: none;
}
.woocommerce-billing-fields-show{
    display: block;
}

.no_address{
    font: 400 2rem / normal var(--Ubuntu);
}

.address__checkout-invoice .no_address{
    display: none;
}

.toggle-wrap {
    display: flex;
    gap:2rem;
    justify-content: flex-start;
    align-items: center;
    padding: 2rem;
    border-radius: 1rem;
    background-color: #F5F7F9;
    margin-bottom: 2rem;

}

.toggle-wrap label {
    width: 3.6rem;
    height: 2rem;
    background: #A4B0BE;

    border-radius: 10rem;
    cursor: pointer;
    padding: 0.2rem;
}

.toggle-wrap #toggle-billing {
    display: none;
}

.toggle-wrap .toggle-switch {
    width: 1.6rem;
    height: 1.6rem;
    background-color: #fff;
    border-radius: 50%;
    transition: all 0.5s;
    /*background: gray;*/
}
.toggle-wrap input:checked ~ .toggle-switch {
    transform: translateX(1.6rem);

    position: relative;
}
.toggle-wrap-active  label{
    background: #0072B5;
}
.toggle-wrap-title{
    font: 400 1.4rem / 1.6rem var(--Ubuntu);
}
.woocommerce-billing-title{
    font: 700 2.2rem / normal var(--Ubuntu);
    margin:7rem 0  2rem;
}
.checkout__block-title{
    font: 700 2.2rem / normal var(--Ubuntu);
    margin-bottom: 2rem;
}
.shipping_address-title{
    font: 700 2.2rem / normal var(--Ubuntu);
    margin-bottom: 2rem;
}
.shipping_address-title-middle{
    margin: 4rem 0 -1rem;
}
.woocommerce-input-wrapper{
    height: max-content;
    line-height: normal;
}
.woocommerce form .form-row{
    margin: 0 0;
}
.customer__info{
    padding: 5rem 3rem 3rem;
    border: 0.1rem solid #CED6E0;
    border-radius: 2rem;

}
.woocommerce-form-coupon-toggle{
    display: none;
}
.checkout__main .cart__item{
    display: flex;
    border: none;
    gap:2rem;
    padding: 0;
}
.checkout__main .checkout__item:after{
    /*bottom*/
}
.checkout__main  .cart__counter{
    margin: 0;
    margin-left: auto;
}
.checkout__main .cart__product h3{
    margin: 0;
}
.checkout__main .cart__product{
    padding: 0;
}
.checkout__main .cart__promocode{
 /*margin-top: 2rem;*/
}

.checkout__main .button{
    background:var(--color-primary)!important;
    font: 700 1.4rem / normal var(--Ubuntu)!important;
    width: 100% !important;
    text-align: center!important;
    border-radius: 1rem!important;
    padding: 2rem !important;

}
/*.woocommerce-billing-fields{*/
/*    margin-bottom: 3rem;*/
/*}*/
.place-order .button{
    display: none!important;
}
.checkout__main .shop_table{
    display: none;
}

.woocommerce-error{
  display: none;
}

.half{
    width: calc(50% - 1.5rem)!important;
}
.woocommerce-billing-fields__field-wrapper {
    flex-wrap: wrap;
    flex-direction: row;
}
.woocommerce-billing-fields__field-wrapper > *{
    width: 100%;
}
.customer__info-btn{
    display: flex;
    gap:2rem;
    align-items: center;

}
.customer__info-auth{
    padding-bottom: 2rem;

}
.customer__info-auth > h3{
    font: 700 2.2rem / normal var(--Ubuntu);
    margin-bottom: 2rem;
}
.customer__info-btn > *{
    max-width: 22.4rem;
    width: 100%;
    padding: 2rem 7rem;
}

.address__checkout .select2-container .select2-selection--single .select2-selection__rendered{
    font-size: 1.4rem;
    text-transform: unset;
}
.address__checkout .address__form-wrap {
    max-width: 100%;
}
.checkout__main .select2-container .select2-selection--single .select2-selection__rendered{
    line-height: normal;
}
.wc_payment_methods  .payment_method_ppcp-gateway{
    /*display: none;*/
}
#shipping_method{
    padding-left: 3rem;
    margin-top: 2rem!important;
}



#add_payment_method #payment div.payment_box, .woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box{
    background: transparent;
    margin: 0;
}
 .woocommerce-checkout #payment{
     border-radius: 2rem;
     border: 0.1rem solid #CED6E0;
     padding: 3rem ;
     background: #FFF;
     margin-top: 3rem;
 }
 .woocommerce-checkout #payment div.payment_box::before,  .woocommerce-checkout #payment div.payment_box::after{
     display: none;
 }
.woocommerce-checkout #payment ul.payment_methods{
    padding: 0;
    border: none;
}
.woocommerce-checkout #payment div.form-row {
    padding: 0;
}
.payment_method_invoice > p{
    font: 500 1.6rem/160% var(--Ubuntu);
    padding-bottom: 1rem;
}
.payment__radio label:not(:last-of-type){
    margin-bottom: 0.5rem;
}

.payment_box.payment_method_ppcp-gateway{
    display: none!important;
}
.ppc-button-wrapper{
    margin-top: 2rem;
}

@media only screen and (max-width: 666px) {
    .checkout__custom {
        flex-direction: column-reverse;
    }

    #customer_details {
        width: 100%;
    }

    #order_review {
        width: 100%;
    }

    .checkout__item .cart__img {
        width: 20vw;
        min-width: 20vw;
        height: 12vw;
        position: relative;
        top: unset;
        transform: unset;
    }

    .checkout__main .cart__item {
        flex-direction: row;
        align-items: center;
    }

    .checkout__main .cart__price-full {
        position: relative;
        bottom: unset;
        right: unset;
    }

    .checkout__main .checkout__flex {
        flex-direction: row-reverse;
    }

    .checkout__main .cart__counter {

        margin-left: unset;
    }

    .checkout__block-wrap, .customer__info {

        padding: 1.4rem 1rem;
    }

    .checkout__block-title, .shipping_address-title, .woocommerce-billing-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .checkout__main .checkout__item:after {
        bottom: -1rem;
    }

    .woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper {
        gap: 2rem;
    }

    /*.checkout__main .cart__promocode {*/
    /*    margin-top: 1rem;*/
    /*}*/

    .checkout__main .cart__promocode > span {
        position: relative;
    }

    .checkout__main .total__wrap-price * {
        font-size: 1.8rem;
    }

    /*.woocommerce-billing-fields {*/
    /*    margin-bottom: 2rem;*/
    /*}*/
    .checkout__block{
        gap:2rem;
    }
    .checkout__main .container{
        padding: 1.5rem 1.5rem 3rem;

    }
    .shipping_address-title-middle{
        margin: 1rem 0 0;
    }
    .half{
        width: 100%!important;
    }
    .checkout__custom .cart__promocode-block.active .login__input {
        width: 12rem;
        padding: 1.05rem !important;
    }
    .customer__info-auth > h3{
        margin-bottom: 1rem;
        font-size: 1.8rem;
    }
    .customer__info-auth{
     padding: 0;
    }
    .customer__info-btn{
        gap:1rem;
        flex-direction: column;
    }
    .customer__info-btn > * {
        max-width: 100%;
    }
    .no_address{
        font-size: 1.6rem;
    }

}