/* SuperBOX V19 / v1.7.4 Products Mega: edge-to-edge media + in-image badge. */
:where(.sbx19--mega_products.sbx19--mega-enhanced) { --sbx-mega-media-height:242px;--sbx-mega-media-bg:#fff;--sbx-mega-media-fit:contain;--sbx-mega-badge-bg:#0091fe; }
.sbx19.sbx19--mega_products.sbx19--mega-enhanced .sbx19__card { min-height:unset;overflow:hidden;isolation:isolate; }
.sbx19.sbx19--mega_products.sbx19--mega-enhanced .sbx19__product-media { position:relative; flex:0 0 auto; width:100%; height:var(--sbx-mega-media-height); background:var(--sbx-mega-media-bg);overflow:hidden;isolation:isolate; }
.sbx19.sbx19--mega_products.sbx19--mega-enhanced .sbx19__product-media .sbx19__card-image { position:absolute;inset:0;display:block;width:100%!important;height:100%!important;margin:0!important;padding:0!important;border-radius:0!important;aspect-ratio:auto!important;overflow:hidden;background:transparent!important; }
.sbx19.sbx19--mega_products.sbx19--mega-enhanced .sbx19__product-media .sbx19__card-image img{display:block;width:100%!important;height:100%!important;object-fit:var(--sbx-card-mfit,var(--sbx-card-fit,var(--sbx-mega-media-fit)))!important;object-position:var(--sbx-card-x,50%) var(--sbx-card-y,50%)!important;transition:transform .3s ease; }
/* The previous widget image_fit selector is retained for saved widgets but the new media-fit control takes precedence unless a per-card override exists. */
.sbx19.sbx19--mega_products.sbx19--mega-enhanced .sbx19__product-media-placeholder{display:block;width:100%;height:100%;background:linear-gradient(120deg,#edf6ff,#f7f9fc)}
.sbx19.sbx19--mega_products.sbx19--mega-enhanced .sbx19__product-media>.sbx19__badge { position:absolute!important;z-index:3!important;left:16px!important;right:auto!important;top:16px!important;bottom:auto!important;margin:0!important;max-width:calc(100% - 32px);padding:7px 12px!important;border-radius:9px;letter-spacing:.01em;font-size:11px;font-weight:800;line-height:1.25;color:var(--sbx-mega-badge-text,#fff);background:var(--sbx-mega-badge-bg,#0091fe);box-shadow:0 2px 9px rgba(2,35,75,.08); }
.sbx19.sbx19--mega_products.sbx19--mega-enhanced[data-sbx-mega-badge-position="right"] .sbx19__product-media>.sbx19__badge{left:auto!important;right:16px!important;}
.sbx19.sbx19--mega_products.sbx19--mega-enhanced .sbx19__card-copy{position:relative;flex:1 1 auto;min-height:0;padding:17px;gap:8px;margin-top:0;background:transparent;}
.sbx19.sbx19--mega_products.sbx19--mega-enhanced .sbx19__card-title{margin:0;line-height:1.35;}
.sbx19.sbx19--mega_products.sbx19--mega-enhanced .sbx19__card-description{margin:0;min-height:0;}
.sbx19.sbx19--mega_products.sbx19--mega-enhanced .sbx19__card-link{padding-top:14px;align-self:flex-start;}
.sbx19.sbx19--mega_products.sbx19--mega-enhanced .sbx19__live-price{margin-top:8px;}
@media (hover:hover) and (pointer:fine) {
 .sbx19.sbx19--mega_products.sbx19--mega-enhanced a.sbx19__card:hover .sbx19__product-media .sbx19__card-image img{transform:scale(1.035)}
}
@media(min-width:768px) and (max-width:1024px){
 :where(.sbx19--mega_products.sbx19--mega-enhanced){--sbx-mega-media-height:205px}
}
@media(max-width:767px){
 :where(.sbx19--mega_products.sbx19--mega-enhanced){--sbx-mega-media-height:152px}
 .sbx19.sbx19--mega_products.sbx19--mega-enhanced .sbx19__card{min-height:0!important}
 .sbx19.sbx19--mega_products.sbx19--mega-enhanced .sbx19__card-copy{padding:13px;gap:6px}
 .sbx19.sbx19--mega_products.sbx19--mega-enhanced .sbx19__product-media>.sbx19__badge{left:10px!important;top:10px!important;padding:5px 8px!important;font-size:10px}
 .sbx19.sbx19--mega_products.sbx19--mega-enhanced[data-sbx-mega-badge-position="right"] .sbx19__product-media>.sbx19__badge{left:auto!important;right:10px!important}
 .sbx19.sbx19--mega_products.sbx19--mega-enhanced .sbx19__card-link{padding-top:10px}
}
@media(max-width:360px){:where(.sbx19--mega_products.sbx19--mega-enhanced){--sbx-mega-media-height:138px}}
@media(prefers-reduced-motion:reduce){.sbx19.sbx19--mega_products.sbx19--mega-enhanced .sbx19__product-media img{transition:none!important}}
