.product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #EDEDED;
}

.product-item__info {
    width: 65%;
    word-wrap: break-word;
}

.product-item__title {
    font-size: 16px;
    line-height: 22px;
}
.product-item__description {
    color: var(--avt-muted);
    font-size: 12px;
    line-height: 16px;
    margin-top: 5px;
}

.product-item__price {
    max-width: 15%;
    font-weight: 700;
}

.product-item__buy {
    margin-left: 30px;
    width: 145px;
    text-align: center;
}
.product-item--bought .product-item__buy, .product-item__buy--bought {
    display: none;
}
.product-item--bought .product-item__buy.product-item__buy--bought { 
    display: inline-block;
}

.product-item__buy-passive-text {
    display: none;
}

.product-item__buy--added, .product-item__buy--bought {
    background: #fff;
    border-color: #EDEDED;
    color: #333;
}

.product-item__buy--added:hover, .product-item__buy--bought:hover {
    background: #fff;
}

.product-item__buy--added .product-item__buy-passive-text {
    display: inline;
}
.product-item__buy--added .product-item__buy-active-text {
    display: none;
}

/* Телефон: название и описание во всю ширину, ниже в одну строку цена и кнопка «В корзину» на 44px. */
@media screen and (max-width: 767px) {
    .product-item {
        flex-wrap: wrap;
        padding: 14px 16px;
    }
    .product-item__info {
        width: 100%;
    }
    .product-item__title {
        font-size: 15px;
        overflow-wrap: anywhere;
    }
    .product-item__price {
        max-width: none;
        flex: 1;
        margin-top: 12px;
        font-size: 16px;
        font-variant-numeric: tabular-nums;
    }
    .product-item__buy {
        margin: 12px 0 0 auto;
        padding-top: 11px;
        padding-bottom: 11px;
    }
}
