.reviews-page {
    padding: 2rem 0;
    margin-top: 5rem;
}

.reviews-header {
    margin-bottom: 2rem;
}

.reviews-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.reviews-header .product-link {
    color: #6c757d;
    text-decoration: none;
    font-size: 1rem;
}

.reviews-header .product-link:hover {
    color: #0d6efd;
}

.reviews-summary {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.rating-overview {
    text-align: center;
    min-width: 150px;
}

.rating-big {
    font-size: 3.5rem;
    font-weight: 700;
    color: #212529;
    line-height: 1;
}

.rating-stars {
    margin: 0.5rem 0;
    color: #ffc107;
    font-size: 1.2rem;
}

.rating-count {
    color: #6c757d;
    font-size: 0.9rem;
}

.rating-bars {
    flex: 1;
    min-width: 250px;
}

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

.rating-bar-label {
    width: 60px;
    text-align: right;
    font-size: 0.9rem;
    color: #495057;
    white-space: nowrap;
}

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

.rating-bar-progress {
    height: 100%;
    background: #ffc107;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.rating-bar-percent {
    width: 45px;
    font-size: 0.85rem;
    color: #6c757d;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    transition: box-shadow 0.2s ease;
}

.review-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.review-author-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.review-author-name {
    font-weight: 600;
    color: #212529;
    font-size: 1rem;
}

.review-product-name {
    color: #0d6efd;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 0.15rem;
}

.review-product-name a {
    color: #0d6efd;
    text-decoration: none;
}

.review-product-name a:hover {
    text-decoration: underline;
}

.review-date {
    color: #6c757d;
    font-size: 0.85rem;
}

.review-rating {
    color: #ffc107;
    font-size: 0.9rem;
}

.review-text {
    color: #495057;
    line-height: 1.6;
    font-size: 0.95rem;
}

.empty-reviews {
    text-align: center;
    padding: 4rem 2rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.empty-reviews i {
    font-size: 4rem;
    color: #adb5bd;
    margin-bottom: 1rem;
}

.empty-reviews h3 {
    color: #495057;
    margin-bottom: 0.5rem;
}

.empty-reviews p {
    color: #6c757d;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    text-decoration: none;
    margin-top: 2rem;
    font-size: 0.95rem;
}

.back-link:hover {
    color: #0d6efd;
}

@media (max-width: 768px) {
    .reviews-summary {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .rating-overview {
        text-align: center;
    }

    .rating-big {
        font-size: 2.5rem;
    }
}