
.engnai-af-panel,
.engnai-af-meta,
.engnai-af-chips,
.engnai-af-shell {
	box-sizing: border-box;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.engnai-af-shell {
	position: relative;
}

.engnai-af-panel {
	background: #fff;
	border: 1px solid rgba(16,24,58,.08);
	border-radius: 24px;
	padding: 18px;
	box-shadow: 0 14px 32px rgba(16,24,58,.05);
}

.engnai-af-panel__head {
	font-size: 20px;
	font-weight: 900;
	margin-bottom: 14px;
	color: #10183a;
}

.engnai-af-accordion {
	border-top: 1px solid rgba(16,24,58,.06);
}

.engnai-af-accordion:first-of-type {
	border-top: 0;
}

.engnai-af-accordion__summary {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 0;
	font-size: 14px;
	font-weight: 800;
	color: #10183a;
	cursor: pointer;
	user-select: none;
}

.engnai-af-accordion__summary::-webkit-details-marker {
	display: none;
}

.engnai-af-accordion__summary strong {
	width: 26px;
	height: 26px;
	border-radius: 999px;
	background: #f5f7fb;
	border: 1px solid rgba(16,24,58,.06);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	line-height: 1;
	transition: transform .2s ease, background-color .2s ease;
}

.engnai-af-accordion[open] .engnai-af-accordion__summary strong {
	transform: rotate(45deg);
	background: rgba(169,21,70,.08);
}

.engnai-af-accordion__body {
	padding: 0 0 14px;
}

.engnai-af-options {
	display: grid;
	gap: 10px;
	max-height: 220px;
	overflow: auto;
	padding-inline-end: 4px;
}

.engnai-af-check {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: #10183a;
	line-height: 1.5;
	cursor: pointer;
}

.engnai-af-check input {
	accent-color: #a91546;
}

.engnai-af-input,
.engnai-af-select {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border-radius: 14px;
	border: 1px solid rgba(16,24,58,.12);
	background: #fff;
	font: inherit;
	color: #10183a;
}

.engnai-af-price {
	display: grid;
	gap: 12px;
}

.engnai-af-price__values,
.engnai-af-price__bounds {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.engnai-af-price__values {
	font-size: 14px;
	font-weight: 900;
	color: #10183a;
}

.engnai-af-price__sep {
	color: rgba(16,24,58,.34);
	font-weight: 700;
}

.engnai-af-price__bounds {
	font-size: 12px;
	color: #7d8599;
	font-weight: 700;
}

.engnai-af-price__slider {
	position: relative;
	height: 28px;
	display: flex;
	align-items: center;
}

.engnai-af-price__track,
.engnai-af-price__range {
	position: absolute;
	left: 0;
	right: 0;
	height: 6px;
	border-radius: 999px;
}

.engnai-af-price__track {
	background: #eef2f7;
}

.engnai-af-price__range {
	background: linear-gradient(90deg, #10183a 0%, #a91546 100%);
}

.engnai-af-price__input {
	position: absolute;
	left: 0;
	width: 100%;
	height: 28px;
	margin: 0;
	padding: 0;
	background: transparent;
	pointer-events: none;
	-webkit-appearance: none;
	appearance: none;
	border: 0;
}

.engnai-af-price__input::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	border: 3px solid #10183a;
	box-shadow: 0 6px 14px rgba(16,24,58,.15);
	cursor: pointer;
	pointer-events: auto;
}

.engnai-af-price__input::-moz-range-thumb {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	border: 3px solid #10183a;
	box-shadow: 0 6px 14px rgba(16,24,58,.15);
	cursor: pointer;
	pointer-events: auto;
}

.engnai-af-price__input::-webkit-slider-runnable-track,
.engnai-af-price__input::-moz-range-track {
	background: transparent;
}

.engnai-af-actions,
.engnai-af-mobile-actions {
	display: flex;
	gap: 10px;
	margin-top: 18px;
	flex-wrap: wrap;
}

.engnai-af-btn {
	min-height: 44px;
	padding: 10px 16px;
	border-radius: 14px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 900;
	transition: .2s ease;
}

.engnai-af-btn--primary {
	border: 0;
	background: #10183a;
	color: #fff;
}

.engnai-af-btn--ghost {
	background: #f5f7fb;
	color: #10183a;
	border: 1px solid rgba(16,24,58,.08);
}

.engnai-af-btn:hover {
	transform: translateY(-1px);
}

.engnai-af-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}

.engnai-af-meta__count {
	font-size: 15px;
	font-weight: 800;
	color: #10183a;
}

.engnai-af-sort {
	margin: 0;
}

.engnai-af-chips {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}

.engnai-af-chip {
	min-height: 38px;
	padding: 8px 12px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid rgba(16,24,58,.08);
	text-decoration: none;
	color: #10183a;
	font-size: 13px;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	box-shadow: 0 8px 18px rgba(16,24,58,.03);
}

.engnai-af-chip strong {
	font-size: 16px;
	line-height: 1;
}

.engnai-af-chip--clear {
	background: #10183a;
	color: #fff;
}

.engnai-af-mobile-trigger {
	display: none;
	width: 100%;
	min-height: 50px;
	padding: 10px 16px;
	border-radius: 16px;
	border: 1px solid rgba(16,24,58,.08);
	background: rgba(255,255,255,.92);
	color: #10183a;
	box-shadow: 0 12px 26px rgba(16,24,58,.05);
	font: inherit;
	font-weight: 900;
	align-items: center;
	justify-content: center;
	gap: 10px;
	cursor: pointer;
	margin-bottom: 14px;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.engnai-af-mobile-trigger__icon {
	font-size: 16px;
	line-height: 1;
}

.engnai-af-drawer__header,
.engnai-af-mobile-actions {
	display: none;
}

.engnai-af-mobile-overlay {
	display: none;
}

body.engnai-af-no-scroll {
	overflow: hidden;
}

.engnai-af-loading-target {
	position: relative;
	transition: opacity .2s ease;
}

.engnai-af-loading-target.is-loading {
	opacity: .55;
	pointer-events: none;
}

.engnai-af-loading-target.is-loading::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255,255,255,.28);
	backdrop-filter: blur(1px);
	-webkit-backdrop-filter: blur(1px);
}

