/* JDSAS Performance V4.6.3 — diseño premium de Productos Destacados.
   Target real: .jdsas42-woocommerce-products (Elementor WooCommerce Products).
   For manual Elementor custom CSS, paste these rules AS IS (not selector {...}). */

/* Hide brand outside our featured-products block. */
.woocommerce ul.products li.product .jdsas463-product-brand {display:none;}

/* The actual plugin originally enforced a dark horizontal rail with !important.
   Replace it explicitly with a responsive grid and white cards. */
body .jdsas42-products .jdsas42-woocommerce-products ul.products,
body .jdsas42-woocommerce-products ul.products {
 display:grid!important;
 grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:18px!important;
 overflow:visible!important;
 scroll-snap-type:none!important;
 flex-wrap:initial!important;
 align-items:stretch!important;
 padding:8px 3px 22px!important;
 margin:0!important;
 list-style:none!important;
}
body .jdsas42-woocommerce-products ul.products::before,
body .jdsas42-woocommerce-products ul.products::after{content:none!important;display:none!important}
body .jdsas42-woocommerce-products ul.products li.product,
body .jdsas42-woocommerce-products ul.products[class*="columns-"] li.product {
 display:flex!important;flex-direction:column!important;
 float:none!important;clear:none!important;
 position:relative!important;box-sizing:border-box!important;
 width:100%!important;min-width:0!important;max-width:100%!important;
 flex:none!important;scroll-snap-align:none!important;
 height:100%!important;margin:0!important;padding:0!important;
 background:#fff!important;background-image:none!important;
 border:1px solid #e4e2df!important;border-radius:19px!important;
 color:#161616!important;overflow:hidden!important;
 box-shadow:0 5px 16px rgba(0,0,0,.11)!important;
 transform:none!important;transition:box-shadow .22s ease,transform .22s ease!important;
 text-align:left!important;
}
body .jdsas42-woocommerce-products ul.products li.product:hover {
 transform:translateY(-4px)!important;
 box-shadow:0 13px 25px rgba(0,0,0,.16)!important;
 border-color:#dad7d4!important;
}
body .jdsas42-woocommerce-products ul.products li.product a.woocommerce-loop-product__link,
body .jdsas42-woocommerce-products ul.products li.product a.woocommerce-LoopProduct-link {
 display:flex!important;flex-direction:column!important;
 flex:1 1 auto!important;min-width:0!important;
 margin:0!important;padding:0!important;
 background:#fff!important;text-decoration:none!important;
}
/* Images have identical 1:1 presentation regardless of source dimensions. */
body .jdsas42-woocommerce-products ul.products li.product a img,
body .jdsas42-woocommerce-products ul.products li.product img.attachment-woocommerce_thumbnail {
 display:block!important;box-sizing:border-box!important;
 width:100%!important;height:auto!important;
 aspect-ratio:1/1!important;object-fit:contain!important;
 object-position:center!important;margin:0!important;
 padding:17px!important;filter:none!important;mix-blend-mode:normal!important;
 background:#fff!important;border:0!important;border-radius:0!important;
 max-width:100%!important;
}
body .jdsas42-woocommerce-products ul.products li.product .jdsas463-product-brand {
 display:block!important;color:#191919!important;
 font:750 13px/1.25 Inter,Arial,sans-serif!important;
 margin:0 14px 3px!important;padding:0!important;
 max-height:32px!important;overflow:hidden!important;
}
body .jdsas42-woocommerce-products ul.products li.product h2.woocommerce-loop-product__title,
body .jdsas42-woocommerce-products ul.products li.product .woocommerce-loop-product__title {
 display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;
 overflow:hidden!important;box-sizing:content-box!important;
 color:#242424!important;font:500 13px/1.32 Inter,Arial,sans-serif!important;
 margin:0 14px 9px!important;padding:0!important;
 min-height:35px!important;max-height:35px!important;
 text-align:left!important;letter-spacing:0!important;
}
body .jdsas42-woocommerce-products ul.products li.product .price {
 display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:5px 9px!important;
 margin:auto 14px 11px!important;padding:0!important;
 min-height:24px!important;max-height:none!important;
 font:800 16px/1.2 Inter,Arial,sans-serif!important;
 color:#e52a23!important;text-align:left!important;
}
body .jdsas42-woocommerce-products ul.products li.product .price ins,
body .jdsas42-woocommerce-products ul.products li.product .price ins .amount,
body .jdsas42-woocommerce-products ul.products li.product .price ins bdi,
body .jdsas42-woocommerce-products ul.products li.product .price > .amount,
body .jdsas42-woocommerce-products ul.products li.product .price > .woocommerce-Price-amount,
body .jdsas42-woocommerce-products ul.products li.product .price > bdi {
 color:#e52a23!important;text-decoration:none!important;font-weight:800!important;font-size:16px!important;
}
body .jdsas42-woocommerce-products ul.products li.product .price del,
body .jdsas42-woocommerce-products ul.products li.product .price del * {
 color:#666!important;opacity:1!important;text-decoration:line-through!important;
 font-size:12px!important;font-weight:400!important;
}
body .jdsas42-woocommerce-products ul.products li.product .button,
body .jdsas42-woocommerce-products ul.products li.product a.button {
 display:flex!important;align-items:center!important;justify-content:center!important;
 position:relative!important;box-sizing:border-box!important;
 width:calc(100% - 28px)!important;min-width:0!important;
 min-height:42px!important;margin:0 14px 14px!important;padding:10px 8px!important;
 border:0!important;border-radius:999px!important;
 background:#090a0d!important;background-image:none!important;
 color:#fff!important;font:650 12px/1.3 Inter,Arial,sans-serif!important;
 text-align:center!important;white-space:normal!important;
 box-shadow:none!important;align-self:auto!important;
}
body .jdsas42-woocommerce-products ul.products li.product .button:hover {background:#e21d2b!important;color:#fff!important;}
body .jdsas42-woocommerce-products ul.products li.product .onsale {
 position:absolute!important;z-index:5!important;top:12px!important;left:12px!important;right:auto!important;
 display:flex!important;align-items:center!important;
 background:#202119!important;background-image:none!important;color:#fff!important;
 border:0!important;border-radius:999px!important;
 font:750 11px/1 Inter,Arial,sans-serif!important;
 padding:6px 9px!important;margin:0!important;
 min-width:0!important;min-height:0!important;box-shadow:none!important;
}
/* Keep Elementor widget/legacy rail navigation hidden when switched to grid. */
body .jdsas42-woocommerce-products .jdsas42-rail-controls {display:none!important}
/* Optional action overlay from our plugin if other plugins add it back. */
body .jdsas42-woocommerce-products ul.products li.product .jdsas46-product-overlay-actions {top:12px!important;right:10px!important}
@media (max-width:1100px){
 body .jdsas42-woocommerce-products ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:15px!important}
}
@media (max-width:767px){
 body .jdsas42-products {padding:25px 13px 38px!important;}
 body .jdsas42-woocommerce-products ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important;padding:5px 0 14px!important}
 body .jdsas42-woocommerce-products ul.products li.product {border-radius:16px!important;}
 body .jdsas42-woocommerce-products ul.products li.product a img {padding:11px!important;}
 body .jdsas42-woocommerce-products ul.products li.product .jdsas463-product-brand{font-size:12px!important;margin:0 10px 4px!important}
 body .jdsas42-woocommerce-products ul.products li.product h2.woocommerce-loop-product__title{font-size:11px!important;line-height:1.35!important;min-height:31px!important;max-height:31px!important;margin:0 10px 7px!important}
 body .jdsas42-woocommerce-products ul.products li.product .price{font-size:13px!important;min-height:33px!important;gap:3px 5px!important;margin:auto 10px 9px!important}
 body .jdsas42-woocommerce-products ul.products li.product .price ins bdi,
 body .jdsas42-woocommerce-products ul.products li.product .price > .amount,
 body .jdsas42-woocommerce-products ul.products li.product .price > .woocommerce-Price-amount{font-size:13px!important}
 body .jdsas42-woocommerce-products ul.products li.product .price del,
 body .jdsas42-woocommerce-products ul.products li.product .price del *{font-size:10px!important}
 body .jdsas42-woocommerce-products ul.products li.product .button,
 body .jdsas42-woocommerce-products ul.products li.product a.button{width:calc(100% - 20px)!important;min-height:40px!important;margin:0 10px 10px!important;padding:9px 5px!important;font-size:11px!important}
 body .jdsas42-woocommerce-products ul.products li.product .onsale{top:9px!important;left:9px!important;font-size:10px!important;padding:5px 7px!important}
}
@media(prefers-reduced-motion:reduce){body .jdsas42-woocommerce-products ul.products li.product {transition:none!important}body .jdsas42-woocommerce-products ul.products li.product:hover{transform:none!important}}
