body.ee-product-savings-active .elementor-widget-woocommerce-product-images .woocommerce-product-gallery{position:relative}
body.ee-product-savings-active .ee-product-savings{position:absolute;z-index:5;top:16px;left:16px;width:156px;max-width:calc(100% - 72px);display:grid;gap:5px;pointer-events:none;text-align:center;font-variant-numeric:tabular-nums}
body.ee-product-savings-active .ee-product-savings[hidden]{display:none!important}
body.ee-product-savings-active .ee-product-savings>span{display:block;width:100%;box-sizing:border-box;border-radius:8px;overflow-wrap:break-word}
body.ee-product-savings-active .ee-product-savings__discount{background:#c64000;color:#fff;padding:8px 10px;font-size:14px;font-weight:700;line-height:1.3}
body.ee-product-savings-active .ee-product-savings__amount{background:#f0f7e7;color:#365c24;border:1px solid #d6e7c4;padding:7px 9px;font-size:12px;font-weight:600;line-height:1.45;text-wrap:balance}
/* Hide only duplicates in the main product widgets; retain prices and legal period. */
body.ee-product-savings-active .elementor-widget-woocommerce-product-price .cmgd-discount-label,
body.ee-product-savings-active .elementor-widget-woocommerce-product-add-to-cart .cmgd-discount-label,
body.ee-product-savings-active .elementor-widget-woocommerce-product-images .onsale,
body.ee-product-savings-active .elementor-widget-woocommerce-product-images .cmgd-sale-badge{display:none!important}
@media(max-width:767px){
 body.ee-product-savings-active .ee-product-savings{top:12px;left:12px;width:150px;gap:4px}
 body.ee-product-savings-active .ee-product-savings__discount{font-size:13px;padding:7px 8px}
 body.ee-product-savings-active .ee-product-savings__amount{font-size:12px;padding:6px 7px}
}
