.product-reviews {
    --review-accent: #fab043;
    --review-accent-dark: #aa6706;
    --review-gold: #fab043;
    --review-ink: #4d4d4d;
    --review-muted: #757575;
    --review-line: #f1f1f1;
    padding: 24px 10px;
    color: var(--review-ink);
    background: #fff;
    font-family: inherit;
}

.product-reviews button,
.product-reviews input,
.product-reviews textarea {
    font-family: inherit;
}

.product-rating-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 2px 0 14px;
    padding: 7px 11px;
    border: 1px solid #f1f1f1;
    border-radius: 8px;
    color: #757575;
    background: #fff;
    cursor: pointer;
    font-family: inherit;
    font-size: 11px;
}

.product-rating-inline .review-stars {
    direction: ltr;
    font-size: 16px;
}

.product-rating-inline strong {
    color: #3b3e43;
    font-size: 12px;
}

.product-rating-inline > i {
    color: var(--review-accent);
    font-size: 17px;
}

.product-reviews__hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
    padding: 22px 24px;
    overflow: hidden;
    border: 1px solid #f1f1f1;
    border-right: 4px solid #fab043;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .035);
}

.product-reviews__eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--review-accent);
    font-size: 12px;
    font-weight: 800;
}

.product-reviews__hero h2 {
    margin: 0 0 8px;
    color: #4d4d4d;
    font-size: clamp(18px, 2.2vw, 25px);
    font-weight: 900;
    line-height: 1.7;
}

.product-reviews__hero p {
    max-width: 660px;
    margin: 0;
    color: #757575;
    font-size: 13px;
    line-height: 2;
}

.review-open-form,
.review-submit,
.review-empty button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 21px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, #fbb44c 10%, #aa6706 100%);
    box-shadow: 0 2px 6px rgba(198, 168, 49, .45);
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease;
}

.review-open-form:hover,
.review-submit:hover,
.review-empty button:hover {
    color: #fff;
    box-shadow: 0 4px 10px rgba(198, 168, 49, .5);
    transform: translateY(-1px);
}

.product-reviews__overview {
    display: grid;
    grid-template-columns: minmax(180px, .75fr) minmax(280px, 1.15fr) minmax(240px, 1fr);
    gap: 16px;
    margin-bottom: 22px;
}

.review-score-card,
.review-breakdown,
.review-trust-card {
    min-height: 180px;
    padding: 22px;
    border: 1px solid var(--review-line);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .03);
}

.review-score-card {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.review-score-card__number {
    color: var(--review-ink);
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
}

.review-score-card strong {
    margin-top: 10px;
    font-size: 12px;
}

.review-score-card small {
    margin-top: 6px;
    color: var(--review-muted);
    font-size: 10px;
    line-height: 1.8;
}

.review-stars {
    position: relative;
    display: inline-block;
    direction: ltr;
    color: #dfe1e4;
    font-family: Arial, sans-serif;
    letter-spacing: 2px;
    line-height: 1;
}

.review-stars--large {
    margin-top: 11px;
    font-size: 25px;
}

.review-stars__fill {
    position: absolute;
    inset: 0 auto 0 0;
    overflow: hidden;
    color: var(--review-gold);
    white-space: nowrap;
}

.review-breakdown {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.review-breakdown__row {
    display: grid;
    grid-template-columns: 44px 1fr 30px;
    align-items: center;
    gap: 10px;
    color: var(--review-muted);
    direction: rtl;
    font-size: 11px;
}

.review-breakdown__row > span:first-child {
    direction: ltr;
    color: #4b4e53;
    text-align: left;
}

.review-breakdown__row i {
    color: var(--review-gold);
}

.review-breakdown__track {
    height: 7px;
    overflow: hidden;
    border-radius: 99px;
    background: #eceeea;
}

.review-breakdown__track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #fab043, #fdb140);
}

.review-trust-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border-color: #f6e8c8;
    background: #fffaf1;
    color: #4d4d4d;
}

.review-trust-card > i {
    flex: 0 0 auto;
    color: #fab043;
    font-size: 36px;
}

.review-trust-card strong {
    display: block;
    margin: 5px 0 9px;
    font-size: 14px;
}

.review-trust-card p {
    margin: 0;
    color: #757575;
    font-size: 11px;
    line-height: 2;
}

.review-form-shell {
    margin: 0 0 24px;
    animation: reviewFormEnter .25s ease both;
}

.review-form-shell[hidden] {
    display: none !important;
}

