/* =========================================================
   LA FEMEIA — NATIVE WOOCOMMERCE REVIEW MODAL
   Separated from existing gallery, cart, product-skincare CSS.
   ========================================================= */
body.single-product {
    --lf-rv-ink: #1A1A1A;
    --lf-rv-muted: #746A60;
    --lf-rv-gold: #C9A46A;
    --lf-rv-deep: #9A784A;
    --lf-rv-ivory: #F8F4EE;
    --lf-rv-line: rgba(154,120,74,.2);
    --lf-rv-serif: 'Cormorant Garamond', Georgia, serif;
    --lf-rv-sans: 'DM Sans', Arial, sans-serif;
}
body.single-product #lf-customer-stories {scroll-margin-top: 100px;}
body.single-product .lf-product-review-action {
    display:flex; align-items:center; justify-content:space-between; gap:24px;
    max-width:1320px; margin: 6px auto 0; padding:26px 28px;
    border:1px solid var(--lf-rv-line); border-radius:16px;
    background:linear-gradient(130deg,#FFFDFA,#F3EBDF);
}
body.single-product .lf-product-review-action__copy {min-width:0;}
body.single-product .lf-product-review-action__eyebrow,
body.single-product .lf-review-modal__eyebrow {
    display:block; margin-bottom:7px; font:600 10px/1.4 var(--lf-rv-sans);
    letter-spacing:.16em; color:var(--lf-rv-deep);
}
body.single-product .lf-product-review-action h3 {
    margin:0 0 6px; font:500 clamp(25px,2.6vw,35px)/1.05 var(--lf-rv-serif);
    color:var(--lf-rv-ink);
}
body.single-product .lf-product-review-action p {margin:0; font:400 13px/1.6 var(--lf-rv-sans); color:var(--lf-rv-muted);}
body.single-product .lf-review-open {
    flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center;
    gap:15px; min-height:47px; padding:12px 21px;
    border:1px solid var(--lf-rv-ink); border-radius:999px;
    background:var(--lf-rv-ink); color:#FFF; cursor:pointer;
    font:600 12px/1.3 var(--lf-rv-sans); transition:background .22s,border-color .22s,transform .22s;
}
body.single-product .lf-review-open:hover {background:var(--lf-rv-deep); border-color:var(--lf-rv-deep);transform:translateY(-2px);}
body.single-product .lf-product-review-action__closed {font:400 12px var(--lf-rv-sans); color:var(--lf-rv-muted);}

body.single-product .lf-review-modal[hidden] {display:none !important;}
body.single-product .lf-review-modal {position:fixed; inset:0; z-index:999999; display:grid;place-items:center;padding:16px;isolation:isolate;}
body.single-product .lf-review-modal__backdrop {position:absolute; inset:0; background:rgba(17,16,15,.64); backdrop-filter:blur(13px); -webkit-backdrop-filter:blur(13px);}
body.single-product .lf-review-modal__panel {
    position:relative; z-index:1; display:flex; flex-direction:column;
    width:min(590px,100%); max-height:min(92dvh,820px); min-width:0;
    background:#FFFCF8; border:1px solid rgba(255,255,255,.5);
    border-radius:20px; box-shadow:0 30px 90px rgba(0,0,0,.22);
    overflow:hidden; animation:lf-review-in .28s cubic-bezier(.22,.61,.36,1) both;
}
@keyframes lf-review-in {from {opacity:0;transform:translateY(14px) scale(.975)} to {opacity:1;transform:translateY(0) scale(1)}}
body.single-product .lf-review-modal__header {
    display:flex;align-items:flex-start;justify-content:space-between;gap:16px;
    padding:25px 28px 19px;border-bottom:1px solid var(--lf-rv-line);
}
body.single-product .lf-review-modal__header h2 {margin:0 0 5px;font:500 clamp(31px,5vw,43px)/.98 var(--lf-rv-serif);color:var(--lf-rv-ink);}
body.single-product .lf-review-modal__header p {margin:0;font:400 12px/1.5 var(--lf-rv-sans);color:var(--lf-rv-muted);}
body.single-product .lf-review-modal__header p strong {font-weight:600;color:var(--lf-rv-ink);}
body.single-product .lf-review-modal__close {
    flex:0 0 38px;display:grid;place-items:center;width:38px;height:38px;padding:0;
    border:1px solid var(--lf-rv-line);border-radius:50%;background:#FFF;color:var(--lf-rv-ink);cursor:pointer;
}
body.single-product .lf-review-modal__close:hover {background:var(--lf-rv-ink);color:#FFF;}
body.single-product .lf-review-modal__body {min-height:0;overflow:auto;padding:19px 28px 25px;overscroll-behavior:contain;}
body.single-product .lf-review-modal__footnote {margin:18px 0 0;color:var(--lf-rv-muted);font:400 11px/1.6 var(--lf-rv-sans);}
/* Keep the native WooCommerce comment form; hide only the duplicated review list. */
body.single-product .lf-review-modal .woocommerce-Reviews #comments,
body.single-product .lf-review-modal #comments {display:none !important;}
body.single-product .lf-review-modal #reviews,
body.single-product .lf-review-modal #review_form_wrapper,
body.single-product .lf-review-modal #review_form,
body.single-product .lf-review-modal #respond {margin:0 !important;padding:0 !important;border:0 !important;background:transparent !important;box-shadow:none !important;}
body.single-product .lf-review-modal .woocommerce-Reviews-title {display:none;}
body.single-product .lf-review-modal #reply-title {display:block;margin:0 0 13px;font:500 25px/1.1 var(--lf-rv-serif);color:var(--lf-rv-ink);}
body.single-product .lf-review-modal .comment-form {display:grid;gap:13px; margin:0;}
body.single-product .lf-review-modal .comment-form p {margin:0;}
body.single-product .lf-review-modal .comment-form label {display:block;margin-bottom:6px;font:500 12px/1.4 var(--lf-rv-sans);color:var(--lf-rv-ink);}
body.single-product .lf-review-modal .comment-form input:not([type=checkbox]):not([type=hidden]):not([type=submit]),
body.single-product .lf-review-modal .comment-form textarea {
    width:100%;min-width:0;max-width:100%;padding:12px 14px;
    border:1px solid var(--lf-rv-line);border-radius:10px;
    background:#FFF;color:var(--lf-rv-ink); font:400 14px/1.5 var(--lf-rv-sans);box-shadow:none;
}
body.single-product .lf-review-modal .comment-form textarea {min-height:135px;resize:vertical;}
body.single-product .lf-review-modal .comment-form input:focus,
body.single-product .lf-review-modal .comment-form textarea:focus {outline:2px solid rgba(154,120,74,.3);border-color:var(--lf-rv-deep);}
body.single-product .lf-review-modal .comment-form .submit {
    display:inline-flex;justify-content:center;align-items:center;min-height:46px;padding:12px 28px;
    border:1px solid var(--lf-rv-ink);border-radius:999px;
    background:var(--lf-rv-ink);color:#FFF;font:600 13px/1.3 var(--lf-rv-sans);cursor:pointer;
}
body.single-product .lf-review-modal .comment-form .submit:hover {background:var(--lf-rv-deep);border-color:var(--lf-rv-deep);}
body.single-product .lf-review-modal .stars {font-size:21px;line-height:1.5;}
body.single-product .lf-review-modal .stars a {color:var(--lf-rv-deep) !important;}
body.single-product .lf-review-modal .comment-form-cookies-consent {display:flex;align-items:flex-start;gap:8px;}
body.single-product .lf-review-modal .comment-form-cookies-consent input {margin-top:4px;}
body.single-product .lf-review-modal a:focus-visible,
body.single-product .lf-review-modal button:focus-visible {outline:2px solid var(--lf-rv-deep);outline-offset:3px;}
body.lf-review-scroll-locked {overflow:hidden !important;}
@media (max-width:680px) {
    body.single-product .lf-product-review-action {margin:0 16px;padding:20px 18px;flex-direction:column;align-items:stretch;gap:15px;}
    body.single-product .lf-review-open {width:100%;}
    body.single-product .lf-review-modal {padding:10px;}
    body.single-product .lf-review-modal__panel {max-height:calc(100dvh - 20px);border-radius:16px;}
    body.single-product .lf-review-modal__header {padding:20px 18px 15px;}
    body.single-product .lf-review-modal__body {padding:16px 18px 20px;}
    body.single-product .lf-review-modal__header h2 {font-size:35px;}
}
@media (prefers-reduced-motion:reduce) {
    body.single-product .lf-review-modal__panel {animation:none;}
    body.single-product .lf-review-open {transition:none;}
}

/* Actual approved product reviews (separate from preview testimonials). */
body.single-product .lf-real-reviews {max-width:1320px;margin:22px auto;padding:0 2px;}
body.single-product .lf-real-reviews > h3 {margin:0 0 14px;font:500 30px/1.1 var(--lf-rv-serif);color:var(--lf-rv-ink);}
body.single-product .lf-real-reviews__grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
body.single-product .lf-real-review {min-width:0;display:flex;flex-direction:column;gap:11px;padding:19px;border:1px solid var(--lf-rv-line);border-radius:13px;background:#FFFDF9;}
body.single-product .lf-real-review__rating {color:var(--lf-rv-deep);font:500 18px/1 var(--lf-rv-sans);letter-spacing:2px;}
body.single-product .lf-real-review p {flex:1;margin:0;color:var(--lf-rv-ink);font:400 13px/1.65 var(--lf-rv-sans);overflow-wrap:anywhere;}
body.single-product .lf-real-review__author {display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding-top:10px;border-top:1px solid var(--lf-rv-line);font:400 11px/1.4 var(--lf-rv-sans);color:var(--lf-rv-muted);}
body.single-product .lf-real-review__author strong {color:var(--lf-rv-ink);font-weight:600;}
body.single-product .lf-real-review__author span {color:var(--lf-rv-deep);}
@media (max-width:900px){body.single-product .lf-real-reviews__grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:680px){body.single-product .lf-real-reviews{margin:16px;padding:0;}body.single-product .lf-real-reviews__grid{grid-template-columns:1fr;}}
