.bx-basket {}

.bx-basket-block {
    position: relative;
    padding-bottom: 5px;
    padding-left: 20px;
    white-space: nowrap;
    font-size: 12px;
}

.bx-basket-block>.fa {
    position: absolute;
    top: 3px;
    left: 0;
    width: 12px;
    color: #97a1ab;
}

.bx-basket-block a {
    margin-right: 10px;
}


/*FIXED BASKET*/

@media (min-width: 768px) {
    .bx-basket-fixed {
        position: fixed;
        z-index: 998;
        overflow: hidden;
        padding-top: 10px;
        width: 200px;
        border: 1px solid #f0f0f0;
        border-radius: 1px;
        background: #fff;
        box-shadow: 0 7px 10px rgba(0, 0, 0, 0.15);
    }
    .bx-basket-fixed.top {
        top: 10px
    }
    .bx-basket-fixed.right {
        right: 10px
    }
    .bx-basket-fixed.bottom {
        bottom: 10px
    }
    .bx-basket-fixed.left {
        left: 10px
    }
    .bx-basket-fixed.bx-max-height {
        top: 10px;
        bottom: 10px;
    }
    .block-store-catalog-list .bx-basket-fixed.bottom {
        bottom: 70px
    }
}

@media (max-width: 767px) {
    .bx-basket-fixed {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 998;
        overflow: hidden;
        padding-top: 10px;
        border: 1px solid #f0f0f0;
        border-radius: 1px;
        background: #fff;
        box-shadow: 0 7px 10px rgba(0, 0, 0, 0.15);
    }
    .bx-basket-item-list {
        display: none;
    }
    .block-wrapper .bx-basket-fixed {
        padding-top: 0;
    }
    .block-wrapper .bx-basket-fixed .bx-hdr-profile {
        display: flex;
        justify-content: space-between;
    }
    .block-wrapper .bx-basket-fixed .bx-hdr-profile .bx-basket-block {
        margin-right: 20px;
        padding-bottom: 0;
    }
    /*.bx-basket-fixed */
}

.bx-basket-fixed .bx-basket-block {
    margin-left: 10px;
}

.bx-basket-item-list {
    position: relative;
    overflow: hidden;
    padding-bottom: 20px;
    border-top: 1px solid #f7f7f7;
}

.bx-opener .bx-basket-item-list {
    padding-bottom: 75px;
}

.bx-max-height .bx-basket-item-list {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
}

.bx-closed .bx-basket-item-list {
    overflow: hidden;
    height: 20px;
}

.bx-basket-item-list-action {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 120;
    padding: 3px 0;
    height: 20px;
    background: #f7f7f7;
    color: #4f4f4f;
    vertical-align: middle;
    text-align: center;
    font-size: 12px;
    line-height: 14px;
    cursor: pointer;
}

.bx-basket-item-list-button-container {
    position: absolute;
    right: 0;
    bottom: 20px;
    left: 0;
    padding: 10px 0;
    border-top: 1px solid #f7f7f7;
    background: #fff;
    text-align: center;
}

.bx-basket-item-list-container {
    overflow-y: auto;
    max-height: 100%
}

.bx-basket-item-list-item {
    position: relative;
    margin-bottom: 15px;
    padding-top: 15px;
    padding-right: 10px;
    padding-left: 10px;
    border-bottom: 1px solid #f7f7f7;
}

.bx-basket-item-list-container .bx-basket-item-list-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.bx-basket-item-list-item-status {
    margin: 0 10px 20px;
    padding: 3px;
    border-radius: 3px;
    background: #ebebeb;
    text-align: center;
    white-space: normal;
    font-weight: bold;
    font-size: 12px;
    line-height: 16px;
}

.bx-basket-item-list-item-img {
    position: relative;
    padding-bottom: 5px;
    text-align: center;
}

.bx-basket-item-list-item-img img {
    max-width: 90px;
    height: auto;
    border: 1px solid #e6e6e6;
}

.bx-basket-item-list-item-name {
    padding-bottom: 5px;
}

.bx-basket-item-list-item-name a {
    font-size: 13px;
    line-height: 16px;
}

.bx-basket-item-list-item-remove {
    position: absolute;
    top: -7px;
    right: 10px;
    width: 20px;
    height: 20px;
    opacity: .5;
    cursor: pointer;
    transition: 250ms linear all;
}

