/* LUFT Product Filter */

.lpf {
	font-size: 14px;
}

.lpf-block {
	margin-bottom: 22px;
	padding-bottom: 18px;
	border-bottom: 1px solid #e6e6e6;
}

.lpf-block:last-child {
	border-bottom: 0;
}

.lpf-title {
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 600;
}

.lpf-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.lpf-item {
	margin: 0 0 4px;
}

.lpf-item a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 3px 0;
	text-decoration: none;
	color: inherit;
}

.lpf-item a:hover .lpf-name {
	text-decoration: underline;
}

.lpf-box {
	flex: 0 0 auto;
	width: 15px;
	height: 15px;
	border: 1px solid #b9b9b9;
	border-radius: 3px;
	background: #fff;
}

.lpf-on .lpf-box {
	border-color: #1d4b78;
	background: #1d4b78;
	position: relative;
}

.lpf-on .lpf-box::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 1px;
	width: 4px;
	height: 8px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.lpf-name {
	flex: 1 1 auto;
}

.lpf-count {
	flex: 0 0 auto;
	color: #767676;
	font-size: 12px;
}

.lpf-more {
	display: none;
}

.lpf-open .lpf-more {
	display: block;
}

.lpf-active {
	margin-bottom: 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid #e6e6e6;
}

.lpf-active-label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
}

.lpf-chip {
	display: inline-block;
	margin: 0 4px 4px 0;
	padding: 3px 9px;
	border-radius: 3px;
	background: #f0f0f1;
	color: #1d2327;
	font-size: 13px;
	text-decoration: none;
}

.lpf-chip:hover {
	background: #e0e0e1;
}

.lpf-clear {
	display: inline-block;
	margin-top: 4px;
	font-size: 13px;
}

/* --- Categorieboom ------------------------------------------------------- */

.lpf-row {
	display: flex;
	align-items: center;
	gap: 2px;
}

.lpf-row > a {
	flex: 1 1 auto;
	min-width: 0;
}

/*
 * Het pijltje waarmee de subcategorieen open en dicht gaan.
 *
 * Dit zijn <button>'s, en WoodMart geeft elke knop een grijs vlak met padding
 * en een rand. Vandaar deze reset met !important: de themaregels zijn
 * specifieker dan een losse klasse, en een nog langere selector schrijven is
 * hier een wedloop die je niet wint.
 */
.lpf button.lpf-twist,
.lpf button.lpf-fold,
.lpf button.lpf-toggle {
	display: inline-flex;
	align-items: center;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	color: inherit !important;
	font: inherit !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	line-height: inherit !important;
	cursor: pointer;
}

.lpf button.lpf-twist {
	flex: 0 0 auto;
	justify-content: center;
	/* Klein vlak zonder achtergrond: groot genoeg om met een duim te raken. */
	width: 26px !important;
	height: 26px !important;
}

.lpf button.lpf-fold {
	width: 100%;
	justify-content: flex-start;
	gap: 6px;
	text-align: left;
}

.lpf button.lpf-toggle {
	margin-top: 6px !important;
	color: #1d4b78 !important;
	font-size: 13px !important;
	text-decoration: underline;
}

/*
 * Bij de kop hoort alleen een pijltje waar het ook wat doet. Dichtklappen
 * gebeurt alleen op een telefoon, dus op een breed scherm blijft het weg.
 */
.lpf-fold .lpf-arrow {
	display: none;
}

.lpf-arrow {
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 4px 0 4px 6px;
	border-color: transparent transparent transparent #767676;
	transition: transform .12s ease;
}

.lpf-twist:hover .lpf-arrow {
	border-left-color: #1d4b78;
}

.lpf-unfolded > .lpf-row .lpf-arrow {
	transform: rotate(90deg);
}

.lpf-children {
	display: none;
	margin: 2px 0 6px 18px;
	padding: 0;
	list-style: none;
	border-left: 1px solid #e6e6e6;
	padding-left: 10px;
}

.lpf-unfolded > .lpf-children {
	display: block;
}


/* --- Bouwjaar ------------------------------------------------------------ */

.lpf-jaar-form {
	display: flex;
	gap: 6px;
	align-items: center;
}

.lpf-jaar-select {
	flex: 1 1 auto;
	min-width: 0;
	max-width: 140px;
}

.lpf-jaar-uitleg {
	margin: 8px 0 0;
	color: #767676;
	font-size: 12px;
}
