/* Rosaifa 4.17.2 — mobile compositor/rendering stability.
   Some Android Chrome/GPU combinations can corrupt tiled repaints when an
   opaque footer scrolls underneath multiple persistent transformed/blurred
   fixed layers. This layer keeps the visual language while de-layering the
   risky effects on small screens. */

@media (max-width: 760px) {
  /* Fixed backdrop blur is the highest-risk compositor path on affected
     Android devices. Use an opaque premium surface instead. */
  .rf-v411-mobile-nav {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: #fffdfb !important;
  }

  /* Persistent will-change hints keep large layers promoted long after they
     need acceleration. The transitions/animations remain functional. */
  .rf-trustbar-track,
  .rf-hero-slider-track,
  .rf-front-page .rf-hero-slider-viewport {
    will-change: auto !important;
  }

  /* Keep the footer on a simple, isolated paint surface. */
  .rf-site-footer {
    isolation: isolate;
    contain: paint;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    filter: none !important;
    transform: none !important;
  }

  .rf-site-footer > .rf-container,
  .rf-footer-signature,
  .rf-footer-grid,
  .rf-footer-disclosure,
  .rf-footer-bottom {
    transform: none !important;
    filter: none !important;
  }

  /* The copper logo artwork already contains its intended finish; a runtime
     scale/filter layer is unnecessary on mobile and can force extra raster
     surfaces while scrolling. */
  .rf-site-footer .rf-footer-wordmark-image .custom-logo,
  .rf-site-footer .rf-footer-wordmark-image .rf-fallback-logo img {
    transform: none !important;
    filter: none !important;
    mix-blend-mode: normal !important;
  }

  /* Keep overlay controls independent without asking the browser to sample
     the scrolling page beneath them. */
  .rf-v41431-assistant-launcher,
  .rf-v3-drawer,
  .rf-cart-drawer {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
}
