.adjdf-filter-heading {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 12px;
	color: inherit;
}

.adjdf-filter {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px;
	font-family: inherit;
}

.adjdf-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

/* "Min/Max Width" Elementor control: 50/50 side-by-side (default) vs
   100% full-width stacked fields. */
.adjdf-layout-half .adjdf-field {
	flex: 1 1 0;
	min-width: 0;
}

.adjdf-layout-half .adjdf-select {
	width: 100%;
}

.adjdf-layout-full .adjdf-field {
	flex: 1 1 100%;
}

.adjdf-layout-full .adjdf-select {
	width: 100%;
}

.adjdf-label {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--adjdf-label-color, #555);
}

.adjdf-select {
	appearance: none;
	-webkit-appearance: none;
	background: var(--adjdf-bg, #fff) url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23666'/%3E%3C/svg%3E") no-repeat right 12px center;
	border: 1px solid var(--adjdf-border, #d5d8dc);
	border-radius: 6px;
	padding: 10px 32px 10px 14px;
	font-size: 14px;
	color: var(--adjdf-text, #1d2327);
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.adjdf-select:focus {
	outline: none;
	border-color: var(--adjdf-focus, #2271b1);
	box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.15);
}

.adjdf-btn {
	border: none;
	border-radius: 6px;
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: opacity 0.15s ease, transform 0.05s ease;
}

.adjdf-btn:active {
	transform: translateY(1px);
}

.adjdf-btn-apply {
	background: var(--adjdf-primary, #2271b1);
	color: #fff;
}

.adjdf-btn-apply:hover {
	opacity: 0.9;
}

.adjdf-btn-reset {
	background: transparent;
	color: var(--adjdf-text, #1d2327);
	border: 1px solid var(--adjdf-border, #d5d8dc);
}

.adjdf-btn-reset:hover {
	background: rgba(0, 0, 0, 0.03);
}

.adjdf-filter.adjdf-loading {
	position: relative;
	opacity: 0.7;
	pointer-events: none;
}

.adjdf-filter.adjdf-loading::after {
	content: "";
	position: absolute;
	right: -26px;
	top: 50%;
	width: 16px;
	height: 16px;
	margin-top: -8px;
	border: 2px solid var(--adjdf-border, #d5d8dc);
	border-top-color: var(--adjdf-primary, #2271b1);
	border-radius: 50%;
	animation: adjdf-spin 0.6s linear infinite;
}

@keyframes adjdf-spin {
	to {
		transform: rotate(360deg);
	}
}

.adjdf-results-list {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
}

.adjdf-results-list li + li {
	margin-top: 6px;
}

[dir="rtl"] .adjdf-select {
	background-position: left 12px center;
	padding: 10px 14px 10px 32px;
}
