.gato-local-site-language-switcher {
	position: relative;
}

.wpr-nav-menu-container > .wpr-nav-menu > .gato-local-site-language-switcher {
	display: inline-block;
	vertical-align: bottom;
	margin-right: 25px;
	margin-left: 25px;
}

.gato-local-site-language-switcher__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 30px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: #1a1a1a;
	font: inherit;
	font-size: 16px;
	line-height: 30px;
	cursor: pointer;
}

.gato-local-site-language-switcher__toggle:hover,
.gato-local-site-language-switcher__toggle:focus-visible {
	background: transparent;
	box-shadow: none;
	color: #0091db;
}

.gato-local-site-language-switcher__toggle:focus-visible,
.gato-local-site-language-switcher__menu a:focus-visible {
	outline: 2px solid #0091db;
	outline-offset: 3px;
}

.gato-local-site-language-switcher__toggle img,
.gato-local-site-language-switcher__menu img {
	display: block;
	flex: 0 0 20px;
	width: 20px;
	height: 14px;
	border-radius: 1px;
	object-fit: cover;
}

.gato-local-site-language-switcher__toggle svg {
	transition: transform 0.2s ease;
}

.gato-local-site-language-switcher.is-open > .gato-local-site-language-switcher__toggle svg {
	transform: rotate(180deg);
}

.gato-local-site-language-switcher__menu {
	position: absolute;
	z-index: 10020;
	top: calc(100% + 12px);
	right: 0;
	display: block;
	min-width: 158px;
	margin: 0;
	padding: 7px;
	border: 1px solid rgba(26, 26, 26, 0.12);
	border-radius: 7px;
	background: #fff;
	box-shadow: 0 12px 28px rgba(26, 26, 26, 0.14);
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-5px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
	pointer-events: none;
}

.gato-local-site-language-switcher__menu::before {
	position: absolute;
	right: 0;
	bottom: 100%;
	left: 0;
	height: 13px;
	content: "";
}

.gato-local-site-language-switcher:hover > .gato-local-site-language-switcher__menu,
.gato-local-site-language-switcher.is-open > .gato-local-site-language-switcher__menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.gato-local-site-language-switcher__menu li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gato-local-site-language-switcher__menu a {
	display: flex;
	align-items: center;
	gap: 9px;
	min-height: 38px;
	padding: 7px 10px;
	border-radius: 4px;
	color: #1a1a1a;
	font-size: 14px;
	line-height: 24px;
	text-decoration: none;
}

.gato-local-site-language-switcher__menu a:hover,
.gato-local-site-language-switcher__menu a[aria-current="page"] {
	background: #f1f6f9;
	color: #0091db;
}

.wpr-mobile-nav-menu > .gato-local-site-language-switcher {
	display: block;
	margin: 0;
	border-top: 1px solid #e8e8e8;
	background: #fff;
}

.wpr-mobile-nav-menu > .gato-local-site-language-switcher > .gato-local-site-language-switcher__toggle {
	justify-content: flex-start;
	width: 100%;
	min-height: 48px;
	padding: 9px 15px;
	text-align: left;
}

.wpr-mobile-nav-menu > .gato-local-site-language-switcher > .gato-local-site-language-switcher__toggle svg {
	margin-left: auto;
}

.wpr-mobile-nav-menu > .gato-local-site-language-switcher > .gato-local-site-language-switcher__menu {
	position: static;
	display: none;
	min-width: 0;
	margin: 0;
	padding: 5px 12px 10px 34px;
	border: 0;
	border-radius: 0;
	background: #f8f8f8;
	box-shadow: none;
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: none;
	pointer-events: auto;
}

.wpr-mobile-nav-menu > .gato-local-site-language-switcher:hover > .gato-local-site-language-switcher__menu {
	display: none;
}

.wpr-mobile-nav-menu > .gato-local-site-language-switcher.is-open > .gato-local-site-language-switcher__menu {
	display: block;
}

@media (prefers-reduced-motion: reduce) {
	.gato-local-site-language-switcher__toggle svg,
	.gato-local-site-language-switcher__menu {
		transition: none;
	}
}
