.smart-search-form {
	background: rgba(255, 255, 255, 0.15);
	border-radius: 0.5rem;
	color: #4a4a4a !important;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 auto;
	max-width: 950px;
	padding: 1rem;
}
.smart-search-form .form-group {
	display: flex;
	flex: 1 1 auto;
}
.smart-search-form .form-group input,
.smart-search-form .form-group select {
	appearance: none;
	background-color: #fff;
	border: none;
	border-radius: 0.25rem;
	box-sizing: border-box;
	color: #4a4a4a;
	height: 2.75rem;
	line-height: 2.75rem;
	padding: 0 1rem;
	width: 100%;
}
.smart-search-form .form-group select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url('data:image/svg+xml;utf8,<svg fill="black" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	background-size: 1rem;
	padding-right: 2rem;
}
.smart-search-form .smart-search-keyword-filter {
	order: 1;
}
.smart-search-form .smart-search-term-filter {
	order: 2;
}
.smart-search-form .smart-search-submit {
	align-self: flex-start;
	border: none;
	border-radius: 0.25rem;
	height: 2.75rem;
	order: 3;
	padding: 0.5rem 1.25rem;
	white-space: nowrap;
	cursor: pointer;
	color: #fff;
	background-color: var(--wp--preset--color--primary);
	border: none;
	transition: background-color 0.3s ease;
}
.smart-search-form .smart-search-submit:hover {
	background-color: var(--wp--preset--color--secondary);
}
@media (max-width: 575.98px) {
	.smart-search-form .smart-search-form {
		flex-direction: column;
	}
	.smart-search-form .smart-search-form .smart-search-submit {
		width: 100%;
	}
}
.loading-spinner {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 50px;
}
.loading-spinner::after {
	content: '';
	width: 30px;
	height: 30px;
	border: 4px solid #ccc;
	border-top-color: var(--wp--preset--color--primary);
	border-radius: 50%;
	animation: spin 1s linear infinite;
}
#smart-search-results {
	-webkit-overflow-scrolling: touch;
	max-width: 100%;
	overflow-x: auto;
	position: relative;
	width: 100%;
}
#smart-search-results:focus {
	outline: 0;
}
#smart-search-results h3 {
	margin-bottom: 1.25rem;
	margin-top: 2rem;
}
#smart-search-results .listing-phone-number a:link,
#smart-search-results .listing-phone-number a:visited {
	color: var(--wp--preset--color--body);
}
#smart-search-results .listing-phone-number a:active,
#smart-search-results .listing-phone-number a:hover {
	color: var(--wp--preset--color--primary);
}
#smart-search-results .smart-search-results-table {
	border-collapse: collapse;
	line-height: 1.3;
	min-width: 600px;
	width: 100%;
}
#smart-search-results .smart-search-results-table td:nth-child(1),
#smart-search-results .smart-search-results-table th:nth-child(1) {
	width: 50%;
}
#smart-search-results .smart-search-results-table td:nth-child(2),
#smart-search-results .smart-search-results-table th:nth-child(2) {
	width: 30%;
}
#smart-search-results .smart-search-results-table td:nth-child(3),
#smart-search-results .smart-search-results-table th:nth-child(3) {
	width: 20%;
}
#smart-search-results .smart-search-results-table thead {
	background-color: #edf2f1;
	color: var(--wp--preset--color--secondary);
	font-family: var(--wp--preset--font-family--congenial);
	border-bottom: 3px solid #d8e0e0;
	text-align: left;
}
#smart-search-results .smart-search-results-table tr:not(.child-term) td,
#smart-search-results .smart-search-results-table tr:not(.child-term) th {
	border-bottom: 1px solid #d8e0e0;
	padding: 0.75rem 1rem;
	text-align: left;
	vertical-align: top;
}
#smart-search-results .smart-search-results-table tr.child-term td {
	padding: 0.75rem 1rem;
	padding-bottom: 0;
}
#smart-search-results .smart-search-results-table .listing-title {
	font-weight: 600;
}
#smart-search-results .smart-search-results-table .dashicon-link {
	display: flex;
	font-size: 0.9rem;
	font-weight: 600;
	padding-bottom: 0.25rem;
	vertical-align: text-bottom;
}
#smart-search-results .smart-search-results-table .dashicon-link .dashicons {
	align-items: center;
	background: var(--wp--preset--color--primary);
	border-radius: 1.1rem;
	color: var(--wp--preset--color--white);
	display: inline-flex;
	font-size: 0.9rem;
	height: 1.1rem;
	justify-content: center;
	margin-right: 0.35rem;
	width: 1.1rem;
}
#smart-search-results .smart-search-results-table .dashicon-link:hover {
	color: var(--wp--preset--color--primary);
}
#smart-search-results .smart-search-results-table .toggle-description-button {
	border: none;
	background: 0 0;
	color: var(--wp--preset--color--turquoise);
}
#smart-search-results
	.smart-search-results-table
	.toggle-description-button:hover {
	color: var(--wp--preset--color--primary);
}
#smart-search-results .smart-search-results-table .description-content {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition:
		max-height 0.4s ease,
		opacity 0.4s ease,
		padding 0.3s ease;
	padding: 0;
}
#smart-search-results
	.smart-search-results-table
	.description-content.expanded {
	opacity: 1;
	padding: 0.5rem 0;
}
#smart-search-pagination {
	display: flex;
	flex-wrap: nowrap;
	font-size: 0.9rem;
	margin-bottom: 1.5rem;
	margin-top: 1.5rem;
	overflow-x: auto;
	padding-bottom: 0.5rem;
}
#smart-search-pagination .pagination-btn {
	align-items: center;
	aspect-ratio: 1/1;
	background: 0 0;
	border: 3px solid transparent;
	border-radius: 50%;
	box-sizing: border-box;
	display: flex;
	flex: 0 0 auto;
	height: 2rem;
	justify-content: center;
	line-height: 1;
	margin: 0 0.15rem;
	min-width: 2rem;
	padding: 0;
	transition:
		background-color 0.3s ease,
		border-color 0.3s ease,
		color 0.3s ease;
}
#smart-search-pagination .pagination-btn:disabled,
#smart-search-pagination
	.pagination-btn:hover:not(.pagination-prev):not(.pagination-next) {
	background: var(--wp--preset--color--primary);
	border-color: #e9cbcc;
	color: var(--wp--preset--color--white);
}
#smart-search-pagination .pagination-btn.pagination-next,
#smart-search-pagination .pagination-btn.pagination-prev {
	color: val(--wp--preset--color--primary);
}
#smart-search-menu .ssm-list {
	margin: 0;
	padding: 0;
}
#smart-search-menu li {
	display: block;
	list-style: none;
	padding: 0.8rem 0;
	width: auto;
}
#smart-search-menu .ssm-parent-item:not(:last-child) {
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
#smart-search-menu .ssm-parent-item.is-open .ssm-child-list {
	opacity: 1;
}
#smart-search-menu .ssm-parent-item.is-open .ssm-toggle-icon::before {
	transform: rotate(180deg);
}
#smart-search-menu .ssm-parent-item .ssm-parent-link {
	align-items: center;
	display: flex;
	font-weight: 600;
	justify-content: space-between;
	padding-left: 1.5rem;
	position: relative;
	transition:
		background-color 0.3s ease,
		color 0.3s ease;
	text-decoration: none;
}
#smart-search-menu .ssm-parent-item .ssm-parent-link::before {
	color: var(--wp--preset--color--primary);
	content: '\f487';
	font-family: Dashicons;
	font-size: 0.9rem;
	left: 0;
	position: absolute;
	transition: color 0.3s ease;
}
#smart-search-menu .ssm-parent-item .ssm-parent-link .ssm-parent-text {
	flex-grow: 1;
	font-size: 1rem;
}
#smart-search-menu .ssm-parent-item .ssm-parent-link .ssm-toggle-icon {
	font-family: Dashicons;
	font-size: 0.9rem;
	margin-left: auto;
	transition: transform 0.3s ease;
}
#smart-search-menu .ssm-parent-item .ssm-parent-link .ssm-toggle-icon::before {
	content: '\f347';
	display: inline-block;
	transition: transform 0.3s ease;
}
#smart-search-menu .ssm-child-list {
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	padding: 0 1.75rem;
	padding-top: 0.75rem;
	transition:
		max-height 0.4s ease,
		opacity 0.4s ease;
}
#smart-search-menu .ssm-child-list li {
	padding-top: 0.5rem;
	padding-bottom: 0;
}
#smart-search-menu .ssm-child-list .ssm-child-link {
	display: inline-block;
	position: relative;
}
#smart-search-menu .is-active {
	color: var(--wp--preset--color--primary);
}
#smart-search-city-filter {
	background: #d8e0e0 !important;
	border-radius: 0.25rem;
	max-width: 375px;
	padding: 1rem !important;
}
#smart-search-city-filter label {
	margin-right: 0.5rem;
}
#smart-search-city-filter select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url('data:image/svg+xml;utf8,<svg fill="black" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	background-size: 1rem;
	border: 1px solid #999;
	border-radius: 0.25rem;
	box-sizing: border-box;
	color: #4a4a4a;
	height: 2.75rem;
	line-height: 2.75rem;
	padding: 0 1rem;
	padding-right: 2rem;
}
