.soeby-review-wrap {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    font-family: inherit;
    color: inherit;
}

.soeby-review-form {
    width: 100%;
}

.soeby-review-field {
    margin: 0 0 26px;
}

.soeby-review-field > label,
.soeby-review-heading {
    display: block;
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
}

.soeby-review-heading {
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 16px;
}

.soeby-stars {
    display: flex;
    align-items: center;
    gap: 4px;
    width: max-content;
    max-width: 100%;
}

.soeby-star {
    width: 46px;
    height: 46px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: #dedee7;
    color: #fff;
    font-size: 34px;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 46px;
    text-align: center;
    cursor: pointer;
    transition: transform .08s ease, background-color .12s ease;
    appearance: none;
    -webkit-appearance: none;
}

.soeby-star:hover,
.soeby-star:focus-visible {
    transform: translateY(-1px);
}

.soeby-star:focus-visible {
    outline: 3px solid rgba(27, 102, 255, .35);
    outline-offset: 2px;
}

.soeby-stars.rating-1 .soeby-star:nth-child(-n+1) { background: #ff3b30; }
.soeby-stars.rating-2 .soeby-star:nth-child(-n+2) { background: #ff7a22; }
.soeby-stars.rating-3 .soeby-star:nth-child(-n+3) { background: #ffc400; }
.soeby-stars.rating-4 .soeby-star:nth-child(-n+4) { background: #59cf0b; }
.soeby-stars.rating-5 .soeby-star:nth-child(-n+5) { background: #00b894; }

.soeby-review-form input[type="text"],
.soeby-review-form input[type="email"],
.soeby-review-form input[type="date"],
.soeby-review-form textarea {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #cfcac5;
    border-radius: 7px;
    background: #fff;
    color: #222;
    font: inherit;
    font-size: 15px;
    line-height: 1.45;
    padding: 12px 13px;
    box-shadow: none;
}

.soeby-review-form textarea {
    min-height: 150px;
    resize: vertical;
}

.soeby-review-form input:focus,
.soeby-review-form textarea:focus {
    border-color: #3454a4;
    outline: 2px solid rgba(52, 84, 164, .18);
    outline-offset: 1px;
}

.soeby-review-options {
    margin: 4px 0 24px;
    padding: 16px 18px;
    border: 1px solid #e2ddd5;
    border-radius: 12px;
    background: #fbfaf7;
}

.soeby-check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 8px 0;
    font-size: 15px;
    line-height: 1.45;
}

.soeby-check-row input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
    flex: 0 0 17px;
}

.soeby-confirm-row {
    margin: 0 0 24px;
    font-size: 14px;
}

.soeby-required {
    color: #a00000;
}

.soeby-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 24px;
    border: 0;
    border-radius: 7px;
    background: #1d4f3f;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.soeby-submit:hover,
.soeby-submit:focus-visible {
    filter: brightness(.94);
}

.soeby-review-message {
    margin: 0 0 22px;
    padding: 12px 14px;
    border-radius: 7px;
    font-size: 15px;
}

.soeby-review-success {
    background: #e9f6ee;
    border: 1px solid #9dd2ae;
}

.soeby-review-error,
.soeby-rating-error {
    color: #8c1d18;
}

.soeby-review-error {
    background: #fff0ef;
    border: 1px solid #e2a5a1;
}

.soeby-rating-error {
    margin-top: 8px;
    font-size: 14px;
}

.soeby-hp {
    position: absolute !important;
    left: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 480px) {
    .soeby-review-heading {
        font-size: 22px;
    }

    .soeby-star {
        width: 43px;
        height: 43px;
        font-size: 31px;
        line-height: 43px;
    }

    .soeby-stars {
        gap: 3px;
    }
}
