.dynfilt { margin-bottom: 20px; }
.dynfilt-label { font-weight: 600; margin-bottom: 8px; }
.dynfilt-options { display: flex; flex-direction: column; gap: 6px; }
.dynfilt-option { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.dynfilt-option input { margin: 0; }

.dynfilt-select select,
.dynfilt-sorting select,
.dynfilt-search input {
	width: 100%;
	padding: 9px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
}

.dynfilt-range-inputs { display: flex; align-items: center; gap: 8px; }
.dynfilt-range-inputs input {
	width: 100%;
	padding: 9px 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
}

/* Slider de rango doble */
.dynfilt-slider {
	position: relative;
	height: 20px;
	margin: 10px 2px 4px;
}
.dynfilt-slider-track {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 4px;
	transform: translateY(-50%);
	background: #e0e0e0;
	border-radius: 2px;
}
.dynfilt-slider-progress {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: #2271b1;
	border-radius: 2px;
}
.dynfilt-slider input[type="range"] {
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	transform: translateY(-50%);
	margin: 0;
	background: transparent;
	pointer-events: none;
	-webkit-appearance: none;
	appearance: none;
}
.dynfilt-slider input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	pointer-events: auto;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid #2271b1;
	cursor: grab;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.dynfilt-slider input[type="range"]::-moz-range-thumb {
	pointer-events: auto;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid #2271b1;
	cursor: grab;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.dynfilt-slider input[type="range"]::-moz-range-track { background: transparent; }
.dynfilt-slider-values {
	display: flex;
	justify-content: space-between;
	font-size: 0.92em;
	font-weight: 600;
}

/* Chips de filtros activos */
.dynfilt-active { display: none; }
.dynfilt-active.has-chips { display: block; }
.dynfilt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dynfilt-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border: 0;
	border-radius: 16px;
	background: #eef3f8;
	color: #1d2327;
	font-size: 0.9em;
	cursor: pointer;
	line-height: 1.4;
}
.dynfilt-chip:hover { background: #dde7f0; }
.dynfilt-chip-x { font-size: 1.15em; line-height: 1; opacity: 0.6; }
.dynfilt-chip:hover .dynfilt-chip-x { opacity: 1; }
.dynfilt-chip-clear {
	background: transparent;
	text-decoration: underline;
	color: #2271b1;
}
.dynfilt-chip-clear:hover { background: transparent; }

.dynfilt-buttons { display: flex; gap: 10px; margin-bottom: 20px; }
.dynfilt-apply,
.dynfilt-reset {
	padding: 10px 20px;
	border-radius: 6px;
	border: 0;
	cursor: pointer;
	font-weight: 600;
}
.dynfilt-apply { background: #2271b1; color: #fff; }
.dynfilt-reset { background: #f0f0f1; color: #333; }
