/* NX::Merchant Store Pro — Filtros de categoría (Fase 7) */

.nx-productos-layout {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 30px;
	align-items: start;
}

@media (max-width: 900px) {
	.nx-productos-layout {
		grid-template-columns: 1fr;
	}
}

.nx-filtros {
	position: sticky;
	top: 20px;
	padding: 18px;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	background: #fafafa;
}

.nx-filtros-cabecera {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}

.nx-filtros-cabecera h3 {
	margin: 0;
}

.nx-filtros-limpiar {
	border: none;
	background: none;
	color: #2c7a4b;
	font-size: 0.85rem;
	cursor: pointer;
	text-decoration: underline;
	padding: 0;
}

.nx-filtro-grupo {
	border: none;
	padding: 0;
	margin: 0 0 18px;
}

.nx-filtro-grupo legend {
	font-weight: 700;
	font-size: 0.9rem;
	margin-bottom: 8px;
	padding: 0;
}

.nx-filtro-opcion {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 0.9rem;
	margin-bottom: 6px;
	cursor: pointer;
	font-weight: normal;
}

.nx-filtro-precio-campos {
	display: flex;
	align-items: center;
	gap: 6px;
}

.nx-filtro-precio-campos input {
	width: 0;
	flex: 1;
	padding: 6px 8px;
	border: 1px solid #ddd;
	border-radius: 6px;
}

.nx-filtro-precio-campos span {
	color: #999;
}

.nx-filtros-aplicar {
	width: 100%;
	justify-content: center;
	margin-top: 4px;
}

.nx-productos-resultados-cabecera {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 16px;
}

.nx-productos-orden {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.9rem;
}

.nx-productos-orden select {
	padding: 6px 10px;
	border: 1px solid #ddd;
	border-radius: 6px;
}

#nx-productos-grid-wrap {
	transition: opacity 0.15s ease;
}

#nx-productos-grid-wrap.is-cargando {
	opacity: 0.5;
	pointer-events: none;
}

.nx-productos-sin-resultados {
	padding: 30px 0;
	color: #777;
	text-align: center;
}

#nx-productos-paginacion {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 26px;
}

#nx-productos-paginacion .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	padding: 0 8px;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	text-decoration: none;
	color: #333;
	font-size: 0.9rem;
}

#nx-productos-paginacion .page-numbers.current {
	background: #2c7a4b;
	border-color: #2c7a4b;
	color: #fff;
}

#nx-productos-paginacion .page-numbers.dots {
	border: none;
}