.bx-basket-item-list-item-remove:after,
.bx-basket-item-list-item-remove:before {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 10px;
    height: 2px;
    border-radius: 1px;
    background-color: #333;
    content: '';
    transform: translate(-50%, -50%);
}

.bx-basket-item-list-item-remove:after {
    -webkit-transform: translate(-50%, -50%) rotate(45deg);
    -moz-transform: translate(-50%, -50%) rotate(45deg);
    -ms-transform: translate(-50%, -50%) rotate(45deg);
    -o-transform: translate(-50%, -50%) rotate(45deg);
    transform: translate(-50%, -50%) rotate(45deg);
}

.bx-basket-item-list-item-remove:before {
    -webkit-transform: translate(-50%, -50%) rotate(135deg);
    -moz-transform: translate(-50%, -50%) rotate(135deg);
    -ms-transform: translate(-50%, -50%) rotate(135deg);
    -o-transform: translate(-50%, -50%) rotate(135deg);
    transform: translate(-50%, -50%) rotate(135deg);
}

.bx-basket-item-list-item-remove:hover {
    opacity: .7;
}

.bx-basket-item-list-item-price-block {
    padding-bottom: 5px;
    font-size: 12px;
}

.bx-basket-item-list-item-price {
    display: inline-block;
    margin-right: 5px;
}

.bx-basket-item-list-item-price-old {
    display: inline-block;
    margin-right: 5px;
    color: #b0b0b0;
    text-decoration: line-through
}

.bx_cart_login_top .bx-hdr-profile {
    line-height: 1.44em;
}


/* CUSTOM STYLE */

:root {
    --color-cart-blue: #85C4E8;
    --color-cart-pink: #F08AB7;
    --color-cart-gray: #C3C2C2;
    --color-cart-green: #76B82A;
}

.im-header-cart,
.im-header-account {
    position: relative;
    height: 44px;
    top: 0;
    aspect-ratio: 1;
    /* box-shadow: 0 0.25em 0.75em rgb(0 0 0 / 0.1); */
    border-radius: 50%;
    /* border: 0.25em solid white; */
    font-size: 16px;
    display: flex;
    transition-property: border-color;
}

.background-color--blue {
    background-color: var(--color-cart-blue);
}

.background-color--gray {
    background-color: var(--color-cart-gray);
}

.background-color--green {
    background-color: var(--color-cart-green);
}

.im-header-cart:hover {
    background-color: #ADD7F0;
}

.im-header-account:hover {
    background-color: #9ECB32;
}

.im-header-cart__count {
    width: 21px;
    height: 21px;
    text-align: center;
    line-height: 21px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 50%;
    position: absolute;
    background-color: var(--color-cart-pink);
    color: white;
    right: -9px;
    top: -9px;
    /* display: none; */
}

.im-header-cart__icon {
    width: 50%;
    margin: auto;
    position: relative;
    left: -2px;
}

.im-header-account__icon {
    width: 50%;
    margin: auto;
    position: relative;
}

.im-header-cart__total-price{
    position: absolute;
    bottom: -20%;
    width: max-content;
    border-radius: 50px;
    background-color: #F08AB7;
    padding: 0px 6px;
    color: white;
    font-size: 12px;
    left:50%;
    transform:translate(-50%, 0%);
}

@media (max-width: 1000px) {
    
    .im-header-cart__count {
        width: 25px;
        height: 25px;
        font-size: 14px;
        right: -8px;
        top: -8px;
        line-height: 25px;
    }
}

.bx-hdr-profile { 
    display: flex;   
    gap: 4px;
    align-items: center;
}

.bx-hdr-profile .header__menu__item {
    margin-right: 14px;
}

.bx-hdr-profile .header__menu__item__link {
    padding: 10px 32px;
    border-radius: 30px;
    background: #C7DDF0;;
}

@media (max-width: 1250px) {
    .bx-hdr-profile .header__menu__item__link {
        padding: 10px 20px;        
    }
}

@media (max-width: 1100px) {
    .bx-hdr-profile .header__menu__item__link {
        padding: 7px 13px;        
    }
}

@media (max-width: 1000px) {
    .bx-hdr-profile .header__menu__item {
        display: none;
    }
}