.footer {
	display: flex;
	justify-content: space-between;
	max-width: 120rem;
	padding: 8rem 0 3rem 0;
	margin-left: auto;
	margin-right: auto;
}

.footer__support {
	display: flex;
	flex-direction: column;
}

.footer__support-title {
	font-size: var(--font-size-s);
	color: var(--text-color-additional);
}

.footer__support-link {
	font-size: var(--font-size-l);
	text-decoration: none;
	font-weight: bold;
	color: var(--text-color-primary);
	margin-top: 1rem;
}

.footer__support-link:hover {
	opacity: 0.7;
}

.footer__navigation {
	display: flex;
	justify-content: space-between;
}

.footer__navigation-list {
	padding: 0 2rem;
	list-style: none;
}

.footer__navigation-item {
	padding: 0.5rem 0;
}

.footer__navigation-link {
	text-decoration: none;
	color: var(--text-color-secondary);
	transition: color 0.3s ease 0s;
}

.footer__navigation-link:hover {
	color: var(--text-color-primary);
}

.footer__yandex-link {
	width: 9.5rem;
	height: 3.5rem;
}

.footer__yandex-link:hover {
	opacity: 0.7;
}

.footer__links {
	display: flex;
	flex-direction: column;
	position: relative;
}

.footer__social-links {
	display: flex;
	justify-content: flex-end;
}

.footer__social-link img {
	width: 2.5rem;
	height: 2.5rem;
	color: var(--text-color-additional);
	margin-left: 0.5rem;
	transition: color 0.3s ease 0s;
}

.footer__social-link:hover img {
	opacity: 0.7;
}

.footer__go-up {
	position: relative;
}

.footer__go-up-link {
	position: absolute;
	right: 0;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 100%;
	font-size: 0;
	color: var(--text-color-primary);
	background-color: var(--bg-color-secondary);
	background-image: url("/assets/images/up-arrow.svg");
	background-size: 25%;
	background-position: center;
	background-repeat: no-repeat;
	cursor: pointer;
	transition: all 0.3s ease-in-out 0s;
}

body.light-theme .footer__go-up-link {
	background-image: url("/assets/images/up-arrow-light.svg");
}

.footer__go-up-link:hover {
	color: var(--text-color-primary);
	background-color: var(--bg-color-secondary);
	background-image: url("/assets/images/up-arrow-light.svg");
}

body.light-theme .footer__go-up-link:hover {
	background-image: url("/assets/images/up-arrow.svg");
}

.footer__go-up-link svg {
	width: auto;
	height: 25%;
}

.footer__email,
.footer__address,
.footer__copyrite {
	font-size: var(--font-size-s);
	color: var(--text-color-additional);
	margin-top: 1rem;
}

.footer__email {
	margin-top: 4.5rem;
	transition: color 0.3s ease 0s;
}

.footer__email:hover {
	color: var(--text-color-primary);
}

.footer__stores {
	display: flex;
	flex-wrap: wrap;
	width: 17rem;
	margin-top: 1.5rem;
	gap: 0.5rem;
}

.footer__stores-link {
	flex-grow: 1;
	width: calc(50% - 0.5rem);
}

.footer__stores-link:hover {
	opacity: 0.7;
}

.footer__stores-link img {
	width: 100%;
	height: auto;
}

/* mobile */

@media (max-width: 1550px) {
	.footer__support-link {
		font-size: var(--font-size-l);
		text-wrap: nowrap;
	}

	.footer__navigation-list {
		padding: 0 1rem;
	}
}

@media (max-width: 1200px) {
	.footer__navigation {
		flex-wrap: wrap;
		align-content: flex-start;
	}

	.footer__navigation-list {
		padding-top: 2rem;
		width: 50%;
	}

	.footer__social-links {
		padding-top: 2rem;
	}

	.footer__support {
		text-align: right;
	}

}

@media (max-width: 900px) {
	.footer__navigation {
		display: none;
	}

	.footer__links {
		width: 100%;
		align-items: center;
	}

	.footer__support {
		text-align: center;
	}

	.footer__go-up {
		width: 100%;
	}

	.footer__stores {
		width: 50%;
	}
}

@media (max-width: 750px) {
	.footer {
		padding: 4rem 1rem;
	}

	.footer__stores {
		width: 80%;
	}
}

@media (max-width: 420px) {
	.footer__stores {
		width: 100%;
	}

	.footer__yandex-link {
		display: none;
	}
}