/*.mg-all-comments-wrapper {
    max-width: 1200px!important;
    margin: 40px auto!important;
    padding: 0 15px!important;
}*/
.static-container h3  {
    font-size: 28px!important;
    font-weight: 600!important;
    margin-bottom: 30px!important;
    color: #333!important;
    border-bottom: 2px solid #eef2f6!important;
    padding-bottom: 15px!important;
}

/* ===== ОСНОВНЫЕ СТИЛИ ДЛЯ ВСЕХ ОТЗЫВОВ ===== */
.mg-all-comments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    /*max-width: 1200px;*/
    margin: 0 auto;
}

.mg-comment-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.mg-comment-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.mg-comment-card-image {
    display: block;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.mg-comment-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.mg-comment-card:hover .mg-comment-card-image img {
    transform: scale(1.05);
}

.mg-comment-card-content {
    padding: 15px;
}

.mg-comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
}

.mg-comment-author {
    font-weight: bold;
    color: #333;
}

.mg-comment-rating {
    color: #f39c12;
    letter-spacing: 2px;
}

.mg-comment-product-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    line-height: 1.3;
}

.mg-comment-product-title:hover {
    color: #1a4d8c;
}

.mg-comment-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.mg-comment-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.mg-comment-price {
    font-size: 18px;
    font-weight: 700;
    color: #e35f3e;
}

.mg-comment-button {
    background: #1a4d8c;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.mg-comment-button:hover {
    background: #0d3a6f;
}

/* ===== МЕДИАЗАПРОСЫ ДЛЯ МОБИЛЬНОЙ ВЕРСИИ ===== */
@media (max-width: 1024px) {
    .mg-all-comments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .mg-all-comments-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 500px;
    }
    
    .mg-comment-card-image {
        height: 180px;
    }
    
    .mg-comment-card-content {
        padding: 12px;
    }
    
    .mg-comment-product-title {
        font-size: 15px;
    }
    
    .mg-comment-price {
        font-size: 16px;
    }
    
    .mg-comment-button {
        padding: 6px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .mg-all-comments-grid {
        padding: 0 10px;
    }
    
    .mg-comment-card-image {
        height: 160px;
    }
    
    .mg-comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .mg-comment-footer {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .mg-comment-price {
        text-align: center;
    }
    
    .mg-comment-button {
        text-align: center;
    }
}