/* MANYA V15.7 — Mobile sticky header only
   Scope: mobile header positioning. Keeps all desktop, checkout, dark mode, menu and commerce files unchanged. */
@media (max-width: 782px){
  :root{--manya-mobile-header-h:72px;--manya-mobile-admin-h:0px;}
  body.admin-bar{--manya-mobile-admin-h:46px;}

  html,body{overflow-x:hidden!important;}

  .manya-header,
  header.manya-header,
  .v90-header,
  header.v90-header,
  .site-header{
    position:fixed!important;
    left:0!important;
    right:0!important;
    top:var(--manya-mobile-admin-h)!important;
    width:100%!important;
    min-height:var(--manya-mobile-header-h)!important;
    z-index:2147483000!important;
    transform:none!important;
    translate:none!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    will-change:auto!important;
    background:rgba(255,255,255,.96)!important;
    border-bottom:1px solid rgba(6,63,50,.10)!important;
    box-shadow:0 10px 35px rgba(0,0,0,.08)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
  }

  body.manya-dark .manya-header,
  body.manya-dark header.manya-header,
  body.manya-dark .v90-header,
  body.manya-dark header.v90-header,
  body.manya-dark .site-header{
    background:rgba(4,18,13,.96)!important;
    border-bottom-color:rgba(255,255,255,.12)!important;
    box-shadow:0 12px 40px rgba(0,0,0,.28)!important;
  }

  body{
    padding-top:calc(var(--manya-mobile-header-h) + var(--manya-mobile-admin-h))!important;
  }

  body.admin-bar .manya-header,
  body.admin-bar header.manya-header,
  body.admin-bar .v90-header,
  body.admin-bar header.v90-header,
  body.admin-bar .site-header{
    top:46px!important;
  }

  .manya-header .nav-shell,
  .v90-header .nav-shell,
  .site-header .nav-shell,
  .nav-shell{
    min-height:var(--manya-mobile-header-h)!important;
    height:auto!important;
  }

  /* keep full-screen mobile menu below the fixed header */
  .manya-header .main-nav,
  .v90-header .main-nav,
  .site-header .main-nav{
    position:fixed!important;
    top:calc(var(--manya-mobile-header-h) + var(--manya-mobile-admin-h))!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    height:auto!important;
    max-height:none!important;
  }

  body.admin-bar .manya-header .main-nav,
  body.admin-bar .v90-header .main-nav,
  body.admin-bar .site-header .main-nav{
    top:calc(var(--manya-mobile-header-h) + 46px)!important;
  }

  .manya-header .nav-close,
  .v90-header .nav-close,
  .site-header .nav-close{
    position:fixed!important;
    top:calc(var(--manya-mobile-admin-h) + 14px)!important;
    right:14px!important;
    z-index:2147483001!important;
  }

  body.admin-bar .manya-header .nav-close,
  body.admin-bar .v90-header .nav-close,
  body.admin-bar .site-header .nav-close{
    top:60px!important;
  }
}
