.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: inherit;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 30px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.06);
}

.lang-switch .lang-btn {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #fff;
  opacity: 0.6;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 20px;
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.lang-switch .lang-btn:hover {
  opacity: 1;
}

.lang-switch .lang-btn.active {
  opacity: 1;
  background: #77beff;
  color: #06070a;
}

.lang-switch .lang-sep {
  display: none;
}

/* .site-action also carries Bootstrap's "d-xl-block" utility, which sets
   display:block !important — it beats a plain (non-important) flex rule,
   which is why the toggle kept stacking above the hamburger. Matching
   !important here is required to actually turn it into a row. */
.header-default .site-action {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

.menu-offcanvas-lang {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 20px;
}

.menu-offcanvas-lang .lang-switch {
  font-size: 15px;
  display: inline-flex;
}

.menu-offcanvas-lang .lang-switch .lang-btn {
  font-size: 15px;
}
