.ps-review-summary {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 24px;
    padding: 18px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
}

.ps-review-summary__score {
    color: #111827;
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
}

.ps-review-summary__details {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.45;
}

.ps-review-stars {
    display: inline-flex;
    gap: 2px;
    margin-bottom: 2px;
}

.ps-review-star {
    color: #d1d5db;
    font-size: 18px;
    line-height: 1;
}

.ps-review-star.is-filled {
    color: #e3a008;
}

.ps-review-comment-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 10px;
    color: #6b7280;
    font-size: 13px;
}

.ps-review-comment-rating .ps-review-stars {
    margin: 0;
}

.ps-review-rating-field {
    margin: 0 0 20px;
    padding: 0;
    border: 0;
}

.ps-review-rating-field legend {
    margin-bottom: 8px;
    color: #111827;
    font-size: 15px;
    font-weight: 800;
}

.ps-review-rating-required {
    color: #c62828;
}

.ps-review-star-input {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}

.ps-review-star-input input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.ps-review-star-input label {
    margin: 0;
    color: #d1d5db;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    transition: color .15s ease, transform .15s ease;
}

.ps-review-star-input label:hover,
.ps-review-star-input label:hover ~ label,
.ps-review-star-input input:checked ~ label {
    color: #e3a008;
}

.ps-review-star-input label:hover {
    transform: translateY(-1px);
}

.ps-review-star-input input:focus-visible + label {
    outline: 2px solid #c62828;
    outline-offset: 3px;
    border-radius: 3px;
}

@media (max-width: 600px) {
    .ps-review-summary {
        align-items: flex-start;
        padding: 15px;
    }

    .ps-review-star-input label {
        font-size: 30px;
    }
}

