.we-woo-filters-container {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
}

.we-filters-buttons {
	display: flex;
	flex-direction: row;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
}

.we-all-filters {
	color: #000;
	text-align: center;
	font-family: "Nunito Sans";
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: 32px;
	letter-spacing: 0.15px;
	border-radius: 100px;
	border: 1px solid #000;
	background: transparent;
	cursor: pointer;
	padding: 10px 20px;
	display: flex;
	align-items: center;
	gap: 10px;
	white-space: nowrap;
}

#we-clear-filters {
	color: #9a9a9a;
	text-align: center;
	font-family: "Nunito Sans";
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: 32px;
	letter-spacing: 0.15px;
	border-radius: 100px;
	background: transparent;
	cursor: pointer;
	padding: 10px 20px;
	border: 0;
	text-decoration: underline;
}

.we-filter-group {
	margin-bottom: 20px;
}

.we-filter-group h4 {
	margin-bottom: 10px;
}

.we-filter-group ul {
	list-style: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	gap: 5px;
}

.we-filter-group li {
	margin-bottom: 5px;
	list-style: none;
}

.we-filter-group li label {
	display: flex;
	align-items: center;
	cursor: pointer;
	font-family: "Nunito Sans", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: #333;
	padding: 8px 12px;
	border-radius: 8px;
	border: 2px solid #e0e0e0;
	background: #fff;
	transition: all 0.2s ease;
	position: relative;
	user-select: none;
}

.we-filter-group li label:hover {
	border-color: #007cba;
	background: #f8f9fa;
}

.we-filter-group li input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

.we-filter-group li label.checked {
	border-color: #007cba;
	background: #e6f2ff;
	color: #007cba;
	font-weight: 500;
}

.we-filter-group li label::before {
	content: '';
	display: inline-block;
	width: 19px;
	height: 18px;
	border: 2px solid #ccc;
	border-radius: 4px;
	margin-right: 10px;
	background: #fff;
	transition: all 0.2s ease;
	flex-shrink: 0;
}

.we-filter-group li label.checked::before {
	background: #007cba;
	border-color: #007cba;
}

.we-filter-group li label.checked::after {
	content: '✓';
	position: absolute;
	left: 18px;
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	line-height: 2;
}

#we-woo-filter-form {
	width: 100%;
	display: block;
}

#we-clear-filters {
	display: none;
}

#we-active-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-family: "Nunito Sans";
	font-size: 16px;
	color: #333;
}

#we-active-filters .active-filter {
	display: inline-flex;
	align-items: center;
	color: #000;
	text-align: center;
	font-family: "Nunito Sans";
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: 32px;
	letter-spacing: 0.15px;
	border-radius: 100px;
	border: 1px solid #000;
	background: transparent;
	cursor: pointer;
	padding: 10px 20px;
	display: flex;
	align-items: center;
	gap: 10px;
}

#we-active-filters .active-filter .remove-filter {
	background: none;
	border: none;
	color: #ff0000;
	font-size: 16px;
	cursor: pointer;
	padding: 0;
	margin: 0;
}


/* Mobile responsiveness */

@media (max-width: 768px) {
	.we-filter-group {
		margin-bottom: 15px;
	}

	.we-filter-group ul {
		display: flex;
		flex-wrap: wrap;
	}

	.we-filter-group li {
		margin-right: 10px;
		margin-bottom: 10px;
	}
}

/* Additional mobile responsiveness for filters */
@media (max-width: 768px) {
	.we-woo-filters-container {
		display: block;
	}

	#we-woo-filter-form {
		display: block;
		margin-bottom: 10px;
		padding: 1em;
		border-radius: 12px;
	}

	.we-filters-buttons {
		flex-direction: column;
		gap: 5px;
	}

	.we-filter-group ul {
		flex-direction: column;
		gap: 8px;
	}

	#we-active-filters {
		font-size: 14px;
		gap: 5px;
	}
}
