.stores-section {
	position: relative;
	display: flex;
	column-gap: 20px;
	height: 812px;
}

.stores-section .title--main {
	margin: 24px 0;
}

.stores-section__city-block {
	display: flex;
	width: 50%;
	flex-direction: column;
	padding-top: 12px;
}

.stores-section__city-selector {
	display: flex;
	gap: 12px;
	height: 48px;
	min-height: 48px;
	border: 1px solid var(--inactive-olive-light);
	padding: 0 16px;
	position: relative;
	margin-bottom: 12px;
	border-radius: 6px;
}

.stores-section__search-icon {
	width: 24px;
}

.stores-section__map {
	width: 55%;
	height: 100%;
	position: relative;
	margin-right: calc(50% - 50vw + 5px);
	width: calc(100% + (50vw - 50%));
}

.stores-section__map.stores-section__map-load:before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: #f82c2f;
	opacity: 0.9;
	transition: background-color .4s;
	z-index: 3;
}

.ymaps-2-1-79-map {
	height: 100% !important;
	width: 100% !important;
}

#zoom-controls {
	position: absolute;
	right: 20px;
	display: flex;
	flex-direction: column;
	z-index: 50;
	top: 50%;
	transform: translateY(-50%);
}

#zoom-controls button {
	padding: 8px;
	cursor: pointer;
	border: none;
	background-color: var(--white-color);
}

#zoom-controls button:hover {
	background-color: var(--bg-olive-dark);
}

#zoom-controls button:hover svg path {
	fill: var(--white-color);
}

.stores-section__control--zoom-in {
	position: relative;
	border-radius: 4px 4px 0 0;
}

.stores-section__control--zoom-in::before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translate(-50%, 50%);
	width: calc(100% - 10px);
	height: 1px;
	background: var(--inactive-olive-light);
}

.stores-section__control--zoom-out {
	border-radius: 0 0 4px 4px;
}

.stores-section__control--zoom-geo {
	border-radius: 4px;
	margin-top: 8px;
}

.stores-section__selector-input {
	width: 100%;
	padding: 8px;
	box-sizing: border-box;
	border-bottom: 1px solid #eee;
	all: unset;
	color: #2b2b2b;
	transition: .2s;
	width: 100%;
	padding-right: 24px;
}

.city-selector__dropdown {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background: var(--white-color);
	border: 1px solid var(--white-grey-color);
	z-index: 10;
	overflow-y: auto;
	max-height: 190px;
}

.city-selector__dropdown.is-open {
	display: block;
}

.city-selector__list li {
	display: flex;
	padding: 8px 12px;
	align-items: center;
	gap: 8px;
	align-self: stretch;
	cursor: pointer;
	font-size: 16px;
	font-weight: 400;
	line-height: 22px;
}

.city-selector__list li.is-active {
	background-color: #f4f4f4;
}

.city-selector__list li:not(.is-active):hover {
	background-color: #f4f4f4;
}

.stores-section__selector-input {
	padding-right: 36px;
}

.city-selector__clear {
	position: absolute;
	top: 50%;
	right: 16px;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	background: none;
	border: none;
	cursor: pointer;
}

.stores-section__list {
	flex-grow: 1;
	overflow-y: auto;
	min-height: 0;
}

.stores-section__card {
	padding: 12px 16px;
	border-bottom: 1px solid var(--inactive-olive-light);
	transition: background-color .4s;
	cursor: pointer;
}

.stores-section__item:hover .stores-section__card,
.stores-section__item.is-active .stores-section__card {
	background-color: var(--inactive-olive-light);
}

.stores-section__card--maps {
	display: flex;
	flex-direction: column;
}

