/* NDH Filtros para Elementor — identidad Norte Digital Holding */
.ndhf-wrapper {
	--ndhf-naranja: #F54830;
	--ndhf-negro: #2B2B2B;
	--ndhf-gris-oscuro: #878787;
	--ndhf-gris-claro: #E0E0E0;
	--ndhf-blanco: #ffffff;
	font-family: 'Arimo', Arial, sans-serif;
	color: var(--ndhf-negro);
}

.ndhf-filters {
	background: var(--ndhf-blanco);
	border: 1px solid var(--ndhf-gris-claro);
	border-radius: 10px;
	padding: 18px 18px 8px;
}

.ndhf-filters__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}
.ndhf-filters__title {
	font-family: 'Gemunu Libre', sans-serif;
	font-size: 22px;
	font-weight: 700;
	margin: 0;
}
.ndhf-clear {
	background: none;
	border: none;
	color: var(--ndhf-naranja);
	font-size: 13px;
	cursor: pointer;
	padding: 0;
	text-decoration: underline;
}

.ndhf-search__input {
	width: 100%;
	padding: 9px 12px;
	border: 1px solid var(--ndhf-gris-claro);
	border-radius: 8px;
	font-size: 14px;
	margin-bottom: 18px;
	box-sizing: border-box;
}
.ndhf-search__input:focus { outline: none; border-color: var(--ndhf-naranja); }

.ndhf-group { border-top: 1px solid var(--ndhf-gris-claro); padding: 14px 0; }
.ndhf-group__title {
	font-family: 'Gemunu Libre', sans-serif;
	font-size: 16px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .3px;
	margin: 0 0 10px;
}
.ndhf-group__list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 220px;
	overflow-y: auto;
}
.ndhf-group__list li { margin-bottom: 7px; }

.ndhf-check {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	cursor: pointer;
}
.ndhf-check input[type="checkbox"] {
	accent-color: var(--ndhf-naranja);
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}
.ndhf-count { color: var(--ndhf-gris-oscuro); font-style: normal; font-size: 12px; }

/* Precio */
.ndhf-price__inputs { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.ndhf-price__inputs input {
	width: 100%;
	padding: 6px 8px;
	border: 1px solid var(--ndhf-gris-claro);
	border-radius: 6px;
	font-size: 13px;
	box-sizing: border-box;
}
.ndhf-price__sep { color: var(--ndhf-gris-oscuro); }
.ndhf-price__slider { position: relative; height: 32px; }
.ndhf-price__track {
	position: absolute; top: 14px; left: 0; right: 0; height: 4px;
	background: var(--ndhf-gris-claro); border-radius: 4px;
}
.ndhf-price__fill { position: absolute; height: 100%; background: var(--ndhf-naranja); border-radius: 4px; }
.ndhf-price__range {
	position: absolute; top: 0; left: 0; width: 100%; margin: 0;
	background: none; pointer-events: none;
	-webkit-appearance: none; appearance: none; height: 32px;
}
.ndhf-price__range::-webkit-slider-thumb {
	-webkit-appearance: none; pointer-events: auto;
	width: 16px; height: 16px; border-radius: 50%;
	background: var(--ndhf-naranja); border: 2px solid var(--ndhf-blanco);
	box-shadow: 0 1px 3px rgba(0,0,0,.3); cursor: pointer;
}
.ndhf-price__range::-moz-range-thumb {
	pointer-events: auto; width: 16px; height: 16px; border-radius: 50%;
	background: var(--ndhf-naranja); border: 2px solid var(--ndhf-blanco); cursor: pointer;
}

/* Estado de carga del Loop Grid mientras filtra */
.ndhf-is-loading { opacity: .45; transition: opacity .2s; pointer-events: none; position: relative; }

/* Toggle mobile (colores/tamaños/breakpoint los define la pestaña Estilos) */
.ndhf-toggle-mobile {
	padding: 12px 18px;
	font-weight: 600;
	cursor: pointer;
	width: 100%;
	margin-bottom: 14px;
}

/* Aviso de error para admins */
.ndhf-error {
	background: #fff3f1;
	border: 1px solid var(--ndhf-naranja, #F54830);
	color: #b3301e;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 14px;
}

/* Botón Cargar más (paginación propia al filtrar) */
.ndhf-load-more {
	display: block;
	margin: 28px auto 0;
	background: var(--ndhf-naranja, #F54830);
	color: #fff;
	border: none;
	padding: 12px 28px;
	border-radius: var(--ndhf-radio, 8px);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	font-family: var(--ndhf-font-titulos, inherit);
	transition: opacity .2s;
}
.ndhf-load-more:hover { opacity: .88; }
