/* Product cards: name above, image centered, pricing below. */
body.babu-retail :is(.home-catalog-card,.ss-card,.ms-flash-card){display:flex!important;flex-direction:column!important;gap:0!important;padding:12px!important;background:#f1f1f3!important;border:0!important;border-radius:12px!important;box-shadow:none!important;overflow:hidden;min-width:0;box-sizing:border-box}
body.babu-retail :is(.home-catalog-body,.ms-flash-body){display:contents!important}
body.babu-retail :is(.home-catalog-card .home-catalog-name,.ss-card .ss-name,.ms-flash-body>a){order:-1;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden;height:24px!important;min-height:24px!important;max-height:24px!important;margin:0 0 8px!important;padding:0!important;color:#202332!important;font-size:16px!important;font-weight:700!important;line-height:22px!important;text-decoration:none}
body.babu-retail :is(.home-catalog-card .home-catalog-image,.ss-card .ss-image,.ms-flash-card .ms-flash-image){order:0;display:block!important;position:relative;width:100%!important;height:auto!important;aspect-ratio:1!important;margin:0!important;padding:0!important;border:0!important;border-radius:9px!important;background:#fff!important;overflow:hidden;box-shadow:none!important}
body.babu-retail :is(.home-catalog-card .home-catalog-image>a,.ss-card .ss-image>a){display:flex!important;align-items:center;justify-content:center;width:100%;height:100%}
body.babu-retail :is(.home-catalog-card .home-catalog-image img,.ss-card .ss-image img,.ms-flash-card .ms-flash-image img){display:block!important;position:static!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;margin:0!important;padding:8px!important;border:0!important;border-radius:0!important;background:#fff;box-sizing:border-box;filter:none!important;transform:none!important}
body.babu-retail :is(.home-product-meta,.home-flash-meta){order:1;margin:10px 0 0!important;min-height:18px!important;font-size:11px!important;line-height:18px!important;color:#858b98!important}
body.babu-retail .home-catalog-card .home-catalog-price{order:2;margin:8px 0 0!important;font-size:17px!important;font-weight:700!important;line-height:24px!important;color:#de2a2a!important}
body.babu-retail .home-catalog-card .home-catalog-variants{order:3;margin:12px 0 0!important;min-height:28px}
body.babu-retail .home-catalog-card .home-product-add{order:4;margin-top:12px!important;min-height:36px!important;border-radius:999px!important;font-size:12px!important}
body.babu-retail .ss-card .ss-card-bottom{order:1;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:10px!important;margin:12px 0 0!important;padding:0!important;border:0!important}
body.babu-retail .ss-card .ss-card-bottom>strong{font-size:17px!important;font-weight:700!important;line-height:24px!important;color:#de2a2a!important}
body.babu-retail .ss-card .ss-card-bottom>button{width:100%!important;min-height:36px!important;border-radius:999px!important;font-size:12px!important}
body.babu-retail .ms-flash-card .home-flash-price{order:2;margin:8px 0 10px!important;font-size:17px!important;line-height:24px!important;font-weight:700!important;color:#de2a2a!important}
body.babu-retail .ms-flash-card .home-flash-stock{order:3;margin:0!important}.ms-flash-card .home-flash-stock-label{order:4;margin:6px 0 10px!important}
body.babu-retail .ms-flash-card .ms-flash-body>button{order:5;min-height:36px!important;margin-top:auto!important;border-radius:999px!important;font-size:12px!important}
@media(max-width:600px){body.babu-retail :is(.home-catalog-card,.ss-card,.ms-flash-card){padding:9px!important;border-radius:10px!important}body.babu-retail :is(.home-catalog-card .home-catalog-name,.ss-card .ss-name,.ms-flash-body>a){font-size:15px!important;line-height:21px!important;-webkit-line-clamp:2;height:42px!important;min-height:42px!important;max-height:42px!important;margin-bottom:8px!important}body.babu-retail :is(.home-catalog-card .home-catalog-image img,.ss-card .ss-image img,.ms-flash-card .ms-flash-image img){padding:5px!important}body.babu-retail :is(.home-product-meta,.home-flash-meta){font-size:10px!important}body.babu-retail .home-catalog-card .home-catalog-price,body.babu-retail .ss-card .ss-card-bottom>strong,body.babu-retail .ms-flash-card .home-flash-price{font-size:16px!important}}

/* Quiet quick-view affordance on homepage product imagery. */
body.babu-retail .ms-root .home-catalog-image>button.home-catalog-quick{display:inline-flex!important;align-items:center;justify-content:center;gap:5px;width:auto!important;min-width:0!important;height:26px!important;min-height:26px!important;max-height:26px;padding:0 9px!important;top:50%;bottom:auto!important;left:50%;transform:translate(-50%,-50%);border:0!important;border-radius:4px!important;background:rgba(255,255,255,.78)!important;backdrop-filter:blur(4px);color:#4c5260!important;font-size:11px!important;font-weight:400!important;line-height:1!important;box-shadow:none!important;opacity:0;pointer-events:none;transition:opacity .18s ease;white-space:nowrap}
body.babu-retail .ms-root .home-catalog-image>button.home-catalog-quick:before{content:'';display:block;width:12px;height:12px;flex:none;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.8' d='M2 12s3.5-6 10-6 10 6 10 6-3.5 6-10 6S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E") center/contain no-repeat}
body.babu-retail .ms-root .home-catalog-image:hover>button.home-catalog-quick,body.babu-retail .ms-root .home-catalog-image>button.home-catalog-quick:focus-visible{opacity:1;pointer-events:auto}
body.babu-retail .ms-root .home-catalog-image>button.home-catalog-quick:focus-visible{outline:2px solid #182ABB;outline-offset:3px}
@media(hover:none){body.babu-retail .ms-root .home-catalog-image>button.home-catalog-quick{opacity:.65;pointer-events:auto;height:30px!important;min-height:30px!important;max-height:30px}}
@media(prefers-reduced-motion:reduce){body.babu-retail .ms-root .home-catalog-image>button.home-catalog-quick{transition:none}}
