/* Patio Collections page: type chips and the filtered collections grid
   (template-parts/patio-collections.php). Fonts and link colours come from the theme. */

/* Make sure hidden cards/links stay hidden whatever display the theme gives them. */
.patio-coll[hidden],
.patio-filter__browse[hidden] {
	display: none !important;
}

/* Offset for the sticky header when the tiles scroll down to the grid. Adjust to its height. */
#patio-collections {
	scroll-margin-top: 110px;
}

.patio-filter__summary {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 16px;
	margin: 8px 0 0;
	color: #5f6368;
	font-size: 15px;
}

.patio-filter {
	margin: 18px 0 24px;
}

.patio-filter__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.patio-filter__chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border: 1px solid #d9d9d4;
	border-radius: 999px;
	background: #fff;
	color: #1f1f1f;
	font-size: 14px;
	line-height: 1.2;
	text-decoration: none;
	transition: border-color 150ms ease, background-color 150ms ease;
}

.patio-filter__chip:hover {
	border-color: #1f1f1f;
}

.patio-filter__chip.is-active {
	border-color: #1f1f1f;
	background: #1f1f1f;
	color: #fff;
}

.patio-filter__n {
	font-size: 12px;
	opacity: 0.7;
}