/* ── Location Finder Dropdown ─────────────────────── */
.locations-dropdown {
	position: relative;
}

.loc-finder-trigger {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: none;
	color: inherit;
	font-size: inherit;
	font-family: inherit;
	cursor: pointer;
	padding: 0;
	white-space: nowrap;
}

.loc-finder-chevron {
	transition: transform .2s;
	flex-shrink: 0;
}

.loc-finder-trigger[aria-expanded="true"] .loc-finder-chevron {
	transform: rotate(180deg);
}

.loc-finder-panel {
	position: absolute;
	right: 0;
	top: calc(100% + 16px);
	background: #fff;
	box-shadow: 0 8px 32px rgba(0, 0, 0, .18);
	min-width: 575px;
	z-index: 99999;
	padding: 24px;
	color: #171C27;
}

.loc-finder-heading {
	color: var(--Text-Black-Primary, #171C27);
	font-size: 18px;
	font-family: Agenda;
	font-weight: 500;
	line-height: 110%;
	/* 22px */
	text-transform: capitalize;
	margin: 0 0 14px;
}

.loc-finder-subheading {
	color: var(--Text-Black-Primary, #171C27);
	font-family: Agenda;
	font-size: 18px;
	font-style: normal;
	font-weight: 500;
	line-height: 150%;
	margin: 0 0 10px;
}

.loc-finder-cats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

.loc-finder-cat-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	padding: 33px 12px;
	border: 1px solid rgba(0, 0, 0, 0.10);
	border-radius: 0px;
	background-color: #ffffff;
	cursor: pointer;
	font-size: 18px;
	font-weight: 500;
	color: #171C27;
	text-align: center;
	line-height: 1.3;
	transition: border-color .2s, background .2s, color .2s;
	outline: none !important;
}

.loc-finder-cat-btn:hover {
	border-color: #F4FAFF;
	background-color: #F4FAFF;
	color: #171C27;
}

.loc-finder-cat-btn.is-active {
	border-color: #005EAD;
	background-color: #005EAD;
	border-width: 2px;
	color: #fff;
}

.loc-finder-cat-btn div {
	width: 45px;
	height: 45px;
	padding: 6px;
	object-fit: contain;
	transition: background .2s, color .2s;

}

.loc-finder-cat-btn.is-active div {
	background: #005EAD;
}

.loc-finder-cat-icon {
	filter: brightness(0) saturate(211%) invert(60%) sepia(35%) saturate(856%) hue-rotate(180deg) brightness(95%);
}

.loc-finder-cat-btn.is-active .loc-finder-cat-icon{
	filter: brightness(0) invert(1);
}

#loc-finder-step2 {
	margin-top: 16px;
}

.loc-finder-locs {
	list-style: none;
	margin: 0;
	border: 1px solid var(--UI-Outline, rgba(0, 0, 0, 0.10));
	background: var(--UI-Surface_White100, #FFF);
	max-height: 280px;
	overflow-y: auto;
}

.loc-finder-locs li {
	padding: 0 12px;
}

.loc-finder-locs a,
.loc-finder-locs a:hover,
.loc-finder-locs a:not(.wp-element-button),
.loc-finder-locs a:not(.wp-element-button):hover,
.loc-finder-locs a:not(.wp-element-button):focus {
	border-bottom: 1px solid rgba(0, 0, 0, 0.10) !important;
	display: block;
	padding: 8px 12px;
	text-decoration: none;
	transition: color .15s, padding-left .15s;
	color: var(--Text-Black-Primary, #171C27);
	font-family: Agenda;
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: 24px;
	/* 150% */
}

.loc-finder-locs li:last-child a,
.loc-finder-locs li:last-child a:not(.wp-element-button),
.loc-finder-locs li:last-child a:not(.wp-element-button):hover {
	border-bottom: none !important;
}

.loc-finder-locs a:hover {
	color: #005EAD;
	padding-left: 10px;
}

@media (max-width: 767px) {
	.locations-dropdown {
		width: 100%;
	}

	.loc-finder-trigger {
		justify-content: center;
		width: 100%;
	}

	.loc-finder-panel {
		left: 0;
	}

	.loc-finder-panel {
		min-width: auto;
		width: 100%;
		max-width: 470px;
		margin: auto;
		top: calc(100% + 8px);
	}

	.loc-finder-cat-btn {
		font-size: 16px;
		padding: 12px;
	}
}