.cart .countLink{
    display: inline-block;
    position: relative;
    background: url(../../../../img/bag.svg) 0 center no-repeat;
    padding: 1px 0 1px 20px;
    font-size: 12px;
    color: #999;
    text-decoration: none;
}
.window-without-bg.window_basket {
    position: absolute;
    z-index: 100;
    right: -20px;
    display: block;
    /*background: #c5c3c0;*/
    top: 25px;
    box-shadow: 0px 2px 24px rgba(0, 0, 0, 0.25);
}
.fixed .window-without-bg.window_basket{
    position: fixed;
    right: 20px;
}
.modal-block {
    width: 485px;
    margin: 0 auto;
    /*padding: 7px;*/
    position: relative;
    z-index: 1000;
    height: auto;
}
.modal-block-inner {
    width: 100%;
    position: relative;
    /*border: 1px solid #000;*/
    background-color: #fff;
    padding: 15px 0;
    min-height: 150px;
    height: auto;
}
.modal-block .close {
    height: 38px;
    width: 37px;
    display: block;
    position: absolute;
    top: -7px;
    right: -50px;
    cursor: pointer;
    background: url('mister_modal_basket_item_delete.png') no-repeat;
}
.modal-content {
    width: 100%;
    height: auto;
}
.window_basket * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.window_basket .basket-items-overflow {
    max-height: 346px;
    overflow: auto;
}
.window_basket .basket-item {
    padding: 0 15px;
    position: relative;
}
.window_basket .basket-item + .basket-item {
    margin-top: 20px;
}
.window_basket .basket-item .deleteSB {
    position: absolute;
    width: 27px;
    height: 28px;
    right: 15px;
    top: 5px;
    background: url('mister_modal_basket_item_delete.png') 3px 3px no-repeat;
    z-index: 5;
    display: none;
}
.window_basket .basket-item:hover .deleteSB {
    display: block;
    cursor: pointer;
}
.window_basket .basket-item a.item-tovar {
    font-size: 12px;
    display: inline-block;
    position: relative;
    width: 100%;
    z-index: 1;
    color: #000000;
}
.window_basket .basket-item .wrap-img {
    margin-right: 3.4%;
    float: left;
    position: relative;
    display: block;
    width: 25%;
    /*width: 110px;*/
    text-align: left;
}
.window_basket .basket-item .wrap-img img {
    width: 100%;
    height: auto;
}
.window_basket .characteristics {
    font-size: 12px;
    font-weight: normal;
    font-style: normal;
    display: block;
    text-align: left;
    float: left;
    width: 70%;
}
.window_basket .characteristics .item-name, .window_basket .characteristics .item-second-name {
    display: block;
    font-size: 12px;
    margin-bottom: 10px;
    margin-right: 25px;
    line-height: 16px;
    letter-spacing: normal;
    color: #999;
}
.window_basket .characteristics .item-name {
    font-size: 18px;
    margin: 0;
    color: #000000;
    font-weight: bold;
    line-height: 1.5em;
    text-decoration: none;
}
.window_basket .item-tovar .item-price {
    float: right;
}
.window_basket .characteristics>span {
    display: block;
}
.window_basket .characteristics .item-size, .window_basket .characteristics .item-color {
    color: #797979;
    max-width: 65%;
}

.bx-basket-item-list.window-without-bg.window_basket {
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
}
.bx-basket-item-list.window-without-bg.window_basket.open {
    opacity: 1;
    visibility: visible;
}
.window_basket .item-tovar .item-price .price {
    font-size: 12px;
    margin-top: 5px;
}
.window_basket .basket-total {
    font-size: 16px;
    font-weight: normal;
    font-style: normal;
    /*background: #f8f8f8;*/
    margin: 12px 10px 0 10px;
    padding: 10px 30px 5px 28px;
}
.window_basket .basket-total div.quantity {
    width: 49%;
    display: inline-block;
    text-align: left;
}
.window_basket .basket-total div.total-price {
    width: 50%;
    float: right;
    text-align: right;
}
.window_basket .basket-btn-order {
    font-size: 12px;
    color: #6c727d;
    text-transform: uppercase;
    margin: 0 10px 0 10px;
    padding: 13px 30px 13px 28px;
    display: block;
    text-decoration: none;
    /*background: #f8f8f8;*/
    position: relative;
}
.window_basket .basket-btn-order:hover, .window_basket .basket-btn-order:active {
    text-decoration: none;
}
.basket-btn-order .basket-btn-order-inner {
    font-size: 16px;
    font-weight: normal;
    font-style: normal;
    color: #fff;
    display: block;
    background: #000;
    line-height: 50px;
    text-align: center;
    position: relative;
    text-transform: none;
    border-radius: 5px;
}
.free-delivery-text {
    padding: 0;
    text-align: center;
    max-width: 195px;
    margin: 0 auto;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.mobile-cart {
    display: none;
}

.bx-basket-item-list-item-price.price p{
    font-size: 16px;
}

@media (max-width: 767px){
    .bx-basket-item-list.window-without-bg.window_basket {
        overflow: hidden;
        visibility: visible;
        opacity: 1;
    }
    .window-without-bg.window_basket {
        position: fixed;
        bottom: 0;
        right: -100%;
        top: 50px;
        width: 92%;
        overflow: auto;
        z-index: 99;
        -webkit-transition: right 0.4s ease;
        -ms-transition: right 0.4s ease;
        transition: right 0.4s ease;
        background: #FFFFFF;
    }
    .modal-block .close{
        top: 20px;
        right: 0;
        left: 20px;
    }
    .window-without-bg.window_basket.open {
        right: 0;
    }
    .bx-basket-item-list.window-without-bg.window_basket {
        background: transparent;
    }
    .bx-basket-item-list.window-without-bg.window_basket .modal-block {
        width: 100%;
        padding: 0;
        height: 100%;
    }
    .bx-basket-item-list.window-without-bg.window_basket .modal-block-inner {
        border: 0;
        height: 100%;
    }
    .window-without-bg.window_basket {
        top: 45px;
        bottom: 0;
        position: fixed;
    }
    .window_basket .basket-item .wrap-img {
        margin-right: 3%;
        width: 20%;
    }
    .window_basket .characteristics {
        width: 77%;
    }
    .desktop-cart {
        display: none;
    }
    .mobile-cart {
        display: block;
    }
    .window_basket .basket-item .deleteSB {
        display: block;
    }
    .bx-hdr-profile .bx-basket-close {
        display: none;
        width: 20px;
        height: 20px;
        padding: 0;
        position: relative;
        background: url(cross-svgrepo-com.svg) no-repeat;
        background-size: contain;
        margin-left: 15px;
    }
    .bx-opener .bx-hdr-profile .bx-basket-close {
        display: block;
    }
    .bx-opener .bx-hdr-profile .bx-basket-block {
        display: none;
    }
    .window_basket .basket-items-overflow {
        max-height: 74vh;
        max-height: calc(100vh - 280px);
    }
}
@media (min-width: 767px){
    .window_basket .modal-block .close {
        display: none;
    }
}
@media (max-width: 400px){
    .window_basket .item-tovar .item-price{
        float: none;
    }
    .window_basket .basket-total div.total-price{
        width: 100%;
        float: none;
        text-align: left;
    }
    .window_basket .basket-total div.quantity{
        width: 100%;
    }
    .window_basket .basket-item .deleteSB{
        right: 30px;
    }
}
