/* Approved catalog cards over native Flex loops, showcases and product blocks. */
:root{--astro-purchase-green:#008a22;--astro-purchase-hover:#006e1b}
.enioflex-search-results .price{color:var(--astro-purchase-green)}
.woocommerce ul.products,.wc-block-product-template{align-items:stretch;row-gap:24px!important}
.enioflex-home>.enioflex-product-showcase.enioflex-showcase ul.products{height:auto;min-height:0}
.woocommerce ul.products li.product,.wc-block-product{
 display:flex!important;flex-direction:column;align-self:stretch;box-sizing:border-box;
 padding:14px 16px 16px!important;border:1px solid #dce1ed;border-radius:10px;text-align:left;
}
.woocommerce ul.products li.product .woocommerce-LoopProduct-link{display:flex;flex-direction:column;flex:1;min-width:0;color:inherit}
.woocommerce ul.products li.product a img,
.enioflex-home .woocommerce ul.products li.product a img,
.wc-block-product>.wp-block-woocommerce-product-image{
 box-sizing:border-box;flex:none;width:100%;height:250px;margin:0 0 12px!important;padding:0!important;object-fit:contain;
}
.wc-block-product>.wp-block-woocommerce-product-image img{object-fit:contain!important}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.enioflex-home .woocommerce ul.products li.product .woocommerce-loop-product__title,
.wc-block-product>.wp-block-post-title{
 flex:none;box-sizing:border-box;height:44px;min-height:44px;margin:0 0 10px!important;padding:0!important;
 color:var(--enioflex-ink);font-size:14px!important;font-weight:700!important;line-height:22px!important;text-align:left!important;
}
.wc-block-product>.wp-block-post-title a{color:inherit;text-decoration:none}
.astro-card-price{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin:0;line-height:20px;text-align:left}
.astro-card-price__from,.astro-card-price__discount,.astro-card-price__installments{color:var(--enioflex-muted);font-size:12px;font-weight:400}
.astro-card-price__cash{display:block;color:var(--astro-purchase-green);font-size:24px;font-weight:800;line-height:29px;letter-spacing:-.035em;white-space:nowrap}
.wc-block-product>.astro-card-price-block{order:3;min-height:0;margin:0!important;text-align:left!important}
.woocommerce ul.products li.product .button,
.wc-block-product>.wp-block-woocommerce-product-button{
 position:static!important;display:block!important;width:100%!important;box-sizing:border-box;
 margin:14px 0 0!important;opacity:1;transform:none;pointer-events:auto;
}
.wc-block-product>.wp-block-woocommerce-product-button{order:4;padding:0!important}
.woocommerce ul.products li.product .button,
.wc-block-product>.wp-block-woocommerce-product-button .wp-block-button__link{
 display:flex!important;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:46px;
 padding:12px 8px!important;border:0;border-radius:6px!important;background:var(--astro-purchase-green)!important;
 box-shadow:none;color:#fff!important;font-size:14px!important;font-weight:700!important;line-height:22px;text-align:center;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .button:focus-visible,
.wc-block-product>.wp-block-woocommerce-product-button .wp-block-button__link:hover,
.wc-block-product>.wp-block-woocommerce-product-button .wp-block-button__link:focus-visible{
 background:var(--astro-purchase-hover)!important;transform:none;box-shadow:none;
}
.woocommerce ul.products li.product .button:focus-visible,
.wc-block-product>.wp-block-woocommerce-product-button .wp-block-button__link:focus-visible{outline:3px solid var(--enioflex-brand);outline-offset:3px}
.woocommerce ul.products li.product:hover,.woocommerce ul.products li.product:focus-within,.wc-block-product:hover{transform:none}
.woocommerce ul.products li.product .onsale,.wc-block-product span.onsale{
 display:inline-block!important;
 top:10px!important;left:10px!important;right:auto!important;border:0;border-radius:5px;box-shadow:none;
 background:var(--enioflex-brand)!important;color:white!important;
}
@media(max-width:767px){
 .woocommerce ul.products,.enioflex-product-showcase .woocommerce ul.products,.wc-block-product-template{--enioflex-product-gap:10px;gap:14px 10px!important}
 .woocommerce ul.products li.product,.wc-block-product,
 .enioflex-product-showcase:is(.enioflex-showcase) .woocommerce ul.products li.product{
  flex:0 0 calc((100% - 10px)/2);width:calc((100% - 10px)/2)!important;padding:10px 10px 12px!important;
 }
 .woocommerce ul.products li.product a img,.enioflex-home .woocommerce ul.products li.product a img,.wc-block-product>.wp-block-woocommerce-product-image{height:180px;margin:0 0 10px!important}
 .woocommerce ul.products li.product .woocommerce-loop-product__title,.enioflex-home .woocommerce ul.products li.product .woocommerce-loop-product__title,.wc-block-product>.wp-block-post-title{
  height:54px;min-height:54px;font-size:12px!important;line-height:18px!important;-webkit-line-clamp:3;
 }
 .astro-card-price__cash{font-size:22px;line-height:27px}
 .astro-card-price__from,.astro-card-price__discount,.astro-card-price__installments{font-size:10px;line-height:17px}
 .woocommerce ul.products li.product .button,.wc-block-product>.wp-block-woocommerce-product-button .wp-block-button__link{font-size:12px!important;min-height:44px;padding:10px 6px!important}
}
@media(max-width:359px){
 .woocommerce ul.products li.product,.wc-block-product,.enioflex-product-showcase:is(.enioflex-showcase) .woocommerce ul.products li.product{padding-inline:8px!important}
 .woocommerce ul.products li.product a img,.wc-block-product>.wp-block-woocommerce-product-image{height:150px}
 .astro-card-price__cash{font-size:20px}
}
