.zcs-locator {
	--zcs-color-black: #000;
	--zcs-color-white: #fff;
	--zcs-color-text: #171717;
	--zcs-color-muted: #767676;
	--zcs-color-border: rgba(0, 0, 0, 0.14);
	--zcs-color-border-strong: rgba(0, 0, 0, 0.26);
	--zcs-color-surface: #fff;
	--zcs-color-surface-soft: #f5f5f5;
	--zcs-color-surface-muted: #f2f2f2;
	--zcs-pane-height-desktop: 760px;
	--zcs-pane-height-tablet: 620px;
	--zcs-pane-height-mobile: 360px;
	--zcs-transition: 180ms ease;
	container-type: inline-size;
	width: 100%;
	max-width: 100%;
	font-family: Rajdhani, sans-serif;
	color: var(--zcs-color-text);
}

.zcs-locator * {
	box-sizing: border-box;
}

.zcs-locator [hidden] {
	display: none !important;
}

.zcs-locator__controls {
	display: grid;
	grid-template-columns: minmax(0, 720px) 228px minmax(0, 1fr);
	align-items: center;
	gap: 18px 28px;
	margin-bottom: 28px;
}

.zcs-locator__search {
	display: flex;
	align-items: stretch;
	width: 100%;
	min-width: 0;
	border: 1px solid var(--zcs-color-border-strong);
	background: var(--zcs-color-surface);
	overflow: hidden;
}

.zcs-locator__search-input {
	flex: 1 1 auto;
	min-width: 0;
	height: 52px;
	border: 0;
	padding: 0 18px;
	background: transparent;
	color: var(--zcs-color-text);
	font: 400 17px/1.15 Rajdhani, sans-serif;
	letter-spacing: 0.01em;
}

.zcs-locator__search-input::placeholder {
	color: var(--zcs-color-muted);
	opacity: 1;
	font: 400 17px/1.15 Rajdhani, sans-serif;
}

.zcs-locator__search-input:focus,
.zcs-locator__search-button:focus,
.zcs-locator__clear-button:focus,
.zcs-locator__location-button:focus,
.zcs-locator__reset-button:focus,
.zcs-locator__province-toggle:focus,
.zcs-locator__card:focus {
	outline: 2px solid #000;
	outline-offset: 2px;
}

.zcs-map-info__actions a:focus,
.zcs-map-info__line a:focus {
	outline: none;
}

.zcs-map-info__actions a:focus-visible,
.zcs-map-info__line a:focus-visible {
	outline: 2px solid #000;
	outline-offset: 2px;
}

.zcs-locator__button-icon,
.zcs-inline-icon,
.zcs-locator__chevron {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.zcs-locator__button-icon svg,
.zcs-inline-icon svg,
.zcs-locator__chevron svg {
	display: block;
	width: 20px;
	height: 20px;
}

.zcs-locator__button-icon {
	margin-right: 4px;
}

.zcs-locator__search-button,
.zcs-locator__location-button,
.zcs-locator__reset-button,
.zcs-map-info__actions a {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: transparent;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color var(--zcs-transition), color var(--zcs-transition), border-color var(--zcs-transition);
}

.zcs-locator__search-button {
	height: 52px;
	padding: 0 24px;
	background: #000;
	color: #fff;
	font: 700 18px/1 Rajdhani, sans-serif;
	letter-spacing: 0.06em;
	cursor: pointer;
}

.zcs-locator__search-button:hover,
.zcs-locator__search-button:focus {
	background: #111;
	color: #fff;
}

.zcs-locator__clear-button {
	flex: 0 0 auto;
	width: 48px;
	border: 0;
	border-left: 1px solid var(--zcs-color-border);
	background: transparent;
	color: #000;
	cursor: pointer;
	font: 700 24px/1 Rajdhani, sans-serif;
}

.zcs-locator__filters {
	display: flex;
	align-items: stretch;
}

.zcs-locator__location-button {
	width: auto;
	min-width: 240px;
	min-height: 52px;
	padding: 0 24px;
	background: #f3f3f3;
	color: #000;
	font-family: Rajdhani, sans-serif;
	font-size: 17px;
	font-weight: 420;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
}

.zcs-locator__location-button:hover,
.zcs-locator__location-button:focus {
	background: #ececec;
	color: #000;
}

.zcs-locator__status {
	min-height: 22px;
	margin: 0 0 18px;
	color: var(--zcs-color-muted);
	font: 500 16px/1.25 Rajdhani, sans-serif;
}

.zcs-locator__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: 24px;
	align-items: stretch;
}

