/* Les Avisés V48.4 — mobile header fixed everywhere.
   One global rule for every V41 public/pro page: the logo/menu bar remains
   anchored to the viewport, independent of page templates and scroll containers. */

@media (max-width:960px){
  html{
    scroll-padding-top:74px!important;
  }

  /* Switching from sticky to fixed avoids pages where an ancestor's overflow,
     transform or layout context stops sticky positioning. */
  body.lav41-master{
    padding-top:62px!important;
  }
  body.lav41-master .lav41-header{
    position:fixed!important;
    top:0!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    height:62px!important;
    margin:0!important;
    z-index:1000!important;
    background:rgba(255,255,255,.985)!important;
    border-bottom:1px solid rgba(16,47,42,.10)!important;
    box-shadow:0 1px 0 rgba(16,47,42,.035)!important;
    transform:none!important;
    translate:none!important;
    contain:none!important;
  }
  body.lav41-master .lav41-header .lav41-wrap{
    height:62px!important;
  }

  /* Menu/search must always open above the fixed header. */
  body.lav41-master .lav41-mobile-nav{
    z-index:2200!important;
  }
  body.lav41-master .lav41-search-panel{
    z-index:2100!important;
  }

  /* Account subnavigation stays directly below the global header. */
  body.lav45-space-body .lav45-mobile-tabs{
    top:62px!important;
  }
}

/* WordPress admin bar offsets. */
@media (max-width:782px){
  body.admin-bar.lav41-master{
    padding-top:62px!important;
  }
  body.admin-bar.lav41-master .lav41-header{
    top:46px!important;
  }
  body.admin-bar.lav45-space-body .lav45-mobile-tabs{
    top:108px!important;
  }
  body.admin-bar.lav41-master .lav41-mobile-nav-panel{
    padding-top:74px!important;
  }
}
@media (min-width:783px) and (max-width:960px){
  body.admin-bar.lav41-master .lav41-header{
    top:32px!important;
  }
  body.admin-bar.lav45-space-body .lav45-mobile-tabs{
    top:94px!important;
  }
}
