/* V106 — stabilize the top navigation after accumulated legacy overrides */
header.nav{
  position:sticky!important;
  top:0!important;
  z-index:100!important;
  min-height:68px!important;
  height:auto!important;
  background:rgba(255,255,255,.94)!important;
  border-bottom:1px solid #e7edf5!important;
  box-shadow:none!important;
  backdrop-filter:blur(16px) saturate(140%)!important;
  -webkit-backdrop-filter:blur(16px) saturate(140%)!important;
}
header.nav > .wrap.navin,
header.nav .wrap.navin{
  width:min(calc(100% - 48px),1200px)!important;
  height:68px!important;
  min-height:68px!important;
  margin:0 auto!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:20px!important;
}
header.nav .brand{
  flex:0 0 auto!important;
  margin:0!important;
  padding:0!important;
  font-size:21px!important;
  line-height:1!important;
  font-weight:850!important;
  letter-spacing:-.035em!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
header.nav .right{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  margin:0!important;
  min-width:0!important;
}
header.nav .langbox{
  position:relative!important;
  flex:0 0 auto!important;
}
header.nav .langbtn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  height:40px!important;
  min-height:40px!important;
  padding:0 13px!important;
  margin:0!important;
  border:1px solid #e2e8f0!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#334155!important;
  box-shadow:none!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:700!important;
  white-space:nowrap!important;
}
header.nav .lang-chevron{
  width:16px!important;
  height:16px!important;
  flex:0 0 16px!important;
}
header.nav .btn.primary{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  height:40px!important;
  min-height:40px!important;
  padding:0 16px!important;
  margin:0!important;
  border:0!important;
  border-radius:10px!important;
  background:#2563eb!important;
  color:#fff!important;
  box-shadow:none!important;
  font-size:14px!important;
  line-height:1!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
header.nav .btn.primary:hover{
  background:#1d4ed8!important;
  transform:none!important;
}
header.nav .langmenu{
  top:46px!important;
  right:0!important;
  min-width:150px!important;
  z-index:120!important;
}
@media(max-width:620px){
  header.nav{
    min-height:62px!important;
  }
  header.nav > .wrap.navin,
  header.nav .wrap.navin{
    width:min(calc(100% - 28px),1200px)!important;
    height:62px!important;
    min-height:62px!important;
    gap:10px!important;
  }
  header.nav .brand{
    font-size:19px!important;
  }
  header.nav .right{
    gap:8px!important;
  }
  header.nav .langbtn{
    height:38px!important;
    min-height:38px!important;
    padding:0 11px!important;
    font-size:12.5px!important;
  }
  header.nav .btn.primary{
    display:none!important;
  }
}