.zcs-locator__list-column,
.zcs-locator__map-frame {
	min-width: 0;
	border: 1px solid var(--zcs-color-border);
	background: var(--zcs-color-surface);
	box-shadow: none;
}

.zcs-locator__list-column {
	display: flex;
	flex-direction: column;
	height: var(--zcs-pane-height-desktop);
	padding: 20px 14px 18px;
}

.zcs-locator__results-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 18px;
	padding-bottom: 12px;
}

.zcs-locator__results-summary {
	margin: 0;
	font: 700 18px/1.15 Rajdhani, sans-serif;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.zcs-locator__results-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.zcs-locator__reset-button {
	min-height: 38px;
	padding: 0 14px;
	border: 1px solid var(--zcs-color-border-strong);
	background: #fff;
	color: #000;
	font: 700 15px/1 Rajdhani, sans-serif;
	letter-spacing: 0.05em;
	cursor: pointer;
}

.zcs-locator__reset-button:hover,
.zcs-locator__reset-button:focus {
	background: #000;
	color: #fff;
}

.zcs-locator__empty {
	padding: 22px 0 6px;
	color: var(--zcs-color-muted);
	font: 500 17px/1.3 Rajdhani, sans-serif;
}

.zcs-locator__empty p {
	margin: 0;
}

.zcs-locator__list {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 10px;
	min-height: 0;
	border-top: 1px solid var(--zcs-color-border);
	padding-top: 10px;
	padding-right: 10px;
	scrollbar-gutter: stable;
}

.zcs-locator__nearest-results,
.zcs-locator__province-panel {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.zcs-locator__province-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.zcs-locator__province-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 14px 12px;
	border: 1px solid var(--zcs-color-border);
	background: var(--zcs-color-surface-soft);
	color: var(--zcs-color-text);
	cursor: pointer;
	text-align: left;
}

.zcs-locator__province-name,
.zcs-locator__province-count {
	font: 700 17px/1.1 Rajdhani, sans-serif;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.zcs-locator__province-meta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-left: 16px;
}

.zcs-locator__province-indicator {
	color: #000;
}

.zcs-locator__card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 16px 14px;
	border: 1px solid var(--zcs-color-border);
	background: var(--zcs-color-surface);
	box-shadow: none;
	cursor: pointer;
	transition: border-color var(--zcs-transition), background-color var(--zcs-transition);
}

.zcs-locator__card:hover {
	border-color: var(--zcs-color-border-strong);
	box-shadow: none;
	transform: none;
}

.zcs-locator__card:active {
	transform: none;
	box-shadow: none;
	background: var(--zcs-color-surface);
	opacity: 1;
}

.zcs-locator__card.is-selected {
	border-color: #000;
	background: #fff;
	box-shadow: none;
}

.zcs-locator__card.is-selected:active {
	transform: none;
	box-shadow: none;
	background: #fff;
	opacity: 1;
}

