.sl-lang-switcher {
	position: relative;
	z-index: 100010;
	display: block;
	margin-left: auto;
	direction: ltr;
	unicode-bidi: isolate;
	font-family: Roboto, "Open Sans", Arial, sans-serif;
}

.vci-header .header-bar .sl-lang-switcher,
.elementor-location-header .header-bar .sl-lang-switcher,
.giga-header-actions .sl-lang-switcher {
	flex: 0 0 auto;
	align-self: center;
}

.sl-lang-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: #fff;
	color: #1a1a1a;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
}

.sl-lang-toggle:hover {
	border-color: #ffc700;
}

.sl-lang-caret {
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid #666;
}

.sl-lang-menu {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	min-width: 160px;
	margin: 0;
	padding: 10px 0 6px;
	list-style: none;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 4px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
	z-index: 100011;
	direction: ltr;
	unicode-bidi: isolate;
}

.sl-lang-switcher.is-open .sl-lang-menu,
.sl-lang-switcher:hover .sl-lang-menu,
.sl-lang-switcher:focus-within .sl-lang-menu {
	display: block;
}

.sl-lang-item a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	color: #1a1a1a;
	text-decoration: none;
	font-size: 14px;
	direction: ltr;
	unicode-bidi: isolate;
	overflow: hidden;
}

.sl-lang-item a:hover,
.sl-lang-item.is-active a {
	background: #fff8dd;
}

.sl-lang-flag {
	display: inline-flex;
	min-width: 28px;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #666;
}

.sl-lang-item.is-active .sl-lang-flag {
	color: #1a1a1a;
}

html[dir="rtl"] .sl-lang-switcher {
	margin-left: 0;
	margin-right: auto;
}

@media (max-width: 1050px) {
	.sl-lang-switcher {
		margin-left: 0;
		width: auto;
	}

	.sl-lang-toggle {
		width: auto;
	}

	.sl-lang-menu {
		right: 0;
		left: auto;
	}
}