.stores-section__card-title {
	color: #101C24;
	font-weight: 600;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 2%;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.stores-section__card-adress {
	color: #101C24;
	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0%;
	margin-bottom: 2px;
}

.stores-section__card-route {
	width: fit-content;
	display: flex;
	align-items: center;
	flex-direction: row;
	gap: 4px;
	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0%;
	color: var(--color-dark-grey);
	margin-bottom: 8px;
	position: relative;
	padding-bottom: 1.5px;
}

.stores-section__card-route:hover, .stores-section__card-phone:hover {
	color: var(--bg-olive-light);
}

.stores-section__card-route::before, .stores-section__card-phone:before {
	content: "";
	position: absolute;
	width: 0;
	height: 1px;
	left: 0;
	bottom: 0;
	background: var(--bg-olive-light);
	-webkit-transition: .4s linear;
    -o-transition: .4s linear;
    transition: .4s linear;
}

.stores-section__card-route:hover::before, .stores-section__card-phone:hover::before {
	width: 100%;
}

.stores-section__card-time {
	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0%;
	color: #101C24;
	margin-bottom: 2px;
}

.stores-section__card-phone {
	width: fit-content;
	position: relative;
	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0%;
	color: var(--color-dark-grey);
}

.scroll-top-button {
    bottom: 28px;
    box-shadow: 0 2px 20px 0 rgba(0,0,0,.12);
    position: fixed;
    right: -97px;
    transition: .4s;
    z-index: 2
}

.scroll-top-button--show {
    transform: translateX(-125px)
}


.city-selector__dropdown::-webkit-scrollbar,
.stores-section__list::-webkit-scrollbar {
	height: 4px;
	width: 4px
}

.city-selector__dropdown::-webkit-scrollbar-track,
.stores-section__list::-webkit-scrollbar-track {
	background-color: transparent
}

.city-selector__dropdown::-webkit-scrollbar-thumb,
.stores-section__list::-webkit-scrollbar-thumb {
	background-color: var(--inactive-olive-light);
	border-radius: 2px
}

/* Animation Logo */
.stores-section__load {
	position: absolute;
	z-index: 15;
	top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.stores-section__load path {
    stroke: white;
    stroke-width: 1;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    fill: transparent;
    animation: draw 3s ease forwards;
}

.stores-section__load path:nth-child(1) {
    animation-delay: 0.2s;
}

.stores-section__load path:nth-child(2) {
    animation-delay: 1.2s;
}

.stores-section__load path:nth-child(3) {
    animation-delay: 1.4s;
}

.stores-section__load path:nth-child(4) {
    animation-delay: 1.6s;
}

.stores-section__load path:nth-child(5) {
    animation-delay: 1.8s;
}

.stores-section__load path:nth-child(6) {
    animation-delay: 2s;
}

.stores-section__load path:nth-child(7) {
    animation-delay: 2.2s;
}

.stores-section__load path:nth-child(8) {
    animation-delay: 2.4s;
}

.stores-section__load path:nth-child(9) {
    animation-delay: 2.6s;
}

.stores-section__load path:nth-child(10) {
    animation-delay: 2.8s;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
        fill: white;
    }
}
/* Animation Logo */

@media(max-width: 1279px) {
	.stores-section {
		grid-gap: 30px;
	}

	.stores-section {
		height: 728px;
	}

	.stores-section__map {
		width: calc(100% + (50vw - 4%));
	}
}

@media(max-width: 1023px) {
    .stores-section__map {
        width: calc(100% + (50vw - 70%));
    }

	.stores-section__load {
		left: 46%;
		width: 75%;
	}
}

@media(max-width: 767px) {
	.stores-section .title--main {
		margin: 8px 0 16px 0;
	}

	.stores-section {
		flex-direction: column;
		grid-gap: 16px;
		height: auto;
	}

	.stores-section__city-block {
		width: 100%;
	}

	.stores-section__list {
		display: none;
	}

	.stores-section__city-selector {
		margin-bottom: 0;
	}

	.stores-section__map {
		height: 320px;
		margin-left: -20px;
		margin-right: -20px;
		width: calc(100% + 40px);
	}

	.stores-section__load {
		left: 45%;
	}
}