.popup-product {
    max-width: 1053px!important;
    position: relative;
    overflow: hidden;
}
.popup-product .img-absolute {width: auto;}

@media (max-width: 767.98px) {
	.mfp-content {
	    /*bottom: -40px;*/
        top:60px;
	    height: -webkit-calc(100vh - 100px);
	    height: calc(100vh - 85px);
	}
}

/*
.personal__cart_counter {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    font-size: 10px;
    line-height: 15px;
    background-color: var(--bwt-pink);
    position: absolute;
    top: 5px;
    right: 0;
    text-align: center;
}*/

.add_basket {
    white-space: nowrap;
}
.product-row-title {
    flex-grow: 1;
}
.product-row-title label {
    white-space: nowrap;
    font-size: .8em;
    margin-right: 10px;
}
.controls__btn:disabled:hover,
.controls__btn:disabled {color:#C0C0C0;border: 1px solid #C0C0C0;}

.old_price {
    position: absolute;
    right: 0;
    margin-top: -20px;
    font-size: 15px;
    font-weight: 300;
    text-decoration: none;
}
.old_price:before {
    content: "";
    border-bottom: 1px solid red;
    position: absolute;
    width: 90%;
    height: 50%;
    margin: 0 0 0 -2px;
    transform: rotate(-10deg);
}
.new-design-basket{
    padding-top: 40px;
}
.new-design-basket__wrapper{
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}
.new-design-basket__body{
    flex: 1 0;
}
.new-design-basket__total{
    width: 318px;
    background-color: rgba(247, 248, 248, 1);
    border-radius: 6px;
    padding: 15px 26px;
    height: fit-content;
}
.new-design-basket__total--top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    margin-bottom: 10px;
}
.new-design-basket__total-price--big{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}
.new-design-basket__total-button{
    margin-bottom: 10px;
}
.new-design-basket__total-button a{
    width: 100%;
    border-radius: 2px;
    text-align: center;
}
.new-design-basket__total-conditions{
    font-size: 12px;
    max-width: 95%;
}
.new-design-basket__title{
    margin-bottom: 30px;
    font-size: 30px;
}
.new-design-basket__body-total{
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 16px;
}
.new-design-basket__body-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 25px;
    font-size: 16px;
    border-bottom: 1px solid rgba(217, 217, 217, 1);
}
.new-design-basket__body-top-all{
    display: flex;
    align-items: center;
    gap: 7px
}
.new-design-basket__body-top-all span{
    display: inline-block;
    margin-bottom: 2px;
}
.new-design-basket__checkbox label{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    background-color: white;
    border: 1px solid var(--bwt-dark-blue);
    background-position: 3px 4px;
    background-size: 75%;
    border-radius: 3px;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: .4s;
}
.new-design-basket__checkbox input[type="checkbox"]{
    display: none;
}
.new-design-basket__checkbox input[type="checkbox"]:checked + label{
    background-color: var(--bwt-dark-blue);
    background-image: url('data:image/svg+xml,<svg width="14" height="11" viewBox="0 0 14 11" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.996094 5.5L4.41478 9.33893" stroke="white" stroke-linecap="round"/><path d="M12.3672 1.07263L4.5 9.19443" stroke="white" stroke-linecap="round"/></svg>');
}
.new-design-basket__body-top-delete{
    font-weight: 700;
    cursor: pointer;
    transition: .4s;
}
.new-design-basket__body-top-delete:hover{
    color: var(--bwt-pink);
}
.new-design-basket__product{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 27px;
}
.new-design-basket__product-title{
    flex: 1 0;
    padding-top: 0;
    flex-grow: 1;
}
.new-design-basket__product-image{
    max-width: 140px;
    height: 100px;
}
.new-design-basket__product-image img{
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}
.new-design-basket__product-title a{
    font-size: 16px;
    margin-bottom: 15px;
    display: inline-block;
    font-weight: 400;
}
.new-design-basket__product .new-design-basket__product-title:hover{
    color: var(--bwt-dark-blue) !important;
}
.new-design-basket__product-title a:hover{
    color: var(--bwt-pink);
}
.new-design-basket__product-delete svg *{
    transition: .4s;
}
.new-design-basket__product-delete .product-row-remove_btn{
    font-size: 16px;
    color: var(--bwt-dark-blue) !important;
    text-decoration: none;
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    font-weight: 400;
}
.new-design-basket__product-delete .product-row-remove_btn:hover{
    text-decoration: none;
}
.new-design-basket__product-delete .product-row-remove_btn:hover svg *{
    stroke: var(--bwt-pink);
}
.new-design-basket__product .product-row-controls{
    display: flex;
    justify-content: center;
    padding-top: 0;
}
.new-design-basket__product .product-row-controls .controls__btn{
    width: 19px;
    height: 19px;
    background-color: var(--bwt-dark-blue);
    border-radius: 3px;
    border: 1px solid var(--bwt-dark-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.new-design-basket__product .product-row-controls .controls__value{
    height: 19px;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.new-design-basket__product .product-row-price{
    padding-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}
.new-design-basket__product-check{
    height: -webkit-fill-available;
}
@media(max-width: 1199px){
    .new-design-basket__body{
        width: 100%;
        flex: unset;
    }
    .new-design-basket__product .product-row-price{
        padding-left: 0;
        width: auto;
        min-width: 130px;
    }
    .new-design-basket__product .product-row-controls{
        padding-left: 0;
        width: 100%;
    }
}
@media(max-width: 767px){
    .new-design-basket__wrapper{
        gap: 40px;
    }
    .new-design-basket__total{
        width: 100%;
    }
    .new-design-basket__product.product-row{
        border-top: 0;
        gap: 15px;
        justify-content: center;
    }
    .new-design-basket__product-title{
        width: 100%;
        flex: unset;
        text-align: center;
    }
    .new-design-basket__product-right{
        width: 100%;
        min-width: 100%;
        justify-content: flex-start;
    }
    .new-design-basket__product-image{
        max-width: 100%;
        height: 140px;
    }
    .new-design-basket__product-check{
        position: absolute;
        top: 10px;
        left: 0px;
    }
    .new-design-basket__product-delete .product-row-remove_btn{
        justify-content: center;
    }
}
.new-design-basket__total-split{
    padding: 10px 15px;
    display: flex;
    align-items: center;
    background-color: white;
    border: 1px solid #999;
    border-radius: 5px;
    margin-bottom: 20px;
    transition: .4s;
    position: relative;
}
.new-design-basket__total-split-icon{
    width: 20px;
    margin-right: 15px;
}
.new-design-basket__total-split-text{
    font-size: 14px;
}
.new-design-basket__total-split.new-design-basket__total-split--no::before{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(1px);
    content: '';
}
.new-design-basket__total--noSplit{
    color: red;
    margin-bottom: 10px;
    font-size: 12px;
}
.new-design-basket__total--noSplit ul{
    padding-left: 20px;
    list-style-type: circle;
}