/* Recenziile produsului (views/site/_product_reviews.php) */
.product-reviews { max-width: 980px; margin: 28px 0 8px; padding: 0; color: #3a4150; font-size: 15px; line-height: 1.55; }
.product-reviews__title { font-size: 21px; font-weight: 600; color: #152035; margin: 0 0 10px; }
.product-reviews__count { font-weight: 400; color: #6b7280; }
.product-reviews__flash { margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: #e8f6ec; color: #14532d; }
.product-reviews__summary { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.product-reviews__avg { font-size: 28px; font-weight: 700; color: #152035; line-height: 1; }
.product-reviews__meta { color: #6b7280; font-size: 14px; }
.pr-star { color: #d1d5db; font-size: 18px; line-height: 1; }
.pr-star.is-on { color: #f59e0b; }
.product-reviews__list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.product-review { padding: 12px 14px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; }
.product-review__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 6px; }
.product-review__author { font-weight: 600; color: #152035; }
.product-review__date { color: #6b7280; font-size: 13px; }
.product-review__text { margin: 0; white-space: pre-line; }
.product-reviews__empty { margin: 0 0 14px; color: #6b7280; }
.product-reviews__form-wrap { border: 1px solid #e5e7eb; border-radius: 12px; padding: 0; }
.product-reviews__cta { cursor: pointer; padding: 12px 14px; font-weight: 600; color: var(--c-brand-strong, #042f80); list-style: none; }
.product-reviews__cta::-webkit-details-marker { display: none; }
.product-reviews__cta::before { content: '+'; display: inline-block; width: 18px; }
.product-reviews__form-wrap[open] .product-reviews__cta::before { content: '\2013'; }
.product-reviews__form { padding: 4px 14px 14px; display: grid; gap: 10px; max-width: 560px; }
.product-reviews__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.product-reviews__rating { border: 0; margin: 0; padding: 0; }
.product-reviews__rating legend { font-size: 14px; color: #374151; margin-bottom: 2px; }
.pr-rate { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.pr-rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pr-rate label { cursor: pointer; font-size: 30px; line-height: 1; color: #d1d5db; }
.pr-rate input:checked ~ label,
.pr-rate label:hover,
.pr-rate label:hover ~ label { color: #f59e0b; }
.pr-rate input:focus-visible + label { outline: 2px solid var(--c-brand, #1e50c8); border-radius: 4px; }
.product-reviews__field { display: grid; gap: 4px; font-size: 14px; color: #374151; }
.product-reviews__field input,
.product-reviews__field textarea { font: inherit; font-size: 15px; padding: 9px 11px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; color: #152035; }
.product-reviews__field textarea { resize: vertical; min-height: 96px; }
.product-reviews__note { margin: 0; font-size: 13px; color: #6b7280; }
.product-reviews__status { margin: 0; font-size: 14px; min-height: 1.2em; }
.product-reviews__status.is-error { color: #b91c1c; }
.product-reviews__status.is-ok { color: #14532d; }
.product-reviews__submit { justify-self: start; padding: 10px 22px; border: 0; border-radius: 999px; background: var(--c-brand, #1e50c8); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.product-reviews__submit[disabled] { opacity: .6; cursor: default; }
@media (max-width: 767.98px) {
    .product-reviews { margin: 20px 0 4px; padding: 0 12px; }
    .product-reviews__title { font-size: 19px; }
}
