/* The store locator shortcode: search, map and the list of locations. Layout only; colours and type come from the theme, or from the custom CSS under General settings → Front-end. */

.recomaze-locator {
	display: flex;
	flex-direction: column;
	gap: 1em;
}

.recomaze-locator__search {
	display: flex;
	gap: 0.5em;
	margin: 0;
}

.recomaze-locator__query {
	flex: 1;
	min-width: 0;
}

.recomaze-locator__map {
	width: 100%;
	border-radius: 8px;
	overflow: hidden;
	z-index: 0;
}

.recomaze-locator__pin {
	width: 18px;
	height: 18px;
	border-radius: 50% 50% 50% 0;
	background: currentColor;
	border: 2px solid #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
	transform: rotate(-45deg);
}

.recomaze-locator__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1em;
	margin: 0;
	padding: 0;
	list-style: none;
}

.recomaze-locator__item {
	padding: 1em;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 8px;
	cursor: pointer;
}

.recomaze-locator__item[hidden] {
	display: none;
}

.recomaze-locator__name {
	margin: 0 0 0.35em;
	font-size: 1.05em;
}

.recomaze-locator__address {
	font-style: normal;
	margin-bottom: 0.35em;
}

.recomaze-locator__phone {
	margin: 0 0 0.35em;
}

.recomaze-locator__hours {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.9em;
	opacity: 0.8;
}

.recomaze-locator__distance {
	display: inline-block;
	margin-top: 0.5em;
	font-size: 0.85em;
	font-weight: 600;
}
