.yolo-lang-slot {
	position: relative;
	overflow: visible;
}

.yolo-lang-switcher {
	position: relative;
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
}

button.yolo-lang-switcher__toggle[type="button"],
button.yolo-lang-switcher__toggle[type="button"]:hover,
button.yolo-lang-switcher__toggle[type="button"]:focus,
button.yolo-lang-switcher__toggle[type="button"]:active {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	background-color: transparent;
	box-shadow: none;
	color: inherit;
	line-height: 0;
	width: auto;
	min-width: 0;
	cursor: pointer;
}

.yolo-lang-switcher__toggle img,
.yolo-lang-switcher__item img {
	display: block;
	width: auto;
	height: 16px;
	max-width: none;
	flex: 0 0 auto;
	object-fit: contain;
	border: 1px solid #50523e;
}

.yolo-lang-switcher__item:hover,
.yolo-lang-switcher__item:focus {
	background: transparent;
}

.yolo-lang-switcher__menu {
	display: none;
	position: absolute;
	top: calc(100% + 6px);
	left: 50%;
	z-index: 40;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	width: max-content;
	margin: 0;
	padding: 6px;
	transform: translateX(-50%);
	background: #fff;
	border: 1px solid rgba(80, 82, 62, 0.35);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.yolo-lang-switcher.is-open .yolo-lang-switcher__menu {
	display: flex;
}

.yolo-lang-switcher__item {
	display: inline-flex;
	line-height: 0;
}

.yolo-lang-switcher__item:hover img {
	border-color: #50523e;
}
