/* ==========================================================================
   Mehtech language switcher
   Additive stylesheet — does not modify style.css / vendor.min.css.
   Loaded after them on every multilingual page.
   ========================================================================== */

.lang-switcher {
  position: relative;
  display: inline-block;
  margin-right: 18px;
  font-family: "Space Grotesk", sans-serif;
}

.lang-switcher-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  color: inherit;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  line-height: 1.4;
}

.top-bar .lang-switcher-toggle {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

.top-bar .lang-switcher-toggle:hover,
.top-bar .lang-switcher-toggle:focus-visible {
  background: rgba(255,255,255,0.12);
}

.lang-switcher-caret {
  font-size: 10px;
  transform: translateY(1px);
}

.lang-switcher-list {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 1000;
  min-width: 150px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(20,30,40,0.18);
  border: 1px solid #e3e6e9;
}

.lang-switcher.is-open .lang-switcher-list {
  display: block;
}

.lang-switcher-list li {
  margin: 0;
}

.lang-switcher-list a.lang-option {
  display: block;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 500;
  color: #1f2d38;
  text-decoration: none;
  white-space: nowrap;
}

.lang-switcher-list a.lang-option:hover,
.lang-switcher-list a.lang-option:focus-visible {
  background: #f0f4f8;
  color: #0056b3;
  outline: none;
}

.lang-switcher-list a.lang-option.active {
  color: #0056b3;
  font-weight: 700;
}

@media (max-width: 767px) {
  .lang-switcher { margin-right: 10px; }
  .lang-switcher-list { right: auto; left: 0; }
}
