/* KOMA NORD 2026-12-03: przełącznik PL / EN (komputer i telefon) + komunikat o wersji angielskiej dla przeglądarek w innym języku. */

/* Przełącznik: „pigułka” z zaznaczonym aktywnym językiem (było: dwa napisy bez wyraźnego zaznaczenia / dwa obramowane kwadraty) */
.lang {
	display: inline-flex !important;
	align-items: center;
	gap: 2px;
	padding: 3px;
	border-radius: 999px;
	box-sizing: border-box;
	height: auto !important;
	line-height: 1;
}
.lang > a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 26px !important;
	padding: 0 9px !important;
	border: 0 !important;
	border-radius: 999px;
	font-family: GothamBold, Poppins, Arial, sans-serif !important;
	font-size: 12px !important;
	letter-spacing: .06em;
	line-height: 1 !important;
	text-decoration: none !important;
	box-sizing: border-box;
	transition: background-color .15s ease, color .15s ease;
}
.lang > a::before, .lang > a::after { display: none !important; }

/* komputer: w czerwonym górnym pasku */
.wrapper.no-phone .lang { background: rgba(255, 255, 255, .16); margin-top: 9px; }
.wrapper.no-phone .lang > a { color: rgba(255, 255, 255, .88) !important; background: transparent !important; }
.wrapper.no-phone .lang > a:hover { background: rgba(255, 255, 255, .22) !important; color: #fff !important; }
.wrapper.no-phone .lang > a.active-lang { background: #fff !important; color: #b42d32 !important; box-shadow: 0 1px 3px rgba(0, 0, 0, .18); }

/* telefon: w białym nagłówku */
.wrapper_mobile .lang { background: #f1eeee; }
.wrapper_mobile .lang > a { color: #5c5555 !important; background: transparent !important; }
.wrapper_mobile .lang > a.active-lang { background: #b42d32 !important; color: #fff !important; }

.lang > a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* Komunikat: „This page is also available in English” (tylko gdy przeglądarka nie jest po polsku; bez automatycznego przekierowania) */
.kn-jz {
	position: fixed;
	z-index: 9998;
	left: 16px;
	bottom: 16px;
	max-width: 360px;
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 14px 14px 14px 16px;
	background: #fff;
	color: #231f20;
	border-radius: 12px;
	border-left: 4px solid #b42d32;
	box-shadow: 0 8px 28px rgba(0, 0, 0, .18);
	font: 14px/1.45 Poppins, Arial, sans-serif;
	transform: translateY(12px);
	opacity: 0;
	transition: opacity .2s ease, transform .2s ease;
}
.kn-jz.kn-jz--on { transform: none; opacity: 1; }
.kn-jz__t { flex: 1; min-width: 0; }
.kn-jz__t strong { display: block; font-weight: 600; margin-bottom: 8px; }
.kn-jz__b { display: flex; gap: 8px; flex-wrap: wrap; }
.kn-jz__go, .kn-jz__no {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 14px;
	border-radius: 999px;
	font: 600 13px/1 Poppins, Arial, sans-serif;
	text-decoration: none;
	cursor: pointer;
}
.kn-jz__go { background: #b42d32; color: #fff !important; border: 0; }
.kn-jz__no { background: transparent; color: #231f20; border: 1px solid #d6d0d0; }
.kn-jz__x {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	border: 0;
	background: transparent;
	color: #6b6464;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	border-radius: 50%;
}
.kn-jz__x:hover { background: #f1eeee; }
@media screen and (max-width: 699px) {
	.kn-jz { left: 12px; right: 12px; max-width: none; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}
