.booksys-language-switcher {
	position: relative;
	flex: none;
	color: var(--ink, #292929);
	font:
		600 12px/1.2 Inter,
		Roboto,
		Arial,
		sans-serif;
}
.booksys-language-switcher > summary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 52px;
	min-height: 35px;
	padding: 0 8px;
	border: 1px solid var(--line, #aaa);
	border-radius: 8px;
	color: inherit;
	background: var(--paper, #fff);
	cursor: pointer;
	list-style: none;
	user-select: none;
}
.booksys-language-switcher > summary::-webkit-details-marker {
	display: none;
}
.booksys-language-chevron {
	width: 6px;
	height: 6px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
}
.booksys-language-switcher[open] .booksys-language-chevron {
	transform: translateY(1px) rotate(225deg);
}
.booksys-language-options {
	position: absolute;
	top: calc(100% + 7px);
	right: 0;
	z-index: 50;
	min-width: 152px;
	padding: 6px;
	border: 1px solid var(--line, #aaa);
	border-radius: 10px;
	background: var(--paper, #fff);
	box-shadow: 0 10px 24px #00000012;
}
.booksys-language-options a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 36px;
	padding: 8px 10px;
	border-radius: 6px;
	color: inherit;
	text-decoration: none;
	font: inherit;
	font-weight: 500;
}
.booksys-language-options a:hover,
.booksys-language-options a[aria-current="page"] {
	background: var(--soft, #f2f2f2);
}
.booksys-language-options a[aria-current="page"]::after {
	content: "✓";
	margin-left: 12px;
}
.booksys-language-switcher > summary:focus-visible,
.booksys-language-options a:focus-visible {
	outline: 2px solid var(--brand, var(--rust, currentColor));
	outline-offset: 2px;
}
@media (max-width: 575.98px) {
	.booksys-language-switcher > summary {
		min-height: 33px;
	}
}
