.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.review-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #2271b1;
}

.review-image {
    float: left;
    margin-right: 15px;
    margin-bottom: 10px;
}

.review-image img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.review-content {
    overflow: hidden;
}

.review-text {
    font-style: italic;
    margin-bottom: 10px;
    line-height: 1.6;
}

.review-rating {
    margin-bottom: 10px;
}

.star-rating {
    color: #ffb900;
    font-size: 18px;
}

.star-rating .star {
    margin-right: 2px;
}

.review-author {
    font-size: 14px;
    color: #666;
}

/* Форма отзывов */
#review-form-wrapper {
    max-width: 600px;
    margin: 20px 0;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-group button {
    background: #2271b1;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.form-group button:hover {
    background: #135e96;
}

#review-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
}

#review-message.success {
    background: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

#review-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Виджет */
.reviews-widget {
    margin: 10px 0;
}

.review-widget-item {
    background: #f8f9fa;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    border-left: 3px solid #2271b1;
}

.review-widget-content {
    font-style: italic;
    margin-bottom: 8px;
    line-height: 1.4;
}

.review-widget-rating {
    color: #ffb900;
    margin-bottom: 5px;
}

.review-widget-author {
    font-size: 13px;
    color: #555;
    font-weight: bold;
}
