.header-basket .basket-prod-price {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.header-basket .header-basket-item, .product-item .price-btn, header .header-content {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.header-basket .header-basket-item .header-basket-info {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.basket {
    background: #ED1C24;
    border-radius: 100px;
    color: #fff;
    padding: 21px 20px 21px;
    font-weight: 700;
}

.basket img {
    margin-right: 16px;
}

.basket-layer {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 111;
    visibility: hidden;
    opacity: 0;
}

.open {
    visibility: visible !important;
    opacity: 1 !important;
}

.basket-layer {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 111;
    visibility: hidden;
    opacity: 0;
}

.open {
    visibility: visible !important;
    opacity: 1 !important;
}

.header-basket {
    position: fixed;
    top: 0;
    right: -540px;
    background: #FFFFFF;
    padding: 0 20px 20px 20px;
    width: 534px;
    height: 100vh;
    z-index: 999;
}

.header-basket .hb-content {
    height: calc(100vh - 64px);
    overflow: auto;
}

.hb-content .product-counter button {
    width: 24px;
    height: 24px;
    border: 1px solid transparent;
    border-radius: 50%;
    color: #fff;
    padding-top: 3px;
    font-size: 14px;
}

.hb-content .product-counter input {
    width: 38px;
    border: 1px solid transparent;
    background: transparent;
    text-align: center;
    font-size: 16px;
}

.hb-content .product-counter .minus {
    background: #ED1C24;
}

.hb-content .product-counter.product-counter {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.header-basket .header-basket-item {
    border-bottom: 1px solid #EBE2D1;
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.header-basket .header-basket-item .price {
    font-family: GHEAHelveticaGeoBold;
    margin-right: 32px;
    max-width: 90px;
    width: 100%;
    text-align: right;
}


.header-basket .header-basket-item img {
    margin: 0 16px 12px 0;
}

.header-basket .header-basket-item .txt-info {
    width: 61%;
}

.header-basket .header-basket-item .txt-info p {
    font-size: 14px;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
    color: #393E41;
    line-height: 18px;
    display: -webkit-box;
    word-break: break-word;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
}

.cartBasketProductOptions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.cartBasketProductOptions div {
    background: #EDE7D9;
    border-radius: 100px;
    padding: 4px 8px;
    font-size: 12px;
    line-height: 18px;
    text-transform: lowercase;
}

.header-basket .header-basket-item .txt-info a p {
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 10px;
}

.header-basket .header-basket-item .txt-info span {
    font-size: 12px;
    letter-spacing: 0.04em;
    color: #586065;
}

.header-basket .menu_header {
    padding: 20px 0;
}

.header-basket .basket-prod-price {
    width: 100%;
    padding: 7px 20px;
    background: #ED1C24;
    border-radius: 16px;
    margin: 16px 0;
    cursor: pointer;
}

.header-basket .basket-prod-price:hover {
    background: #F34E5D;
}

.header-basket .basket-prod-price span {
    font-size: 18px;
    letter-spacing: 0.04em;
    color: #FFFFFF;
    font-family: GHEAHelveticaGeoBold;
    padding: 7px 24px;
}

.header-basket .basket-prod-price .leftBorder {
    border-left: 1px solid #F78C96;
}

.header-basket .basket-prod-price img {
    width: 21px;
    margin-right: 19px;
}

.header-basket .basket-prod-price div.price {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.header-basket .basket-prod-price div.price span {
    padding: 7px 0;
}

.hb-content::-webkit-scrollbar {
    width: 10px;
}

.hb-content::-webkit-scrollbar-track {
    background: transparent;
}

.hb-content::-webkit-scrollbar-thumb {
    background: #D9CEAB;
    border-radius: 100px;
}

.hb-content::-webkit-scrollbar-thumb:hover {
    background: #D9CEAB;
}

.right0 {
    right: 0;
}

.errorMessage {
    text-align: center;
    color: #f23b4c;
    font-size: 25px;
    margin-top: 10px;
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}
@media (max-width: 1665px) {
    .basket img {
        width: 24px;
    }

}

@media (max-width: 1270px) {
    .errorMessage {
        font-size: 22px;
    }
}

@media (max-width: 985px) {

    .basket {
        padding: 8px 15px 7px;
    }

    .basket > img {
        width: 25px;
    }

}

@media (max-width: 660px) {
    .basket {
        display: none !important;
    }

    .errorMessage {
        font-size: 20px;
    }
}
