/* JBA v15.2.64 mobile runtime/performance layer */
@media (max-width: 900px), (pointer: coarse) {
  html.jba-mobile-runtime {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: auto;
    overscroll-behavior-y: none;
  }

  html.jba-mobile-runtime body {
    -webkit-overflow-scrolling: touch;
    min-width: 0;
  }

  html.jba-mobile-runtime a,
  html.jba-mobile-runtime button,
  html.jba-mobile-runtime input[type="button"],
  html.jba-mobile-runtime input[type="submit"],
  html.jba-mobile-runtime [role="button"],
  html.jba-mobile-runtime [onclick] {
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(247, 195, 116, .24);
  }

  html.jba-mobile-runtime button,
  html.jba-mobile-runtime input[type="button"],
  html.jba-mobile-runtime input[type="submit"],
  html.jba-mobile-runtime .basket,
  html.jba-mobile-runtime .jewel-button-buy,
  html.jba-mobile-runtime .jba-modern-cart-close,
  html.jba-mobile-runtime .jba-modern-cart-continue,
  html.jba-mobile-runtime .jba-v15234-mini-cart-remove,
  html.jba-mobile-runtime .jba-adv-sidebar-head {
    min-height: 44px;
  }

  html.jba-mobile-runtime .jba-mobile-is-pressed {
    transform: scale(.985) !important;
    opacity: .86 !important;
    transition: transform 80ms ease, opacity 80ms ease !important;
  }

  html.jba-mobile-runtime [data-jba-mobile-busy="1"] {
    pointer-events: none !important;
    cursor: wait !important;
    opacity: .72 !important;
  }

  html.jba-mobile-runtime [data-jba-mobile-busy="1"]::after {
    content: "";
    display: inline-block;
    inline-size: 14px;
    block-size: 14px;
    margin-inline-start: 7px;
    vertical-align: -2px;
    border: 2px solid currentColor;
    border-inline-end-color: transparent;
    border-radius: 50%;
    animation: jbaMobileSpin .65s linear infinite;
  }

  @keyframes jbaMobileSpin { to { transform: rotate(360deg); } }

  /* Prevent invisible legacy layers from stealing taps. */
  html.jba-mobile-runtime #menu-main > li.allproduct > nav.nav-wrapper,
  html.jba-mobile-runtime #menu-main > li.allproduct > .nav-wrapper[aria-hidden="true"],
  html.jba-mobile-runtime .jba-v1044-mobile-overlay[aria-hidden="true"],
  html.jba-mobile-runtime #jbaModernCartRoot[aria-hidden="true"] {
    pointer-events: none !important;
  }

  html.jba-mobile-runtime .jba-v1044-mobile-drawer,
  html.jba-mobile-runtime #jbaModernCartRoot .jba-modern-cart-dialog,
  html.jba-mobile-runtime #jba-adv-sidebar-filter .jba-adv-sidebar-body {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  html.jba-mobile-runtime .jba-v1044-mobile-drawer,
  html.jba-mobile-runtime #jbaModernCartRoot .jba-modern-cart-dialog {
    will-change: transform;
  }

  html.jba-mobile-runtime body:not(.jba-v1044-mobile-open) .jba-v1044-mobile-drawer,
  html.jba-mobile-runtime body:not(.jba-v126-mobile-open) .jba-v1044-mobile-drawer {
    pointer-events: none;
  }

  /* GPU-heavy desktop effects are reduced on touch devices. */
  html.jba-mobile-runtime #jbaModernCartRoot .jba-modern-cart-backdrop,
  html.jba-mobile-runtime .jba-v1044-mobile-overlay,
  html.jba-mobile-runtime .jba-v143-ajax-search::before {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  html.jba-mobile-runtime .item-slider,
  html.jba-mobile-runtime .jewel-item-slider,
  html.jba-mobile-runtime .jba-v140-card,
  html.jba-mobile-runtime .jba-v15259-category-item {
    contain: layout style;
  }

  html.jba-mobile-runtime img[loading="lazy"] {
    content-visibility: auto;
  }

  html.jba-mobile-runtime .menu-bot-mob,
  html.jba-mobile-runtime #jbaModernCartRoot .jba-modern-cart-dialog {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  html.jba-mobile-runtime .jba-mobile-form-busy {
    cursor: wait;
  }

  @media (prefers-reduced-motion: reduce) {
    html.jba-mobile-runtime *,
    html.jba-mobile-runtime *::before,
    html.jba-mobile-runtime *::after {
      animation-duration: .01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: .01ms !important;
      scroll-behavior: auto !important;
    }
  }
}
