/**
 * FSH Hotel Directory Filters
 * Developed by Farhan Shariar — https://farhanshariar.dev/
 */
.fsh-hdf {
	--fsh-accent: #ef3f3f;
	--fsh-text: #171717;
	--fsh-border: #e4e4e4;
	width: 100%;
	margin: 0;
}

.fsh-hdf__search {
	display: flex;
	align-items: stretch;
	width: 100%;
	max-width: 760px;
	margin: 0;
}

.fsh-hdf__field {
	display: flex;
	align-items: center;
	flex: 1 1 auto;
	min-width: 0;
	height: 52px;
	background: #fff;
	border: 1px solid var(--fsh-border);
	border-right: 0;
	border-radius: 4px 0 0 4px;
	overflow: hidden;
}

.fsh-hdf__search-icon {
	position: static !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	margin: 0 0 0 16px;
	padding: 0;
	color: #59616b;
	transform: none !important;
	pointer-events: none;
}

.fsh-hdf__search-icon svg {
	display: block;
	width: 20px;
	height: 20px;
	margin: 0;
}

.fsh-hdf__search-input,
.fsh-hdf__search-input[type="search"] {
	display: block;
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	height: 50px;
	margin: 0 !important;
	padding: 0 16px 0 11px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--fsh-text);
	font: inherit;
	font-size: 15px;
	line-height: 50px;
	box-shadow: none !important;
	outline: 0;
	appearance: none;
	-webkit-appearance: none;
}

.fsh-hdf__search-input:focus {
	border: 0 !important;
	box-shadow: none !important;
	outline: 0;
}

.fsh-hdf__search-input::-webkit-search-cancel-button {
	cursor: pointer;
}

.fsh-hdf__field:focus-within {
	border-color: #bdbdbd;
	box-shadow: 0 0 0 1px #bdbdbd inset;
}

.fsh-hdf__search-button {
	flex: 0 0 auto;
	min-width: 138px;
	height: 52px;
	margin: 0;
	padding: 0 22px;
	border: 1px solid var(--fsh-accent);
	border-radius: 0 4px 4px 0;
	background: var(--fsh-accent);
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
	transition: opacity 0.2s ease;
}

.fsh-hdf__search-button:hover,
.fsh-hdf__search-button:focus {
	background: var(--fsh-accent);
	color: #fff;
	opacity: 0.92;
}

.fsh-hotel-grid.is-fsh-loading {
	opacity: 0.45;
	pointer-events: none;
	transition: opacity 0.18s ease;
}

@media (max-width: 480px) {
	.fsh-hdf__search {
		flex-wrap: wrap;
		gap: 8px;
	}

	.fsh-hdf__field {
		flex-basis: 100%;
		border-right: 1px solid var(--fsh-border);
		border-radius: 4px;
	}

	.fsh-hdf__search-button {
		width: 100%;
		border-radius: 4px;
	}
}
