.nhm-product-reviews { color: #252525; }
.nhm-product-reviews .nhm-product-reviews-title { font-size: 23px; font-weight: 700; margin: 0 0 18px; }
.nhm-product-reviews-empty { margin: 0; font-size: 17px; line-height: 1.7; }
.nhm-product-reviews-list { display: grid; gap: 20px; }
.nhm-product-review { padding: 0 0 22px; border-bottom: 1px solid #e4e4e4; }
.nhm-product-review-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.nhm-product-review-header strong { font-size: 16px; }
.nhm-product-review-header time { font-size: 13px; color: #7c7c7c; }
.nhm-product-review-stars { color: #dadada; font-size: 19px; letter-spacing: 2px; margin: 8px 0; }
.nhm-product-review-stars .nhm-filled-star { color: var(--secondary-color); }
.nhm-product-review-text { margin: 0; line-height: 1.8; font-size: 15px; white-space: pre-wrap; overflow-wrap: anywhere; }
.nhm-product-review-form { margin: 42px 0 0; padding: 32px 34px 38px; border: 1px solid #dedede; background: #fff; }
.nhm-product-reviews .nhm-product-review-form h3 { margin: 0 0 20px; font-size: 22px; line-height: 1.5; color: #252525; font-weight: 700; }
.nhm-product-review-rating { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.nhm-product-review-rating legend, .nhm-product-review-field label { float: none; width: auto; font-size: 15px; font-weight: 700; margin: 0 0 9px; padding: 0; color: #252525; }
.nhm-product-review-rating-options { display: flex; flex-wrap: wrap; align-items: center; gap: 0; }
.nhm-product-review-rating-option { position: relative; display: inline-flex; border-right: 1px solid #e6e6e6; padding: 0 8px; margin: 0; cursor: pointer; }
.nhm-product-review-rating-option:first-child { padding-left: 0; }
.nhm-product-review-rating-option:last-child { border-right: 0; }
.nhm-product-review-rating-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.nhm-product-review-rating-option span { font-size: 22px; line-height: 1.4; color: #d8d8d8; letter-spacing: -2px; transition: color .15s; }
.nhm-product-review-rating-option:hover span, .nhm-product-review-rating-option input:checked + span { color: var(--secondary-color); }
.nhm-product-review-rating-option input:focus-visible + span { outline: 2px solid var(--secondary-color); outline-offset: 4px; }
.nhm-product-review-field { margin: 0 0 24px; min-width: 0; }
.nhm-product-review-field label { display: block; }
.nhm-product-review-field input, .nhm-product-review-field textarea { display: block; width: 100%; padding: 11px 13px; border: 1px solid #d9d9d9; border-radius: 0; background: #fff; color: #252525; font: inherit; box-shadow: inset 0 1px 3px #0000000a; }
.nhm-product-review-field input { min-height: 45px; }
.nhm-product-review-field textarea { min-height: 135px; resize: vertical; }
.nhm-product-review-field input:focus, .nhm-product-review-field textarea:focus { outline: 2px solid color-mix(in srgb, var(--secondary-color) 20%, transparent); border-color: var(--secondary-color); }
.nhm-product-review-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.nhm-product-review-remember { display: flex; align-items: flex-start; gap: 12px; margin: 4px 0 24px; font-size: 14px; font-weight: 600; line-height: 1.6; cursor: pointer; }
.nhm-product-review-remember input { flex-shrink: 0; width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--secondary-color); }
.nhm-product-review-submit { padding: 12px 22px; border: 0; border-radius: 0; background: var(--secondary-color); color: var(--store-secondary-text); font-size: 15px; font-weight: 700; text-transform: uppercase; cursor: pointer; }
.nhm-product-review-submit:hover { background: var(--primary-color); color: var(--store-primary-text); }
.nhm-product-review-submit:disabled { opacity: .65; cursor: wait; }
.nhm-product-review-submit:focus-visible { outline: 3px solid var(--secondary-color); outline-offset: 3px; }
.nhm-product-review-notice, .nhm-product-review-errors { margin: 0 0 20px; padding: 13px 16px; font-size: 14px; line-height: 1.6; }
.nhm-product-review-notice { color: #22693a; background: #eef8f1; }
.nhm-product-review-errors { color: #a81a23; background: #fff1f2; }
.nhm-product-review-errors ul { margin: 0; padding-left: 18px; }
/* Reviews follow the storefront colour mode, including form and interaction states. */
body.nhm-tw-storefront .nhm-product-reviews { color: var(--color-text); }
body.nhm-tw-storefront .nhm-product-review { border-color: var(--tw-line); }
body.nhm-tw-storefront .nhm-product-review-header time,
body.nhm-tw-storefront .nhm-product-review-stars { color: var(--color-muted); }
body.nhm-tw-storefront .nhm-product-review-form { background: var(--color-surface); border-color: var(--tw-line); border-radius: var(--radius-large); }
body.nhm-tw-storefront .nhm-product-reviews .nhm-product-review-form h3,
body.nhm-tw-storefront .nhm-product-review-rating legend,
body.nhm-tw-storefront .nhm-product-review-field label,
body.nhm-tw-storefront .nhm-product-review-remember { color: var(--color-text); }
body.nhm-tw-storefront .nhm-product-review-rating-option { border-color: var(--tw-line); }
body.nhm-tw-storefront .nhm-product-review-rating-option span { color: var(--color-muted); }
body.nhm-tw-storefront .nhm-product-review-rating-option:hover span,
body.nhm-tw-storefront .nhm-product-review-rating-option input:checked + span,
body.nhm-tw-storefront .nhm-product-review-stars .nhm-filled-star { color: var(--color-primary); }
body.nhm-tw-storefront .nhm-product-review-field :is(input, textarea) { background: var(--color-background); color: var(--color-text); border-color: var(--tw-line); border-radius: var(--radius-small); box-shadow: none; }
body.nhm-tw-storefront .nhm-product-review-field :is(input, textarea):focus { border-color: var(--color-text); outline-color: color-mix(in srgb, var(--color-text) 25%, transparent); }
body.nhm-tw-storefront .nhm-product-review-remember input { accent-color: var(--color-primary); }
body.nhm-tw-storefront .nhm-product-review-submit { background: var(--color-primary); color: var(--color-onPrimary); border-radius: 999px; }
body.nhm-tw-storefront .nhm-product-review-submit:is(:hover, :focus-visible) { background: var(--tw-primary-hover); color: var(--color-onPrimary); }
body.nhm-tw-storefront .nhm-product-review-submit:focus-visible,
body.nhm-tw-storefront .nhm-product-review-rating-option input:focus-visible + span { outline-color: var(--color-text); }
body.nhm-tw-storefront .nhm-product-review-notice { background: color-mix(in srgb, var(--tw-ok, #5dc999) 12%, var(--color-surface)); color: var(--color-text); }
body.nhm-tw-storefront .nhm-product-review-errors { background: color-mix(in srgb, var(--color-error) 12%, var(--color-surface)); color: var(--color-text); }
@media (max-width: 767px) {
    .nhm-product-review-form { padding: 22px 16px 26px; margin-top: 30px; }
    .nhm-product-reviews .nhm-product-review-form h3 { font-size: 18px; }
    .nhm-product-review-contact { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .nhm-product-review-rating-option { padding: 0 5px; }
    .nhm-product-review-rating-option span { font-size: 19px; }
    .nhm-product-review-field input, .nhm-product-review-field textarea { font-size: 16px; }
    .nhm-product-review-header { align-items: flex-start; flex-direction: column; gap: 4px; }
    .nhm-product-review-remember { font-size: 13px; }
}
