.psk-category-switcher {
	margin: 0 0 1.5rem 0;
}

.psk-category-switcher__inner {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	align-items: stretch;
	justify-self: flex-start;

	padding: 1rem;
	border: 2px solid rgba(0, 0, 0, 0.25);
	border-radius: 12px;
	background: #ffffff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.psk-category-switcher__current {
	display: inline-flex;
	gap: 0.4rem;
	align-items: baseline;
}

.psk-category-switcher__current-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.psk-category-switcher__current-label {
	font-size: 0.95rem;
	opacity: 0.85;
}

.psk-category-switcher__current-value {
	font-weight: 700;
	font-size: 1.05rem;
}

.psk-category-switcher__controls {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	flex: 1;
}

.psk-category-switcher__controls-row {
	display: flex;
	align-items: center;
}

.psk-category-switcher__control {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex: 1;
	justify-content: flex-start;
	min-width: 220px;
}

.psk-category-switcher__select {
	width: 100%;
	max-width: 380px;
	padding: 0.7rem 0.85rem;
	border-radius: 10px;
	border: 2px solid rgba(0, 0, 0, 0.25);
	background: #fff;
	font-size: 1.05rem;
}

.psk-category-switcher__links {
	display: flex;
	align-items: center;
}

.psk-category-switcher__links-row {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.psk-category-switcher__link {
	font-size: 0.95rem;
	text-decoration: underline;
}

.psk-category-switcher__noscript {
	margin: 0.5rem 0 0 0;
	font-size: 0.95rem;
}

.psk-visually-hidden {
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

@media (min-width: 769px) {
	.psk-category-switcher__current-row {
		gap: 0.75rem;
	}
}

/* Mobile-first: make it easy to use and optionally sticky */
@media (max-width: 768px) {
	.psk-category-switcher {
		width: 100%;
	}

	.psk-category-switcher__inner {
		position: sticky;
		top: 0;
		z-index: 20;
		width: 100%;
	}

	.psk-category-switcher__current-row {
		gap: 0px;
	}

	.psk-category-switcher__controls {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}

	.psk-category-switcher__control {
		justify-content: stretch;
		min-width: 100%;
		width: 100%;
	}

	.psk-category-switcher__select {
		max-width: 100%;
		width: 100%;
	}
}
