/* AZ Product Filter — front-end styles. Override freely in your theme. */

.azpf-filter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0 0 24px;
}

.azpf-group-label {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
	opacity: .6;
	margin-left: 6px;
}

.azpf-pill {
	display: inline-block;
	padding: 8px 16px;
	border: 1px solid #d4d4d8;
	border-radius: 999px;
	background: #fff;
	color: #18181b;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
	-webkit-appearance: none;
	appearance: none;
}

.azpf-pill:hover {
	border-color: #6d28d9;
	color: #6d28d9;
}

.azpf-pill.is-active {
	background: #6d28d9;
	border-color: #6d28d9;
	color: #fff;
}

/* Loading state on the grid container. */
.azpf-loading {
	position: relative;
	min-height: 120px;
	opacity: .5;
	pointer-events: none;
	transition: opacity .15s ease;
}

.azpf-loading::after {
	content: "";
	position: absolute;
	top: 40px;
	left: 50%;
	width: 32px;
	height: 32px;
	margin-left: -16px;
	border: 3px solid #d4d4d8;
	border-top-color: #6d28d9;
	border-radius: 50%;
	animation: azpf-spin .7s linear infinite;
}

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

.azpf-no-results {
	padding: 24px 0;
	font-size: 15px;
	opacity: .7;
}