.zcs-locator__card-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.zcs-locator__card-title {
	margin: 0;
	font: 700 18px/1.15 Rajdhani, sans-serif;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.zcs-locator__card-badges {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
}

.zcs-locator__distance-badge {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 0 10px;
	border: 1px solid var(--zcs-color-border-strong);
	background: #000;
	color: #fff;
	font: 700 14px/1 Rajdhani, sans-serif;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.zcs-locator__card-body {
	display: grid;
	gap: 0;
}

.zcs-locator__line,
.zcs-map-info__line,
.zcs-map-info__hours,
.zcs-map-info__workshop {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	color: var(--zcs-color-text);
	font: 400 16px/1.22 Rajdhani, sans-serif;
}

.zcs-locator__line-icon,
.zcs-map-info__line-icon {
	margin-top: 1px;
}

.zcs-locator__line-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 1em;
	flex: 0 0 auto;
	margin-top: 0.08em;
}

.zcs-locator__line-icon-image {
	display: block;
	width: auto;
	height: 1em;
	object-fit: contain;
}

.zcs-locator__line-text,
.zcs-map-info__line-text {
	display: block;
	min-width: 0;
}

.zcs-locator__line-part {
	display: block;
}

.zcs-locator__line-part.is-single-line {
	white-space: normal;
}

.zcs-locator__line--address .zcs-locator__line-text {
	display: flex;
	flex-direction: column;
	gap: 0;
	white-space: normal;
}

.zcs-locator__map-column {
	min-width: 0;
}

.zcs-locator__map-frame {
	display: grid;
	height: var(--zcs-pane-height-desktop);
	overflow: hidden;
}

.zcs-locator__map,
.zcs-locator__map-fallback {
	grid-area: 1 / 1;
	width: 100%;
	height: 100%;
}

.zcs-locator__map-fallback {
	align-items: center;
	justify-content: center;
	padding: 28px;
	background: linear-gradient(135deg, #f6f6f6 0%, #ececec 100%);
	text-align: center;
}

.zcs-locator__map-fallback p {
	max-width: 420px;
	margin: 0;
	font: 500 18px/1.3 Rajdhani, sans-serif;
	color: var(--zcs-color-text);
}

.zcs-map-marker {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 58px;
	transform: translateY(-6px) scale(1);
	transform-origin: 50% 100%;
	transition: transform var(--zcs-transition), filter var(--zcs-transition);
}

.zcs-map-marker__pin {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50% 50% 50% 0;
	background: #000;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
	transform: rotate(-45deg);
}

.zcs-map-marker__pin::after {
	content: "";
	position: absolute;
	inset: 6px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
}

.zcs-map-marker__glyph {
	position: relative;
	z-index: 1;
	width: 22px;
	height: 22px;
	transform: rotate(45deg);
	object-fit: contain;
}

.zcs-map-marker.is-selected {
	transform: translateY(-6px) scale(1.12);
	filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.24));
}

.zcs-map-marker.is-selected .zcs-map-marker__pin::after {
	inset: 5px;
	border-color: rgba(255, 255, 255, 0.46);
}

.zcs-map-marker--origin {
	position: relative;
	width: 22px;
	height: 22px;
	border: 4px solid #fff;
	border-radius: 50%;
	background: #1a73e8;
	box-shadow: 0 0 0 10px rgba(26, 115, 232, 0.24), 0 10px 22px rgba(0, 0, 0, 0.18);
}

.zcs-map-info {
	min-width: 250px;
	max-width: 330px;
	padding: 0;
	padding-right: 22px;
	font-family: Rajdhani, sans-serif;
	color: var(--zcs-color-text);
}

.zcs-map-info__title {
	margin: 24px 0 18px;
	font: 700 18px/1.15 Rajdhani, sans-serif;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.zcs-map-info__line a {
	color: inherit;
	text-decoration: none;
	background: transparent;
	border: 0;
	padding: 0;
	box-shadow: none;
}

.zcs-map-info__line-icon,
.zcs-map-info__action-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 1em;
	flex: 0 0 auto;
	margin-top: 0.08em;
}

.zcs-map-info__line-icon-image,
.zcs-map-info__action-icon-image {
	display: block;
	width: auto;
	height: 1em;
	object-fit: contain;
}

.zcs-map-info__line--address .zcs-map-info__line-text {
	display: flex;
	flex-direction: column;
	gap: 0;
	white-space: normal;
}

