/* OreyX mobile rendering budget v2.
   Coarse-pointer devices trade expensive live blur/compositing for stable,
   opaque surfaces while preserving layout, color, spacing, and interaction. */
@media (max-width: 820px), (hover: none) and (pointer: coarse) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  body {
    background:
      linear-gradient(
        var(--oreyx-bg-angle, 135deg),
        var(--oreyx-bg-from, var(--bg, #f7f7ff)),
        var(--oreyx-bg-to, var(--bg, #eef4ff))
      ) !important;
  }

  body::before,
  .bg__orb,
  .bg__glow,
  .bg__noise {
    display: none !important;
    filter: none !important;
    transform: none !important;
  }

  .bg__grid {
    opacity: .075 !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    background-size: 56px 56px !important;
  }

  .site-header {
    background: rgba(247, 247, 255, .985) !important;
  }

  .site-header::before {
    background: linear-gradient(to bottom, rgba(247,247,255,.995), rgba(247,247,255,.965)) !important;
  }


  .btn:hover,
  .icon-btn:hover,
  .burger:hover,
  .product-card:hover,
  .oreyx-ai-launcher:hover {
    transform: none !important;
  }

  html[data-oreyx-mobile-budget="1"] body .cart-drawer,
  html[data-oreyx-mobile-budget="1"] body .cart-drawer *,
  html[data-oreyx-mobile-budget="1"] body .cart-drawer *::before,
  html[data-oreyx-mobile-budget="1"] body .cart-drawer *::after {
    filter: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  html[data-oreyx-mobile-budget="1"] body .cart-drawer[data-open] .cart-drawer__backdrop {
    background: rgba(15, 23, 42, .56) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  html[data-oreyx-mobile-budget="1"] body .cart-drawer[data-open] .cart-drawer__panel {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform-style: flat;
    isolation: isolate;
  }

  html[data-oreyx-mobile-budget="1"] body .cart-drawer .cart-drawer__body {
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  html[data-oreyx-mobile-budget="1"] body .oreyx-ai-concierge[data-open="0"] .oreyx-ai-panel {
    display: none !important;
  }

  html[data-oreyx-mobile-budget="1"] body .oreyx-ai-concierge[data-open="1"] .oreyx-ai-panel {
    display: flex !important;
  }
}
