/* Основные стили */
.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.review-item {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #eee;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex;
    flex-wrap: wrap;
    border-radius: 5px;
}

.product-info {
    width: 200px;
    margin-right: 20px;
}

.product-image {
    text-align: center;
    margin-bottom: 10px;
}

.product-image img {
    max-width: 100%;
    max-height: 150px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
}

.review-content {
    flex: 1;
    min-width: 300px;
}

.product-name {
    margin-bottom: 5px;
    font-size: 14px;
}

.product-section {
    margin-bottom: 10px;
    font-size: 14px;
}

.review-text {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.review-meta {
    color: #777;
    font-size: 0.9em;
    margin-top: 10px;
}

.review-author {
    font-weight: bold;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .review-item {
        flex-direction: column;
        padding: 15px;
    }
    
    .product-info {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
        order: 1; /* Картинка становится первой */
    }
    
    .review-content {
        width: 100%;
        order: 2; /* Контент становится вторым */
        min-width: auto;
    }
    
    .product-image {
        margin-bottom: 15px;
    }
    
    .product-image img {
        max-height: 200px;
    }
    
    .product-name,
    .product-section {
        margin-bottom: 8px;
    }
    
    .review-text {
        margin-bottom: 15px;
    }
}

/* Дополнительные адаптации для очень маленьких экранов */
@media (max-width: 480px) {
    .reviews-container {
        padding: 10px;
    }
    
    .review-item {
        padding: 10px;
    }
    
    .product-image img {
        max-height: 150px;
    }
}