.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-h);
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-menu);
  padding: 0 10px;
}
.navbar-left,
.navbar-center,
.navbar-right {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 5px;
  padding: 0 5px;
}
.navbar-center {
  flex: 1;
  justify-content: center;
}
.logo {
  display: flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  text-decoration: none;
}
.hamburger {
  display: none;
  width: 30px;
  height: 40px;
  font-size: 20px;
  line-height: 1;
  color: var(--text);
  background: transparent;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background .14s ease, transform .1s ease;
}
.hamburger:active {
  transform: translateY(1px);
}
#menu-desktop .menu-button {
  padding: 0 10px;
}
@media (max-width: 850px) {
  .navbar-center {
    display: none;
  }
  .logo {
    display: none;
  }
  .hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .navbar-left,
  .navbar-right {
    padding: 0 5px;
  }
}
.logo {
  display: flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  text-decoration: none;
}
.logo .brand-logo-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
  margin-right: 8px;
}
.logo h3 {
  display: none !important;
}
@media (max-width: 850px) {
  .logo {
    display: inline-flex !important;
  }
}
@media (max-width: 480px) {
  .navbar-right {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
  }
  .navbar-right > * {
    margin: 0 !important;
  }
  .hamburger,
  .navbar-right .tg-link,
  .menu-button.lang-trigger {
    margin: 0 !important;
  }
}
