body.mp-page .product-reviews { scroll-margin-top: 110px; }
.product-reviews [hidden] { display: none !important; }
.reviews-heading { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 12px; }
.reviews-heading p, #reviewsStatus, #reviewHint { color: var(--text-soft); font-size: .85rem; }
#reviewsScore { background: var(--accent-soft); color: var(--accent-2); padding: 8px 12px; border-radius: 12px; font-size: .9rem; }
#reviewsScore:empty, #reviewFeedback:empty { display: none; }
.review-card { margin: 14px 0; padding: 18px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; }
.review-card header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.review-card time { color: var(--text-soft); font-size: .75rem; }
.review-card p { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 2; margin: 10px 0 0; }
.review-admin-reply { margin-top: 16px; padding: 14px 16px; border-inline-start: 3px solid var(--accent); border-radius: 12px; background: var(--surface); }
.review-admin-reply > strong { color: var(--accent-2); font-size: .85rem; }
.review-admin-reply time { display: block; margin-top: 8px; }
.review-stars { color: #ad7300; letter-spacing: 2px; direction: ltr; }
body[data-theme="dark"] .review-stars { color: #ffd45c; }
.review-entry-title { margin: 24px 0 12px; border-top: 1px solid var(--border); padding-top: 20px; }
.review-login, #reviewForm { margin-top: 12px; }
.review-login { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
#reviewForm { display: grid; gap: 10px; }
#reviewForm h3 { margin: 0 0 8px; }
#reviewForm .input { width: 100%; font: inherit; font-size: 16px; }
.review-rating { border: 0; padding: 0; margin: 0 0 6px; min-width: 0; }
.review-rating legend { padding: 0; margin-bottom: 6px; }
.review-rating-stars { display: flex; direction: ltr; width: fit-content; max-width: 100%; gap: 4px; }
.review-rating-star { position: relative; display: grid; place-items: center; width: 44px; height: 48px; cursor: pointer; touch-action: manipulation; }
.review-rating-star input { position: absolute; inset: 0; margin: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.review-rating-star svg { width: 34px; height: 34px; fill: transparent; stroke: var(--text-soft); stroke-width: 1.5; stroke-linejoin: round; pointer-events: none; transition: fill .15s ease, stroke .15s ease; }
.review-rating-star.is-filled svg { fill: #facc15; stroke: #a36b00; }
body[data-theme="dark"] .review-rating-star.is-filled svg { stroke: #ffe096; }
.review-rating-star:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 1px; border-radius: 8px; }
#reviewRatingLabel { display: block; color: var(--text-soft); font-size: .8rem; }
@media (prefers-reduced-motion: reduce) { .review-rating-star svg { transition: none; } }
#reviewForm textarea { resize: vertical; min-height: 130px; padding: 12px; }
#reviewForm button { justify-self: start; min-width: 130px; margin-top: 8px; }
#reviewFeedback { color: var(--accent-2); line-height: 2; }
#reviewFeedback.is-error { color: var(--danger); }
