/* Print Forge archive filters
   Page/area: WooCommerce shop and product category archive templates.
   Purpose: Styles the [pfd_category_filters] shortcode controls without changing the product grid/cards.
   Safe to remove: Yes. Removing this only returns these custom filters to basic browser styling. */
.pfd-category-filters {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	max-width: 1120px;
	margin: 0 auto 24px;
	padding: 12px 14px;
	border: 1px solid #ead7df;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 10px 24px rgba(200, 45, 115, 0.12);
}

.pfd-category-filters__fields {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
}

.pfd-category-filters__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid #c82d73;
	border-radius: 8px;
	background: #c82d73;
	box-shadow: 0 8px 18px rgba(200, 45, 115, 0.18);
}

.pfd-category-filters__label {
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.25;
	text-transform: uppercase;
}

.pfd-category-filters select {
	appearance: none;
	width: 100%;
	min-height: 40px;
	padding: 7px 38px 7px 12px;
	color: #222;
	font-size: 16px;
	line-height: 1.35;
	border: 1px solid #d7c8cf;
	border-radius: 8px;
	background-color: #fff;
	background-image:
		linear-gradient(45deg, transparent 50%, #c82d73 50%),
		linear-gradient(135deg, #c82d73 50%, transparent 50%);
	background-position:
		calc(100% - 20px) 50%,
		calc(100% - 14px) 50%;
	background-repeat: no-repeat;
	background-size: 6px 6px, 6px 6px;
}

.pfd-category-filters select:focus {
	border-color: #c82d73;
	box-shadow: 0 0 0 3px rgba(200, 45, 115, 0.18);
	outline: none;
}

.pfd-category-filters__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 0;
	padding-bottom: 0;
}

.pfd-category-filters__button {
	min-height: 36px;
	padding: 8px 16px;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	border: 0;
	border-radius: 8px;
	background: #c82d73;
	box-shadow: 0 7px 16px rgba(200, 45, 115, 0.24);
	cursor: pointer;
}

.pfd-category-filters__button:hover,
.pfd-category-filters__button:focus {
	background: #a91f5c;
}

.pfd-category-filters__reset {
	padding: 8px 4px;
	color: #8f315c;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.pfd-category-filters__reset:hover,
.pfd-category-filters__reset:focus {
	text-decoration: underline;
}

@media (max-width: 767px) {
	.pfd-category-filters {
		grid-template-columns: 1fr;
		margin-bottom: 22px;
		padding: 12px;
	}

	.pfd-category-filters__fields {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.pfd-category-filters__actions {
		align-items: stretch;
		flex-direction: column;
		justify-content: flex-start;
		margin-top: 2px;
	}

	.pfd-category-filters__button,
	.pfd-category-filters__reset {
		display: flex;
		justify-content: center;
		width: 100%;
		text-align: center;
	}
}
