.rating-summary {
    width: 100%;
    max-width: 600px;
    font-family: 'Arial', sans-serif;
}

/* MAIN SCORE LEFT (added) */
.rating-top {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
}

/* LEFT SIDE NUMBER */
.rating-score-left {
    font-size: 48px;
    font-weight: 700;
    color: #333;
}

/* RIGHT SIDE: STARS + TEXT */
.rating-score-right {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.rating-score-stars {
    font-size: 14px;
    color: #A8825A;
    margin-bottom: 4px;
}

.rating-score-text {
    font-size: 13px;
    color: #666;
    margin-top: 0;
}

/* PROGRESS ROW */
.rating-row {
    display: flex;
    align-items: center;
    margin: 8px 0;
}

.stars {
    width: 100px;
    font-size: 14px;
    color: #A8825A;
    flex-shrink: 0;
}

.bar {
    flex: 1;
    height: 14px;
    background: #e9e9e9;
    border-radius: 20px;
    margin-left: 12px;
    position: relative;
    overflow: hidden;
}

.bar .bar-fill {
    display: block;
    height: 100%;
    background: #A8825A;
    border-radius: 20px;
    width: 0%;
    transition: width 0.4s ease;
}

.bar-number {
    width: 40px;
    text-align: right;
    margin-left: 12px;
    color: #444;
    font-size: 13px;
}

/* Hide per-star numeric counts on the right side of bars */
.rating-row .bar-number {
    display: none;
}

/* clickable stars */
.cpr-rate-stars {
    font-size: 28px;
    color: #ddd;
    cursor: pointer;
    margin-top: 18px;
    user-select: none;
}

.cpr-rate-stars span {
    padding: 0 4px;
    color: #ddd;
}

.cpr-rate-stars span.active,
.cpr-rate-stars span.hover {
    color: #A8825A;
}

/* responsive */
@media (max-width:600px) {
    .rating-summary {
        max-width: 100%;
    }

    .stars {
        width: 90px;
        font-size: 13px;
    }

    .rating-score-left {
        font-size: 40px;
    }
}