/* RAVIX 2.9.21 / Isolated mobile drawer capsule visibility fix.
   No global selectors: storefront, desktop, product cards and sliders stay intact. */
@media (max-width:1050px) {
  /* Body is scroll-locked by the original theme; permit touch scrolling
     only within the independently scrollable category pane. */
  body.rvx-mobile-category-open { touch-action: auto !important; }
  body.rvx-mobile-category-open > #site-header.rvx-site-header {
    position: fixed !important;
    top: var(--rvx-safe-drawer-header-top, 0px) !important;
    inset-block-start: var(--rvx-safe-drawer-header-top, 0px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    transform: none !important;
    z-index: 640 !important;
    overflow: visible !important;
    pointer-events: none !important;
  }
  body.rvx-mobile-category-open > #site-header .rvx-mobile-brand-pill,
  body.rvx-mobile-category-open > #site-header .rvx-header-actions {
    pointer-events: auto !important;
  }
  body.rvx-mobile-category-open .rvx-mobile-category-screen {
    overscroll-behavior: contain;
  }
  body.rvx-mobile-category-open .rvx-mobile-category-screen__panes,
  body.rvx-mobile-category-open .rvx-mobile-category-rail,
  body.rvx-mobile-category-open .rvx-mobile-category-screen__site {
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior: contain;
  }
}
