.easf-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 1rem;
	width: 100%;
}

.easf-filter {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	min-width: 10rem;
	flex: 1 1 10rem;
}

.easf-filter__label {
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.3;
}

.easf-filter__select {
	width: 100%;
	appearance: none;
	-webkit-appearance: none;
	border: 1px solid #cfcfcf;
	border-radius: 4px;
	background-color: #fff;
	background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
		linear-gradient(135deg, currentColor 50%, transparent 50%);
	background-position: calc(100% - 14px) calc(50% + 2px), calc(100% - 9px) calc(50% + 2px);
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	padding: 0.65rem 2rem 0.65rem 0.75rem;
	font: inherit;
	line-height: 1.3;
	color: inherit;
	cursor: pointer;
}

.easf-filter__select:focus {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.easf-filter__select:disabled,
.easf-filter__search:disabled {
	opacity: 0.6;
	cursor: wait;
}

.easf-filter--actions {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 0.5rem;
	/* Escritorio: junto al último select */
	flex: 0 0 auto;
	width: auto;
	min-width: auto;
}

.easf-filter__search {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #1a1a1a;
	border-radius: 4px;
	padding: 0.65rem 1.25rem;
	font: inherit;
	cursor: pointer;
	line-height: 1.3;
	background: #1a1a1a;
	color: #fff;
	transition-property: color, background-color, border-color, box-shadow, opacity;
	transition-timing-function: ease;
	text-decoration: none;
	white-space: nowrap;
}

.easf-filter__search-content {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.easf-filter__search-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.easf-filter__search-icon svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.easf-filter__search-text {
	display: inline-block;
}

.easf-filters--loading {
	pointer-events: none;
	opacity: 0.85;
}

.easf-filters--empty {
	padding: 0.75rem;
	border: 1px dashed #cfcfcf;
	color: #666;
}

.easf-empty-results {
	width: 100%;
	padding: 2rem 1rem;
	text-align: center;
}

.easf-loop-item {
	width: 100%;
}

/* Tablet / móvil: el botón ocupa la fila y respeta la alineación */
@media (max-width: 1024px) {
	.easf-filter--actions {
		flex: 1 1 100%;
		width: 100%;
		min-width: 100%;
	}
}

@media (max-width: 767px) {
	.easf-filter {
		flex: 1 1 100%;
		min-width: 100%;
	}
}
