/* Modern product reviews and accessible native dialog. Scoped to the product page. */
.product-reviews{scroll-margin-top:115px;margin-top:28px;padding:26px;background:#fff;border:1px solid #edf0f3;border-radius:22px;box-shadow:0 10px 28px rgba(30,38,54,.045)}
.product-reviews__top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}
.product-reviews__eyebrow{display:block;color:#d84c41;font-size:12px;font-weight:800;letter-spacing:.065em;text-transform:uppercase;margin-bottom:8px}
.product-reviews__top h2{margin:0;color:#252936;font-size:clamp(23px,3vw,32px);line-height:1.15}
.product-reviews__count{display:inline-flex;vertical-align:middle;justify-content:center;align-items:center;min-width:32px;height:28px;border-radius:99px;padding:0 9px;background:#f2f4f6;color:#7b8493;font-size:15px}
.product-reviews__subtitle{margin:9px 0 0;color:#748094;font-size:14px}
.product-reviews__add{flex:none;display:inline-flex;align-items:center;justify-content:center;gap:9px;background:#d94f42;border:1px solid #d94f42;border-radius:12px;color:#fff;font-size:15px;font-weight:700;padding:13px 19px;cursor:pointer;box-shadow:0 8px 18px rgba(217,79,66,.15)}
.product-reviews__add:hover{background:#bf4137}
.product-reviews__add span{font-size:22px;line-height:.8}
.product-reviews__notice{padding:14px 16px;margin:0 0 20px;border:1px solid #b5ddbf;border-radius:12px;background:#f0fff3;color:#2c7042;font-weight:600}
.product-reviews__empty{padding:34px 18px;text-align:center;border:1px dashed #dce2e9;border-radius:15px;background:#fafbfc}
.product-reviews__empty strong{display:block;font-size:18px;margin-bottom:7px;color:#3c4554}
.product-reviews__empty p{margin:0;color:#7a8594}
.product-reviews .reviews-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.product-reviews .review-card{margin:0;padding:20px;background:#fff;border:1px solid #e8ebef;border-radius:15px;box-shadow:0 6px 20px rgba(30,38,54,.035)}
.product-reviews .review-head{display:flex;flex-wrap:wrap;gap:7px 16px;justify-content:space-between;align-items:center;margin-bottom:17px}
.product-reviews .review-head strong{color:#242936;font-size:16px}
.product-reviews .review-head span{color:#9ba4b0;font-size:13px}
.product-reviews .review-label{font-size:13px;font-weight:800;margin-top:14px;margin-bottom:5px;color:#697386}
.product-reviews .review-label.good{color:#27874b}
.product-reviews .review-label.bad{color:#d15c51}
.product-reviews .review-card p{font-size:14px;line-height:1.6;color:#4e5968;overflow-wrap:anywhere;margin:0}
.product-review-dialog{box-sizing:border-box;position:fixed;inset:0;width:min(100% - 28px,570px);max-height:min(92vh,850px);padding:0;border:1px solid #e5e8ee;border-radius:22px;background:#fff;color:#222b39;box-shadow:0 30px 90px rgba(18,26,40,.25);overflow:auto}
.product-review-dialog::backdrop{background:rgba(25,32,44,.56);backdrop-filter:blur(3px)}
.product-review-dialog__head{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;padding:25px 28px 14px}
.product-review-dialog__head h2{font-size:26px;line-height:1.15;margin:0 0 9px}
.product-review-dialog__head p{font-size:13px;color:#758092;margin:0;line-height:1.5}
.product-review-dialog__close{border:0;background:#f3f5f7;color:#626c7b;border-radius:50%;width:37px;height:37px;flex:none;font-size:24px;cursor:pointer;line-height:1}
.product-review-dialog__close:hover{background:#e9edf1}
.product-review-form{display:grid;gap:17px;padding:10px 28px 28px}
.product-review-form__field{display:grid;gap:8px;font-size:14px;font-weight:700;color:#3b4450}
.product-review-form__field em{color:#d94f42;font-style:normal}
.product-review-form__field small{font-size:12px;color:#8b94a2;font-weight:400}
.product-review-form__field input,.product-review-form__field textarea{width:100%;padding:12px 14px;border:1px solid #dfe4ea;border-radius:11px;background:#fbfcfd;color:#202733;font:400 14px/1.5 Arial,Helvetica,sans-serif;outline:none;resize:vertical}
.product-review-form__field input:focus,.product-review-form__field textarea:focus{border-color:#dc6055;box-shadow:0 0 0 3px rgba(217,79,66,.1);background:#fff}
.product-review-form__field textarea{min-height:78px}
.product-review-form__hint{margin:0;color:#7d8796;font-size:12px;line-height:1.5}
.product-review-form__error{background:#fff1ee;color:#a82f27;border:1px solid #ffd0ca;border-radius:10px;padding:12px 14px;font-size:13px;line-height:1.5}
.product-review-form__actions{display:flex;justify-content:flex-end;gap:12px}
.product-review-form__actions button{border-radius:11px;min-height:46px;padding:0 19px;font-weight:700;font-size:14px;cursor:pointer}
.product-review-form__cancel{border:1px solid #dfe4ea;background:#fff;color:#525d6c}
.product-review-form__submit{border:1px solid #d94f42;background:#d94f42;color:#fff}
.product-review-form__submit:hover{background:#bf4137}
.product-review-form__trap{position:absolute!important;left:-9999px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:700px){.product-reviews{padding:18px;border-radius:18px}.product-reviews__top{align-items:stretch;flex-direction:column}.product-reviews__add{width:100%}.product-reviews .reviews-list{grid-template-columns:1fr}.product-review-dialog__head{padding:22px 18px 12px}.product-review-form{padding:10px 18px 22px}.product-review-form__actions{flex-direction:column-reverse}.product-review-form__actions button{width:100%}}
