.trdnt-loop-filter {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 20px;
	width: 100%;
	text-align: center;
}

.trdnt-filter-stage,
.trdnt-year-stage,
.trdnt-year-group {
	width: 100%;
}

.trdnt-filter-stage,
.trdnt-year-stage {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.trdnt-year-stage[hidden],
.trdnt-year-group[hidden] {
	display: none !important;
}

.trdnt-filter-label {
	text-align: center;
}

.trdnt-filter-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 20px;
}

.trdnt-filter-button {
	appearance: none;
	-webkit-appearance: none;
	border: 1px solid currentColor;
	background: transparent;
	color: inherit;
	font: inherit;
	line-height: 1.2;
	padding: 12px 22px;
	cursor: pointer;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.trdnt-filter-button:hover {
	transform: translateY(-1px);
}

.trdnt-filter-button.is-selected,
.trdnt-filter-button[aria-pressed="true"] {
	background: #4B7155 !important;
	border-color: #73BF87 !important;
	color: #fff !important;
}

.trdnt-year-stage {
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 180ms ease, transform 180ms ease;
}

.trdnt-year-stage.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.trdnt-filter-loading {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 24px;
	font-size: 14px;
}

.trdnt-filter-loading[hidden] {
	display: none !important;
}

.trdnt-filter-spinner {
	display: inline-block;
	width: 18px;
	height: 18px;
	border: 2px solid currentColor;
	border-top-color: transparent;
	border-radius: 999px;
	animation: trdnt-filter-spin 700ms linear infinite;
}

.trdnt-filter-status {
	min-height: 1px;
	font-size: 14px;
}

@keyframes trdnt-filter-spin {
	to {
		transform: rotate(360deg);
	}
}

#bt-shop-loop {
	transition: opacity 180ms ease;
}

#bt-shop-loop.trdnt-loop-changing {
	opacity: 0.2;
	pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
	.trdnt-filter-button,
	.trdnt-year-stage,
	#bt-shop-loop {
		transition: none;
	}

	.trdnt-filter-spinner {
		animation: none;
	}
}
