.review-section {
    padding: 30px 0;
}
.product-prev-badge__stars {
    display: inline-flex;
}
.rating-star {
    color: #ffc107;
    margin-right: 3px;
    height: 16px;
    width: 16px;
    display: inline-block;
}
.rating-star:before {
    content: "";
    width: 100%;
    height: 100%;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}
.rating-star-fill:before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23ffa534" viewBox="0 0 16 16"><path d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z"/></svg>');
}
.rating-star-o:before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23ffa534" viewBox="0 0 16 16"><path d="M2.866 14.85c-.078.444.36.791.746.593l4.39-2.256 4.389 2.256c.386.198.824-.149.746-.592l-.83-4.73 3.522-3.356c.33-.314.16-.888-.282-.95l-4.898-.696L8.465.792a.513.513 0 0 0-.927 0L5.354 5.12l-4.898.696c-.441.062-.612.636-.283.95l3.523 3.356-.83 4.73zm4.905-2.767-3.686 1.894.694-3.957a.56.56 0 0 0-.163-.505L1.71 6.745l4.052-.576a.53.53 0 0 0 .393-.288L8 2.223l1.847 3.658a.53.53 0 0 0 .393.288l4.052.575-2.906 2.77a.56.56 0 0 0-.163.506l.694 3.957-3.686-1.894a.5.5 0 0 0-.461 0z"/></svg>');
}
.rating-star-half-o:before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23ffa534" viewBox="0 0 16 16"><path d="M5.354 5.119 7.538.792A.52.52 0 0 1 8 .5c.183 0 .366.097.465.292l2.184 4.327 4.898.696A.54.54 0 0 1 16 6.32a.55.55 0 0 1-.17.445l-3.523 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256a.5.5 0 0 1-.146.05c-.342.06-.668-.254-.6-.642l.83-4.73L.173 6.765a.55.55 0 0 1-.172-.403.6.6 0 0 1 .085-.302.51.51 0 0 1 .37-.245zM8 12.027a.5.5 0 0 1 .232.056l3.686 1.894-.694-3.957a.56.56 0 0 1 .162-.505l2.907-2.77-4.052-.576a.53.53 0 0 1-.393-.288L8.001 2.223 8 2.226z"/></svg>');
}
.avg-rating-box {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.avg-rating-score {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
}
.summary-card {
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
    padding-bottom: 30px;
}
.review-card {
    border: none;
}
.progress-bar-container {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}
.progress-bar-label {
    width: 42px;
    font-weight: 500;
    text-align: right;
    padding-right: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 0;
}
.review-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}
.review-item:last-child {
    border-bottom: none;
}
.reviewer-name {
    font-weight: 500;
    font-size: 14px;
    padding: 5px 0;
}
.reviewer-verified {
    display: flex;
    align-items: center;
    white-space: normal;
    padding: .25rem;
    margin-left: .5rem;
    font-size: 10px;
}
.load-more-btn {
    border-radius: 50px;
    font-weight: 600;
    padding: 10px 30px;
}
/* Make progress bars taller */
.progress {
    height: 15px;
    flex-grow: 1;
    border-radius: 8px;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .avg-rating-box {
        padding: 20px;
    }
    .avg-rating-score {
        font-size: 3rem;
    }
}