.icon-box_item .bx-basket {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cartline_wrapper {
    position: absolute;
    cursor: default;
    right: 0;
    top: 100%;
    padding-top: 12px;
    display: block;
    opacity: 0;
    pointer-events: none;
    -webkit-transition: .3s ease-out top, .3s ease-out padding;
    transition: .3s ease-out top, .3s ease-out padding;
}

.header .sticky .cartline_wrapper {
    right: 65px;
}

.cartline_wrapper-wrp {
    max-height: 470px;
    padding: 24px 8px 24px 24px;
    width: 400px;
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    background-color: #fff;
    border: 1px solid var(--border-gray);
}

.wrp-btn-icons-basket:hover .cartline_wrapper {
    opacity: 1;
    pointer-events: auto;
    z-index: 1000;
}
.wrp-btn-icons-basket:hover .cartline_wrapper .cart-list-wrapper {
    opacity: 1;
    transition: 0.3s ease-out;
    pointer-events: auto;
    z-index: 1000;
}
.wrp-btn-icons-basket:hover .cartline_wrapper .cartline_footer {
    opacity: 1;
    transition: 0.3s ease-out;
    pointer-events: auto;
    z-index: 1000;
}

.cartline_wrapper .wrapper-inner {
    position: relative;
}

.cart-list-wrapper {
    opacity: 0;
    overflow: hidden;
    max-height: 352px;
    padding-right: 10px;
    scrollbar-color: var(--scroll-bar-dark) var(--scroll-bar-light);
    transition: 0.3s ease-out;
}
.cart-list-wrapper.customScroll{
    scrollbar-gutter: unset;
}

.cart-list-wrapper.customScroll::-webkit-scrollbar-track {
    border-radius: 5px;
}

.cart-list-wrapper.customScroll::-webkit-scrollbar {
    width: 2px;
}

.cart-list-wrapper.customScroll::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background-color: #DEDEE5;
}

.cartline_wrapper .close-btn {
    cursor: pointer;
    width: 20px;
    height: 20px;
    background: none;
    position: absolute;
    top: 50%;
    margin-top: -8px;
    /*right: 10px;*/
    right: 0;
    transition: 0.2s all linear;
}

.cartline_wrapper .close-btn svg path{
    fill: #959CAA;
}

.cartline_wrapper .close-btn:hover svg path{
    fill: #626672;
}

.cart-list-item {
    padding: 24px 0;
    border-bottom: solid 1px #E6E9F0;
}

.cart-list-item > .row{
    position: relative;
    align-items: center;
}

.cart-list-item:first-child {
    padding-top: 0;
}

.cart-list-item-wrapper-img {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-direction: column;
    flex-direction: column;
    border-radius: 2px;
    overflow: hidden;
}

.cart-list-item-wrapper-img img {
    max-width: 100%;
    max-height: 100%;
}

.cart-list-item-img {
    margin-right: 16px;
}

.cart-list-item-name-box {
    color: var(--main_text_black);
    display: inline-block;
    margin-right: 32px;
    /* position: relative; */
}

.cart-list-item-name-box .item_name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 34px;
    padding: 0;
    overflow: hidden;
    font-weight: 400!important;
    font-size: 14px;
    line-height: 120%;
    margin-bottom: 12px;
    color: var(--main_text_black);
    transition: 0.2s all linear;
}

.cart-list-item-name-box .item_name:hover span {
    color: var(--main_active_red);
    transition: 0.2s all linear;
}

.cart-list-item-price .price {
    text-align: left;
    display: flex;
    align-items: end;
    justify-content: flex-start;
}

.cart-list-item-price {
    display: flex;
    align-items: center;
}

.cart-list-item-price .current-price {
    font-weight: 700;
    font-size: 14px;
    line-height: 100%;
    color: var(--main_text_black);
    margin-right: 8px;
}

.cart-list-item-price .old-price {
    line-height: 100%;
    font-weight: 400;
    font-size: 12px;
    text-decoration-line: line-through;
    color: var(--old-price-gray);
    margin-right: 12px;
}
.cart-list-item-price .old-price span{
    color: var(--old-price-gray);
}

.cart-list-item-price .measure {
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    color: var(--main_text_black);
    margin-left: 0 !important;
}
.cart-list-item-dop-price{
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 80px;
    row-gap: 6px;
}
.cart-list-item-name-box .cart-list-item-price.cart-list-item-dop-price .item_name{
    font-size: 12px;
    margin: 0;
    max-width: 75%;
    overflow: hidden;
    max-height: 30px;
    color: var(--main-txt);
}
.cartline_wrapper-wrp .cart-list-item-dop-price .old-price{
    display: none;
}
.cart-list-item-price.cart-list-item-dop-price .current-price{
    font-size: 12px;
    margin-right: 0;
    white-space: nowrap;
}
.cartline_wrapper .product_item-link {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    text-align: left;
}

.cartline_wrapper .product-item-container {
}

.cartline_wrapper .swiper-wrapper {
    padding: 0 1px;
}

.cartline_wrapper .product_item_wrapper_img {
    height: 150px;
    line-height: 150px;
}

.cartline_wrapper .product_item_wrapper_img .product_item_img-bg {
    max-width: 90%;
    max-height: 90%;
    border: none;
}

.cartline_wrapper .product_item_name_box {
    height: 34px;
    font-size: 12px;
    padding: 0;
    margin: 10px 0;
    overflow: hidden;
}

