.header-basket {
    max-width: 562px;
    background: #ffffff;
    border-radius: 15px;
    padding: 42px 25px 21px 25px;
    box-shadow: 0 0 5px 0 rgb(0 0 0 / 20%);
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    right: 15px;
    z-index: 15;
    transition: 0.3s;
}

.header__user-block.active + #basket-small .header-basket {
    opacity: 1;
    visibility: visible;
    top: 100px;
}

.header-basket a {
    color: #000000;
}

.header-basket__title {
    margin-bottom: 26px;
    margin-left: 10px;
    font-weight: 800;
    font-size: 36px;
    line-height: 37px;
}

.header-basket__title2 {
    max-width: 220px;
}

.header-basket__items {
    max-height: 40vh;
    overflow-y: auto;
    padding-right: 10px;
}

.header-basket__items::-webkit-scrollbar {
    width: 8px;
    background-color: rgba(0, 0, 0, 0.05);
    margin: 5px;
}

.header-basket__items::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.326);
    width: 6px;
}

.header-basket__items::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.05);
}

.header-basket__subtitle {
    font-weight: 800;
    font-size: 24px;
    margin: 34px 0 23px 0;
}

.header-basket__items-2 {
    display: -ms-flexbox;
    display: flex;
}

.header-basket__item-2 {
    -ms-flex: 0 1 50%;
    flex: 0 1 50%;
    display: -ms-flexbox;
    display: flex;
}

.header-basket-item__img {
    flex: 0 0 100px;
}

.header-basket-item__body {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 15px 0;
}

.header-basket-item__title {
    max-width: 100px;
    font-size: 15px;
    line-height: 15px;
}

.header-basket-item__price {
    background: #a9d992;
    border-radius: 15px;
    min-width: 71.79px;
    height: 22.3px;
    font-size: 16px;
    line-height: 16px;
    margin-top: 15px;
    color: #fff;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
}

.header-basket__btn {
    height: 60px;
    width: 100%;
    margin-top: 35px;
}

.header-basket__btn .btn {
    background: #a9d992;
    border-radius: 15px;
    font-size: 24px;
    line-height: 28px;
    color: #ffffff;
    width: 100%;
    height: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
}

.header__basket-2 {
    background-image: url("img/Frame.png");
    background-repeat: no-repeat;
    background-position: 50% 20%;
}

.header-basket__text {
    width: 100%;
    height: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 24px;
    line-height: 25px;
    text-align: center;
    max-width: 300px;
    margin: 0 auto;
    margin-top: 50px;
    color: rgba(0, 0, 0, 0.5);
}

#basket-small {
    position: absolute;
    right: 0;
    top: 0;
}

.basket-order__item {
    position: relative;
    overflow: hidden;
    display: -ms-flexbox;
    display: flex;
    border: 1px solid #c4c4c4;
    border-radius: 15px;
    margin-bottom: 15px;
}

.basket-order__item:last-child {
    margin-bottom: 0;
}

.basket-order-item__body {
    -ms-flex-positive: 1;
    flex-grow: 1;
    padding: 23px 10px 11px 10px;
}

.basket-order-item__title {
    font-weight: 800;
    font-size: 18px;
    line-height: 19px;
}

.basket-order-item__price {
    margin-top: 20px;
    -ms-flex-pack: justify;
    justify-content: space-between;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    font-size: 18px;
    line-height: 19px;
}

.basket-order-item__price .basket_item_price {
    font-weight: 800;
}

.basket-order-item__gram {
    font-size: 16px;
    line-height: 16px;
    color: rgba(0, 0, 0, 0.15);
}

.basket-order-item__counter {
    overflow: hidden;
    display: -ms-flexbox;
    display: flex;
    height: 32px;
    width: 100px;
    background: #ffffff;
    box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.15);
    border-radius: 25px;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-align: center;
    align-items: center;
}

.basket-order-item__counter input {
    color: #000;
    font-family: "Object Sans";
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    -ms-flex: 0 0 33.333%;
    flex: 0 0 33.333%;
    width: 33% !important;
    text-align: center;
    background-color: #fff;
    /*font-family: monospace;*/
}

.basket-order-item__counter input:disabled {
    color: #000;
    opacity: 1;
}

.basket-order-item__counter div {
    background-color: #fff;
    color: #000;
    text-align: center;
    cursor: pointer;
    -ms-flex: 0 0 33.333%;
    flex: 0 0 33.333%;
    box-sizing: border-box;
    font-weight: 400;
    font-family: monospace;
}

.basket-order__content {
    border-bottom: 1px solid #000000;
    border-top: 1px solid #000000;
    padding-top: 13px;
    margin-top: 80px;
}

.basket-order__text {
    font-size: 18px;
    line-height: 18px;
    margin-bottom: 13px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.basket-order__price {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
    font-weight: 800;
    font-size: 24px;
    line-height: 25px;
}

.basket-order-item__img {
    min-width: 115px;
    max-width: 115px;
    flex: 0 1 50%;
    padding-right: 15px;
}

.basket-order-item__body {
    flex: 0 1 50%;
    min-width: 300px;
}

.header-basket-close {
    position: absolute;
    right: 15px;
    top: 15px;
    cursor: pointer;
}

@media (max-width: 767px) {
    #basket-small {
        display: none;
    }
    
    .basket-order-item__counter input {
        font-size: 14px;
        -webkit-margin-before: 4px;
    }
}