/*
 * Village Stores Directory - front-end styles.
 * Palette: #516238 (accent), #f3f2ee (background), #343534 (text).
 */

.vsd,
.vsd-modal {
	--vsd-primary: #516238;
	--vsd-bg: #f3f2ee;
	--vsd-text: #343534;
	--vsd-surface: #ffffff;
	--vsd-line: rgba(52, 53, 52, 0.18);
	--vsd-muted: rgba(52, 53, 52, 0.8);
	--vsd-tint: #e6eadf;
	--vsd-radius: 12px;
	--vsd-gap: 20px;
}

@supports (color: color-mix(in srgb, red 50%, blue)) {
	.vsd,
	.vsd-modal {
		--vsd-line: color-mix(in srgb, var(--vsd-text) 18%, transparent);
		--vsd-muted: color-mix(in srgb, var(--vsd-text) 80%, transparent);
		--vsd-tint: color-mix(in srgb, var(--vsd-primary) 14%, #ffffff);
	}
}

.vsd,
.vsd *,
.vsd *::before,
.vsd *::after,
.vsd-modal,
.vsd-modal *,
.vsd-modal *::before,
.vsd-modal *::after {
	box-sizing: border-box;
}

.vsd {
	position: relative;
	width: 100%;
	padding: clamp(12px, 3vw, 28px);
	background: var(--vsd-bg);
	color: var(--vsd-text);
	font-size: 16px;
	line-height: 1.5;
}

.vsd [hidden],
.vsd-modal [hidden] {
	display: none !important;
}

.vsd .vsd-sr,
.vsd-modal .vsd-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Buttons: reset theme styles, then apply ours with enough specificity. */
.vsd button,
.vsd-modal button {
	margin: 0;
	font: inherit;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	box-shadow: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.vsd a:focus-visible,
.vsd button:focus-visible,
.vsd input:focus-visible,
.vsd-modal a:focus-visible,
.vsd-modal button:focus-visible,
.vsd-modal [tabindex]:focus-visible {
	outline: 2px solid var(--vsd-primary);
	outline-offset: 2px;
}

/* Filter bar */
.vsd .vsd-bar {
	margin-bottom: 20px;
	background: var(--vsd-bg);
}

.vsd.vsd--sticky .vsd-bar {
	position: sticky;
	top: var(--vsd-sticky-top, 0px);
	z-index: 20;
	padding: 12px 0;
	border-bottom: 1px solid var(--vsd-line);
}

body.admin-bar .vsd.vsd--sticky .vsd-bar {
	top: calc(var(--vsd-sticky-top, 0px) + 32px);
}

@media (max-width: 782px) {
	body.admin-bar .vsd.vsd--sticky .vsd-bar {
		top: calc(var(--vsd-sticky-top, 0px) + 46px);
	}
}

@media (max-width: 600px) {
	body.admin-bar .vsd.vsd--sticky .vsd-bar {
		top: var(--vsd-sticky-top, 0px);
	}
}

.vsd .vsd-bar__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 20px;
}

/* Category tabs: centered text links with an accent bar on the active one */
.vsd .vsd-cats {
	display: flex;
	flex: 1 1 100%;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: center;
	gap: 8px 26px;
	min-width: 0;
}

.vsd button.vsd-pill {
	position: relative;
	min-height: 0;
	margin: 0;
	padding: 16px 0 6px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--vsd-muted);
	font-size: 0.875rem;
	font-weight: 400;
	letter-spacing: 0.1em;
	line-height: 1.2;
	text-transform: uppercase;
	transition: color 0.15s ease;
}

.vsd button.vsd-pill::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 3px;
	background: var(--vsd-tab-accent, #f26522);
	opacity: 0;
	transform: scaleX(0.4);
	transform-origin: left center;
	transition: opacity 0.15s ease, transform 0.2s ease;
}

.vsd button.vsd-pill[data-vsd-cat=""] {
	font-size: 1rem;
	letter-spacing: 0.02em;
	text-transform: none;
}

.vsd button.vsd-pill:hover,
.vsd button.vsd-pill:focus-visible {
	background: transparent;
	color: var(--vsd-text);
}

.vsd button.vsd-pill:hover::before {
	opacity: 0.45;
	transform: scaleX(1);
}

.vsd button.vsd-pill[aria-pressed="true"],
.vsd button.vsd-pill[aria-pressed="true"]:hover {
	border: 0;
	background: transparent;
	color: var(--vsd-text);
	font-weight: 700;
}