@media (max-width: 767px) {
	.engnai-af-meta {
		align-items: stretch;
	}

	.engnai-af-mobile-trigger {
		display: inline-flex;
		position: sticky;
		top: 10px;
		z-index: 40;
	}

	.engnai-af-shell--drawer .engnai-af-drawer {
		position: fixed;
		top: 0;
		right: 0;
		height: 100dvh;
		width: min(92vw, 390px);
		max-width: 100%;
		background: #fff;
		z-index: 99999;
		transform: translateX(104%);
		transition: transform .3s cubic-bezier(.22,.61,.36,1);
		box-shadow: -18px 0 40px rgba(16,24,58,.14);
		display: flex;
		flex-direction: column;
	}

	[dir="ltr"] .engnai-af-shell--drawer .engnai-af-drawer {
		right: auto;
		left: 0;
		transform: translateX(-104%);
		box-shadow: 18px 0 40px rgba(16,24,58,.14);
	}

	.engnai-af-shell--drawer.is-open .engnai-af-drawer {
		transform: translateX(0);
	}

	.engnai-af-shell--drawer .engnai-af-mobile-overlay {
		position: fixed;
		inset: 0;
		background: rgba(16,24,58,.38);
		backdrop-filter: blur(2px);
		-webkit-backdrop-filter: blur(2px);
		z-index: 99998;
		opacity: 0;
		pointer-events: none;
		transition: opacity .25s ease;
		display: block;
	}

	.engnai-af-shell--drawer.is-open .engnai-af-mobile-overlay {
		opacity: 1;
		pointer-events: auto;
	}

	.engnai-af-shell--drawer .engnai-af-drawer__header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 14px;
		padding: 16px 16px 12px;
		border-bottom: 1px solid rgba(16,24,58,.06);
		background: #fff;
		position: sticky;
		top: 0;
		z-index: 2;
	}

	.engnai-af-shell--drawer .engnai-af-drawer__header strong {
		font-size: 18px;
		font-weight: 900;
		color: #10183a;
	}

	.engnai-af-shell--drawer .engnai-af-drawer__close {
		width: 40px;
		height: 40px;
		border-radius: 12px;
		border: 1px solid rgba(16,24,58,.08);
		background: #fff;
		font: inherit;
		font-size: 24px;
		line-height: 1;
		cursor: pointer;
		color: #10183a;
	}

	.engnai-af-shell--drawer .engnai-af-panel {
		border: 0;
		border-radius: 0;
		box-shadow: none;
		padding: 16px;
		height: 100%;
		overflow: auto;
	}

	.engnai-af-shell--drawer .engnai-af-panel__head {
		display: none;
	}

	.engnai-af-shell--drawer .engnai-af-actions {
		display: none;
	}

	.engnai-af-shell--drawer .engnai-af-mobile-actions {
		display: flex;
		position: sticky;
		bottom: 0;
		padding-top: 14px;
		background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.92) 24%, #fff 100%);
		margin-top: 12px;
	}

	.engnai-af-shell--drawer .engnai-af-mobile-actions .engnai-af-btn {
		flex: 1 1 0;
	}
}
