/* Przełącznik języka PL | EN (22.11.2026) - wstrzykuje i18n/buduj.mjs */
.lang-sw { display: flex; align-items: center; gap: 2px; font-family: inherit; }
.lang-sw a { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.04em; line-height: 1; padding: 4px 6px; border-radius: 999px; text-decoration: none; color: var(--gray-500, #6b7280); transition: color .2s, background .2s; }
.lang-sw a:hover { color: var(--accent, #7c3aed); }
.lang-sw a.on { background: var(--accent, #7c3aed); color: #fff; }
.header:not(.header--scrolled) .lang-sw a { color: rgba(255,255,255,0.7); }
.header:not(.header--scrolled) .lang-sw a:hover { color: #fff; }
.header:not(.header--scrolled) .lang-sw a.on { background: rgba(255,255,255,0.22); color: #fff; }
.lang-sw--mobile { align-self: flex-start; padding: 4px; border-radius: 999px; background: #f3f4f6; }
.lang-sw--mobile a { font-size: 0.875rem; padding: 9px 16px; color: #4b5563; }
.lang-sw--float { position: fixed; top: 10px; right: 10px; z-index: 99990; padding: 3px; border-radius: 999px; background: rgba(255,255,255,0.92); box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.lang-sw--float a { color: #4b5563; }
/* w pasku nad menu przełącznik nie zajmuje miejsca w układzie (nagłówek jest ciasny) - stoi na lewo od ikon społecznościowych */
.header__topbar { position: relative; }
.header__topbar > .lang-sw { position: absolute; right: 100%; top: 50%; transform: translateY(-50%); margin-right: 0.75rem; }
@media (max-width: 1100px) { .header__topbar > .lang-sw { position: static; transform: none; margin-right: 0; } }
