/* Kognara Translate — language selector (menu item + shortcode).
   Hardened with high specificity / !important so host theme menu styles
   (Zakra / Elementor) can't override the dropdown panel. */

.kt-switcher {
	position: relative !important;
	display: inline-block;
	font-size: 15px;
	line-height: 1.2;
}

/* Trigger ("🌐 English ▾") */
.kt-switcher .kt-switcher-btn {
	display: inline-flex;
	align-items: center;
	gap: .4em;
	background: transparent;
	border: 0;
	padding: 0;
	color: inherit;
	font: inherit;
	cursor: pointer;
	line-height: 1.2;
}
.kt-switcher .kt-globe { margin-right: .1em; }
.kt-switcher .kt-caret { font-size: .8em; transition: transform .2s ease; }
.kt-switcher.is-open .kt-caret { transform: rotate(180deg); }

/* Neutralize the surrounding theme menu link when we sit inside one. */
.kt-lang-menu-item > a { text-decoration: none !important; }

/* Dropdown panel */
.kt-switcher .kt-switcher-menu {
	position: absolute !important;
	top: calc(100% + .5em) !important;
	right: 0 !important;
	left: auto !important;
	display: block !important;
	min-width: 190px !important;
	max-height: 80vh !important;
	overflow-y: auto !important;
	margin: 0 !important;
	padding: .35em !important;
	background: #12233c !important;
	color: #eef4fb !important;
	border: 1px solid rgba(255, 255, 255, .14) !important;
	border-radius: 12px !important;
	box-shadow: 0 18px 44px -14px rgba(0, 0, 0, .65) !important;
	list-style: none !important;
	text-align: left !important;
	font-size: 15px !important;
	line-height: 1.3 !important;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
	z-index: 100000 !important;
}
.kt-switcher.is-open .kt-switcher-menu {
	opacity: 1 !important;
	visibility: visible !important;
	transform: translateY(0) !important;
}

/* Options */
.kt-switcher .kt-switcher-opt {
	display: block !important;
	width: auto !important;
	min-height: 0 !important;
	height: auto !important;
	padding: .5em .8em !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: transparent !important;
	color: #eef4fb !important;
	font-weight: 500 !important;
	font-size: 15px !important;
	text-align: left !important;
	text-decoration: none !important;
	white-space: nowrap !important;
	line-height: 1.35 !important;
	letter-spacing: normal !important;
	cursor: pointer !important;
	opacity: 1 !important;
}
.kt-switcher .kt-switcher-opt:hover,
.kt-switcher .kt-switcher-opt:focus {
	background: rgba(255, 255, 255, .1) !important;
	color: #fff !important;
	outline: none;
}
.kt-switcher .kt-switcher-opt.is-current {
	font-weight: 800 !important;
	color: #4f8cff !important;
}

/* Mobile: open the panel toward the right so it stays on-screen inside the
   off-canvas / stacked menu (the trigger sits near the left edge there). */
@media (max-width: 782px) {
	.kt-switcher .kt-switcher-menu {
		right: auto !important;
		left: 0 !important;
		max-width: calc(100vw - 2rem) !important;
	}
}
