.frm-loop-heart{position:absolute;top:10px;right:10px;z-index:12}.woocommerce ul.products li.product{position:relative}.frm-heart{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid #ece6f1;border-radius:50%;background:#fff;cursor:pointer;box-shadow:0 2px 10px #0002;padding:9px;transition:.2s}.frm-heart svg{width:24px;height:24px;fill:transparent;stroke:#54218c;stroke-width:1.8;transition:.2s}.frm-heart.is-active svg{fill:#6825a5;stroke:#6825a5}.frm-heart:hover{transform:scale(1.06)}.frm-single-heart{display:flex;gap:12px;align-items:center;margin:14px 0}.frm-wishlist-counter{color:#54218c;text-decoration:none;font-size:25px}.frm-wishlist-counter span{font-size:13px;font-weight:700}.frm-wishlist-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:20px}.frm-wishlist-item{position:relative;border:1px solid #eee;border-radius:14px;padding:14px;background:white}.frm-wishlist-item img{width:100%;height:180px;object-fit:contain}.frm-wishlist-item h3{font-size:16px;margin:12px 0}.frm-wishlist-item .price{color:#54218c;font-weight:700}.frm-wishlist-item .button{display:block;text-align:center;background:#c8a24d;color:#20132c;padding:10px;border-radius:7px;margin-top:12px}.frm-wishlist-item .frm-heart{position:absolute;right:10px;top:10px}.frm-wishlist-toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:999999;background:white;border-left:5px solid #6825a5;box-shadow:0 5px 28px #0003;padding:18px 40px 18px 20px;max-width:calc(100vw - 30px);width:440px;font-size:14px}.frm-wishlist-toast button{position:absolute;right:10px;top:8px;border:0;background:none;font-size:20px;cursor:pointer}.frm-wishlist-toast a{color:#6825a5;text-decoration:underline}

/* FRM heart burst: gold and purple stars */
.frm-heart{position:relative;overflow:visible;isolation:isolate}
.frm-heart-pop svg{animation:frm-heart-beat .48s cubic-bezier(.2,1.6,.4,1) both}
.frm-heart-sparks{position:absolute;inset:0;pointer-events:none;overflow:visible;z-index:20}
.frm-heart-spark{position:absolute;left:50%;top:50%;font-size:13px;line-height:1;color:#d9ad39;text-shadow:0 0 4px #fff;opacity:0;animation:frm-spark-fly .65s ease-out var(--delay) forwards}
.frm-heart-spark:nth-child(even){color:#812cb8;font-size:10px}
@keyframes frm-heart-beat{0%{transform:scale(.65)}45%{transform:scale(1.35)}70%{transform:scale(.93)}100%{transform:scale(1)}}
@keyframes frm-spark-fly{0%{transform:translate(-50%,-50%) scale(.2) rotate(0deg);opacity:0}15%{opacity:1}75%{opacity:1}100%{transform:translate(calc(-50% + var(--dx)),calc(-50% + var(--dy))) scale(.45) rotate(100deg);opacity:0}}
@media(prefers-reduced-motion:reduce){.frm-heart-pop svg,.frm-heart-spark{animation:none!important}}

/* v1.2: transparent heart, anchored to top right of product image */
.woocommerce ul.products li.product .frm-loop-heart{position:absolute;top:8px;right:8px;z-index:30;margin:0;line-height:1;pointer-events:auto}
.woocommerce ul.products li.product .frm-image-heart-anchor{position:relative!important;display:block!important}
.woocommerce ul.products li.product .frm-image-heart-anchor>.frm-loop-heart{top:8px;right:8px}
.frm-heart,.frm-heart:hover,.frm-heart:focus,.frm-heart:active{appearance:none!important;-webkit-appearance:none!important;background:transparent!important;background-color:transparent!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline-offset:3px!important;padding:3px!important;margin:0!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;line-height:1!important;overflow:visible!important}
.frm-heart svg{width:37px!important;height:37px!important;stroke:#64249a!important;stroke-width:1.8!important;fill:transparent!important;filter:drop-shadow(0 1px 2px rgba(255,255,255,.85));pointer-events:none}
.frm-heart.is-active svg{fill:#7529aa!important;stroke:#7529aa!important}
.frm-heart:focus-visible{outline:2px solid #7529aa!important}
@media(max-width:767px){.woocommerce ul.products li.product .frm-loop-heart{top:5px;right:5px}.frm-heart,.frm-heart:hover,.frm-heart:focus{width:46px!important;height:46px!important}.frm-heart svg{width:38px!important;height:38px!important}}

/* v1.3: heart by the product name (lower right), without any background. */
.woocommerce ul.products li.product.frm-title-heart-card{position:relative!important}
.woocommerce ul.products li.product.frm-title-heart-card .frm-loop-heart{position:absolute!important;left:auto!important;right:0!important;bottom:auto!important;z-index:40!important;margin:0!important;width:34px!important;height:34px!important;line-height:1!important}
.woocommerce ul.products li.product.frm-title-heart-card .frm-title-heart-title{padding-right:36px!important;box-sizing:border-box!important}
.frm-loop-heart .frm-heart,.frm-loop-heart .frm-heart:hover,.frm-loop-heart .frm-heart:focus{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;padding:3px!important;background:transparent!important;border:0!important;box-shadow:none!important}
.frm-loop-heart .frm-heart svg{width:27px!important;height:27px!important;fill:transparent!important;stroke:#64249a!important}
.frm-loop-heart .frm-heart.is-active svg{fill:#7529aa!important;stroke:#7529aa!important}
@media(max-width:767px){.woocommerce ul.products li.product.frm-title-heart-card .frm-title-heart-title{padding-right:33px!important}.frm-loop-heart .frm-heart,.frm-loop-heart .frm-heart:hover,.frm-loop-heart .frm-heart:focus{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important}.frm-loop-heart .frm-heart svg{width:25px!important;height:25px!important}}

/* v1.4: price-aligned heart, transparent, compact. */
.woocommerce ul.products li.product.frm-price-heart-card{position:relative!important}
.woocommerce ul.products li.product.frm-price-heart-card .frm-loop-heart{position:absolute!important;left:auto!important;right:0!important;bottom:auto!important;z-index:40!important;margin:0!important;width:32px!important;height:32px!important;line-height:1!important}
.woocommerce ul.products li.product.frm-price-heart-card .price{padding-right:36px!important;box-sizing:border-box!important}
.woocommerce ul.products li.product.frm-price-heart-card .frm-heart{background:transparent!important;border:0!important;box-shadow:none!important}
.woocommerce ul.products li.product.frm-price-heart-card .frm-title-heart-title{padding-right:0!important}

/* v1.5: row below the photo, immediately above the product title. */
.woocommerce ul.products li.product.frm-above-title-heart-card .frm-above-title-heart-row{display:flex!important;align-items:center!important;justify-content:flex-end!important;position:relative!important;width:100%!important;min-height:34px!important;height:34px!important;margin:4px 0 2px!important;padding:0!important;box-sizing:border-box!important;overflow:visible!important}
.woocommerce ul.products li.product.frm-above-title-heart-card .frm-above-title-heart-row .frm-loop-heart{position:relative!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;width:34px!important;height:34px!important;z-index:40!important}
.woocommerce ul.products li.product.frm-above-title-heart-card .frm-above-title-heart-row .frm-heart{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;padding:3px!important;background:transparent!important;border:0!important;box-shadow:none!important}
.woocommerce ul.products li.product.frm-above-title-heart-card .frm-above-title-heart-row .frm-heart svg{width:25px!important;height:25px!important}
.woocommerce ul.products li.product.frm-above-title-heart-card .price{padding-right:0!important}
@media(max-width:767px){.woocommerce ul.products li.product.frm-above-title-heart-card .frm-above-title-heart-row{height:32px!important;min-height:32px!important;margin:3px 0 2px!important}}

/* 1.6: pagina preferiti in stile FRM, senza cambiare i cuori nelle categorie */
.frm-wishlist-page{--frm-purple:#54218c;--frm-gold:#e3b64b;color:#1b1230;max-width:1300px;margin:0 auto 48px;font-family:inherit}
.frm-wishlist-hero{text-align:center;padding:42px 16px 38px;background:radial-gradient(circle at 15% 40%,#8420a4 0%,transparent 33%),radial-gradient(circle at 88% 20%,#7a235b 0%,transparent 28%),linear-gradient(115deg,#12052b,#321056 55%,#17072d);color:#fff;border-radius:14px 14px 0 0;overflow:hidden}
.frm-wishlist-hero-title{font-size:clamp(27px,5vw,52px);font-weight:900;line-height:1.15;letter-spacing:.02em}.frm-wishlist-hero-title strong{color:#f2c75c}.frm-wishlist-hero-title span{color:#d9a8ff}.frm-wishlist-hero p{color:#fff;margin:12px 0 0;font-size:clamp(13px,2vw,17px)}
.frm-wishlist-panel{background:#fff;border:1px solid #f0edf4;border-radius:0 0 16px 16px;padding:clamp(15px,3vw,32px);box-shadow:0 5px 28px #210c3712}
.frm-wishlist-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:24px}.frm-wishlist-heading h2{font-size:clamp(22px,3vw,30px);font-weight:800;color:#25113f;margin:0 0 5px}.frm-wishlist-heading h2 small{font-size:14px;color:#7633ac}.frm-wishlist-heading p{margin:0;font-size:14px;color:#605a6a}.frm-wishlist-clear{border:1px solid #f3b9bf!important;border-radius:9px!important;background:#fff8f9!important;color:#ba2638!important;padding:10px 13px!important;white-space:nowrap;cursor:pointer;font-size:13px!important}
.frm-wishlist-page .frm-wishlist-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.frm-wishlist-page .frm-wishlist-item{min-width:0;display:flex;flex-direction:column;position:relative;padding:0!important;border:1px solid #eeeaf2;border-radius:12px;overflow:hidden;box-shadow:0 2px 14px #1c10310b}
.frm-wishlist-photo{position:relative;aspect-ratio:1/1;background:#faf9fc}.frm-wishlist-photo>a{display:block;width:100%;height:100%}.frm-wishlist-page .frm-wishlist-photo img{width:100%!important;height:100%!important;object-fit:contain!important;display:block}
.frm-wishlist-item-heart{position:absolute;right:5px;top:5px;z-index:5}.frm-wishlist-page .frm-wishlist-item-heart .frm-heart{width:35px!important;height:35px!important;min-width:35px!important;min-height:35px!important;background:#ffffffe8!important;border-radius:50%!important}.frm-wishlist-page .frm-wishlist-item-heart .frm-heart svg{width:25px!important;height:25px!important}
.frm-wishlist-item-content{display:flex;flex:1;flex-direction:column;padding:13px;gap:11px}.frm-wishlist-item-title{font-size:15px;line-height:1.4;font-weight:750;color:#17111e!important;text-decoration:none!important}.frm-wishlist-price{margin-top:auto;color:#d9234e;font-weight:800;font-size:18px}.frm-wishlist-price del{font-size:13px;color:#999;margin-right:5px;font-weight:400}.frm-wishlist-price ins{text-decoration:none}
.frm-wishlist-page .frm-wishlist-cart{display:block;text-align:center;background:#6921a0!important;color:#fff!important;padding:11px 7px;border-radius:7px;text-decoration:none!important;font-size:13px;font-weight:700;line-height:1.3}.frm-wishlist-page .frm-wishlist-cart:hover{background:#4b147d!important}
.frm-wishlist-empty{text-align:center;padding:55px 15px}.frm-wishlist-empty span{font-size:66px;color:#6722a1}.frm-wishlist-empty h3{font-size:22px;margin:4px 0}.frm-wishlist-empty p{color:#777}.frm-wishlist-empty a{display:inline-block;padding:10px 20px;border-radius:8px;background:#6921a0;color:white;text-decoration:none}
@media(max-width:850px){.frm-wishlist-page .frm-wishlist-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.frm-wishlist-item-content{padding:10px;gap:8px}.frm-wishlist-item-title{font-size:13px}.frm-wishlist-price{font-size:16px}.frm-wishlist-page .frm-wishlist-cart{font-size:12px}.frm-wishlist-heading{align-items:flex-start}.frm-wishlist-heading p{font-size:12px}}
@media(max-width:380px){.frm-wishlist-heading{flex-wrap:wrap}.frm-wishlist-clear{margin-left:auto}.frm-wishlist-hero{padding:30px 10px}}

/* 1.7: clean dedicated wishlist page; keep site header/footer intact */
body.frm-wishlist-dedicated-page .entry-header,body.frm-wishlist-dedicated-page .page-header,body.frm-wishlist-dedicated-page h1.entry-title,body.frm-wishlist-dedicated-page h1.page-title,body.frm-wishlist-dedicated-page .elementor-page-title{display:none!important}
body.frm-wishlist-dedicated-page .entry-content{margin-top:0!important}
.frm-wishlist-page{max-width:1200px!important;margin:20px auto 45px!important;padding:0 12px!important;color:#21172e!important}
.frm-wishlist-page .frm-wishlist-panel{border:1px solid #eee9f3!important;border-radius:18px!important;background:#fff!important;padding:clamp(18px,3vw,30px)!important;box-shadow:0 5px 22px rgba(35,16,60,.055)!important}
.frm-wishlist-page .frm-wishlist-heading{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;margin-bottom:20px!important;border-bottom:1px solid #eeeaf3;padding-bottom:16px}
.frm-wishlist-page .frm-wishlist-heading-main{min-width:0;width:100%}
.frm-wishlist-page .frm-wishlist-heading-title{display:flex!important;align-items:center!important;gap:9px!important;flex-wrap:nowrap!important;white-space:nowrap!important}
.frm-wishlist-page .frm-wishlist-heading-title svg{width:24px!important;height:24px!important;flex:none;fill:none;stroke:#7025a2;stroke-width:2;stroke-linejoin:round}
.frm-wishlist-page .frm-wishlist-heading h2{font-size:clamp(17px,4.5vw,28px)!important;line-height:1.2!important;margin:0!important;white-space:nowrap!important;letter-spacing:-.03em!important;color:#23152f!important}
.frm-wishlist-page .frm-wishlist-count-pill{display:inline-flex;align-items:center;gap:4px;padding:5px 9px;background:#f5eefb;border-radius:99px;color:#6825a5;font-size:clamp(10px,2.6vw,13px);font-weight:700;white-space:nowrap}
.frm-wishlist-page .frm-wishlist-heading p{margin:12px 0 0!important;color:#68616e!important;font-size:clamp(13px,3.2vw,15px)!important;line-height:1.55!important}
.frm-wishlist-page .frm-wishlist-clear{align-self:flex-end!important;border:0!important;background:transparent!important;color:#9b3650!important;box-shadow:none!important;padding:6px 2px!important;font-size:12px!important;text-decoration:underline;text-underline-offset:3px;min-height:32px}
.frm-wishlist-page .frm-wishlist-empty{padding:38px 8px 48px!important;display:flex;flex-direction:column;align-items:center;gap:12px}
.frm-wishlist-page .frm-wishlist-empty svg{width:54px;height:54px;fill:none;stroke:#7025a2;stroke-width:1.8;stroke-linejoin:round}
.frm-wishlist-page .frm-wishlist-empty h3{font-size:clamp(19px,4.5vw,25px)!important;line-height:1.3!important;margin:0!important;color:#24152e!important}
.frm-wishlist-page .frm-wishlist-empty p{font-size:14px!important;line-height:1.55!important;max-width:360px;margin:0 0 6px!important;color:#6c6472!important}
.frm-wishlist-page .frm-wishlist-empty a,.frm-wishlist-page .frm-wishlist-empty a:visited,.frm-wishlist-page .frm-wishlist-empty a:hover,.frm-wishlist-page .frm-wishlist-empty a:focus{display:inline-flex!important;align-items:center!important;justify-content:center!important;background:#6921a0!important;color:#fff!important;-webkit-text-fill-color:#fff!important;text-decoration:none!important;border:0!important;font-weight:700!important;padding:13px 24px!important;border-radius:9px!important;line-height:1.3!important;box-shadow:none!important}
@media(max-width:420px){.frm-wishlist-page .frm-wishlist-panel{padding:16px 12px!important}.frm-wishlist-page .frm-wishlist-heading-title{gap:6px!important}.frm-wishlist-page .frm-wishlist-heading-title svg{width:21px!important;height:21px!important}.frm-wishlist-page .frm-wishlist-count-pill{padding:4px 6px!important}}

.frm-wishlist-cart-add{font:inherit;cursor:pointer;border:0;text-align:center}.frm-wishlist-cart-add:disabled{opacity:.7;cursor:wait}

/* v1.9: pulsanti preferiti leggibili, centrati, senza icone carrello */
.frm-wishlist-page .frm-wishlist-cart,
.frm-wishlist-page .frm-wishlist-cart-add {
 display:flex!important; align-items:center!important; justify-content:center!important;
 text-align:center!important; width:100%!important; min-height:46px!important;
 box-sizing:border-box!important; padding:11px 8px!important; margin:0!important;
 background:#6921a0!important; color:#fff!important; -webkit-text-fill-color:#fff!important;
 font-size:clamp(11px,2.7vw,14px)!important; font-weight:700!important;
 line-height:1.35!important; letter-spacing:0!important; white-space:normal!important;
 text-transform:none!important; border:0!important; border-radius:8px!important;
 text-decoration:none!important; box-shadow:none!important;
}
.frm-wishlist-page .frm-wishlist-cart:hover,
.frm-wishlist-page .frm-wishlist-cart:focus {background:#4b147d!important;color:#fff!important;-webkit-text-fill-color:#fff!important;}
.frm-wishlist-page .frm-wishlist-cart svg,
.frm-wishlist-page .frm-wishlist-cart i,
.frm-wishlist-page .frm-wishlist-cart::before,
.frm-wishlist-page .frm-wishlist-cart::after {display:none!important;content:none!important;}

/* v2.0: keep wishlist hearts below mobile navigation; never overlay an open menu. */
.woocommerce ul.products li.product.frm-above-title-heart-card .frm-above-title-heart-row .frm-loop-heart {z-index:1!important;}
.woocommerce ul.products li.product.frm-above-title-heart-card .frm-above-title-heart-row .frm-heart {z-index:1!important;}
body.frm-mobile-nav-open .frm-loop-heart,
body.frm-mobile-nav-open .frm-wishlist-item-heart,
body.frm-mobile-nav-open .frm-wishlist-counter,
body:has(.elementor-menu-toggle.elementor-active) .frm-loop-heart,
body:has(.elementor-menu-toggle[aria-expanded="true"]) .frm-loop-heart,
body:has(.elementor-menu-toggle.elementor-active) .frm-wishlist-item-heart,
body:has(.elementor-menu-toggle[aria-expanded="true"]) .frm-wishlist-item-heart {visibility:hidden!important;pointer-events:none!important;}
/* Preserve v1.9 centered button text and prevent theme icons. */
.frm-wishlist-page .frm-wishlist-cart-add {display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;}
