.ate-switcher {
	--ate-accent: #a3227a;
	--ate-accent-text: #ffffff;
	--ate-text: #1d1d1d;
	--ate-bg: #ffffff;
	--ate-border: rgba(0, 0, 0, 0.1);
	--ate-radius: 4px;

	position: relative;
	display: inline-block;
	font-size: 14px;
	line-height: 1;
}

.ate-switcher-toggle {
	display: flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: none;
	padding: 6px 4px;
	margin: 0;
	color: inherit;
	font: inherit;
	font-weight: 600;
	letter-spacing: 0.03em;
	cursor: pointer;
}

.ate-switcher-caret {
	transition: transform 0.15s ease;
}

.ate-switcher.is-open .ate-switcher-caret {
	transform: rotate(180deg);
}

.ate-switcher-menu {
	position: absolute;
	top: 100%;
	right: 0;
	margin: 6px 0 0;
	padding: 6px;
	list-style: none;
	background: var(--ate-bg);
	border: 1px solid var(--ate-border);
	border-radius: var(--ate-radius);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
	display: none;
	flex-direction: column;
	gap: 2px;
	min-width: 64px;
	z-index: 100;
}

.ate-switcher.is-open .ate-switcher-menu {
	display: flex;
}

.ate-switcher-item {
	display: block;
	padding: 6px 12px;
	border-radius: var(--ate-radius);
	color: var(--ate-text);
	text-decoration: none;
	font-weight: 600;
	text-align: center;
}

.ate-switcher-item:hover {
	background: rgba(0, 0, 0, 0.05);
	color: var(--ate-text);
}

.ate-switcher-item.is-active {
	background: var(--ate-accent);
	color: var(--ate-accent-text);
}
