.swth-stars {
position: relative;
display: inline-block;
font-size: 16px;
line-height: 1;
letter-spacing: 2px;
white-space: nowrap;
vertical-align: middle;
color: color-mix(in srgb, currentColor 22%, transparent);
}
.swth-stars::before { content: "\2605\2605\2605\2605\2605"; }
.swth-stars__fill {
position: absolute;
left: 0;
top: 0;
overflow: hidden;
white-space: nowrap;
color: var(--swth-star-color, #f5a623);
}
.swth-stars__fill::before { content: "\2605\2605\2605\2605\2605"; }
.swth-reviews-rating { display: flex; align-items: center; gap: 6px; margin: 0; }
.swth-reviews-rating--center { justify-content: center; }
.swth-reviews-rating--right { justify-content: flex-end; } .swth-reviews-card {
display: block;
grid-column: 1 / -1;
justify-self: stretch;
align-self: auto;
width: 100%;
box-sizing: border-box;
text-align: var(--swth-card-title-align, inherit) !important;
}
body.swth-card-title-align-left .swth-reviews-card { text-align: left !important; }
body.swth-card-title-align-center .swth-reviews-card { text-align: center !important; }
body.swth-card-title-align-right .swth-reviews-card { text-align: right !important; }
.swth-reviews-card .swth-reviews-rating__count { margin-left: 6px; }
.swth-reviews-rating__count { font-size: 0.9em; opacity: 0.75; }
.swth-reviews-summary {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 4px 12px;
margin: 0 0 24px;
}
.swth-reviews-summary__score { font-size: 2.4em; font-weight: 600; line-height: 1; }
.swth-reviews-summary__out { opacity: 0.65; margin-left: -8px; }
.swth-reviews-summary__count { opacity: 0.75; }
.swth-reviews-summary .swth-stars { font-size: 20px; }
.swth-reviews__list { list-style: none; margin: 0 0 32px; padding: 0; }
.swth-review { margin: 0 0 16px; padding: 0; }
.swth-review__box {
padding: 16px 20px;
border: 1px solid color-mix(in srgb, currentColor 15%, transparent);
border-radius: 4px;
box-sizing: border-box;
}
.swth-review__rating { margin: 0 0 6px; }
.swth-review__meta { margin: 0 0 6px; }
.swth-review__date, .swth-review__verified { opacity: 0.7; }
.swth-review__text p { margin: 0 0 0.8em; }
.swth-review__text p:last-child { margin-bottom: 0; }
.swth-review__reply {
margin: 14px 0 0 16px;
padding-left: 14px;
border-left: 2px solid color-mix(in srgb, currentColor 15%, transparent);
}
.swth-reviews__title { margin: 0 0 12px; }
.swth-reviews__form .comment-form > p { margin: 0 0 14px; }
.swth-reviews__form label { display: block; margin: 0 0 4px; }
.swth-reviews__form textarea,
.swth-reviews__form input[type="text"],
.swth-reviews__form input[type="email"] { width: 100%; box-sizing: border-box; }
.swth-reviews__form .comment-form-cookies-consent label { display: inline; }
.swth-reviews__pending, .swth-reviews__empty, .swth-reviews__closed { margin: 0 0 20px; }
.swth-rate { border: 0; margin: 0 0 14px; padding: 0; }
.swth-rate legend { padding: 0; margin: 0 0 4px; }
.swth-rate__stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; position: relative; }
.swth-rate input {
position: absolute;
opacity: 0;
width: 1px;
height: 1px;
margin: 0;
}
.swth-rate label {
display: inline-block;
margin: 0;
padding: 0 2px;
font-size: 1.7em;
line-height: 1;
cursor: pointer;
color: color-mix(in srgb, currentColor 22%, transparent);
}
.swth-rate label::before { content: "\2605"; }
.swth-rate input:checked ~ label,
.swth-rate label:hover,
.swth-rate label:hover ~ label { color: var(--swth-star-color, #f5a623); }
.swth-rate input:focus-visible + label { outline: 2px solid currentColor; outline-offset: 2px; }
.swth-rate .screen-reader-text {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip: rect(0 0 0 0);
white-space: nowrap;
}
.swth-reviews-note { margin: 0 0 12px; }