/* 1.1.619 owner: the app stutters on low-end phones. Everything here applies ONLY while lite-mode.js has put html.lite on the page
   (weak phone, or ?lite=1); strong phones and computers keep the normal look. Linked last so these rules win. */

/* 285 product cards are all drawn at once, each on its own GPU layer (transform: perspective + translateZ) with two big soft shadows.
   Now: no per-card layer, one thin shadow, no hover lift. (content-visibility:auto cut layout work ~12x on the Mac, but it was NOT used:
   Safari before 18 ignores it and its effect on the loading="lazy" photos could not be proven cold, so it is left for a measured follow-up.) */
html.lite .products .product,html.lite #category-products .product{
 transform:none!important;transition:none!important;will-change:auto;
 background:#fff;box-shadow:0 1px 4px #0000001f}
html.lite .products .product:hover{transform:none!important;box-shadow:0 1px 4px #0000001f}

/* Blurred copies of the hero / category banner picture behind them (26px / 22px blur on a full-width layer) are decoration only. */
html.lite body .hero.hero-image-only::before,html.lite #category-view .category-feature-banner.has-image::before{display:none}

/* Glass (backdrop blur) is re-drawn on every scroll frame on weak GPUs; the chat sheets and the bar keep their own plain background. */
html.lite .nc-sheet,html.lite #nc-sheet,html.lite #nc-sheet>header,html.lite .mobile-search,html.lite .photo-scanner-gallery,html.lite .photo-scanner-torch,html.lite .photo-scanner-label,html.lite .category-picker-backdrop{
 -webkit-backdrop-filter:none!important;backdrop-filter:none!important}

/* The bottom bar lens stretch animation (a tap switches the tab at once). */
html.lite body:not(.visiting-shop) .mobile-bottom-nav.liquid.lens-go .liquid-nav-bubble{animation:none!important}
html.lite body:not(.visiting-shop) .mobile-bottom-nav.liquid:not(.liquid-instant):not(.liquid-dragging){transition-duration:.01s!important}

/* Shimmering placeholders and the pulsing record dot keep animating forever and re-paint every frame. */
html.lite .shops-feed-skeleton::after{animation:none!important}
