/* One header contract for homepage, WooCommerce and support pages. */
body{--citygo-admin-offset:0px;--citygo-header-height:73px;}
body.admin-bar{--citygo-admin-offset:32px;}

#busgo-site-header,
#busgo-site-header *{box-sizing:border-box;}
#busgo-site-header{
 position:sticky!important;
 top:var(--citygo-admin-offset)!important;
 left:0!important;
 right:0!important;
 width:100%!important;
 height:var(--citygo-header-height)!important;
 min-height:var(--citygo-header-height)!important;
 max-height:var(--citygo-header-height)!important;
 margin:0!important;
 padding:0!important;
 border:0!important;
 border-bottom:1px solid #ececec!important;
 background:#fff!important;
 background-image:none!important;
 opacity:1!important;
 transform:none!important;
 backdrop-filter:none!important;
 -webkit-backdrop-filter:none!important;
 z-index:2147483000!important;
 font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang HK","Microsoft JhengHei",Arial,sans-serif!important;
 font-size:18px!important;
 font-weight:500!important;
 line-height:1.4!important;
 transition:none!important;
}
#busgo-site-header .busgo-site-header__inner{
 display:flex!important;
 align-items:center!important;
 flex-wrap:nowrap!important;
 width:calc(100% - 48px)!important;
 max-width:86rem!important;
 height:72px!important;
 min-height:72px!important;
 max-height:72px!important;
 margin:0 auto!important;
 padding:0!important;
 gap:clamp(22px,3vw,48px)!important;
}
#busgo-site-header a,
#busgo-site-header button{
 font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang HK","Microsoft JhengHei",Arial,sans-serif!important;
}
#busgo-site-header .busgo-site-header__brand{
 display:inline-flex!important;
 align-items:center!important;
 margin:0!important;
 padding:0!important;
 line-height:1!important;
}
#busgo-site-header .busgo-site-header__brand img{
 display:block!important;
 width:auto!important;
 height:34px!important;
 max-height:34px!important;
 margin:0!important;
 object-fit:contain;
}
#busgo-site-header .busgo-site-header__menu{
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 flex-direction:row!important;
 gap:clamp(17px,2vw,30px)!important;
 margin:0!important;
 padding:0!important;
 list-style:none!important;
}
#busgo-site-header .busgo-site-header__menu>li{
 width:auto!important;
 margin:0!important;
 padding:0!important;
 border:0!important;
}
#busgo-site-header .busgo-site-header__menu>li>a{
 display:flex!important;
 align-items:center!important;
 height:72px!important;
 min-height:72px!important;
 margin:0!important;
 padding:0!important;
 font-size:20px!important;
 font-weight:500!important;
 line-height:28px!important;
 letter-spacing:0!important;
 text-decoration:none!important;
 white-space:nowrap!important;
}
#busgo-site-header .busgo-site-header__actions{
 display:inline-flex!important;
 align-items:center!important;
 gap:14px!important;
 margin:0 0 0 auto!important;
}
#busgo-site-header .busgo-site-header__account,
#busgo-site-header .busgo-site-header__cart{
 width:42px!important;
 height:42px!important;
 min-width:42px!important;
 min-height:42px!important;
 margin:0!important;
 padding:0!important;
}
#busgo-site-header .busgo-site-header__account svg,
#busgo-site-header .busgo-site-header__cart svg{
 width:26px!important;
 height:26px!important;
 flex-basis:26px!important;
}
#busgo-site-header .busgo-site-header__cart-count{
 font-family:Arial,sans-serif!important;
 font-size:10px!important;
 font-weight:600!important;
 line-height:1!important;
}
#busgo-site-header a:focus-visible,
#busgo-site-header button:focus-visible{
 outline:2px solid #416c91!important;
 outline-offset:3px!important;
}

@media(min-width:901px){
 #busgo-site-header .busgo-site-header__nav{
  position:static!important;
  flex:1 1 auto!important;
  width:auto!important;
  height:72px!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  visibility:visible!important;
  opacity:1!important;
  transform:none!important;
  border:0!important;
  background:#fff!important;
  box-shadow:none!important;
 }
 #busgo-site-header .busgo-site-header__toggle{display:none!important;}
}

@media(max-width:900px){
 html body{--citygo-header-height:calc(64px + env(safe-area-inset-top,0px));padding-top:var(--citygo-header-height)!important;}
 html body.admin-bar{padding-top:var(--citygo-header-height)!important;}
 /* WP's mobile toolbar normally scrolls away; pin it so it cannot leave a transparent offset above the fixed site header. */
 body.admin-bar #wpadminbar{position:fixed!important;top:0!important;z-index:2147483647!important;}
 #busgo-site-header{
  position:fixed!important;
  padding-top:env(safe-area-inset-top,0px)!important;
 }
 #busgo-site-header .busgo-site-header__inner{
  width:100%!important;
  height:63px!important;
  min-height:63px!important;
  max-height:63px!important;
  padding:0 16px!important;
  gap:8px!important;
 }
 #busgo-site-header .busgo-site-header__brand{margin-right:auto!important;}
 #busgo-site-header .busgo-site-header__brand img{height:28px!important;max-height:28px!important;}
 #busgo-site-header .busgo-site-header__actions{gap:10px!important;}
 #busgo-site-header .busgo-site-header__account,
 #busgo-site-header .busgo-site-header__cart{width:36px!important;height:40px!important;min-width:36px!important;min-height:40px!important;}
 #busgo-site-header .busgo-site-header__account svg,
 #busgo-site-header .busgo-site-header__cart svg{width:23px!important;height:23px!important;flex-basis:23px!important;}
 #busgo-site-header .busgo-site-header__toggle{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 40px!important;
  width:40px!important;
  height:40px!important;
  min-height:40px!important;
  margin:0 0 0 4px!important;
  padding:9px!important;
  order:3;
 }
 #busgo-site-header .busgo-site-header__nav{
  position:fixed!important;
  top:var(--citygo-admin-offset)!important;
  bottom:0!important;
  left:0!important;
  right:auto!important;
  width:min(84vw,340px)!important;
  height:calc(100dvh - var(--citygo-admin-offset))!important;
  max-height:none!important;
  margin:0!important;
  padding:calc(76px + env(safe-area-inset-top,0px)) 20px 28px!important;
  background:#fff!important;
  overflow-y:auto!important;
  visibility:hidden!important;
  opacity:1!important;
  transform:translate3d(-105%,0,0)!important;
  border:0!important;
  border-right:1px solid #ece6e1!important;
 }
 #busgo-site-header.is-menu-open .busgo-site-header__nav{
  visibility:visible!important;
  transform:translate3d(0,0,0)!important;
 }
 #busgo-site-header .busgo-site-header__menu{
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  gap:0!important;
  width:100%!important;
 }
 #busgo-site-header .busgo-site-header__menu>li{width:100%!important;border-bottom:1px solid #eee8e4!important;}
 #busgo-site-header .busgo-site-header__menu>li>a{
  height:auto!important;
  min-height:56px!important;
  padding:12px 4px!important;
  font-size:18px!important;
  font-weight:600!important;
  line-height:26px!important;
  white-space:normal!important;
 }
}
@media(max-width:782px){body.admin-bar{--citygo-admin-offset:46px;}}