.vsd button.vsd-pill[aria-pressed="true"]::before {
	opacity: 1;
	transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
	.vsd button.vsd-pill,
	.vsd button.vsd-pill::before {
		transition: none;
	}
}

.vsd button.vsd-toggle {
	min-height: 40px;
	padding: 8px 16px;
	border: 1px solid var(--vsd-line);
	border-radius: 999px;
	background: var(--vsd-surface);
	color: var(--vsd-text);
	font-size: 0.9375rem;
	font-weight: 500;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.vsd button.vsd-toggle:hover {
	border-color: var(--vsd-primary);
	background: var(--vsd-surface);
	color: var(--vsd-text);
}

.vsd button.vsd-toggle[aria-pressed="true"],
.vsd button.vsd-toggle[aria-pressed="true"]:hover {
	border-color: var(--vsd-primary);
	background: var(--vsd-primary);
	color: #ffffff;
}

.vsd .vsd-search {
	position: relative;
	flex: 1 1 220px;
	max-width: 360px;
	min-width: 0;
}

.vsd .vsd-search__icon {
	position: absolute;
	top: 50%;
	left: 14px;
	display: flex;
	color: var(--vsd-muted);
	transform: translateY(-50%);
	pointer-events: none;
}

.vsd input.vsd-search__input {
	display: block;
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 8px 16px 8px 42px;
	border: 1px solid var(--vsd-line);
	border-radius: 999px;
	background: var(--vsd-surface);
	box-shadow: none;
	color: var(--vsd-text);
	font: inherit;
	font-size: 1rem;
}

.vsd input.vsd-search__input::placeholder {
	color: var(--vsd-muted);
	opacity: 1;
}

.vsd .vsd-az {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px;
	margin-top: 12px;
}

.vsd button.vsd-az__btn {
	min-width: 36px;
	min-height: 36px;
	padding: 4px 6px;
	border: 1px solid transparent;
	border-radius: 8px;
	background: transparent;
	color: var(--vsd-text);
	font-size: 0.9375rem;
	font-weight: 600;
}

.vsd button.vsd-az__btn:hover {
	border-color: var(--vsd-primary);
	background: transparent;
	color: var(--vsd-text);
}

.vsd button.vsd-az__btn[aria-pressed="true"],
.vsd button.vsd-az__btn[aria-pressed="true"]:hover {
	background: var(--vsd-primary);
	color: #ffffff;
}

.vsd button.vsd-az__btn:disabled {
	border-color: transparent;
	background: transparent;
	color: var(--vsd-text);
	opacity: 0.3;
	cursor: not-allowed;
}

/* Results */
.vsd .vsd-results {
	container-type: inline-size;
	container-name: vsd;
	width: 100%;
}

.vsd .vsd-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--vsd-gap);
}

.vsd .vsd-empty {
	margin: 24px 0;
	padding: 24px;
	border: 1px dashed var(--vsd-line);
	border-radius: var(--vsd-radius);
	text-align: center;
	color: var(--vsd-muted);
}

