/* Product Reviews Styles */
.reviews-section {
    margin-top: 3rem;
    padding: 2rem 0;
}

.reviews-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(184, 134, 11, 0.1);
}

.rating-overview {
    text-align: center;
    margin-bottom: 2rem;
}

.average-rating {
    font-size: 3rem;
    font-weight: bold;
    color: #B8860B;
    margin-bottom: 0.5rem;
}

.rating-stars {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.total-reviews {
    color: #6c757d;
    font-size: 1.1rem;
}

.rating-distribution {
    max-width: 400px;
    margin: 0 auto;
}

.rating-bar {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.rating-bar span {
    min-width: 60px;
    font-size: 0.9rem;
    color: #6c757d;
}

.progress {
    flex: 1;
    height: 8px;
    margin: 0 1rem;
    background-color: #e9ecef;
}

.progress-bar {
    background-color: #B8860B;
}

.rating-count {
    min-width: 30px;
    text-align: right;
    font-size: 0.9rem;
    color: #6c757d;
}

/* Review Form */
.review-form {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.star-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star-rating input[type="radio"] {
    display: none;
}

.star-rating label {
    cursor: pointer;
    font-size: 1.5rem;
    transition: color 0.2s ease;
}

.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #B8860B !important;
}

.star-rating input[type="radio"]:checked ~ label i {
    color: #B8860B !important;
}

/* Review Items */
.review-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

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

.reviewer-avatar {
    font-weight: bold;
    font-size: 1.1rem;
}

.review-rating i {
    font-size: 0.9rem;
}

.review-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.review-comment {
    line-height: 1.6;
    color: #495057;
}

.review-actions {
    gap: 1rem;
}

.helpful-btn {
    border: 1px solid #B8860B;
    color: #B8860B;
    transition: all 0.3s ease;
}

.helpful-btn:hover {
    background-color: #B8860B;
    color: white;
    transform: translateY(-1px);
}

.helpful-btn:active {
    transform: translateY(0);
}

/* No Reviews State */
.no-reviews {
    background: #f8f9fa;
    border-radius: 12px;
    margin: 2rem 0;
}

.no-reviews i {
    opacity: 0.5;
}

/* Social Share Buttons */
.social-share .btn {
    border: 1px solid #dee2e6;
    color: #6c757d;
    transition: all 0.3s ease;
}

.social-share .btn:hover {
    border-color: #B8860B;
    color: #B8860B;
}

/* Verified Purchase Badge */
.badge.bg-success {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .reviews-summary {
        padding: 1.5rem;
    }
    
    .review-form {
        padding: 1.5rem;
    }
    
    .rating-overview {
        margin-bottom: 1.5rem;
    }
    
    .average-rating {
        font-size: 2.5rem;
    }
    
    .star-rating label {
        font-size: 1.25rem;
    }
    
    .review-actions {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem;
    }
}

/* Animation Effects */
.review-item {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.review-item:nth-child(1) { animation-delay: 0.1s; }
.review-item:nth-child(2) { animation-delay: 0.2s; }
.review-item:nth-child(3) { animation-delay: 0.3s; }
.review-item:nth-child(4) { animation-delay: 0.4s; }
.review-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading State */
.reviews-loading {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
}

.reviews-loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}