.etlg-switcher {
	position: relative;
	display: inline-block;
}

.etlg-switcher__dropdown {
	position: relative;
}

.etlg-switcher__current {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 34px;
	box-sizing: border-box;
	padding: 5px 10px;
	border: 1px solid #e5eaf2;
	border-radius: var(--et-ui-radius, 8px);
	background: #ffffff;
	color: #334155;
	cursor: pointer;
	line-height: 1.2;
	list-style: none;
}

.etlg-switcher__current::-webkit-details-marker {
	display: none;
}

.etlg-switcher__current:hover,
.etlg-switcher__current:focus-visible,
.etlg-switcher__dropdown[open] > .etlg-switcher__current {
	border-color: #f1b500;
	background: #fff6d5;
	color: #6f5400;
}

.etlg-switcher__chevron {
	width: 7px;
	height: 7px;
	margin-left: 3px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform 0.15s ease;
}

.etlg-switcher__dropdown[open] .etlg-switcher__chevron {
	transform: translateY(2px) rotate(225deg);
}

.etlg-switcher__menu {
	position: absolute;
	z-index: 1000;
	top: calc(100% + 6px);
	left: 0;
	display: grid;
	gap: 4px;
	min-width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 5px 10px;
	border: 1px solid #e5eaf2;
	border-radius: var(--et-ui-radius, 8px);
	background: #ffffff;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
	list-style: none;
}

.etlg-switcher__item {
	width: 100%;
	margin: 0;
	padding: 0;
}

.etlg-switcher__item > a,
.etlg-switcher__item > span {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	box-sizing: border-box;
	padding: 0;
	border: 0;
	background: transparent;
	color: #334155;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.etlg-switcher__item > a {
	padding: 0 !important;
}

.etlg-switcher .etlg-switcher__menu .etlg-switcher__item > a:focus,
.etlg-switcher .etlg-switcher__menu .etlg-switcher__item.is-active > a {
	background: #fff6d5;
	color: #6f5400;
}

.etlg-switcher__flag {
	font-size: 18px;
	line-height: 1;
}

.etlg-switcher__flag img,
.etlg-menu-language__flag img {
	display: block !important;
	width: 18px !important;
	height: 14px !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
	object-fit: contain;
}

.etlg-switcher__code {
	font-size: 11px;
	font-weight: 700;
	color: #334155 !important;
}

.etlg-language-menu-item > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.etlg-menu-language__flag {
	display: inline-block;
	flex: 0 0 auto;
	font-size: 1.1em;
	line-height: 1;
}

.etlg-menu-language__code {
	font-size: 0.75em;
	font-weight: 700;
}
