/* Language switcher — between logo and main menu (left of לקוחות in RTL) */

.header-nav-row {
  float: right;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
}

html[dir="rtl"] .header-nav-row {
  flex-direction: row-reverse;
}

html[dir="ltr"] .header-nav-row {
  flex-direction: row;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin: 1.35em 0 0 0;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 62, 128, 0.2);
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}

html[dir="rtl"] .lang-switcher {
  margin-left: 14px;
  margin-right: 0;
}

html[dir="ltr"] .lang-switcher {
  margin-right: 14px;
  margin-left: 0;
}

#mainMenu {
  flex: 0 1 auto;
}

.lang-link {
  display: inline-block;
  min-width: 28px;
  padding: 2px 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: #666;
  text-decoration: none;
  text-align: center;
  border-radius: 3px;
  font-family: 'Heebo', 'Inter', Arial, sans-serif;
}

.lang-link:hover,
.lang-link:focus {
  color: #0061a8;
  outline: none;
}

.lang-link.active {
  color: #fff;
  background: #003e80;
}

.lang-sep {
  color: #ccc;
  font-size: 10px;
  line-height: 1;
  user-select: none;
  padding: 0 1px;
}

@media (max-width: 979px) {
  .header-nav-row {
    float: none;
    clear: both;
    justify-content: center;
    width: 100%;
  }

  .lang-switcher {
    margin: 0.5em 10px;
  }
}
