/* Chefle Customizations — moved from WPCode snippet #1010: Best Seller cards like shop page */

.elementor-widget-woocommerce-products{--hc-ink:#111;--hc-muted:#6B6B6B;--hc-line:#ECECEC;--hc-yel:#FEC625;--hc-yel-d:#F2B705}
.elementor-widget-woocommerce-products ul.products li.product.cp-hcard{position:relative;display:flex!important;flex-direction:column;border:1px solid var(--hc-line);border-radius:16px;padding:12px!important;background:#fff;margin:0!important;box-sizing:border-box;transition:box-shadow .2s,transform .2s;text-align:center}
.elementor-widget-woocommerce-products ul.products li.product.cp-hcard:hover{box-shadow:0 14px 36px rgba(17,17,17,.08);transform:translateY(-3px)}
body .elementor-widget-woocommerce-products ul.products li.cp-hcard>a.woocommerce-loop-product__link{display:flex!important;flex-direction:column;align-items:center;flex:1 1 auto;text-decoration:none!important;color:var(--hc-ink)!important}
body .elementor-widget-woocommerce-products ul.products li.cp-hcard>a.woocommerce-loop-product__link img{width:100%!important;height:auto!important;aspect-ratio:1/1;object-fit:cover;border-radius:12px!important;margin:0!important;display:block}
/* sale pill (top-left on the image) */
body .elementor-widget-woocommerce-products ul.products li.cp-hcard .onsale{position:absolute!important;top:24px!important;left:24px!important;right:auto!important;bottom:auto!important;margin:0!important;min-width:0!important;min-height:0!important;width:auto!important;height:auto!important;padding:3px 10px!important;border-radius:999px!important;background:var(--hc-yel)!important;color:var(--hc-ink)!important;font-size:13px!important;font-weight:600!important;line-height:1.4!important;z-index:4;box-shadow:none!important}
/* wishlist heart (top-right on the image) */
body .elementor-widget-woocommerce-products ul.products li.cp-hcard .woosw-btn{position:absolute!important;top:24px;right:24px;z-index:5;width:40px!important;height:40px!important;border-radius:50%!important;background:#fff!important;border:0!important;box-shadow:0 2px 8px rgba(0,0,0,.12);padding:0!important;margin:0!important;font-size:0!important;color:var(--hc-ink)!important;display:flex!important;align-items:center;justify-content:center;cursor:pointer;transition:transform .15s}
body .elementor-widget-woocommerce-products ul.products li.cp-hcard .woosw-btn:hover{transform:scale(1.06)}
body .elementor-widget-woocommerce-products ul.products li.cp-hcard .woosw-btn *{display:none!important}
body .elementor-widget-woocommerce-products ul.products li.cp-hcard .woosw-btn:before{content:"";width:20px;height:20px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8l1 1.1L12 21l7.8-7.5 1-1.1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8l1 1.1L12 21l7.8-7.5 1-1.1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E") center/contain no-repeat}
body .elementor-widget-woocommerce-products ul.products li.cp-hcard .woosw-btn.woosw-added{color:#D33!important}
body .elementor-widget-woocommerce-products ul.products li.cp-hcard .woosw-btn.woosw-added:before{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8l1 1.1L12 21l7.8-7.5 1-1.1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8l1 1.1L12 21l7.8-7.5 1-1.1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E") center/contain no-repeat}
body .elementor-widget-woocommerce-products ul.products li.cp-hcard .woosc-btn{display:none!important}
/* text */
body .elementor-widget-woocommerce-products ul.products li.cp-hcard .woocommerce-loop-product__title{font-size:18px!important;font-weight:600!important;line-height:1.3!important;color:var(--hc-ink)!important;margin:16px 0 0!important;padding:0 4px!important;text-align:center!important;width:100%}
body .elementor-widget-woocommerce-products ul.products li.cp-hcard .cp-pcat{font-size:13px;color:var(--hc-muted);margin:6px 0 0;text-transform:capitalize}
body .elementor-widget-woocommerce-products ul.products li.cp-hcard .price{display:block!important;margin:8px 0 0!important;font-size:17px!important;font-weight:700!important;color:var(--hc-ink)!important;text-align:center}
body .elementor-widget-woocommerce-products ul.products li.cp-hcard .price *{color:inherit!important;font-weight:inherit}
body .elementor-widget-woocommerce-products ul.products li.cp-hcard .price del{color:#8A8A8A!important;font-weight:400!important;font-size:14px}
body .elementor-widget-woocommerce-products ul.products li.cp-hcard .price ins{text-decoration:none!important}
/* button */
body .elementor-widget-woocommerce-products ul.products li.cp-hcard>a.button{display:flex!important;align-items:center;justify-content:center;margin:25px 0 0!important;height:48px;padding:0 12px!important;border:0!important;border-radius:12px!important;background:var(--hc-yel)!important;color:var(--hc-ink)!important;font-size:14px!important;font-weight:700!important;letter-spacing:.08em;text-transform:uppercase;text-decoration:none!important;position:relative;transition:background .15s;width:100%;box-sizing:border-box;line-height:1}
body .elementor-widget-woocommerce-products ul.products li.cp-hcard>a.button:before{content:"";position:absolute;left:4px;right:4px;top:-13px;border-top:1px solid var(--hc-line)}
body .elementor-widget-woocommerce-products ul.products li.cp-hcard>a.button:hover{background:var(--hc-yel-d)!important}
body .elementor-widget-woocommerce-products ul.products li.cp-hcard>a.added_to_cart{display:block;margin-top:8px;font-size:13px;color:var(--hc-ink)!important}
@media (max-width:767px){
.elementor-widget-woocommerce-products ul.products li.product.cp-hcard{padding:8px!important;border-radius:14px}
body .elementor-widget-woocommerce-products ul.products li.cp-hcard .onsale{top:16px!important;left:16px!important;font-size:12px!important;padding:2px 8px!important}
body .elementor-widget-woocommerce-products ul.products li.cp-hcard .woosw-btn{top:16px;right:16px;width:34px!important;height:34px!important}
body .elementor-widget-woocommerce-products ul.products li.cp-hcard .woosw-btn:before{width:17px;height:17px}
body .elementor-widget-woocommerce-products ul.products li.cp-hcard .woocommerce-loop-product__title{font-size:15px!important;margin-top:12px!important}
body .elementor-widget-woocommerce-products ul.products li.cp-hcard .cp-pcat{font-size:12px}
body .elementor-widget-woocommerce-products ul.products li.cp-hcard .price{font-size:14px!important}
body .elementor-widget-woocommerce-products ul.products li.cp-hcard>a.button{height:42px;font-size:12px!important;letter-spacing:.05em;margin-top:21px!important}
}
