.mod-ml-switcher {
	display: flex;
	align-items: center;
	gap: 12px;
}

.mod-ml-switcher--horizontal {
	flex-wrap: wrap;
}

.mod-ml-switcher__item,
.mod-ml-switcher__trigger {
	color: inherit;
	text-decoration: none;
}

.mod-ml-switcher__item {
	display: flex;
	align-items: center;
	transition: color .2s ease, background-color .2s ease, border-color .2s ease, opacity .2s ease;
}

.mod-ml-switcher--horizontal .mod-ml-switcher__item:hover {
	opacity: .72;
}

.mod-ml-switcher__item.is-active {
	font-weight: 700;
}

.mod-ml-switcher__content {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-width: 0;
	line-height: 1;
}

.mod-ml-switcher__flag {
	display: inline-block;
	align-self: center;
	flex: 0 0 auto;
	width: 28px;
	height: 18px;
	border-radius: 2px;
	overflow: hidden;
	vertical-align: middle;
	line-height: 1;
}

.mod-ml-switcher .mod-ml-switcher__flag-image {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
}

.mod-ml-switcher__flag--emoji {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: 1;
}

.mod-ml-switcher__label {
	line-height: 1.2;
}

.mod-ml-switcher--dropdown {
	position: relative;
	display: inline-block;
	width: auto;
	max-width: 100%;
}

.mod-ml-switcher__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	width: 100%;
	padding: 8px 12px;
	background: transparent;
	border: 1px solid currentColor;
	border-radius: 6px;
	cursor: pointer;
	list-style: none;
	transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.mod-ml-switcher__trigger::-webkit-details-marker {
	display: none;
}

.mod-ml-switcher__trigger::marker {
	display: none;
	content: "";
}

.mod-ml-switcher__chevron {
	display: inline-block;
	width: 7px;
	height: 7px;
	flex: 0 0 auto;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transform-origin: center;
	transition: transform .2s ease;
}

.mod-ml-switcher--dropdown[open] .mod-ml-switcher__chevron {
	transform: rotate(225deg) translate(-1px, -1px);
}

.mod-ml-switcher__menu {
	position: absolute;
	z-index: 9999;
	top: 100%;
	right: 0;
	display: flex;
	flex-direction: column;
	min-width: 100%;
	margin-top: 8px;
	padding: 4px;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
	overflow: hidden;
}

.mod-ml-switcher__menu .mod-ml-switcher__item {
	width: 100%;
	padding: 9px 12px;
	white-space: nowrap;
}

.mod-ml-switcher__menu .mod-ml-switcher__item:hover,
.mod-ml-switcher__menu .mod-ml-switcher__item:focus-visible {
	opacity: 1;
}

.mod-ml-switcher__trigger:focus-visible,
.mod-ml-switcher__item:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}
