.hif-filters--bar {
	display: block;
	width: 100%;
}

.hif-filters--builder-preview {
	padding-bottom: 0.5rem;
}

.hif-bar--preview .hif-bar__toggle {
	pointer-events: none;
}

.hif-filters__builder-note {
	width: 100%;
	margin: 10px 0 0;
	font-size: 12px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.55);
	text-align: center;
}

.hif-filters--placeholder {
	padding: 1rem;
	border: 1px dashed rgba(255, 255, 255, 0.35);
	color: rgba(255, 255, 255, 0.7);
	text-align: center;
}

.hif-filters--bar .hif-bar {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 15px;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.hif-filters--bar .hif-bar__dropdown {
	position: relative;
	width: var(--hif-dropdown-width, 160px);
	flex: none;
}

.hif-filters--bar .hif-bar__toggle {
	appearance: none;
	-webkit-appearance: none;
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 0 16px 0 18px;
	border: 1.5px solid rgba(255, 255, 255, 0.3);
	border-radius: 10px;
	background: transparent;
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	color: #fff;
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 19px;
	text-transform: capitalize;
	cursor: pointer;
}

.hif-filters--bar .hif-bar__toggle-label {
	flex: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	opacity: 0.8;
	text-align: left;
}

.hif-filters--bar .hif-bar__chevron {
	display: inline-block;
	width: 7px;
	height: 12px;
	background: currentColor;
	clip-path: polygon(0 0, 100% 50%, 0 100%);
	transform: rotate(90deg);
	flex: none;
	opacity: 0.9;
}

.hif-filters--bar .hif-bar__dropdown.is-open .hif-bar__chevron {
	transform: rotate(-90deg);
}

.hif-filters--bar .hif-bar__menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 100;
	min-width: 100%;
	max-height: 280px;
	margin: 0;
	padding: 8px 0;
	overflow: auto;
	list-style: none;
	border: 1.5px solid rgba(255, 255, 255, 0.25);
	border-radius: 10px;
	background: rgba(12, 12, 12, 0.96);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.hif-filters--bar .hif-bar__menu[hidden] {
	display: none;
}

.hif-filters--bar .hif-bar__option {
	appearance: none;
	-webkit-appearance: none;
	display: block;
	width: 100%;
	margin: 0;
	padding: 10px 16px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: rgba(255, 255, 255, 0.85);
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	text-align: left;
	cursor: pointer;
}

.hif-filters--bar .hif-bar__option:hover,
.hif-filters--bar .hif-bar__option.is-selected {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.hif-filters--bar .hif-bar__toggle:disabled {
	cursor: not-allowed;
}

.hif-filters--bar .hif-bar--busy .hif-bar__dropdown {
	pointer-events: none;
}

.hif-filters--bar .hif-bar--busy .hif-bar__toggle {
	opacity: 0.45;
	cursor: not-allowed;
	border-color: rgba(255, 255, 255, 0.15);
	color: rgba(255, 255, 255, 0.55);
}

.hif-filters--bar .hif-bar--busy .hif-bar__toggle-label {
	opacity: 0.65;
}

.hif-filters--bar .hif-bar--busy .hif-bar__chevron {
	opacity: 0.4;
}

.hif-filters--bar .hif-filters__status {
	width: 100%;
	margin: 0;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.65);
	text-align: center;
}

.hif-filters--bar .hif-filters__status[hidden] {
	display: none;
}

@media (max-width: 991px) {
	.hif-filters--bar .hif-bar {
		justify-content: flex-start;
	}

	.hif-filters--bar .hif-bar__dropdown {
		width: calc(50% - 8px);
		min-width: 150px;
	}
}

@media (max-width: 575px) {
	.hif-filters--bar .hif-bar__dropdown {
		width: 100%;
	}
}
