/* Reusable FacetWP sections and optional Filter / Clear All panel. */
.vc-facet-filters,
.vc-facet-filter {
	box-sizing: border-box;
	min-width: 0;
	color: #14181f;
	font-family: "Montserrat", sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

.vc-facet-filters {
	width: 100%;
	border: 1px solid #dedede;
	border-radius: 8px;
	background: #fff;
}

.vc-facet-filters__header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	padding: 10px 14px;
	border-bottom: 1px solid #dedede;
}

.vc-facet-filters .vc-facet-filters__title {
	margin: 0;
	padding: 0;
	color: #080808;
	font-family: inherit;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.vc-facet-filters__clear .facetwp-facet {
	margin: 0;
	font: inherit;
}

.vc-facet-filters .vc-facet-filters__clear .facetwp-reset {
	appearance: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: #080808;
	font: inherit;
	font-weight: 400;
	text-transform: none;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}

.vc-facet-filters__body {
	padding: 0 4px;
}

.vc-facet-filter {
	padding: 8px 10px;
}

.vc-facet-filter + .vc-facet-filter {
	border-top: 1px solid #dedede;
}

.vc-facet-filter .vc-facet-filter__heading {
	margin: 0 0 8px;
	padding: 0;
	color: inherit;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.vc-facet-filter .facetwp-facet {
	margin: 0;
	font: inherit;
}

.vc-facet-filter .facetwp-checkbox {
	position: relative;
	min-height: 24px;
	margin: 0 0 8px;
	padding: 0 0 0 28px;
	background: none;
	color: #434956;
	font-weight: 500;
	line-height: 24px;
	overflow-wrap: anywhere;
}

.vc-facet-filter .facetwp-checkbox:last-child {
	margin-bottom: 0;
}

.vc-facet-filter .facetwp-checkbox::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	box-sizing: border-box;
	width: 16px;
	height: 16px;
	border: 1px solid #434956;
	border-radius: 3px;
	background: #fff;
}

.vc-facet-filter .facetwp-checkbox.checked {
	color: #12161d;
}

.vc-facet-filter .facetwp-checkbox.checked::before {
	border-color: #1a3772;
	background: #1a3772;
}

.vc-facet-filter .facetwp-checkbox.checked::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 7px;
	width: 5px;
	height: 8px;
	border: solid #fff;
	border-width: 0 1.5px 1.5px 0;
	transform: rotate(45deg);
}

/* The reference uses labels only; result counts remain available outside this wrapper. */
.vc-facet-filter .facetwp-counter {
	display: none;
}

.vc-facet-filter .facetwp-checkbox.disabled {
	color: #434956;
	opacity: 1;
	cursor: not-allowed;
}

.vc-facet-filters .vc-facet-filters__clear .facetwp-reset:focus-visible,
.vc-facet-filter .facetwp-checkbox:focus-visible {
	outline: 2px solid #203e79;
	outline-offset: 3px;
}
