/* Filtres biens (maquette « Page acheter » > Filtre). Tailles calées sur une maquette 1920 px. */
.eni-filtres {
	--eni-orange: var(--e-global-color-primary, #fe6000);
	display: grid;
	grid-template-columns: minmax(0, 267fr) minmax(0, 318fr) minmax(0, 376fr) minmax(0, 376fr);
	gap: clamp(16px, 3.4vw, 65px);
	align-items: center;
	width: 100%;
	font-family: inherit;
}
.eni-filtres__select {
	position: relative;
}
.eni-filtres__select select {
	width: 100%;
	height: clamp(48px, 3.18vw, 61px);
	padding: 0 clamp(40px, 2.6vw, 50px) 0 clamp(14px, 0.78vw, 15px);
	border: 0;
	border-radius: 15px;
	background: #fff;
	color: #1e1e1e;
	font: inherit;
	/* Même taille que les textes du site (typographie globale « Texte »). */
	font-size: var(--e-global-typography-text-font-size, clamp(16px, 1.25vw, 24px));
	line-height: 1.2;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}
.eni-filtres__select::after { /* flèche vers le bas */
	content: "";
	position: absolute;
	top: 50%;
	right: clamp(16px, 1vw, 20px);
	width: clamp(9px, 0.6vw, 12px);
	height: clamp(9px, 0.6vw, 12px);
	border-right: 2px solid #1e1e1e;
	border-bottom: 2px solid #1e1e1e;
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}
.eni-filtres__select select:focus-visible,
.eni-filtres__num input:focus-visible {
	outline: 2px solid var(--eni-orange);
	outline-offset: 2px;
}
.eni-filtres__range {
	display: flex;
	flex-direction: column;
	gap: clamp(6px, 0.5vw, 10px);
	min-width: 0;
}
.eni-filtres__label {
	color: #fff;
	font-size: clamp(16px, 1.56vw, 30px);
	line-height: 1.15;
}
.eni-filtres__slider {
	position: relative;
	height: 26px;
}
.eni-filtres__track {
	position: absolute;
	top: 50%;
	left: 13px;
	right: 13px;
	height: 4px;
	transform: translateY(-50%);
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.6);
}
.eni-filtres__track span {
	position: absolute;
	top: 0;
	bottom: 0;
	background: var(--eni-orange);
}
.eni-filtres__slider input[type="range"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 26px;
	margin: 0;
	background: none;
	pointer-events: none;
	appearance: none;
	-webkit-appearance: none;
}
.eni-filtres__slider input[type="range"]::-webkit-slider-runnable-track { background: none; border: 0; }
.eni-filtres__slider input[type="range"]::-moz-range-track { background: none; border: 0; }
.eni-filtres__slider input[type="range"]::-webkit-slider-thumb {
	width: 26px;
	height: 26px;
	border: 0;
	border-radius: 50%;
	background: var(--eni-orange);
	cursor: pointer;
	pointer-events: auto;
	-webkit-appearance: none;
}
.eni-filtres__slider input[type="range"]::-moz-range-thumb {
	width: 26px;
	height: 26px;
	border: 0;
	border-radius: 50%;
	background: var(--eni-orange);
	cursor: pointer;
	pointer-events: auto;
}
.eni-filtres__inputs {
	display: flex;
	justify-content: space-between;
	gap: 12px;
}
.eni-filtres__num {
	display: flex;
	flex: 0 1 174px;
	min-width: 0;
	height: clamp(40px, 2.5vw, 48px);
	border: 1px solid var(--eni-orange);
	border-radius: 5px;
	overflow: hidden;
}
.eni-filtres__num input {
	flex: 1;
	min-width: 0;
	padding: 0 clamp(8px, 0.94vw, 18px);
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #fff;
	font: inherit;
	font-size: clamp(14px, 1.04vw, 20px);
	-moz-appearance: textfield;
}
.eni-filtres__num input::placeholder { color: #fff; opacity: 1; }
.eni-filtres__num input::-webkit-outer-spin-button,
.eni-filtres__num input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.eni-filtres__num span {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 clamp(40px, 3.13vw, 60px);
	background: var(--eni-orange);
	color: #fff;
	font-size: clamp(14px, 1.04vw, 20px);
}
.eni-filtres__vide {
	margin: 0 0 2em;
	text-align: center;
	font-size: 1.1em;
}
.eni-filtres__vide a { color: var(--eni-orange); }
.eni-grille-charge { opacity: 0.45; transition: opacity 0.2s; pointer-events: none; }

@media (max-width: 1024px) {
	.eni-filtres { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; }
}
@media (max-width: 767px) {
	.eni-filtres { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.eni-filtres__range { margin-top: 6px; }
}
