/* Izbor jezika u headeru (FR / EN / DE) */
.nav_right { position: relative; }

.lang-switcher {
  position: absolute;
  top: calc(100% + 1.1rem);
  right: 0;
  z-index: 100;
  font-family: "Instrument Sans", sans-serif;
}

.lang-switcher_toggle {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .35rem .25rem;
  border: 0;
  background: none;
  color: #1e1e1f;
  font: inherit;
  font-size: .95rem;
  line-height: 1.2;
  cursor: pointer;
}

.lang-switcher_flag {
  width: 22px;
  height: 16px;
  flex: none;
  border-radius: 3px;
  box-shadow: 0 0 0 1px #0000000f;
}

.lang-switcher_chevron {
  width: 12px;
  height: 12px;
  transition: transform .2s ease;
}

.lang-switcher.is-open .lang-switcher_chevron { transform: rotate(180deg); }

.lang-switcher_menu {
  position: absolute;
  top: calc(100% + .4rem);
  right: 0;
  min-width: 190px;
  margin: 0;
  padding: .35rem 0;
  list-style: none;
  background: #fff;
  border: 1px solid #0000000f;
  border-radius: 12px;
  box-shadow: 0 8px 30px #00000014;
  display: none;
}

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

.lang-switcher_menu li + li { border-top: 1px solid #0000000d; margin: 0 .9rem; }
.lang-switcher_menu li:first-child { margin: 0 .9rem; }

.lang-switcher_link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem .1rem;
  color: #1e1e1f;
  font-size: .95rem;
  text-decoration: none;
}

.lang-switcher_link:hover { color: #1032cf; }

.lang-switcher_check {
  width: 16px;
  height: 16px;
  margin-left: auto;
  color: #1032cf;
}

@media screen and (max-width: 767px) {
  .lang-switcher { position: relative; top: auto; right: auto; }
  .lang-switcher_menu { left: 50%; right: auto; transform: translateX(-50%); }
}
