.sfsh {
	display: inline-flex;
	font-size: 0.8125rem;
}

.sfsh ul,
.sfsh .sfsh__menu {
	margin: 0;
	padding: 0;
	padding-inline-start: 0;
	list-style: none;
}

/* Toggle: no border, no radius, no horizontal padding */
.sfsh__toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.25rem 0;
	font: inherit;
	color: inherit;
	background: transparent;
	border: 0;
	border-radius: 0;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.sfsh__toggle:hover {
	opacity: 0.7;
}

.sfsh__toggle:focus-visible {
	outline: 0.125rem solid currentColor;
	outline-offset: 0.125rem;
}

.sfsh__chevron {
	width: 0.75rem;
	height: 0.75rem;
	opacity: 0.6;
	transition: transform 0.2s ease;
}

.sfsh.is-open .sfsh__chevron {
	transform: rotate(180deg);
}

/* Label parts (when wrapped in spans in the WCML template) */
.sfsh__label {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
}

.sfsh .sfs-cs__code {
	font-weight: 500;
	letter-spacing: 0.02em;
}

.sfsh .sfs-cs__sep,
.sfsh .sfs-cs__symbol {
	opacity: 0.45;
}

/* Menu opens below */
.sfsh__menu {
	position: fixed;
	z-index: 9999;
	/*min-width: 4rem;*/
	overflow: hidden;
	background: #fff;
	color: #1a1a1a;
	border: 0.0625rem solid rgba(0, 0, 0, 0.08);
	border-radius: 0.5rem;
	box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-0.375rem);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}

.sfsh.is-open .sfsh__menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s;
}

.sfsh__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.25rem 0.5rem;
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
}

a.sfsh__item:hover,
a.sfsh__item:focus-visible {
	background: rgba(0, 0, 0, 0.05);
	outline: none;
}

.sfsh__item.is-active {
	background: rgba(0, 0, 0, 0.04);
	cursor: default;
}

.sfsh__check {
	width: 0.875rem;
	height: 0.875rem;
}

@media (prefers-reduced-motion: reduce) {
	.sfsh__menu,
	.sfsh__chevron {
		transition: none;
	}
}