/**
 * Footer variant 4 (Footer4) — same look as v3, order: badges → trust → payments → copyright.
 */

.footer.footer--v4 {
	background: var(--footer-background-color, linear-gradient(86.12deg, #0b072f 0%, #181065 100%));
	box-sizing: border-box;
	padding-bottom: 40px;
	padding-top: 67px;
	width: 100%;
}

.footer.footer--v4 > .container {
	box-sizing: border-box;
	margin-left: auto;
	margin-right: auto;
	max-width: 1200px;
	padding-left: 0;
	padding-right: 0;
	width: 100%;
}

/* —— Badge menu (first row) —— */
.footer.footer--v4 .footer-menu {
	margin: 0 auto;
	max-width: 1200px;
	padding: 0;
	width: 100%;
}

.footer.footer--v4 .footer-menu ul {
	align-items: center;
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	list-style: none;
	margin: 0;
	min-height: 75px;
	padding: 0;
	width: 100%;
}

.footer.footer--v4 .footer-menu ul li {
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
}

.footer.footer--v4 .footer-menu ul li a {
	background: none;
	border: none;
	display: block;
	line-height: 0;
	padding: 0;
	text-decoration: none;
}

.footer.footer--v4 .footer-menu ul li a img {
	display: block;
	height: 75px;
	max-width: none;
	object-fit: contain;
	width: auto;
}

.footer.footer--v4 .footer-menu ul li a:not(:has(img)) {
	align-items: center;
	color: var(--footer-menu-link-color, #fff);
	display: inline-flex;
	font-size: 20px;
	font-weight: 400;
	justify-content: center;
	line-height: 20px;
	max-width: none;
	min-height: 75px;
	padding: 0 4px;
	text-align: center;
	text-transform: capitalize;
	white-space: nowrap;
	width: auto;
}

.footer.footer--v4 .footer-menu ul li a::after {
	content: none;
	display: none;
}

/* —— Trust icons (second row) —— */
.footer.footer--v4 .footer-middle {
	background: transparent;
	border-style: solid;
	border-color: rgba(195, 209, 218, 1);
	border-width: 1px 0 1px 0;
	box-sizing: border-box;
	display: block;
	margin: 57px auto 0;
	max-width: 1200px;
	min-height: 0;
	padding: 0;
	position: static;
	width: 100%;
}

.footer.footer--v4 .footer-middle::after {
	content: none;
	display: none;
}

.footer.footer--v4 .footer-icons--middle {
	align-items: center;
	box-sizing: border-box;
	display: flex;
	flex-wrap: nowrap;
	height: 100px;
	justify-content: space-between;
	margin: 0;
	padding: 32px 190px 31px;
	width: 100%;
}

.footer.footer--v4 .footer-icons--middle__item {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	justify-content: center;
}

.footer.footer--v4 .footer-icons--middle__item img {
	display: block;
	flex-shrink: 0;
	height: auto;
	object-fit: contain;
	width: auto;
}

.footer.footer--v4 .footer-icons--middle__item a {
	color: var(--footer-menu-link-color, #fff);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
}

.footer.footer--v4 .footer-icons--middle__item:nth-child(1) img {
	height: 37px;
	width: 119px;
}

.footer.footer--v4 .footer-icons--middle__item:nth-child(2) img {
	height: 60px;
	width: 61px;
}

.footer.footer--v4 .footer-icons--middle__item:nth-child(3) img {
	height: 44px;
	width: 87px;
}

/* —— Payment icons (third row) —— */
.footer.footer--v4 .footer-top {
	display: block;
	margin: 57px auto 0;
	max-width: 1200px;
	padding: 0;
	width: 100%;
}

.footer.footer--v4 .footer-icons--top {
	align-items: center;
	display: flex;
	flex-wrap: nowrap;
	height: 57px;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 100%;
	min-height: 57px;
	width: 100%;
}

.footer.footer--v4 .footer-icons--top__item {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	justify-content: center;
	min-width: 0;
}

.footer.footer--v4 .footer-icons--top__item img {
	display: block;
	height: auto;
	object-fit: contain;
	width: 75px;
}

/* —— Copyright —— */
.footer.footer--v4 .footer-bottom {
	margin: 0 auto;
	max-width: 1200px;
	padding: 0;
	width: 100%;
}

.footer.footer--v4 .footer-bottom {
	margin-top: 0;
}

.footer.footer--v4 .footer-bottom .copyright {
	box-sizing: border-box;
	color: var(--footer-text-color, #888);
	font-size: 16px;
	font-weight: 400;
	line-height: 20px;
	margin: 0;
	min-height: 20px;
	padding: 48px 0 0;
	text-align: center;
	text-transform: lowercase;
}

@media (max-width: 1230px) {
	.footer.footer--v4 > .container {
		padding-left: 10px;
		padding-right: 10px;
	}
}

@media (max-width: 1199px) {
	.footer.footer--v4 .footer-menu ul {
		flex-wrap: wrap;
		gap: 16px;
		justify-content: center;
	}

	.footer.footer--v4 .footer-icons--middle {
		gap: 24px;
		height: auto;
		justify-content: center;
		min-height: 80px;
		padding: 24px 16px;
	}

	.footer.footer--v4 .footer-icons--top {
		flex-wrap: wrap;
		gap: 20px 24px;
		justify-content: center;
	}
}

@media (max-width: 768px) {
	.footer.footer--v4 {
		padding-bottom: 32px;
		padding-top: 48px;
	}

	.footer.footer--v4 .footer-middle {
		margin-top: 40px;
	}

	.footer.footer--v4 .footer-top {
		margin-top: 40px;
	}

	.footer.footer--v4 .footer-menu ul {
		flex-direction: column;
		gap: 12px;
		min-height: 0;
	}

	.footer.footer--v4 .footer-bottom .copyright {
		padding-top: 32px;
	}
}