@container vsd (min-width: 640px) {
	.vsd.vsd--grid .vsd-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@container vsd (min-width: 980px) {
	.vsd.vsd--grid .vsd-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@supports not (container-type: inline-size) {
	@media (min-width: 640px) {
		.vsd.vsd--grid .vsd-grid {
			grid-template-columns: repeat(2, minmax(0, 1fr));
		}
	}

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

/* Cards: image, name and phone. The whole card is the click target. */
.vsd .vsd-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 0;
	background: var(--vsd-surface);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.vsd .vsd-card:hover,
.vsd .vsd-card:focus-within {
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.vsd .vsd-card__media {
	position: relative;
	aspect-ratio: 11 / 10;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.05);
}

.vsd .vsd-card__media img,
.vsd .vsd-card__media .vsd-card__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.vsd .vsd-card:hover .vsd-card__img {
	transform: scale(1.04);
}

.vsd .vsd-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: var(--vsd-tint);
	color: var(--vsd-primary);
	font-size: 2.25rem;
	font-weight: 600;
	letter-spacing: 0.06em;
}

.vsd .vsd-card__body {
	flex: 1 1 auto;
	padding: 22px 22px 24px;
}

.vsd .vsd-card__title {
	margin: 0;
	padding: 0;
	color: var(--vsd-text);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.3;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

.vsd .vsd-card__link,
.vsd a.vsd-card__link,
.vsd button.vsd-card__link {
	display: inline;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	text-align: left;
	text-decoration: none;
	text-transform: inherit;
	cursor: pointer;
}

/* Stretch the link so the entire card is clickable. */
.vsd .vsd-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.vsd .vsd-card__link:focus-visible {
	outline: none;
}

.vsd .vsd-card:has(.vsd-card__link:focus-visible) {
	outline: 2px solid var(--vsd-primary);
	outline-offset: 2px;
}

.vsd .vsd-card__phone {
	margin: 6px 0 0;
	padding: 0;
	color: var(--vsd-muted);
	font-size: 1.0625rem;
	letter-spacing: 0.03em;
	line-height: 1.4;
}

@media (prefers-reduced-motion: reduce) {
	.vsd .vsd-card,
	.vsd .vsd-card__media img,
	.vsd .vsd-card:hover .vsd-card__img {
		transition: none;
		transform: none;
	}
}

/* Contact rows used inside the popup */
.vsd .vsd-list,
.vsd-modal .vsd-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vsd .vsd-list__item,
.vsd-modal .vsd-list__item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 0;
	font-size: 0.9375rem;
	line-height: 1.45;
}

.vsd .vsd-list__item::before {
	content: none;
}

.vsd .vsd-list__icon,
.vsd-modal .vsd-list__icon {
	display: inline-flex;
	flex: 0 0 18px;
	margin-top: 2px;
	color: var(--vsd-primary);
}

/* List layout: image on the left, text on the right */
@container vsd (min-width: 640px) {
	.vsd.vsd--list .vsd-card {
		flex-direction: row;
		align-items: stretch;
	}

	.vsd.vsd--list .vsd-card__media {
		flex: 0 0 240px;
		aspect-ratio: auto;
		min-height: 160px;
	}

	.vsd.vsd--list .vsd-card__body {
		align-self: center;
	}
}

/* Small screens: filter rows scroll sideways instead of stacking */
@media (max-width: 640px) {
	.vsd .vsd-cats,
	.vsd .vsd-az {
		flex-wrap: nowrap;
		justify-content: flex-start;
		padding-bottom: 4px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
	}

	.vsd button.vsd-pill,
	.vsd button.vsd-az__btn {
		flex: 0 0 auto;
	}

	.vsd .vsd-cats {
		flex-basis: 100%;
		justify-content: flex-start;
		gap: 8px 22px;
	}

	.vsd .vsd-search {
		flex-basis: 100%;
		max-width: none;
	}

	.vsd .vsd-card__body {
		padding: 18px 18px 20px;
	}
}

/* Single store page */
.vsd-single {
	display: block;
	margin: 0;
	padding: 100px 0;
	color: var(--vsd-text, #343534);
}

.vsd-single *,
.vsd-single *::before,
.vsd-single *::after {
	box-sizing: border-box;
}

.vsd-single .vsd-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.vsd-single--has-media {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: 48px;
	align-items: start;
}

.vsd-single__media {
	position: relative;
	min-width: 0;
	padding: 0 18px 18px 0;
}

/* Offset outline frame behind the photo */
.vsd-single__media::before {
	content: "";
	position: absolute;
	top: 18px;
	right: 0;
	bottom: 0;
	left: 18px;
	border: 2px solid var(--vsd-primary, #516238);
	border-radius: 22px;
	opacity: 0.55;
	pointer-events: none;
}

.vsd-single__frame {
	position: relative;
	z-index: 1;
	aspect-ratio: 4 / 5;
	margin: 0;
	overflow: hidden;
	border-radius: 20px;
	background: #e9ebe6;
	box-shadow: 0 24px 48px -20px rgba(30, 36, 24, 0.45), 0 6px 14px rgba(30, 36, 24, 0.12);
	isolation: isolate;
}

.vsd-single__frame::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(20, 24, 16, 0.45) 0%, rgba(20, 24, 16, 0) 38%);
	pointer-events: none;
}

.vsd-single__media img,
.vsd-single .vsd-single__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	object-position: center;
	transition: transform 0.6s ease;
}

.vsd-single__frame:hover .vsd-single__img {
	transform: scale(1.04);
}

.vsd-single__tag {
	position: absolute;
	z-index: 2;
	display: inline-block;
	max-width: calc(100% - 32px);
	padding: 8px 16px;
	overflow: hidden;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: #343534;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.vsd-single__tag--cat {
	bottom: 16px;
	left: 16px;
}

.vsd-single__tag--featured {
	top: 16px;
	left: 16px;
	background: var(--vsd-primary, #516238);
	color: #ffffff;
}

.vsd-single__body {
	min-width: 0;
}

.vsd-single__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: stretch;
	padding-bottom: 12px;
	border-bottom: 1px solid #d6d6d6;
}

.vsd-single__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px 24px 16px 0;
	border-right: 1px solid #d6d6d6;
}

