/* 5.7 — one definitive, accessible mobile navigation layer. */
@media (max-width: 1100px) {
  html,body {overflow-x:clip;}
  body:not(.wp-admin) .site-header {position:relative!important; top:auto!important; z-index:999!important; overflow:visible!important;}
  body:not(.wp-admin) .site-header .header-container {box-sizing:border-box!important; width:100%!important; max-width:100%!important; margin:0!important; padding:11px 15px!important; display:flex!important; flex-wrap:nowrap!important; align-items:center!important; gap:9px!important; position:relative!important; min-height:64px!important; overflow:visible!important;}
  body:not(.wp-admin) .site-header .site-branding {min-width:0!important; flex:1 1 auto!important; width:auto!important; margin:0!important; max-width:none!important;}
  body:not(.wp-admin) .site-header .site-title {font-size:clamp(17px,4.8vw,23px)!important; overflow-wrap:anywhere; line-height:1.2!important;}
  body:not(.wp-admin) .site-header .gg48-mobile-search {display:flex!important; order:2!important; flex:0 0 42px!important; margin:0!important;}
  body:not(.wp-admin) .site-header .menu-toggle {display:flex!important; visibility:visible!important; order:3!important; position:relative!important; flex:0 0 44px!important; width:44px!important; height:44px!important; min-width:44px!important; min-height:44px!important; margin:0!important; padding:0!important; align-items:center!important; justify-content:center!important; background:#fffaf3!important; color:#775632!important; border:1px solid #dfceb8!important; border-radius:12px!important; z-index:5!important; cursor:pointer!important;}
  body:not(.wp-admin) .site-header .header-navigation-wrapper {display:none!important; position:absolute!important; top:100%!important; left:0!important; right:0!important; width:100%!important; max-width:100%!important; box-sizing:border-box!important; margin:0!important; padding:16px 15px 22px!important; flex-direction:column!important; align-items:stretch!important; gap:15px!important; border:1px solid #eadbc8!important; border-top:0!important; border-radius:0 0 18px 18px!important; background:#fffdf9!important; box-shadow:0 18px 32px rgba(49,34,19,.17)!important; max-height:calc(100dvh - 85px)!important; overflow-y:auto!important; overscroll-behavior:contain; z-index:2000!important;}
  body:not(.wp-admin) .site-header .header-navigation-wrapper.is-active {display:flex!important; visibility:visible!important; opacity:1!important;}
  body:not(.wp-admin) .site-header .header-navigation-wrapper .primary-navigation,body:not(.wp-admin) .site-header .header-navigation-wrapper #site-navigation {display:block!important; width:100%!important; position:static!important; margin:0!important; padding:0!important;}
  body:not(.wp-admin) .site-header .header-navigation-wrapper .primary-navigation ul {display:flex!important; flex-direction:column!important; gap:5px!important; position:static!important; width:100%!important; padding:0!important; margin:0!important; list-style:none!important; background:transparent!important; border:0!important; box-shadow:none!important; transform:none!important; opacity:1!important; visibility:visible!important;}
  body:not(.wp-admin) .site-header .header-navigation-wrapper .primary-navigation li {display:block!important; width:100%!important; position:relative!important; margin:0!important; padding:0!important;}
  body:not(.wp-admin) .site-header .header-navigation-wrapper .primary-navigation li > a {display:flex!important; align-items:center!important; width:100%!important; box-sizing:border-box!important; min-height:43px!important; padding:10px 13px!important; border-radius:11px!important; border:1px solid #f0e5d7!important; background:#fffaf3!important; color:#4c3927!important; text-decoration:none!important; font-size:15px!important; line-height:1.3!important;}
  body:not(.wp-admin) .site-header .header-navigation-wrapper .primary-navigation ul.sub-menu {display:none!important; padding:5px 0 5px 15px!important; margin:0!important;}
  body:not(.wp-admin) .site-header .header-navigation-wrapper .primary-navigation li.submenu-open > ul.sub-menu {display:flex!important;}
  body:not(.wp-admin) .site-header .header-navigation-wrapper .gg57-submenu-toggle {position:absolute; right:3px; top:3px; border:0; background:transparent; color:#765735; border-radius:8px; width:40px; height:38px; cursor:pointer; font-size:20px;}
  body:not(.wp-admin) .site-header .header-navigation-wrapper .gg47-mobile-secondary {display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:8px!important; width:100%!important; padding:15px 0 0!important; margin:0!important; border-top:1px solid #eadbc9!important; box-sizing:border-box!important;}
  body:not(.wp-admin) .site-header .header-navigation-wrapper .gg47-mobile-secondary-heading {grid-column:1/-1!important; padding:0 0 6px!important;}
  body:not(.wp-admin) .site-header .header-navigation-wrapper .gg47-mobile-secondary a {display:flex!important; box-sizing:border-box!important; min-width:0!important; width:100%!important; align-items:center!important; gap:8px!important; padding:12px 9px!important; color:#4d3a2a!important; background:#f9f1e7!important; border:1px solid #eddfce!important; border-radius:12px!important; font-size:13px!important; line-height:1.4!important; overflow-wrap:anywhere;}
  body:not(.wp-admin) .site-header .header-navigation-wrapper .header-auth-action {display:flex!important; width:100%!important; margin:0!important;}
  body:not(.wp-admin) .site-header .header-navigation-wrapper .btn-header-auth {width:100%!important; min-height:46px!important; justify-content:center!important;}
  body:not(.wp-admin) .site-header .studio-subnav-bar {display:none!important;}
  body:not(.wp-admin) .site-header .gg47-search-panel {position:absolute!important; top:100%!important; left:15px!important; right:15px!important; width:auto!important; max-width:calc(100% - 30px)!important; box-sizing:border-box!important; z-index:2500!important;}
  body:not(.wp-admin) .site-header .gg47-search-input-row {min-width:0;}
}
@media (max-width:380px) {body:not(.wp-admin) .site-header .header-navigation-wrapper .gg47-mobile-secondary {grid-template-columns:1fr!important;}}