.zcs-map-info__line-part {
	display: block;
}

.zcs-map-info__actions {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	margin-top: 22px;
}

.zcs-map-info__actions a {
	min-height: 42px;
	padding: 0 16px;
	border: 0;
	background: #f3f3f3;
	color: #000;
	font: 700 15px/1 Rajdhani, sans-serif;
	letter-spacing: 0.05em;
	width: auto;
}

.zcs-map-info__actions a:hover,
.zcs-map-info__actions a:focus {
	background: #eaeaea;
	color: #000;
}

.zcs-map-info__action-icon {
	margin-right: 8px;
}

.zcs-locator__map .gm-style .gm-style-iw-c,
.zcs-locator__map .gm-style .gm-style-iw-d {
	border-radius: 0 !important;
}

.zcs-locator__map .gm-style .gm-style-iw-c {
	padding: 12px 14px 22px 30px !important;
}

.zcs-locator__map .gm-style .gm-style-iw-chr {
	position: absolute;
	inset: 0 0 auto 0;
	height: 0;
	overflow: visible;
}

.zcs-locator__map .gm-style .gm-style-iw-ch {
	display: none;
}

.zcs-locator__map .gm-style .gm-style-iw-d {
	overflow: visible !important;
}

.zcs-locator__map .gm-style .gm-style-iw-c button.gm-ui-hover-effect {
	position: absolute !important;
	top: 0 !important;
	right: 0 !important;
}

@container (min-width: 1025px) {
	.zcs-locator__list {
		overflow-y: auto;
	}
}

@container (max-width: 1200px) {
	.zcs-locator__controls {
		grid-template-columns: minmax(0, 1fr) 220px;
	}

	.zcs-locator__layout {
		grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr);
	}

	.zcs-locator__list-column,
	.zcs-locator__map-frame,
	.zcs-locator__map,
	.zcs-locator__map-fallback {
		height: var(--zcs-pane-height-tablet);
	}
}

@container (max-width: 1024px) {
	.zcs-locator__controls {
		grid-template-columns: minmax(0, 1fr) 220px;
		gap: 14px 18px;
	}

	.zcs-locator__layout {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
		gap: 18px;
	}

	.zcs-locator__list-column {
		padding: 18px 12px 16px;
	}

	.zcs-locator__list-column,
	.zcs-locator__map-frame,
	.zcs-locator__map,
	.zcs-locator__map-fallback {
		height: var(--zcs-pane-height-tablet);
	}

	.zcs-locator__list {
		overflow-y: auto;
	}
}

@container (max-width: 767px) {
	.zcs-locator__controls {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.zcs-locator__search {
		width: 100%;
	}

	.zcs-locator__filters {
		width: 100%;
	}

	.zcs-locator__location-button {
		width: 100%;
		min-width: 0;
		justify-content: center;
	}

	.zcs-locator__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.zcs-locator__map-column {
		order: -1;
	}

	.zcs-locator__list-column,
	.zcs-locator__map-frame,
	.zcs-locator__map,
	.zcs-locator__map-fallback {
		height: calc(var(--zcs-pane-height-mobile) + 200px);
	}

	.zcs-locator__list-column {
		height: auto;
	}

	.zcs-locator__list {
		max-height: none;
		overflow: visible;
		padding-right: 0;
		scrollbar-gutter: auto;
	}

	.zcs-locator__results-toolbar {
		align-items: flex-start;
	}

	.zcs-locator__results-summary {
		font-size: 17px;
	}

	.zcs-locator__province-name,
	.zcs-locator__province-count {
		font-size: 17px;
	}

	.zcs-locator__card-title {
		font-size: 18px;
	}

	.zcs-locator__line--address .zcs-locator__line-text,
	.zcs-map-info__line--address .zcs-map-info__line-text {
		overflow: visible;
		text-overflow: clip;
		white-space: normal;
	}

	.zcs-map-info__actions {
		flex-direction: row;
	}
}
