@media(min-width:1000px){

/* common desktop position */
html body header.topbar .container.nav{
  width:min(calc(100% - 84px),1180px)!important;
  min-height:166px!important;
}
html body header.w{
  width:min(calc(100% - 84px),1180px)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* nav-actions pages */
html body header.topbar .nav-actions{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:368px!important;
  min-width:368px!important;
  max-width:368px!important;
  flex:0 0 368px!important;
  gap:10px!important;
  column-gap:10px!important;
  margin-left:auto!important;
  margin-right:0!important;
}

html body header.topbar .nav-actions>a{
  box-sizing:border-box!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  margin:0!important;
  border:2px solid #969da1!important;
  border-radius:999px!important;
  color:#f1f3f4!important;
  -webkit-text-fill-color:#f1f3f4!important;
  background:#090b0c!important;
  box-shadow:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  white-space:nowrap!important;
}

html body header.topbar .nav-actions>a:nth-child(-n+4){
  width:54px!important;
  min-width:54px!important;
  max-width:54px!important;
  flex:0 0 54px!important;
  padding:0!important;
}

html body header.topbar .nav-actions>a:nth-child(5){
  width:112px!important;
  min-width:112px!important;
  max-width:112px!important;
  flex:0 0 112px!important;
  padding:0 14px!important;
}

html body header.topbar .nav-actions>a.current,
html body header.topbar .nav-actions>a[aria-current="page"]{
  border:2px solid #d9dddf!important;
  color:#101112!important;
  -webkit-text-fill-color:#101112!important;
  background:linear-gradient(120deg,#f4f5f5,#c9ced1 48%,#f7f7f7)!important;
}

/* Japanese top */
html body header.topbar .lang-switch{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  width:246px!important;
  min-width:246px!important;
  max-width:246px!important;
  flex:0 0 246px!important;
  gap:10px!important;
  margin-left:auto!important;
}

html body header.topbar .lang-switch>a{
  box-sizing:border-box!important;
  width:54px!important;
  min-width:54px!important;
  max-width:54px!important;
  flex:0 0 54px!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  padding:0!important;
  margin:0!important;
  border:2px solid #969da1!important;
  border-radius:999px!important;
  color:#f1f3f4!important;
  -webkit-text-fill-color:#f1f3f4!important;
  background:#090b0c!important;
  box-shadow:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}

html body header.topbar .lang-switch>a.current,
html body header.topbar .lang-switch>a[aria-current="page"]{
  border:2px solid #d9dddf!important;
  color:#101112!important;
  -webkit-text-fill-color:#101112!important;
  background:linear-gradient(120deg,#f4f5f5,#c9ced1 48%,#f7f7f7)!important;
}

html body header.topbar .navcta{
  width:112px!important;
  min-width:112px!important;
  max-width:112px!important;
  flex:0 0 112px!important;
}

html body header.topbar .navcta>a{
  box-sizing:border-box!important;
  width:112px!important;
  min-width:112px!important;
  max-width:112px!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  padding:0 14px!important;
  border:2px solid #969da1!important;
  border-radius:999px!important;
  color:#f1f3f4!important;
  -webkit-text-fill-color:#f1f3f4!important;
  background:#090b0c!important;
  box-shadow:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}

/* Z-GUARD STANDARD */
html body header.w>nav.nav{
  min-height:166px!important;
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  column-gap:10px!important;
}

html body header.w>nav.nav>a{
  box-sizing:border-box!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  margin:0!important;
  border:2px solid #969da1!important;
  border-radius:999px!important;
  color:#f1f3f4!important;
  -webkit-text-fill-color:#f1f3f4!important;
  background:#090b0c!important;
  box-shadow:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  white-space:nowrap!important;
}

html body header.w>nav.nav>a:nth-child(-n+4){
  width:54px!important;
  min-width:54px!important;
  max-width:54px!important;
  flex:0 0 54px!important;
  padding:0!important;
}

html body header.w>nav.nav>a:nth-child(n+5){
  width:auto!important;
  min-width:54px!important;
  max-width:none!important;
  flex:0 0 auto!important;
  padding:0 14px!important;
}

html body header.w>nav.nav>a[aria-current="page"]{
  border:2px solid #d9dddf!important;
  color:#101112!important;
  -webkit-text-fill-color:#101112!important;
  background:linear-gradient(120deg,#f4f5f5,#c9ced1 48%,#f7f7f7)!important;
}

}

/* AUTOLOUNGE GLOBAL HEADER STRUCTURE FINAL */
@media(min-width:1000px){

/* 4 / 5 / 6 button nav-actions: right edge is always common */
html body header.topbar .nav-actions{
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  flex:0 0 auto!important;
  margin-left:auto!important;
  margin-right:0!important;
  gap:10px!important;
  column-gap:10px!important;
}

/* On 6-button pages the 5th button is TOP / Home */
html body header.topbar .nav-actions>a:nth-child(5):not(:last-child){
  width:54px!important;
  min-width:54px!important;
  max-width:54px!important;
  flex:0 0 54px!important;
  padding:0!important;
}

/* Contact is always the final button when present */
html body header.topbar .nav-actions>a:nth-child(n+5):last-child{
  width:112px!important;
  min-width:112px!important;
  max-width:112px!important;
  flex:0 0 112px!important;
  padding:0 14px!important;
}

/* Z-GUARD STANDARD: TOP / Home */
html body header.w>nav.nav>a:nth-child(5){
  width:54px!important;
  min-width:54px!important;
  max-width:54px!important;
  flex:0 0 54px!important;
  padding:0!important;
}

/* Z-GUARD STANDARD: product menu + Contact */
html body header.w>nav.nav>a:nth-child(6),
html body header.w>nav.nav>a:nth-child(7){
  width:112px!important;
  min-width:112px!important;
  max-width:112px!important;
  flex:0 0 112px!important;
  padding:0 14px!important;
}

}
