/* Footer 5 — layout only; colors via --ref-* in ref-theme.css */

.site-footer.cz-footer.footer-five {
	padding: 20px;
}

.site-footer.cz-footer.footer-five .cz-footer__inner {
	max-width: 1240px;
}

.footer-five__top {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1fr);
	column-gap: clamp(24px, 4vw, 64px);
	align-items: start;
	padding-bottom: 45px;
}

.footer-five__top--nav-count-1 {
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1fr);
}

.footer-five__top--nav-count-0 {
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}

.footer-five__brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
}

.footer-five__logo {
	display: block;
	max-width: 341px;
	width: 100%;
	height: auto;
}

.footer-five__email.contact-email a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
}

.footer-five__email.contact-email img {
	display: block;
	flex-shrink: 0;
}

.footer-five__email.contact-email span {
	font-size: 16px;
	font-weight: 600;
}

.footer-five .footer-menu {
	font-size: 12px;
	font-weight: 600;
}

.footer-five .footer-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-five .footer-menu li {
	margin: 0 0 10px;
}

.footer-five .footer-menu li a {
	text-decoration: none;
}

.footer-five__help.footer-contact {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.footer-five__help .contact-text {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.footer-five__help .contact-title {
	font-weight: 600;
	font-size: 18px;
}

.footer-five__help .contact-description {
	font-weight: 600;
	font-size: 14px;
	line-height: 1.4;
}

.footer-five__rule {
	border: 0;
	height: 1px;
	margin: 0 0 70px;
}

.footer-five__bar {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	gap: clamp(24px, 4vw, 48px);
	padding-bottom: 0;
}

.footer-five__bar-left {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 28px;
	min-width: 0;
	flex: 1 1 auto;
	min-width: 0;
}

.footer-five__license.license {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
}

.footer-five__license img,
.footer-five__lang.footer-language img {
	display: block;
	filter: brightness(0) saturate(100%);
	opacity: 0.55;
}

.site-footer.cz-footer.footer-five .footer-five__social.social-networks {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.site-footer.cz-footer.footer-five .footer-five__social.social-networks .footer-five__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-sizing: border-box;
	min-width: 110px;
	height: 38px;
	padding: 0 14px;
	border-radius: 19px;
	box-shadow: none;
	text-decoration: none;
	line-height: 1;
	width: auto;
}

.site-footer.cz-footer.footer-five .footer-five__social.social-networks .footer-five__social-link img {
	display: block;
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	filter: brightness(0) saturate(100%);
	opacity: 0.55;
}

.site-footer.cz-footer.footer-five .footer-five__social.social-networks .footer-five__social-link:hover img {
	opacity: 0.85;
}

.site-footer.cz-footer.footer-five .footer-five__social.social-networks .footer-five__social-link span {
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

.footer-five__bar-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 28px;
	min-width: 0;
	flex: 1 1 auto;
	max-width: 584px;
	justify-content: space-between;
}

.footer-five__lang.footer-language {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	border-radius: 22px;
	height: 32px;
	padding: 0 10px;
}

.footer-five__lang.footer-language span {
	font-weight: 700;
	font-size: 12px;
}

.footer-five__copyright.copyright {
	font-weight: 400;
	font-size: 10px;
	line-height: 22px;
	text-align: right;
	max-width: 100%;
	text-transform: uppercase;
}

.footer-five__payments {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.footer-five__bar-left .footer-five__payments {
	margin-top: 8px;
	min-width: 100%;
	justify-content: space-between;
}

.footer-five__payments img {
	display: block;
	flex: 0 0 auto;
	width: 42px;
	height: 32px;
	max-width: 42px;
	object-fit: contain;
	object-position: center;
}

.footer-five__payments img[alt="Mifinity"],
.footer-five__payments img[alt="BankTransfer"] {
	filter: brightness(0) saturate(100%);
	opacity: 0.55;
}

@media (max-width: 1380px) {
	.footer-five__top {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		column-gap: clamp(20px, 3vw, 40px);
		row-gap: 28px;
	}

	.footer-five__brand {
		grid-column: 1 / -1;
		align-items: flex-start;
	}

	.site-footer.cz-footer.footer-five .footer-menu {
		text-align: left;
		margin-bottom: 0;
		width: 100%;
	}

	.footer-five__help.footer-contact {
		align-items: flex-start;
	}

	.footer-five__bar {
		flex-direction: column;
		align-items: center;
	}

	.footer-five__bar-left,
	.footer-five__bar-right {
		align-items: center;
		width: 100%;
		max-width: none;
	}

	.footer-five__copyright.copyright {
		text-align: center;
	}

	.footer-five__copyright.copyright br {
		display: none;
	}

	.footer-five__social.social-networks {
		justify-content: center;
	}

	.footer-five__payments {
		justify-content: center;
	}
}

@media (max-width: 767px) {
	.footer-five__top {
		grid-template-columns: 1fr;
	}

	.footer-five__brand {
		align-items: center;
	}

	.site-footer.cz-footer.footer-five .footer-menu {
		text-align: center;
		margin-bottom: 0;
	}

	.footer-five__help.footer-contact {
		align-items: center;
	}

	.footer-five__help .contact-text {
		align-items: center;
	}

	.footer-five__social.social-networks {
		flex-direction: column;
		align-items: center;
	}

	.site-footer.cz-footer.footer-five {
		padding-top: 20px;
	}
}
