.funkycommerce-locations {
	display: grid;
	gap: 1rem;
	margin-block: 1.5rem;
}

.funkycommerce-locations__search-label {
	font-weight: 600;
}

.funkycommerce-locations__search {
	box-sizing: border-box;
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid #d4d4d8;
	border-radius: 999px;
	background: #fff;
	color: inherit;
	font: inherit;
}

.funkycommerce-locations__map {
	width: 100%;
	min-height: 240px;
	overflow: hidden;
	border: 1px solid #e4e4e7;
	border-radius: 1.5rem;
	background: #f4f4f5;
}

.funkycommerce-locations__notice,
.funkycommerce-locations__empty {
	padding: 1rem;
	border: 1px solid #fde68a;
	border-radius: 1rem;
	background: #fffbeb;
	color: #92400e;
}

.funkycommerce-locations--map.is-enhanced .funkycommerce-locations__fallback {
	display: none;
}

.funkycommerce-locations__fallback li {
	display: grid;
	gap: 0.25rem;
}

.funkycommerce-locations__group {
	display: grid;
	gap: 0.875rem;
}

.funkycommerce-locations__city {
	margin: 0;
	font-size: 1.25rem;
}

.funkycommerce-locations__city button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 700;
	text-align: left;
	cursor: pointer;
}

.funkycommerce-locations__city span {
	display: inline-grid;
	width: 2.125rem;
	height: 2.125rem;
	border: 1px solid #d4d4d8;
	border-radius: 50%;
	background: #fff;
	place-items: center;
	transition: transform 200ms ease;
}

.funkycommerce-locations__city button[aria-expanded="true"] span {
	transform: rotate(90deg);
}

.funkycommerce-locations__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.funkycommerce-locations__card {
	position: relative;
	display: grid;
	min-height: 9rem;
	padding: 0.875rem;
	border-radius: 0.875rem;
	box-sizing: border-box;
	place-items: center;
}

.funkycommerce-locations__card-main {
	display: grid;
	gap: 0.5rem;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: center;
	cursor: pointer;
}

.funkycommerce-locations__card-main span {
	font-size: 0.875rem;
}

.funkycommerce-locations__description {
	white-space: pre-line;
}

.funkycommerce-locations__details {
	display: grid;
	gap: 0.25rem;
	font-size: 0.75rem;
	text-align: center;
}

.funkycommerce-locations__details a {
	color: inherit;
	overflow-wrap: anywhere;
}

.funkycommerce-locations__link {
	position: absolute;
	right: 0.75rem;
	bottom: 0.75rem;
	color: inherit;
	text-decoration: none;
}

@media (min-width: 640px) {
	.funkycommerce-locations__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.funkycommerce-locations__grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}
