/* Performance helpers for home and landing pages — SEO-friendly LCP/CLS */

.home-hero-slider .banner-seo-image--lcp,
.home-hero-slider-col .banner-seo-image--lcp {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    aspect-ratio: 16 / 7;
}

.home-defer-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 680px;
}

.static-page,
.static-page-content {
    content-visibility: visible;
}

.landing-performance .main-content {
    min-height: 40vh;
}

.home-hero-row {
    contain: layout style;
}

.product-carousel img.product-seo-image,
.product-carousel .seo-image {
    transform: translateZ(0);
}

@media (max-width: 767.98px) {
    .home-hero-slider .banner-seo-image--lcp,
    #main-slider-res .img-fluid {
        max-height: 220px;
        aspect-ratio: 16 / 9;
    }

    .home-defer-section {
        contain-intrinsic-size: 1px 520px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .carousel,
    .owl-carousel {
        scroll-behavior: auto;
    }
}
