.cm01-language-switcher {
	display: inline-flex;
	align-items: center;
}

.site-topbar,
.site-topbar__inner,
.site-topbar__actions {
	position: relative;
	overflow: visible;
}

.site-topbar {
	z-index: 120;
}

.cm01-language {
	position: relative;
	z-index: 220;
}

.cm01-language__title {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	cursor: pointer;
	list-style: none;
	color: rgba(38, 38, 38, 1);
}

.cm01-language__title::-webkit-details-marker {
	display: none;
}

.cm01-language__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(32, 66, 137, .08);
	color: rgba(32, 66, 137, 1);
}

.cm01-language__icon svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.cm01-language__current {
	font-size: 14px;
	line-height: 1.4;
	color: rgba(38, 38, 38, 1);
}

.cm01-language__items {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	z-index: 320;
	min-width: 180px;
	max-height: 60vh;
	overflow-y: auto;
	padding: 12px 0;
	margin: 0;
	list-style: none;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
}

.cm01-language:not([open]) .cm01-language__items {
	display: none;
}

.cm01-language__item a {
	display: block;
	padding: 8px 14px;
	font-size: 14px;
	line-height: 1.4;
	color: rgba(38, 38, 38, 1);
	white-space: nowrap;
}

.cm01-language__item a:hover {
	background: rgba(32, 66, 137, .08);
	color: rgba(32, 66, 137, 1);
}

.cm01-language__item.is-active a {
	color: rgba(32, 66, 137, 1);
	font-weight: 700;
}

.cm01-language-switcher--mobile {
	position: relative;
	padding: 0 20px 12px;
	z-index: 40;
}

.cm01-language-switcher--mobile .cm01-language,
.cm01-language-switcher--mobile .cm01-language__title {
	display: flex;
	width: 100%;
}

.cm01-language-switcher--mobile .cm01-language {
	position: relative;
}

.cm01-language-switcher--mobile .cm01-language__title {
	justify-content: flex-start;
	padding: 8px 10px;
	border: 1px solid rgba(0, 0, 0, .1);
	border-radius: 8px;
	background: #fff;
}

.cm01-language-switcher--mobile .cm01-language__items {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 8px);
	min-width: 0;
	max-height: 260px;
	margin-top: 0;
	border: 1px solid rgba(0, 0, 0, .08);
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
	background: #fff;
	z-index: 80;
}

@media (min-width: 1025px) {
	.cm01-language:hover .cm01-language__items {
		display: block;
	}
}

@media (max-width: 1024px) {
	.cm01-language-switcher--desktop {
		display: none;
	}
}

@media (max-width: 768px) {
	.site-topbar {
		display: none;
	}
}

.cm01-language-loading {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, .92);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .2s ease, visibility .2s ease;
}

.cm01-language-loading.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.cm01-language-loading__inner {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 18px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 8px 26px rgba(0, 0, 0, .12);
	font-size: 14px;
	color: rgba(32, 66, 137, 1);
}

.cm01-language-loading__spinner {
	width: 18px;
	height: 18px;
	border: 2px solid rgba(32, 66, 137, .2);
	border-top-color: rgba(32, 66, 137, 1);
	border-radius: 50%;
	animation: cm01-language-spin .8s linear infinite;
}

body.is-language-loading {
	overflow: hidden;
}

@keyframes cm01-language-spin {
	to {
		transform: rotate(360deg);
	}
}