.cartline_wrapper .product_item_name_box a.item_name {
    font-size: 12px;
    color: var(--main_link_color);
    text-align: left;
}

.product_item__cart.on-basket .product-item-amount, .bx-catalog-element.on-basket .product-detail-byu-container .product-item-amount {
    display: block;
}

.product-item-container:after, .product-item-container:before,
.bx-catalog-element .product-detail-byu-container .quantity-block:after, .bx-catalog-element .product-detail-byu-container .quantity-block:before {
    position: absolute;
    bottom: 5px;
    right: 5px;
    left: 5px;
    top: 5px;
    opacity: 0;
    visibility: hidden;
    z-index: -1;
}

.bx-catalog-element .product-detail-byu-container .quantity-block:after, .bx-catalog-element .product-detail-byu-container .quantity-block:before {
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

.product-item-container:after, .bx-catalog-element .product-detail-byu-container .quantity-block:after {
    content: "";
    background-color: rgba(255, 255, 255, 0.8);
    margin: 15px;
    display: block;
    height: 95%;
    border-radius: 10px;
}

.product-item-container:before,
.bx-catalog-element .product-detail-byu-container .quantity-block:before {
    max-height: 222px;
}

.product-item-container.loader-on:after, .bx-catalog-element .product-detail-byu-container .quantity-block.loader-on:after {
    z-index: 1000;
}

.product-item-container.loader-on:before, .bx-catalog-element .product-detail-byu-container .quantity-block.loader-on:before {
    z-index: 1001;
}

.product-item-container.hover.loader-on:before,
.bx-catalog-element .product-detail-byu-container.hover .quantity-block.loader-on:before {
    height: 536px;
}

.product-item-container.loader-on:after, .product-item-container.loader-on:before,
.bx-catalog-element .product-detail-byu-container .quantity-block.loader-on:after, .bx-catalog-element .product-detail-byu-container .quantity-block.loader-on:before {
    opacity: 1;
    visibility: visible;
}

.cartline_footer {
    opacity: 0;
    padding-right: 10px;
    transition: 0.3s ease-out;
    margin-top: 24px;
}

.basket-modal{
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
    background: rgba(30, 38, 60, 0.40);
    z-index: 1095;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}
.basket-modal.show{
    opacity: 1;
    visibility: visible;
}
.basket-modal.show .basket-modal-content{
    animation: fadeInDown 0.3s;
}
.basket-modal-content{
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0px 10px 20px 0px rgba(118, 118, 132, 0.40);
    padding: 40px;
    position: relative;
    max-width: 950px;
    width: calc(100% - 32px);
}
.basket-modal-content-title{
    margin-bottom: 8px;
    color: var(--main_text_black);
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    display: flex;
    justify-content: center;
}
.header .btn-goods-link {
    height: 46px;
    max-width: 350px;
}
.cartline-wrapper .basket-item-block-amount div.basket-count-nabor{
    font-size: 14px;
    background-color: #fff;
}
.label-in-nabor-items{
    padding: 2px 8px;
    border-radius: 20px;
    border: 1px solid #E6E9F0;
    background-color: #fff;
    color: #949CAD;
    display: flex;
    align-items: center;
    transition: 0.3s;
    /* position: relative; */
}
.label-in-nabor-items svg path{
    fill: currentColor;
}
.label-in-nabor-items > span{
    color: #949CAD;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    padding-left: 4px;
}
.label-in-nabor-tooltip{
    position: absolute;
    background-color: #fff;
    padding: 8px 10px;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    border-radius: 2px;
    border: 1px solid #E6E9F0;
    box-shadow: 0px 4px 20px 0px rgba(118, 118, 132, 0.25);
    width: fit-content;
    white-space: nowrap;
    top: 4px;
    right: 2px;
    visibility: hidden;
    opacity: 0;
    color: var(--main_text_black);
}
.label-in-nabor-items:hover{
    border-color: #949CAD;
}
.label-in-nabor-items:hover .label-in-nabor-tooltip{
    opacity: 1;
    visibility: visible;
}
.label-count-nabor{
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    color: #949CAD;
    margin-top: 4px;
}
@media (max-width: 900px) {
    .bx-basket .row {
        margin-left: -10px;
        margin-right: -10px;
    }

    .title_box .row {
        margin-left: -10px;
        margin-right: -10px;
    }
}

.icon-item.basket-icon svg {
    margin-right: 0px;
}

.btn-goods .btn-goods-link {
    padding: 14px 0;
}

@media (max-width: 1024px) {
    .icon-item.basket-icon svg {
        margin-right: 0px;
        fill: var(--main_color);
    }
}
@media (max-width: 768px){
    .cartline_wrapper{
        right: -37px;
    }
}
@media (max-width: 440px) {
    .cartline_wrapper-wrp{
        width: 320px;
    }
    .cart-list-item-name-box{
        margin-right: 16px;
    }
    .cart-list-item-price.cart-list-item-dop-price .current-price{
        margin-left: 4px;
    }
    .cart-list-item-img{
        margin-right: 12px;
    }
    .cart-list-item-price .price{
        flex-direction: column-reverse;
        margin-right: 12px;
        align-items: flex-start;
    }
    .cart-list-item-price .current-price{
        margin-right: 0;
    }
    .cart-list-item-price .price span:last-child{
        margin-right: 0;
        margin-bottom: 2px;
    }
    .cart-list-item-price{
        align-items: end;
    }
}