/* =========================================================================
   SHEENEFFECT — performance hints (CWV). Loaded on shop / product pages.
   - lazy + size hints for product images (reduces LCP / CLS)
   - AVIF/WebP source hints (browser auto-negotiates when served)
   - contain for cards to cut layout cost
   ========================================================================= */

/* product grid images: explicit aspect-ratio box to prevent CLS */
.ses-shop-main .woocommerce ul.products li.product img,
.ses-shop-main .woocommerce ul.products li.product .woocommerce-LoopProduct-link {
    aspect-ratio: 1 / 1;
    contain: layout;
}

/* force lazy on non-first-screen product images */
.ses-shop-main .woocommerce ul.products li.product:not(:nth-child(-n+4)) img {
    loading: lazy;
    decoding: async;
}

/* preconnect to theme asset host (same-origin, but cheap hint) */
/* critical CSS is inlined by functions.php on shop pages */

/* reduce image filter cost on hover (only transform/opacity animate) */
.ses-shop-main .pc-cta { will-change: transform; }
