.html.custom.html_top_right_text,
.html_top_right_text.lht-language-switcher-ready {
	position: relative;
	overflow: visible !important;
	z-index: 9999;
}

.html_top_right_text.lht-language-switcher-ready > a.glink {
	display: none !important;
}

.html_top_right_text .lht-language-switcher {
	position: relative;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	overflow: visible;
	z-index: 9999;
}

.html_top_right_text .lht-language-switcher__trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	cursor: pointer;
	margin: 0;
}

.html_top_right_text .lht-language-switcher__trigger:focus-visible {
	outline: 2px solid #c5a059;
	outline-offset: 2px;
}

.html_top_right_text .lht-language-switcher__trigger-flag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 24px;
	border-radius: 8px;
	background: transparent;
	flex: 0 0 auto;
}

.html_top_right_text .lht-language-switcher__trigger-flag img {
	display: block;
	width: 28px;
	height: 20px;
	border-radius: 4px;
	object-fit: cover;
}

.html_top_right_text .lht-language-switcher__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	color: #9ca3af;
	flex: 0 0 auto;
	transition: transform 0.2s ease, color 0.2s ease;
}

.html_top_right_text .lht-language-switcher.is-open .lht-language-switcher__arrow {
	transform: rotate(180deg);
	color: #fff;
}

.html_top_right_text .lht-language-switcher__panel {
	position: absolute;
	left: 50%;
	top: calc(100% + 12px);
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	min-width: 90px;
	padding: 16px 20px;
	border-radius: 16px;
	border: 1px solid #dbe1ea;
	background: #fff;
	box-shadow: 0 12px 30px rgba(13, 26, 45, 0.12);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	z-index: 9999;
}

.html_top_right_text .lht-language-switcher__panel::after {
	content: "";
	position: absolute;
	left: 50%;
	top: -9px;
	width: 18px;
	height: 18px;
	background: #fff;
	border-left: 1px solid #dbe1ea;
	border-top: 1px solid #dbe1ea;
	transform: translateX(-50%) rotate(45deg);
}

.html_top_right_text .lht-language-switcher.is-open .lht-language-switcher__panel {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(-50%) translateY(4px);
}

.html_top_right_text .lht-language-switcher__option {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: transparent;
	border: 0;
	text-decoration: none;
}

.html_top_right_text .lht-language-switcher__option img {
	display: block;
	width: 44px;
	height: 28px;
	border-radius: 8px;
	object-fit: cover;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.html_top_right_text .lht-language-switcher__option:hover img {
	transform: translateY(-1px);
	box-shadow: 0 6px 14px rgba(13, 26, 45, 0.14);
}

.html_top_right_text .lht-language-switcher__option span,
.html_top_right_text .lht-language-switcher__trigger-label {
	display: none !important;
}

@media only screen and (max-width: 849px) {
	.html_top_right_text .lht-language-switcher__panel {
		min-width: 104px;
		padding: 14px 16px;
	}
}
