.sm-language-switcher {
	align-self: center;
	display: inline-flex;
	height: 42px;
	margin: 0;
	position: relative;
}

.sm-language-switcher summary {
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--sm-native-line, #e5e7eb);
	border-radius: 999px;
	box-sizing: border-box;
	color: var(--sm-native-ink, #191e2d);
	cursor: pointer;
	display: inline-flex;
	font-size: 13px;
	font-weight: 800;
	gap: 8px;
	height: 42px;
	justify-content: center;
	line-height: 1;
	list-style: none;
	margin: 0;
	min-height: 0;
	min-width: 112px;
	padding: 0 32px 0 16px;
	position: relative;
	white-space: nowrap;
}

.sm-language-switcher summary::-webkit-details-marker {
	display: none;
}

.sm-language-switcher summary::after {
	border: solid currentColor;
	border-width: 0 2px 2px 0;
	content: "";
	height: 7px;
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-62%) rotate(45deg);
	width: 7px;
}

.sm-language-current {
	line-height: 1;
}

.sm-language-switcher[open] summary {
	border-color: rgba(247, 52, 94, 0.35);
	color: var(--sm-native-primary, #f7345e);
}

.sm-language-switcher ul {
	background: #ffffff;
	border: 1px solid var(--sm-native-line, #e5e7eb);
	border-radius: 14px;
	box-shadow: 0 18px 42px rgba(25, 30, 45, 0.13);
	display: grid;
	gap: 4px;
	list-style: none;
	margin: 8px 0 0;
	min-width: 190px;
	padding: 8px;
	position: absolute;
	right: 0;
	top: 100%;
	z-index: 50;
}

.sm-language-switcher a {
	align-items: center;
	border-radius: 10px;
	color: var(--sm-native-ink, #191e2d);
	display: flex;
	font-size: 14px;
	font-weight: 750;
	justify-content: space-between;
	line-height: 1.2;
	padding: 10px 11px;
	text-decoration: none;
}

.sm-language-switcher a[aria-current="page"] {
	background: rgba(247, 52, 94, 0.1);
	color: var(--sm-native-primary, #f7345e);
}

.sm-language-switcher a:hover,
.sm-language-switcher a:focus-visible {
	background: #f7f8fb;
	color: var(--sm-native-primary, #f7345e);
}

.sm-language-code {
	color: var(--sm-native-muted, #6b7280);
	font-size: 11px;
	font-weight: 900;
	margin-left: 14px;
}

.sm-native-mobile .sm-language-switcher {
	height: auto;
	margin-top: 6px;
	width: 100%;
}

.sm-native-mobile .sm-language-switcher summary {
	justify-content: center;
	width: 100%;
}

.sm-native-mobile .sm-language-switcher ul {
	position: static;
	width: 100%;
}

@media (max-width: 980px) {
	.sm-native-actions > .sm-language-switcher {
		display: none;
	}
}
