:root {
	--container-height: 60vh;
	--search-width: calc(50% - var(--spacing-07));
}

.stores-locator-view {
	/* stylelint-disable-next-line property-no-vendor-prefix */
	-webkit-text-size-adjust: 100%;
	/* stylelint-disable-next-line property-no-vendor-prefix */
	text-size-adjust: 100%;
}

[dir] .stores-locator-view .content-header__title {
	margin-bottom: var(--spacing-03);
}

.stores-locator-view .content-header__description {
	display: none;
}

[dir] .stores-locator-view__spot {
	padding-bottom: var(--spacing-05);
}

/* Prevents map tab from inheriting the scrollable list tab's height */
.zds-carousel-container:has(.e-store-search__tabs-panel-map[data-zds-tabs-panel-value="1"][data-ecomfront-carousel-is-visible="true"]) {
	max-height: 100vh;
	overflow: hidden;
}

@media screen and (min-width: 48rem) {
	.stores-locator-view__spot {
		width: 50%;
	}
	[dir] .stores-locator-view__spot {
		padding: 0;
	}

	[dir] .stores-locator-view .layout-store__content {
		margin-top: var(--spacing-07);
	}

	[dir] .stores-locator-view .location-search-form, [dir] .stores-locator-view .location-search__empty-state, [dir] .stores-locator-view .location-search__results {
		margin: 0;
	}

	[dir=ltr] .stores-locator-view .location-search-form, [dir=ltr] .stores-locator-view .location-search__empty-state, [dir=ltr] .stores-locator-view .location-search__results {
		padding-left: 0;
		padding-right: 0;
	}

	[dir=rtl] .stores-locator-view .location-search-form, [dir=rtl] .stores-locator-view .location-search__empty-state, [dir=rtl] .stores-locator-view .location-search__results {
		padding-right: 0;
		padding-left: 0;
	}

	[dir] .stores-locator-view .layout-content {
		margin-top: 0;
	}

	.stores-locator-view .content-header__description {
		display: block;
	}
}

