/* ECOFARMA Product Card: scoped styles, no changes to page containers or checkout. */
.efpc-ready{--efpc-blue:#1554bd;--efpc-ink:#10234b;--efpc-green:#007b47;--efpc-red:#bd1531;--efpc-border:#dce4ef;--efpc-control:44px;position:relative!important;box-sizing:border-box;isolation:isolate}
.efpc-ready.efpc-motta,.efpc-ready.efpc-featured,.efpc-ready.efpc-recent,.efpc-ready.efpc-search{background:#fff!important;border:1px solid var(--efpc-border)!important;border-radius:13px!important;box-shadow:0 2px 6px #10234b0b!important}
ul.products li.product .product-inner.efpc-motta.efpc-ready,ul.products li.product .product-inner.efpc-motta.efpc-ready:hover{display:flex!important;flex-direction:column!important;height:100%!important;padding:9px 10px 12px!important;box-shadow:0 2px 6px #10234b0b!important;z-index:auto!important;min-width:0!important}
.efpc-ready.efpc-motta .product-thumbnail{background:#fff!important;border-radius:9px;min-width:0}
.efpc-ready.efpc-motta .product-thumbnail img{object-fit:contain!important}
.efpc-ready.efpc-motta .product-summary{flex:1;min-width:0;padding:0!important}
.efpc-ready.efpc-motta .woocommerce-loop-product__title,.efpc-ready.efpc-motta .woocommerce-loop-product__title a,.efpc-ready .nsd-r8k3wq__title,.efpc-ready .mrvp-title,.efpc-ready .ess-product-title{color:var(--efpc-ink)!important;font-weight:600!important;line-height:1.32!important;overflow-wrap:anywhere}
.efpc-ready.efpc-motta .meta-cat,.efpc-ready .nsd-r8k3wq__brand{color:#64748b!important;font-size:11px!important;text-transform:uppercase;line-height:1.3!important}
.efpc-ready.efpc-motta .meta-cat a{color:inherit!important}
.efpc-ready.efpc-motta .product-summary .price,.efpc-ready.efpc-motta .product-price-group .price{min-height:44px!important;margin-top:8px!important;align-content:center!important;align-items:center!important;padding-right:48px!important;gap:3px 6px!important}
.efpc-ready.efpc-motta .product-actions{position:static!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:none!important;box-shadow:none!important;background:transparent!important;padding:0!important;border:0!important;min-height:0!important}
.efpc-ready.efpc-motta .product-actions>*{transform:none!important}
.efpc-ready .efpc-empty-actions,.efpc-ready .efpc-redundant-price,.efpc-ready .efpc-disabled-original{display:none!important}
.efpc-ready.efpc-featured{padding:9px 10px 12px!important}
.efpc-ready.efpc-featured .nsd-r8k3wq__card{background:transparent!important;box-shadow:none!important;border:0!important;padding:0!important;height:100%}
.efpc-ready.efpc-featured .nsd-r8k3wq__thumb{background:#fff!important;border-radius:8px}
.efpc-ready.efpc-featured .nsd-r8k3wq__thumb img{object-fit:contain!important}
.efpc-ready.efpc-featured .nsd-r8k3wq__price{display:flex!important;flex-wrap:wrap;align-items:center;align-content:center;gap:3px 6px;min-height:44px;padding-right:48px!important;margin-top:auto!important}
.efpc-ready.efpc-featured .nsd-r8k3wq__was{margin-left:0!important}
.efpc-ready.efpc-recent{display:block!important;padding:9px 10px 12px!important;border-top:1px solid var(--efpc-border)!important}
.efpc-ready.efpc-recent .mrvp-product-link{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;min-width:0}
.efpc-ready.efpc-recent .mrvp-product-link img{width:100%!important;max-width:100%!important;aspect-ratio:1/1;object-fit:contain!important;height:auto!important;margin:0!important}
.efpc-ready.efpc-recent .mrvp-price{display:flex;flex-wrap:wrap;align-content:center;align-items:center;gap:3px 6px;min-height:44px;padding-right:48px}
.efpc-ready.efpc-recent .mrvp-info{min-width:0;gap:4px}
.efpc-ready.efpc-search{padding-right:10px!important;padding-bottom:58px!important}
.efpc-ready.efpc-search .ess-product-foot{min-width:0}
.efpc-ready.efpc-search .ess-product-actions{display:flex;flex-wrap:wrap}
.efpc-ready.efpc-search .ess-price{display:flex;flex-wrap:wrap;gap:4px;align-items:center}
/* Compact EFSR rows intentionally stay compact; preserve zoom, details, Ver and add validation. */
.efsr .efpc-ready.efpc-recommendation{border-radius:12px!important;position:relative!important;padding-top:48px!important}
.efsr .efpc-ready.efpc-recommendation .efsr-prices{flex-wrap:wrap}
.efpc-ready .efpc-price,.efpc-ready .efpc-price .woocommerce-Price-amount,.efpc-ready .efpc-price ins,.efpc-ready .efpc-now,.efpc-ready .efpc-now *{color:var(--efpc-green)!important;font-weight:700!important}
.efpc-ready .efpc-price ins{text-decoration:none!important;background:transparent!important;order:0!important;margin-right:0!important}
.efpc-ready .efpc-price del,.efpc-ready .efpc-price del *,.efpc-ready .efpc-old,.efpc-ready .efpc-old *{color:var(--efpc-red)!important;text-decoration:line-through!important;opacity:1!important;font-weight:500!important}
.efpc-ready .efpc-price del{order:1!important;font-size:.86em!important}
.efpc-ready .efpc-price .efpc-discount{display:inline-flex!important;align-items:center;order:2;font-size:10px!important;font-weight:700!important;line-height:1.5!important;color:var(--efpc-red)!important;border-radius:5px;padding:1px 5px;background:#fff0f2!important;white-space:nowrap;box-shadow:none!important}
.efpc-ready .efpc-price .screen-reader-text{display:block!important;position:absolute!important;width:1px!important;height:1px!important;clip-path:inset(50%);overflow:hidden}
.efpc-ready .efpc-icon,.efpc-favorites-dialog .efpc-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;width:var(--efpc-control,44px)!important;height:var(--efpc-control,44px)!important;min-width:var(--efpc-control,44px)!important;min-height:var(--efpc-control,44px)!important;max-width:var(--efpc-control,44px)!important;max-height:var(--efpc-control,44px)!important;flex:0 0 var(--efpc-control,44px)!important;border-radius:50%!important;padding:0!important;margin:0!important;background:#fff!important;border:1px solid #d5e0ee!important;color:#1554bd!important;box-shadow:0 1px 4px #10234b15!important;text-decoration:none!important;line-height:1!important;opacity:1!important;visibility:visible!important;cursor:pointer!important;pointer-events:auto!important;transform:none!important;touch-action:manipulation;z-index:3}
.efpc-ready .efpc-icon svg,.efpc-favorites-dialog .efpc-icon svg{display:block!important;width:21px!important;height:21px!important;flex:none!important;pointer-events:none;fill:none;stroke:currentColor}
.efpc-ready .efpc-icon:focus-visible,.efpc-favorites-dialog .efpc-icon:focus-visible{outline:2px solid #1554bd!important;outline-offset:2px}
.efpc-ready .efpc-icon:hover,.efpc-favorites-dialog .efpc-icon:hover{background:#eef4ff!important;border-color:#94b1e4!important}
.efpc-ready .efpc-icon:disabled,.efpc-ready .efpc-icon[aria-busy="true"],.efpc-ready .efpc-icon.loading{opacity:.55!important;cursor:wait!important}
.efpc-ready .efpc-heart{position:absolute!important;top:7px!important;right:7px!important;bottom:auto!important;left:auto!important}
.efpc-ready .efpc-heart[aria-pressed="true"],.efpc-favorites-dialog .efpc-heart[aria-pressed="true"]{color:#c71845!important;border-color:#f1c2cf!important}
.efpc-ready .efpc-heart[aria-pressed="true"] svg,.efpc-favorites-dialog .efpc-heart[aria-pressed="true"] svg{fill:currentColor!important}
.efpc-ready>.efpc-cart{position:absolute!important;bottom:8px!important;right:7px!important;top:auto!important;left:auto!important}
.efpc-ready.efpc-search>.efpc-cart{bottom:8px!important}
.efpc-ready .efpc-native-action{font-size:0!important;letter-spacing:0!important;text-indent:0!important;overflow:visible!important}
.efpc-ready .efpc-native-action>:not(.efpc-action-icon){display:none!important}
.efpc-ready .efpc-native-action .efpc-action-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;pointer-events:none!important}
.efpc-ready .efpc-native-action:not(.loading):before,.efpc-ready .efpc-native-action:not(.loading):after{display:none!important;content:none!important}
.efpc-ready .efpc-cart:not(.efpc-native-action){font-size:0!important}
.efpc-ready .added_to_cart.wc-forward{display:block;font-size:11px;line-height:1.3;color:#1554bd;padding:3px 48px 0 0}
/* Mobile price can wrap rather than overlap the 44px cart target. */
@media(max-width:480px){.efpc-ready.efpc-motta,.efpc-ready.efpc-featured,.efpc-ready.efpc-recent{--efpc-control:44px}.efpc-ready .efpc-price{font-size:13px!important;line-height:1.4!important}.efpc-ready .efpc-price .efpc-discount{font-size:10px!important}}
#efpc-notice{position:fixed;left:50%;bottom:calc(84px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);max-width:calc(100vw - 28px);width:max-content;padding:10px 16px;border-radius:9px;background:#142b52;color:#fff;font-size:13px;box-shadow:0 4px 14px #0002;z-index:2147482000;opacity:0;pointer-events:none;transition:opacity .15s}
#efpc-notice.visible{opacity:1}
.efpc-favorites-dialog{width:min(510px,calc(100vw - 24px));max-height:85dvh;margin:auto;padding:16px;border:1px solid #dce4ef;border-radius:14px;background:white;color:#10234b;box-shadow:0 12px 40px #10234b30;overflow:auto;box-sizing:border-box}
.efpc-favorites-dialog::backdrop{background:#10234b77}
.efpc-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.efpc-dialog-head h2{margin:0;font-size:20px}.efpc-dialog-head button{font-size:26px!important}
.efpc-fav-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #e6edf4;padding:10px 0}.efpc-fav-row>a{display:flex;align-items:center;gap:9px;min-width:0;color:#10234b;font-size:13px;line-height:1.4}.efpc-fav-row img{width:54px;height:54px;object-fit:contain;flex:none}.efpc-fav-row span{overflow-wrap:anywhere}.efpc-more{display:block;margin:10px auto 0;color:#1554bd;border:1px solid #d5e0ee;background:#fff;border-radius:8px;padding:8px 14px}
@media(prefers-reduced-motion:reduce){#efpc-notice{transition:none}}

/* Preserve existing compact-list variants; a carousel gets the full vertical card. */
.efpc-ready.efpc-recent.efpc-recent-list{padding:10px 56px 10px 10px!important;min-height:104px!important}
.efpc-ready.efpc-recent-list .mrvp-product-link{flex-direction:row!important;align-items:center!important}
.efpc-ready.efpc-recent-list .mrvp-product-link img{width:64px!important;max-width:64px!important;height:64px!important;flex:0 0 64px}
.efpc-ready.efpc-recent-list .mrvp-price{min-height:0;padding-right:0}
.efpc-ready.efpc-search{padding-top:12px!important;padding-right:58px!important;padding-bottom:12px!important;min-height:104px}
.efsr .efpc-ready.efpc-recommendation{padding:8px 55px 8px 8px!important;min-height:104px;grid-template-columns: minmax(44px,64px) minmax(0,1fr)!important;grid-template-rows:auto auto!important;align-items:center!important;gap:6px!important}
.efsr .efpc-ready.efpc-recommendation .efsr-photo-wrap{grid-column:1!important;grid-row:1/3!important}
.efsr .efpc-ready.efpc-recommendation .efsr-photo-wrap .efsr-photo{max-width:64px!important;height:auto!important;aspect-ratio:1/1!important}
.efsr .efpc-ready.efpc-recommendation .efsr-info{grid-column:2!important;grid-row:1!important}
.efsr .efpc-ready.efpc-recommendation .efsr-product-actions{grid-column:2!important;grid-row:2!important;justify-self:start!important}
.efsr .efpc-ready.efpc-recommendation .efsr-product-actions .efsr-see{border:0!important;background:none!important;min-height:24px!important;padding:0!important;text-decoration:underline!important;justify-content:flex-start!important}
.efpc-ready.efpc-no-price:not(.efpc-recommendation):not(.efpc-search):not(.efpc-recent-list){padding-bottom:58px!important}
.catalog-view-list ul.products:not(.swiper-wrapper) li.product .product-inner.efpc-motta.efpc-ready,.catalog-view-list ul.products:not(.swiper-wrapper) li.product .product-inner.efpc-motta.efpc-ready:hover{flex-direction:row!important;align-items:center!important;gap:12px!important;padding:12px 58px 12px 12px!important;min-height:104px!important}
.catalog-view-list .efpc-ready.efpc-motta .product-summary .price{padding-right:0!important}
.efpc-ready.efpc-motta .woocommerce-badges{top:8px!important;left:8px!important}

.efpc-ready .efpc-hidden-extra{display:none!important}
.efpc-ready.efpc-motta .woocommerce-badges .onsale.woocommerce-badge{border-radius:999px!important;background:#d9222f!important;color:#fff!important;padding:4px 9px!important;line-height:1.2!important;font-size:10px!important;font-weight:700!important}
.efpc-ready.efpc-motta .woocommerce-loop-product__title a,.efpc-ready .ess-product-title,.efpc-ready .nsd-r8k3wq__card,.efpc-ready .mrvp-product-link{text-decoration:none!important}
.efpc-ready.efpc-motta .woocommerce-loop-product__title a:hover,.efpc-ready .ess-product-title:hover{text-decoration:underline!important}
.efpc-ready.efpc-search .ess-price .price,.efpc-ready.efpc-recent .mrvp-price .price{display:flex;flex-wrap:wrap;align-items:center;gap:3px 6px}
