.basket-small{
    position: relative;
}

.basket-item-header{
    font-size: 16px;
    font-weight: 700;
    color: var(--heading-color);
}

.basket-item-list-wrapper{
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    width: 100%;
    min-width: 480px;
    max-width: 480px;
    border-radius: var(--border-radius);
    background: #fff;
    transition: top, .5s;
    box-shadow: 0 0 15px 3px rgba(0, 0, 0, 0.1);
    padding: 24px 0 16px;
    z-index: 1001;
}

.is-opened .basket-item-list-wrapper{
    display: block;
}

.basket-item-list{
    height: 200px;
    overflow-y: auto;
}

.basket-item-list-item{
    gap: 12px;
    padding: 0 16px;
    margin-bottom: 12px;
}

.basket-item-list-item-img{
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    width: 60px;
    height: 50px;
}

.basket-item-list-item-img img{
    max-width: 100%;
    height: auto;
}

.basket-item-list-item-name{
    width: calc(100% - 72px);
    font-size: 14px;
    color: var(--ghost-color);
}

.basket-item-list-item-name a{
    color: var(--heading-color);
    text-decoration: none;
}

.basket-item-list-item-name span{
    white-space: nowrap;
}

.basket-item-list-item-price-block{
    min-width: 120px;
}

@media(min-width: 576px){
    .basket-item-list-item-price-block{
        margin-left: auto;
        text-align: right;
    }
}

.basket-item-list-item-price-old{
    text-decoration: line-through;
}

.basket-item-list-total{
    gap: 16px;
    border-top: 1px solid rgba(0, 0, 0, .08);
    padding: 12px 16px 0;
}

.basket-item-list-total-price{
    font-weight: 700;
    font-size: 20px;
}

.basket-item-list-item-remove{
    cursor: pointer;
    margin-left: auto;
}