.vsd-single__logo img,
.vsd-single .vsd-single__logo-img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 110px;
	margin: 0;
	object-fit: contain;
}

.vsd-single__initials {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: var(--vsd-primary, #516238);
	color: #ffffff;
	font-size: 1.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.vsd-single__contact {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 8px;
	padding: 16px 0 0 32px;
}

.vsd-single__line {
	margin: 0;
	font-size: 1rem;
	line-height: 1.4;
}

.vsd-single__label {
	text-transform: uppercase;
}

.vsd-single a {
	color: var(--vsd-primary, #516238);
	text-decoration: none;
}

.vsd-single a:hover,
.vsd-single a:focus {
	text-decoration: underline;
}

.vsd-single__title {
	margin: 40px 0 16px;
	font-size: 1.75rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-transform: uppercase;
}

.vsd-single__desc {
	font-size: 1.0625rem;
	line-height: 1.8;
}

.vsd-single__desc > :first-child {
	margin-top: 0;
}

.vsd-single__desc > :last-child {
	margin-bottom: 0;
}

.vsd-single__directions {
	margin: 32px 0 0;
}

.vsd-single__directions a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 1rem;
}

.vsd-single__pin {
	display: inline-flex;
	color: var(--vsd-text, #343534);
}

.vsd-single__pin svg {
	width: 28px;
	height: 28px;
}

@media (max-width: 1024px) {
	.vsd-single {
		padding: 80px 0;
	}

	.vsd-single--has-media {
		gap: 36px;
	}

	.vsd-single__contact {
		padding-left: 24px;
	}
}

@media (max-width: 860px) {
	.vsd-single--has-media {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.vsd-single__frame {
		aspect-ratio: 16 / 10;
	}
}

@media (max-width: 767px) {
	.vsd-single {
		padding: 50px 0;
	}

	.vsd-single__media {
		padding: 0 12px 12px 0;
	}

	.vsd-single__media::before {
		top: 12px;
		left: 12px;
		border-radius: 16px;
	}

	.vsd-single__frame {
		aspect-ratio: 4 / 3;
		border-radius: 14px;
	}

	.vsd-single__tag {
		padding: 7px 13px;
		font-size: 0.6875rem;
	}

	.vsd-single__tag--cat {
		bottom: 12px;
		left: 12px;
	}

	.vsd-single__tag--featured {
		top: 12px;
		left: 12px;
	}

	.vsd-single__title {
		margin-top: 28px;
		font-size: 1.5rem;
	}

	.vsd-single__directions {
		margin-top: 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vsd-single .vsd-single__img,
	.vsd-single__frame:hover .vsd-single__img {
		transition: none;
		transform: none;
	}
}

@media (max-width: 520px) {
	.vsd-single__top {
		grid-template-columns: minmax(0, 1fr);
	}

	.vsd-single__logo {
		justify-content: flex-start;
		padding: 0 0 16px;
		border-right: 0;
		border-bottom: 1px solid #d6d6d6;
	}

	.vsd-single__contact {
		padding: 16px 0 0;
	}
}

.vsd-single .vsd-offer,
.vsd-modal .vsd-offer {
	margin: 20px 0 0;
	padding: 14px 16px;
	border-left: 4px solid var(--vsd-primary, #516238);
	border-radius: 8px;
	background: #e6eadf;
	color: #343534;
}

.vsd-single .vsd-offer__label,
.vsd-modal .vsd-offer__label {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 700;
}

.vsd-single .vsd-offer__text,
.vsd-modal .vsd-offer__text {
	margin: 2px 0 0;
	font-size: 1rem;
	font-weight: 600;
}

/* Popup */
html.vsd-lock {
	overflow: hidden;
}

.vsd-modal {
	position: fixed;
	z-index: 100000;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	font-size: 16px;
	line-height: 1.5;
}

.vsd-modal .vsd-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(52, 53, 52, 0.65);
}

.vsd-modal .vsd-modal__panel {
	position: relative;
	width: 100%;
	max-width: 960px;
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	overflow: auto;
	border-radius: 14px;
	background: #ffffff;
	color: var(--vsd-text);
	overscroll-behavior: contain;
}

.vsd-modal .vsd-modal__panel:focus {
	outline: none;
}

.vsd-modal button.vsd-modal__close {
	position: absolute;
	z-index: 2;
	top: 12px;
	right: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--vsd-line);
	border-radius: 50%;
	background: #ffffff;
	color: var(--vsd-text);
}

.vsd-modal button.vsd-modal__close:hover {
	border-color: var(--vsd-primary);
	background: #ffffff;
	color: var(--vsd-primary);
}

.vsd-modal .vsd-modal__banner {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 5;
	min-height: 120px;
	overflow: hidden;
	background: var(--vsd-primary);
	color: #ffffff;
}

.vsd-modal .vsd-modal__banner img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
}

.vsd-modal .vsd-modal__initials {
	font-size: clamp(2rem, 8vw, 3.5rem);
	font-weight: 700;
	letter-spacing: 0.06em;
}

.vsd-modal .vsd-modal__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
	padding: 24px;
}

@media (min-width: 768px) {
	.vsd-modal .vsd-modal__body {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
		gap: 32px;
		padding: 32px;
	}
}

.vsd-modal .vsd-d-cat {
	margin: 0 0 4px;
	color: var(--vsd-muted);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.vsd-modal .vsd-d-title {
	margin: 0 0 12px;
	padding: 0;
	color: var(--vsd-text);
	font-size: clamp(1.375rem, 4vw, 1.75rem);
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.vsd-modal .vsd-d-desc {
	margin-bottom: 16px;
	color: var(--vsd-text);
}

.vsd-modal .vsd-d-desc > :first-child {
	margin-top: 0;
}

.vsd-modal .vsd-d-desc > :last-child {
	margin-bottom: 0;
}

.vsd-modal .vsd-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vsd-modal .vsd-list__item::before {
	content: none;
}

.vsd-modal .vsd-list__text {
	min-width: 0;
	overflow-wrap: anywhere;
}

.vsd-modal .vsd-list a {
	color: var(--vsd-primary);
	text-decoration: underline;
}

.vsd-modal .vsd-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.vsd-modal .vsd-modal__map-title {
	margin: 0 0 10px;
	padding: 0;
	color: var(--vsd-text);
	font-size: 1rem;
	font-weight: 600;
}

.vsd-modal .vsd-minimap {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--vsd-line);
	border-radius: 10px;
	background: var(--vsd-bg);
}

.vsd-modal .vsd-minimap img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
}

.vsd-modal .vsd-pin {
	position: absolute;
	width: 22px;
	height: 22px;
	margin: -11px 0 0 -11px;
	border: 3px solid #ffffff;
	border-radius: 50%;
	background: var(--vsd-primary);
	box-shadow: 0 0 0 2px var(--vsd-primary), 0 2px 8px rgba(0, 0, 0, 0.35);
}

@media (prefers-reduced-motion: no-preference) {
	.vsd-modal .vsd-modal__panel {
		animation: vsd-pop 0.18s ease-out;
	}

	@keyframes vsd-pop {
		from {
			opacity: 0;
			transform: translateY(8px);
		}

		to {
			opacity: 1;
			transform: none;
		}
	}
}

@media (max-width: 480px) {
	.vsd-modal {
		padding: 8px;
	}

	.vsd-modal .vsd-modal__panel {
		max-height: calc(100vh - 16px);
		max-height: calc(100dvh - 16px);
	}

	.vsd-modal .vsd-modal__body {
		padding: 16px;
	}
}

/* Single store page: dark header so a white-text header stays readable.
   Not applied once the page is scrolled (the sticky header keeps its own colors). */
body.vsd-dark-header {
	--vsd-header-bg: #343534;
	--vsd-header-pad-bottom: 15px;
	--vsd-header-text: #ffffff;
}

body.vsd-dark-header:not(.vsd-header-scrolled) header,
body.vsd-dark-header:not(.vsd-header-scrolled) #masthead,
body.vsd-dark-header:not(.vsd-header-scrolled) .site-header,
body.vsd-dark-header:not(.vsd-header-scrolled) #site-header,
body.vsd-dark-header:not(.vsd-header-scrolled) #header,
body.vsd-dark-header:not(.vsd-header-scrolled) .elementor-location-header,
body.vsd-dark-header:not(.vsd-header-scrolled) .elementor-location-header .elementor-section,
body.vsd-dark-header:not(.vsd-header-scrolled) .elementor-location-header .e-con,
body.vsd-dark-header:not(.vsd-header-scrolled) .elementor-location-header .elementor-container,
body.vsd-dark-header:not(.vsd-header-scrolled) .elementor-location-header .elementor-widget-wrap,
body.vsd-dark-header:not(.vsd-header-scrolled) [data-elementor-type="header"],
body.vsd-dark-header:not(.vsd-header-scrolled) [data-elementor-type="header"] .elementor-section,
body.vsd-dark-header:not(.vsd-header-scrolled) [data-elementor-type="header"] .e-con {
	background-color: var(--vsd-header-bg) !important;
	background-image: none !important;
}

body.vsd-dark-header:not(.vsd-header-scrolled) header a,
body.vsd-dark-header:not(.vsd-header-scrolled) header .menu-item > a,
body.vsd-dark-header:not(.vsd-header-scrolled) header .elementor-item,
body.vsd-dark-header:not(.vsd-header-scrolled) header .elementor-nav-menu a,
body.vsd-dark-header:not(.vsd-header-scrolled) header .site-title,
body.vsd-dark-header:not(.vsd-header-scrolled) header .elementor-heading-title,
body.vsd-dark-header:not(.vsd-header-scrolled) .site-header a,
body.vsd-dark-header:not(.vsd-header-scrolled) #masthead a,
body.vsd-dark-header:not(.vsd-header-scrolled) .elementor-location-header a,
body.vsd-dark-header:not(.vsd-header-scrolled) .elementor-location-header .elementor-item,
body.vsd-dark-header:not(.vsd-header-scrolled) .elementor-location-header .elementor-heading-title,
body.vsd-dark-header:not(.vsd-header-scrolled) .elementor-location-header .elementor-icon,
body.vsd-dark-header:not(.vsd-header-scrolled) .elementor-location-header .elementor-menu-toggle,
body.vsd-dark-header:not(.vsd-header-scrolled) [data-elementor-type="header"] a,
body.vsd-dark-header:not(.vsd-header-scrolled) [data-elementor-type="header"] .elementor-item,
body.vsd-dark-header:not(.vsd-header-scrolled) [data-elementor-type="header"] .elementor-heading-title {
	color: var(--vsd-header-text) !important;
}

body.vsd-dark-header:not(.vsd-header-scrolled) header svg,
body.vsd-dark-header:not(.vsd-header-scrolled) header svg path,
body.vsd-dark-header:not(.vsd-header-scrolled) .elementor-location-header svg,
body.vsd-dark-header:not(.vsd-header-scrolled) .elementor-location-header svg path,
body.vsd-dark-header:not(.vsd-header-scrolled) [data-elementor-type="header"] svg,
body.vsd-dark-header:not(.vsd-header-scrolled) [data-elementor-type="header"] svg path {
	fill: var(--vsd-header-text);
}

body.vsd-dark-header:not(.vsd-header-scrolled) header .sub-menu,
body.vsd-dark-header:not(.vsd-header-scrolled) header .elementor-nav-menu--dropdown,
body.vsd-dark-header:not(.vsd-header-scrolled) .elementor-location-header .sub-menu,
body.vsd-dark-header:not(.vsd-header-scrolled) .elementor-location-header .elementor-nav-menu--dropdown,
body.vsd-dark-header:not(.vsd-header-scrolled) [data-elementor-type="header"] .sub-menu,
body.vsd-dark-header:not(.vsd-header-scrolled) [data-elementor-type="header"] .elementor-nav-menu--dropdown {
	background-color: var(--vsd-header-bg) !important;
}

body.vsd-dark-header:not(.vsd-header-scrolled) header,
body.vsd-dark-header:not(.vsd-header-scrolled) #masthead,
body.vsd-dark-header:not(.vsd-header-scrolled) .site-header,
body.vsd-dark-header:not(.vsd-header-scrolled) .elementor-location-header,
body.vsd-dark-header:not(.vsd-header-scrolled) [data-elementor-type="header"] {
	padding-bottom: var(--vsd-header-pad-bottom) !important;
	box-sizing: border-box;
}