@keyframes reviewFormEnter {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.review-form {
    padding: 26px;
    border: 1px solid #e4e4e4;
    border-top: 3px solid #fab043;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 12px 12px hsla(0, 0%, 71%, .11);
}

.review-form__heading,
.review-form__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.review-form__heading span {
    color: var(--review-accent);
    font-size: 11px;
    font-weight: 700;
}

.review-form__heading h3 {
    margin: 3px 0 0;
    color: var(--review-ink);
    font-size: 18px;
    font-weight: 900;
}

.review-form__close {
    width: 38px;
    height: 38px;
    border: 1px solid #e1e2dd;
    border-radius: 8px;
    color: #747a81;
    background: #fff;
    cursor: pointer;
    font-size: 20px;
}

.review-rating-picker {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 22px 0;
    padding: 17px 19px;
    border: 1px solid #f1f1f1;
    border-radius: 8px;
    background: #f9f9f9;
}

.review-rating-picker legend {
    width: auto;
    margin: 0;
    color: #43464b;
    font-size: 12px;
    font-weight: 800;
}

.review-rating-picker legend span,
.review-field b {
    color: #d44949;
}

.review-rating-picker__stars {
    display: inline-flex;
    direction: ltr;
}

.review-rating-picker__stars input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.review-rating-picker__stars label {
    margin: 0 2px;
    color: #d9dcdf;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 29px;
    line-height: 1;
    transition: color .16s ease, transform .16s ease;
}

.review-rating-picker__stars label:hover,
.review-rating-picker__stars label:hover ~ label,
.review-rating-picker__stars input:checked ~ label {
    color: var(--review-gold);
}

.review-rating-picker__stars label:hover {
    transform: scale(1.12);
}

.review-rating-picker output {
    color: var(--review-muted);
    font-size: 11px;
}

.review-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.review-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 16px;
    color: #3f4349;
    font-size: 12px;
    font-weight: 700;
}

.review-field input,
.review-field textarea {
    width: 100%;
    border: 1px solid #dfe1dc;
    border-radius: 8px;
    outline: none;
    color: #30343a;
    background: #fff;
    font-size: 13px;
    font-weight: 400;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.review-field input {
    height: 48px;
    padding: 0 14px;
}

.review-field textarea {
    min-height: 130px;
    padding: 13px 14px;
    line-height: 1.9;
    resize: vertical;
}

.review-field input:focus,
.review-field textarea:focus {
    border-color: #fab043;
    box-shadow: 0 0 0 3px rgba(250, 176, 67, .12);
}

.review-field small {
    color: #888d92;
    font-size: 10px;
    font-weight: 400;
}

.review-signed-in {
    margin-bottom: 16px;
    padding: 12px 15px;
    border: 1px solid #d8ebdf;
    border-radius: 8px;
    color: #3b654a;
    background: #f2fbf5;
    font-size: 12px;
}

.review-signed-in i {
    margin-left: 6px;
    font-size: 18px;
}

.review-form__footer {
    padding-top: 5px;
}

.review-form__footer p {
    margin: 0;
    color: #747a80;
    font-size: 11px;
}

.review-form__footer p i {
    margin-left: 4px;
    font-size: 17px;
    vertical-align: middle;
}

.review-submit[disabled] {
    cursor: wait;
    opacity: .66;
    transform: none;
}

.review-form__message {
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.8;
}

.review-form__message.is-success {
    border: 1px solid #cce8d5;
    color: #2e6b42;
    background: #edf9f1;
}

.review-form__message.is-error {
    border: 1px solid #f1cccc;
    color: #9b3535;
    background: #fff1f1;
}

.review-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
}

.review-list__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 27px 0 14px;
}

.review-list__header h3 {
    margin: 0;
    color: var(--review-ink);
    font-size: 17px;
    font-weight: 900;
}

.review-list__header span {
    color: var(--review-muted);
    font-size: 11px;
}

.review-card {
    margin-bottom: 14px;
    padding: 21px;
    border: 1px solid var(--review-line);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .03);
}

.review-card__header,
.review-author,
.review-author__meta,
.review-card__rating {
    display: flex;
    align-items: center;
}

.review-card__header {
    justify-content: space-between;
    gap: 16px;
}

.review-author {
    gap: 11px;
}

.review-author__avatar {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 45px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #fbb44c 10%, #aa6706 100%);
    font-size: 17px;
    font-weight: 900;
}

.review-author strong {
    display: block;
    color: #353940;
    font-size: 13px;
}

.review-author__meta {
    gap: 8px;
    margin-top: 4px;
    color: #92969b;
    font-size: 10px;
}

.review-buyer-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 7px;
    border-radius: 20px;
    color: #2d7450;
    background: #e8f7ee;
}

.review-card__rating {
    gap: 9px;
    direction: ltr;
}

.review-card__rating strong {
    color: #555b61;
    font-size: 12px;
}

.review-card__rating span {
    display: flex;
    color: #dfe1e3;
    font-size: 16px;
}

.review-card__rating i.is-active {
    color: var(--review-gold);
}

.review-card__body {
    padding: 18px 56px 4px 0;
}

