/**
 * Selektor języków KC Core — minimalistyczne flagi 2D.
 */
.kc-lang { position: relative; display: inline-block; font-size: 14px; }
.kc-lang__toggle {
	display: inline-flex; align-items: center; gap: 6px;
	background: transparent; border: 1px solid rgba(0,0,0,.12); border-radius: 8px;
	padding: 5px 9px; cursor: pointer; font: inherit; color: inherit; line-height: 1;
}
.kc-lang__toggle:hover { border-color: rgba(0,0,0,.28); }
.kc-lang__current { display: inline-flex; align-items: center; gap: 6px; }
.kc-lang__code { font-weight: 600; font-size: 12px; letter-spacing: .02em; }
.kc-lang__caret { font-size: 10px; opacity: .6; }

.kc-flag { display: inline-flex; line-height: 0; }
.kc-flag svg { display: block; border: 1px solid rgba(0,0,0,.08); border-radius: 2px; }

.kc-lang__menu {
	position: absolute; z-index: 9999; top: calc(100% + 6px); left: 0;
	list-style: none; margin: 0; padding: 6px;
	background: #fff; border: 1px solid rgba(0,0,0,.12); border-radius: 10px;
	box-shadow: 0 8px 28px rgba(0,0,0,.14); min-width: 168px;
	display: none;
}
.kc-lang.is-open .kc-lang__menu { display: block; }
.kc-lang__item {
	display: flex; align-items: center; gap: 9px; width: 100%;
	background: transparent; border: 0; border-radius: 6px; padding: 7px 9px;
	cursor: pointer; font: inherit; color: #1d2327; text-align: left;
}
.kc-lang__item:hover { background: #f2f4f7; }
.kc-lang__name { font-size: 13px; }
.kc-lang.is-active-lang .kc-lang__item[data-active] { font-weight: 700; }

/* Kompaktowy (menu) */
.kc-lang--compact .kc-lang__toggle { border-color: transparent; padding: 4px 6px; }
.kc-lang--compact .kc-lang__code { display: none; }

/* Pływający widżet.
   back-to-top zajmuje prawy dół (55px @ right:30px) i pojawia się dopiero po
   przewinięciu. Aby przełącznik nie wisiał za wysoko ani nie nachodził, stawiamy
   go OBOK back-to-top (w poziomie), na tej samej linii dołu. */
.kc-lang-float { position: fixed; z-index: 99990; }
.kc-lang-float--bottom-right { bottom: 30px; right: 99px; }
.kc-lang-float--bottom-left  { bottom: 30px; left: 30px; }
.kc-lang-float--top-right { top: 5rem; right: 1rem; }
.kc-lang-float--top-left { top: 5rem; left: 1rem; }
.kc-lang-float .kc-lang__toggle {
	background: #fff; box-shadow: 0 3px 12px rgba(0,0,0,.16); border-color: rgba(0,0,0,.08);
}
.kc-lang-float .kc-lang__menu { top: auto; bottom: calc(100% + 6px); }
.kc-lang-float--bottom-right .kc-lang__menu, .kc-lang-float--top-right .kc-lang__menu { left: auto; right: 0; }

/* W menu nawigacji */
.kc-lang-menu-item { display: flex; align-items: center; }

/* Ukryj pasek Google Translate na górze strony */
.goog-te-banner-frame, .skiptranslate iframe { display: none !important; }
body { top: 0 !important; }
#goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
