.product-card {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 20px;
    background: #fff;
    text-align: center;
    position: relative;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 10px;
}

.product-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    height: 34px; /* Высота для двух строк */
    line-height: 17px; /* Высота одной строки */
    overflow: hidden;
    display: block;
    text-overflow: ellipsis;
    /* Для современных браузеров - многострочная обрезка */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    /* Fallback для старых браузеров */
    word-wrap: break-word;
}

.product-price {
    font-size: 16px;
    font-weight: bold;
    color: #000;
    margin-bottom: 5px;
}

.product-seller {
    font-size: 12px;
    color: #666;
}

.sale-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #d9534f;
    color: white;
    padding: 2px 6px;
    font-size: 11px;
    border-radius: 3px;
}
