/* Product Reviews Styles */
.reviews-section {
    padding: 30px 0;
}

.reviews-summary h4 {
    color: #333;
    font-weight: 600;
    margin-bottom: 30px;
}

.overall-rating {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 30px;
}

.rating-number {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    display: block;
}

.overall-rating .stars {
    margin: 10px 0;
}

.overall-rating .stars i {
    color: #ffc107;
    font-size: 20px;
    margin: 0 2px;
}

.total-reviews {
    color: #666;
    font-size: 14px;
}

.rating-breakdown {
    margin-top: 20px;
}

.rating-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 15px;
}

.stars-label {
    min-width: 60px;
    font-size: 14px;
    color: #666;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #ffc107;
    transition: width 0.3s ease;
}

.percentage {
    min-width: 40px;
    text-align: right;
    font-size: 14px;
    color: #666;
}

.write-review {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
}

.write-review h5 {
    color: #333;
    font-weight: 600;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    color: #ddd;
    font-size: 20px;
    transition: color 0.2s ease;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: #ffc107;
}

.review-form .form-control {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 12px 15px;
    font-size: 14px;
}

.review-form .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

.reviews-list {
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.reviews-list h5 {
    color: #333;
    font-weight: 600;
}

.single-review {
    padding: 25px 0;
    border-bottom: 1px solid #f0f0f0;
}

.single-review:last-child {
    border-bottom: none;
}

.review-header {
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-details h6 {
    color: #333;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 16px;
}

.review-stars i {
    color: #ffc107;
    font-size: 14px;
    margin-right: 2px;
}

.review-stars i.fa-star-o {
    color: #ddd;
}

.review-date {
    color: #999;
    font-size: 12px;
    margin-left: 10px;
}

.review-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 15px;
}

@media (max-width: 767px) {
    .overall-rating {
        padding: 20px;
    }
    
    .rating-number {
        font-size: 36px;
    }
    
    .write-review {
        padding: 20px;
        margin-top: 30px;
    }
    
    .reviewer-info {
        gap: 10px;
    }
    
    .reviewer-avatar {
        width: 40px;
        height: 40px;
    }
}