.yer-rating,
.yer-stars {
    direction: ltr;
}

.yer-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    line-height: 1;
    vertical-align: middle;
}

.yer-rating--rate {
    direction: inherit;
}

.yer-rating-text {
    display: inline-block;
    line-height: 1.4;
    font-weight: 600;
}

.yer-stars {
    display: inline-flex;
    align-items: center;
    gap: 0.08em;
    line-height: 1;
    font-size: 20px;
    color: #d8d8d8;
    white-space: nowrap;
}

.yer-star {
    position: relative;
    display: inline-block;
    line-height: 1;
    font-style: normal;
}

.yer-star--full,
.yer-star--half .yer-star-fill {
    color: #f5b301;
}

.yer-star--empty,
.yer-star--half .yer-star-base {
    color: #d8d8d8;
}

.yer-star--half .yer-star-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    overflow: hidden;
    white-space: nowrap;
}

.yer-rating-elementor-wrap {
    width: 100%;
}

.comment-form-yer-rating label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.yer-comment-stars {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 4px;
    line-height: 1;
}

.yer-comment-stars input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.yer-comment-stars label {
    display: inline-block;
    margin: 0;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    color: #d8d8d8;
}

.yer-comment-stars label:hover,
.yer-comment-stars label:hover ~ label,
.yer-comment-stars input:checked ~ label {
    color: #f5b301;
}

.yer-comment-rating-hint {
    display: block;
    margin: -3px 0 8px;
    font-size: 0.9em;
    line-height: 1.6;
    opacity: 0.75;
}
