/* Mobile navigation belongs to the document start, not the viewport.
   Existing hero spacing, controls and route-opacity transitions stay authored. */
@media(max-width:999px){
 body:not(.catalog-open)>#header,
 body.catalog-open #product-pages>.catalog-header{
  position:absolute;top:0;transform:none!important;
 }
 /* Compact camera gestures can leave document scrollY at zero. The read-only
    bridge requires both logical and presented hero0 before restoring Home. */
 body:not(.on-model):not(.catalog-open)>#header[data-alma-home-camera-away]{display:none!important}
}
