/* LauraLooks 2.0.10 — mobile header/menu finishing pass.
   Loaded last. Restores the normal mobile navigation stack on product pages
   and makes the LauraLooks mobile header sticky sitewide. */

@media (max-width:767px){
  /* One consistent sticky mobile header on every frontend page. */
  body.llx-site .llx-header{
    position:sticky!important;
    top:0!important;
    z-index:5000!important;
    height:52px!important;
    background:rgba(250,249,247,.98)!important;
    border-bottom:1px solid #ddd!important;
    backdrop-filter:blur(10px)!important;
    -webkit-backdrop-filter:blur(10px)!important;
  }
  body.llx-site .llx-mobilebar{
    display:grid!important;
    height:52px!important;
    position:relative!important;
    z-index:1!important;
  }

  /* Product pages previously inherited an old product-specific rule that
     disabled the actual drawer/overlay/search layers with display:none!important.
     Restore the same mobile menu implementation used everywhere else. */
  body.page-product .llx-mobile-productbar{
    display:none!important;
  }
  body.page-product .llx-mobile-overlay{
    display:block!important;
  }
  body.page-product .llx-mobile-drawer{
    display:block!important;
  }
  body.page-product .llx-searchpanel:not([hidden]){
    display:block!important;
  }

  /* Search panel always starts directly beneath the sticky mobile header. */
  body.llx-site .llx-searchpanel{
    top:52px!important;
    z-index:5001!important;
  }

  /* Drawer and overlay sit above the sticky header while open. */
  body.llx-site .llx-mobile-overlay{
    z-index:5100!important;
  }
  body.llx-site .llx-mobile-drawer{
    z-index:5101!important;
  }
}
