/* ===== SECTION: Footer - Start ===== */
footer {
	position: relative;
	width: 100%;
	padding: 120px 0 32px 0;
	overflow: hidden;
}

/* Верхній блок */
footer .footer-top {
	display: flex;
	justify-content: space-between;
	gap: 195px;
}

footer .footer-intro {
	display: flex;
	flex-direction: column;
	gap: 97px;
	flex: 0 1 739px;
}

footer .footer-slogan {
	font-family: var(--font-family-2);
	font-weight: 600;
	font-size: 36px;
	line-height: 1.3;
	color: var(--white);
}

footer .footer-menus {
	display: flex;
	gap: 78px;
}

footer .footer-col {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

footer .footer-col-title {
	font-family: var(--font-family-2);
	font-weight: 500;
	font-size: 18px;
	line-height: 1.2;
	color: var(--white);
}

footer .footer-menu-wrapper {
	margin: -8px 0;
}

footer .footer-menu {
	font-size: 18px;
	line-height: 1.2;
}

footer .footer-menu li a {
	color: var(--white);
	transition: all 0.3s ease;
}

footer .footer-menu li.current-menu-item a {
	color: var(--primary);
}
@media not all and (pointer: coarse) {
	footer .footer-menu li a:hover {
		color: var(--primary);
	}
}

footer .footer-contacts {
	display: flex;
	flex-direction: column;
	gap: 16px;
	font-size: 18px;
	line-height: 1.2;
	color: var(--white);
}

footer .footer-contacts a {
	color: var(--white);
	transition: all 0.3s ease;
}

@media not all and (pointer: coarse) {
	footer .footer-contacts a:hover {
		color: var(--primary);
	}
}

footer .footer-socials-divider {
	margin: 0 4px;
}

/* Категорії */
footer .footer-categories {
	display: flex;
	flex-direction: column;
	flex: 0 0 904px;
	border-top: 1px solid var(--white);
}

footer .footer-category {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 16px 0;
	border-bottom: 1px solid var(--white);
}

footer .footer-category-info {
	display: flex;
	align-items: center;
	gap: 36px;
	min-width: 0;
}

footer .footer-category-tile {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 77px;
	width: 77px;
	height: 77px;
	overflow: hidden;
	background: var(--white);
	border-radius: var(--radius-tiny);
}

footer .footer-category-tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

footer .footer-category-name {
	font-family: var(--font-family-2);
	font-weight: 600;
	font-size: 18px;
	line-height: 1.2;
	color: var(--white);
	transition: all 0.3s ease;
}

@media not all and (pointer: coarse) {
	footer .footer-category-info:hover .footer-category-name {
		color: var(--primary);
	}
}

footer .footer-category-accent .footer-category-tile {
	background: var(--primary);
}

footer .footer-category-accent .footer-category-tile img.icon {
	width: 34px;
	height: 34px;
	object-fit: contain;
}

footer .footer-category-accent .footer-category-name {
	color: var(--primary);
}

footer .footer-category-btn {
	flex: 0 0 auto;
	--btn-height: 44px;
	--btn-pad: 24px;
	--btn-border-width: 1px;
	--btn-border-color: var(--light-gray);
	--btn-bg: transparent;
	--btn-color: var(--white);
	--btn-hover-bg: var(--white);
	--btn-hover-border-color: var(--white);
	--btn-hover-color: var(--black);
}

/* Рядок з назвою магазину */
footer .footer-marquee {
	margin-top: 100px;
	margin-inline: calc(50% - 50vw);
	padding: 40px 0;
	overflow: hidden;
	border-top: 1px solid var(--white);
	border-bottom: 1px solid var(--white);
}

footer .footer-marquee-track {
	display: flex;
	width: max-content;
	animation: opFooterMarquee 54s linear infinite;
}

footer .footer-marquee-group {
	display: flex;
	align-items: center;
	gap: 32px;
	padding-right: 32px;
}

footer .footer-marquee-text {
	font-family: var(--font-family-2);
	font-weight: 500;
	font-size: 68px;
	line-height: 1;
	color: var(--white);
	white-space: nowrap;
}

@keyframes opFooterMarquee {
	to {
		transform: translateX(-50%);
	}
}

/* Нижній рядок */
footer .footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 32px;
}

footer .footer-legal-wrapper,
footer .footer-legal {
	display: contents;
}

footer .footer-legal > .menu-item {
	padding: 0;
}

footer .footer-legal a,
footer .footer-developer {
	font-size: 18px;
	line-height: 26px;
	color: var(--white);
	transition: all 0.3s ease;
}

@media not all and (pointer: coarse) {
	footer .footer-legal a:hover,
	footer a.footer-developer:hover {
		color: var(--primary);
	}
}

/* Adaptive 1680px */
@media (max-width: 1680px) {
	footer {
		padding: 76px 0 28px 0;
	}

	footer .footer-top {
		gap: 109px;
	}

	footer .footer-intro {
		flex: 0 1 630px;
	}

	footer .footer-slogan {
		font-size: 28px;
	}

	footer .footer-col {
		gap: 20px;
	}

	footer .footer-col-title,
	footer .footer-menu,
	footer .footer-contacts,
	footer .footer-category-name {
		font-size: 16px;
	}

	footer .footer-categories {
		flex: 0 0 629px;
	}

	footer .footer-category-btn {
		--btn-ring: 6px;
		--btn-pad: 20px;
	}

	footer .footer-marquee {
		margin-top: 76px;
	}

	footer .footer-marquee-text {
		font-size: 68px;
	}

	footer .footer-bottom {
		margin-top: 28px;
	}
}

/* Adaptive 1279px */
@media (max-width: 1279px) {
	footer {
		padding: 48px 0;
	}

	footer .footer-top {
		flex-direction: column;
		gap: 72px;
	}

	footer .footer-intro {
		flex: 0 1 auto;
		gap: 72px;
	}

	footer .footer-slogan {
		font-size: 18px;
	}

	footer .footer-menus {
		flex-direction: column;
		gap: 36px;
	}

	footer .footer-col {
		gap: 16px;
	}

	footer .footer-col-title {
		font-size: 14px;
	}

	footer .footer-menu-wrapper {
		margin: -6px 0;
	}

	footer .footer-menu > .menu-item {
		padding: 6px 0;
	}

	footer .footer-contacts {
		gap: 12px;
	}

	footer .footer-categories {
		flex: 0 1 auto;
	}

	footer .footer-category-info {
		gap: 24px;
	}

	footer .footer-category-tile {
		flex: 0 0 49px;
		width: 49px;
		height: 49px;
	}

	footer .footer-category-accent .footer-category-tile img.icon {
		width: 22px;
		height: 22px;
	}

	footer .footer-category-name {
		font-size: 14px;
	}

	footer .footer-category-btn {
		--btn-height: var(--btn-height-small);
		--btn-ring: 4px;
		--btn-pad: 16px;
	}

	footer .footer-marquee {
		margin-top: 72px;
	}

	footer .footer-marquee-text {
		font-size: 42px;
	}

	footer .footer-bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		margin-top: 20px;
	}

	footer .footer-legal {
		grid-template-columns: 1fr;
		gap: 12px;
	}
}

/* ===== SECTION: Footer - End ===== */