.review-card__body h4 {
    margin: 0 0 8px;
    color: #33373d;
    font-size: 14px;
    font-weight: 900;
}

.review-card__body p,
.review-admin-reply p {
    margin: 0;
    color: #62686f;
    font-size: 12px;
    line-height: 2.1;
    white-space: pre-line;
}

.review-admin-reply {
    display: flex;
    gap: 11px;
    margin: 15px 56px 0 0;
    padding: 14px 15px;
    border-right: 3px solid #fab043;
    border-radius: 10px 0 0 10px;
    background: #fffaf1;
}

.review-admin-reply > span {
    color: var(--review-accent);
    font-size: 22px;
}

.review-admin-reply strong {
    display: block;
    margin-bottom: 4px;
    color: #4c4b44;
    font-size: 11px;
}

.review-thread {
    margin-top: 15px;
}

.review-thread .review-admin-reply {
    margin-top: 0;
}

.review-admin-reply--followup {
    margin-top: 9px !important;
    margin-right: 82px;
}

.review-customer-followup {
    margin: 9px 56px 0 26px;
    padding: 13px 15px;
    border-right: 3px solid #d5d9dd;
    border-radius: 10px 0 0 10px;
    background: #f7f8f8;
}

.review-customer-followup__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 5px;
    color: #454a50;
    font-size: 11px;
}

.review-customer-followup__meta time {
    color: #92979d;
    direction: ltr;
}

.review-customer-followup p {
    margin: 0;
    color: #62686f;
    font-size: 12px;
    line-height: 2.1;
    white-space: pre-line;
}

.review-followup {
    margin: 12px 56px 0 0;
}

.review-followup__toggle {
    min-height: 36px;
    padding: 7px 13px;
    border: 1px solid #e5b65e;
    border-radius: 9px;
    color: #8a5b06;
    background: #fff;
    font-size: 11px;
    font-weight: 800;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.review-followup__toggle:hover,
.review-followup__toggle:focus-visible {
    border-color: var(--review-accent);
    color: #6e4600;
    background: #fffaf1;
}

.review-followup__toggle i {
    margin-left: 5px;
    font-size: 16px;
    vertical-align: middle;
}

.review-followup__form {
    margin-top: 10px;
    padding: 14px;
    border: 1px solid #e7e3d9;
    border-radius: 12px;
    background: #fdfcf9;
}

.review-followup__form .review-field textarea {
    min-height: 92px;
}

.review-followup__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}

.review-followup__actions small {
    color: var(--review-muted);
    font-size: 10px;
}

.review-followup__actions button {
    min-height: 38px;
    padding: 8px 17px;
    border: 0;
    border-radius: 9px;
    color: #2c220e;
    background: linear-gradient(135deg, #fbb44c, #e3941d);
    font-size: 11px;
    font-weight: 900;
}

.review-followup__actions button:disabled {
    cursor: wait;
    opacity: .65;
}

.review-followup__message {
    margin-top: 10px;
    padding: 9px 11px;
    border-radius: 8px;
    font-size: 11px;
}

.review-followup__message.is-success {
    color: #21603b;
    background: #edf8f1;
}

.review-followup__message.is-error {
    color: #963e3e;
    background: #fff0f0;
}

.review-empty {
    padding: 42px 20px;
    border: 1px dashed #d9d9d2;
    border-radius: 18px;
    text-align: center;
    background: #fcfcfa;
}

.review-empty > span {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    color: var(--review-accent);
    background: #f3eddd;
    font-size: 30px;
}

.review-empty h3 {
    margin: 13px 0 6px;
    color: #34383e;
    font-size: 16px;
}

.review-empty p {
    margin: 0 0 17px;
    color: var(--review-muted);
    font-size: 12px;
}

.review-empty button {
    min-height: 42px;
}

@media (max-width: 991.98px) {
    .product-reviews__overview {
        grid-template-columns: 1fr 1.4fr;
    }

    .review-trust-card {
        grid-column: 1 / -1;
        min-height: auto;
    }
}

@media (max-width: 767.98px) {
    .product-reviews {
        padding: 14px;
    }

    .product-reviews__hero {
        align-items: stretch;
        flex-direction: column;
        padding: 20px;
    }

    .product-reviews__overview,
    .review-form__grid {
        grid-template-columns: 1fr;
    }

    .review-trust-card {
        grid-column: auto;
    }

    .review-open-form {
        width: 100%;
    }

    .review-form {
        padding: 19px 15px;
    }

    .review-form__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .review-submit {
        width: 100%;
    }

    .review-card__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .review-card__body {
        padding: 16px 0 3px;
    }

    .review-admin-reply {
        margin-right: 0;
    }

    .review-admin-reply--followup,
    .review-customer-followup,
    .review-followup {
        margin-right: 0;
        margin-left: 0;
    }

    .review-followup__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .review-followup__actions button {
        width: 100%;
    }
}
