/* Przełącznik języka — wspólny dla strony głównej i podstron */
.lang-switch { position: relative; display: inline-block; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(127, 127, 127, 0.12);
  border: 1px solid rgba(127, 127, 127, 0.25);
  color: inherit;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 100px;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s;
}
.lang-toggle:hover { background: rgba(127, 127, 127, 0.22); }
.lang-arrow { font-size: 0.6rem; opacity: 0.7; }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.18);
  padding: 6px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 200;
}
.lang-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.lang-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #1f2937;
  text-decoration: none;
  white-space: nowrap;
}
.lang-menu a:hover { background: #f1f3f5; }
.lang-menu a.active { background: #f1f3f5; font-weight: 700; }
.lang-menu a .flag { font-size: 1.05rem; line-height: 1; }
