/* Sweet Pea product-page reviews + "Write a review" form. IDENTICAL COPY in edge-render/app/assets/pdp.css
   (section "reviews"); change both. Tokens: sweetpea_store tokens.css / edge tokens (--sp-font-body, --sp-brand,
   --sp-text-muted, --sp-border-mid). */
#sp-reviews{max-width:1170px;margin:0 auto 35px;padding:0;font-family:var(--sp-font-body,inherit);letter-spacing:.24px}
#sp-reviews .sp-reviews-body{padding:20px 25px;border-top:1px solid #ececec;border-bottom:1px solid #ececec;background:#fff;font-size:13px;line-height:19px;color:var(--sp-text-muted,#555)}
#sp-reviews .sp-reviews-summary{margin:0 0 14px;font-size:14px;color:#222}
#sp-reviews .sp-reviews-empty{margin:0 0 14px}
#sp-reviews .sp-review{margin:0 0 16px;padding:0 0 14px;border-bottom:1px solid #f1f1f1}
#sp-reviews .sp-review:last-of-type{border-bottom:0}
#sp-reviews .sp-review-stars{margin:0 0 4px;font-size:15px;line-height:20px}
#sp-reviews .sp-review-stars .text-warning{color:#e5a100!important}
#sp-reviews .sp-review-stars .text-muted{color:#d8d8d8!important}
#sp-reviews .sp-review-stars strong{margin-left:8px;color:#222}
#sp-reviews .sp-verified{display:inline-block;margin-left:8px;padding:1px 7px;border:1px solid #cfe3d2;border-radius:10px;background:#eef8f0;color:#2b6a3c;font-size:11px;line-height:16px;letter-spacing:0}
#sp-reviews .sp-review-date{margin-left:8px;font-size:12px;color:#888}
#sp-reviews .sp-review-title{margin:0 0 2px;font-weight:600;color:#222}
#sp-reviews .sp-review p{margin:0 0 6px;white-space:pre-line}
#sp-reviews .sp-review-msg{margin:0 0 12px;padding:10px 14px;border-radius:4px;font-size:13px}
#sp-reviews .sp-review-msg.ok{background:#eef8f0;border:1px solid #cfe3d2;color:#2b6a3c}
#sp-reviews .sp-review-msg.err{background:#fdf2f2;border:1px solid #efc7c7;color:#9b2c2c}
#sp-review-write{margin:6px 0 0}
#sp-review-write>summary{display:inline-block;cursor:pointer;list-style:none;padding:8px 18px;border:1px solid var(--sp-brand,#ad1457);border-radius:3px;color:var(--sp-brand,#ad1457);font-weight:600;font-size:13px;line-height:18px}
#sp-review-write>summary::-webkit-details-marker{display:none}
#sp-review-write>summary:hover,#sp-review-write[open]>summary{background:var(--sp-brand,#ad1457);color:#fff}
#sp-review-write>summary:focus-visible{outline:2px solid #222;outline-offset:2px}
.sp-review-form{max-width:640px;margin:16px 0 0}
.sp-review-form label,.sp-review-form legend{display:block;margin:0 0 4px;font-size:12px;font-weight:600;color:#222}
.sp-review-form .sp-req{color:var(--sp-brand,#ad1457)}
.sp-review-form .sp-opt{font-weight:400;color:#888}
.sp-review-form .sp-field{margin:0 0 12px}
.sp-review-form input[type=text],.sp-review-form input[type=email],.sp-review-form textarea{display:block;width:100%;box-sizing:border-box;padding:8px 10px;border:1px solid var(--sp-border-mid,#ccc);border-radius:3px;font:inherit;font-size:14px;line-height:20px;color:#222;background:#fff}
.sp-review-form input:focus,.sp-review-form textarea:focus{outline:2px solid var(--sp-brand,#ad1457);outline-offset:0;border-color:var(--sp-brand,#ad1457)}
.sp-review-form textarea{min-height:110px;resize:vertical}
.sp-review-form .sp-review-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
@media (max-width:640px){.sp-review-form .sp-review-grid{grid-template-columns:1fr}}
.sp-review-form fieldset{margin:0 0 12px;padding:0;border:0;min-width:0}
.sp-stars-row{display:flex;flex-direction:row-reverse;justify-content:flex-end;gap:2px}
.sp-stars-row input{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}
.sp-stars-row label{margin:0;padding:0 2px;font-size:30px;line-height:34px;color:#d8d8d8;cursor:pointer;transition:color .1s}
.sp-stars-row label .vh,.sp-review-form .vh{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.sp-stars-row input:checked~label,.sp-stars-row label:hover,.sp-stars-row label:hover~label{color:#e5a100}
.sp-stars-row input:focus-visible+label{outline:2px solid #222;outline-offset:2px;border-radius:3px}
.sp-review-form .sp-review-fine{margin:4px 0 12px;font-size:12px;color:#888}
.sp-review-form .sp-review-submit{display:inline-block;padding:10px 24px;border:0;border-radius:3px;background:var(--sp-brand,#ad1457);color:#fff;font:inherit;font-size:14px;font-weight:600;line-height:20px;cursor:pointer}
.sp-review-form .sp-review-submit:hover{background:#8d0f46}
.sp-review-form .sp-review-submit[disabled]{opacity:.6;cursor:default}
.sp-review-form .sp-review-submit:focus-visible{outline:2px solid #222;outline-offset:2px}
.sp-review-form .cf-turnstile{margin:0 0 12px}
.sp-review-hp{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
