/**
 * Category archive header + scrollable color filter pills.
 * Enqueued on product category and shop pages.
 */

.hs-cat-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 0 0 20px;
	margin-top: -8px;
}
.hs-cat-title {
	font-family: 'Oleo Script', cursive;
	font-weight: 700;
	font-size: 30px;
	color: var(--wp--preset--color--primary, #FA69A8);
	margin: 0;
	flex-shrink: 0;
}
.hs-color-pills {
	display: flex;
	gap: 6px;
	overflow-x: auto;
	padding: 4px 0;
	scrollbar-width: none;
	flex-shrink: 1;
	min-width: 0;
}
.hs-color-pills::-webkit-scrollbar {
	display: none;
}
.hs-color-pill {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	padding: 7px 16px;
	border-radius: 999px;
	font-family: var(--wp--preset--font-family--body, 'Quicksand', sans-serif);
	font-size: 13px;
	font-weight: 600;
	background: var(--wp--preset--color--base-cream, #FAF5F1);
	color: var(--wp--preset--color--contrast-muted, #575760);
	text-decoration: none;
	flex-shrink: 0;
	transition: background 0.15s, color 0.15s;
	-webkit-tap-highlight-color: transparent;
}
.hs-color-pill:hover {
	background: var(--wp--preset--color--secondary, #4FC6F0);
	color: #fff;
}
.hs-color-pill.active {
	background: var(--wp--preset--color--secondary, #4FC6F0);
	color: #fff;
}

@media (max-width: 992px) {
	/* The breadcrumb mobile-hide lives in the theme's woocommerce.css (applies
	   site-wide on WooCommerce pages, covers both the classic nav and the block). */
	.hs-cat-header {
		flex-wrap: wrap;
		gap: 4px;
		padding-top: 8px;
	}
	.hs-cat-title {
		font-size: 24px;
		width: 100%;
	}
	.hs-color-pills {
		width: 100%;
	}
}
