/**
 * Footer variant 2 — same as footer-1 (Figma layout); v2 overrides below.
 * payments 980×28, menu 1198×33, trust 1200×100, copyright 40px.
 */

.footer.site-theme.footer--v2 {
	background-color: var(--footer-background-color, #0b072f);
	box-sizing: border-box;
	margin-top: 0;
	padding: 50px 0 40px;
	width: 100%;
}

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

.footer.site-theme.footer--v2 .footer-top,
.footer.site-theme.footer--v2 .footer-menu,
.footer.site-theme.footer--v2 .footer-middle,
.footer.site-theme.footer--v2 .footer-bottom {
	box-sizing: border-box;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

/* —— Row 1: payment icons (980×28) —— */
.footer.site-theme.footer--v2 .footer-top {
	max-width: 980px;
	padding: 0;
}

.footer.site-theme.footer--v2 .footer-icons--top {
	align-items: center;
	display: flex;
	flex-wrap: nowrap;
	height: 28px;
	justify-content: space-between;
	max-width: 100%;
	width: 100%;
}

.footer.site-theme.footer--v2 .footer-icons--top__item {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	height: 28px;
	justify-content: center;
	min-width: 0;
	width: auto;
}

.footer.site-theme.footer--v2 .footer-icons--top__item img {
	display: block;
	height: auto;
	max-height: 28px;
	max-width: 60px;
	object-fit: contain;
	width: auto;
}

.footer.site-theme.footer--v2 .footer-icons--top__item--astropay img {
	max-height: 19px;
}

/* —— Row 2: menu (1198×33, gap 80px from payments) —— */
.footer.site-theme.footer--v2 .footer-menu {
	margin-top: 80px;
	max-width: 1198px;
	padding: 0;
	width: 100%;
}

.footer.site-theme.footer--v2 .footer-menu ul {
	align-items: flex-end;
	display: flex;
	flex-grow: 0;
	flex-wrap: nowrap;
	height: 33px;
	justify-content: space-between;
	list-style: none;
	margin: 0;
	padding: 0;
	row-gap: 0;
	column-gap: 0;
	width: 100%;
}

.footer.site-theme.footer--v2 .footer-menu ul li {
	flex: 0 1 auto;
	margin: 0;
	padding: 0;
	width: auto;
}

.footer.site-theme.footer--v2 .footer-menu ul li a,
.footer.site-theme.footer--v2 .footer-menu ul li span {
	align-items: flex-end;
	box-sizing: border-box;
	color: var(--footer-menu-link-color, #fff);
	display: flex;
	font-size: 20px;
	font-weight: 400;
	justify-content: center;
	letter-spacing: 0;
	line-height: 20px;
	max-width: none;
	min-height: 33px;
	padding: 0 4px 13px;
	position: relative;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	width: auto;
}

.footer.site-theme.footer--v2 .footer-menu ul li a:has(img) {
	display: block;
	line-height: 0;
	max-width: none;
	width: auto;
}

.footer.site-theme.footer--v2 .footer-menu ul li a::after {
	background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #fff 50%, rgba(255, 255, 255, 0) 100%);
	bottom: 0;
	content: "";
	height: 1px;
	left: 0;
	position: absolute;
	width: 100%;
}

.footer.site-theme.footer--v2 .footer-menu ul li a:hover,
.footer.site-theme.footer--v2 .footer-menu ul li a:focus,
.footer.site-theme.footer--v2 .footer-menu ul li span:hover {
	color: var(--footer-menu-link-hover-color, var(--footer-menu-link-color, #fff));
	opacity: 0.9;
}

/* —— Row 3: trust badges (1200×100) —— */
.footer.site-theme.footer--v2 .footer-middle {
	background: color-mix(in srgb, var(--footer-background-color, #0b072f) 90%, #ffffff 10%);
	border: 1px solid rgba(195, 209, 218, 0.45);
	border-image: none;
	box-sizing: border-box;
	margin-top: 80px;
	max-width: 1200px;
	min-height: 100px;
	padding: 0;
}

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

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

.footer.site-theme.footer--v2 .footer-icons--middle__item img {
	display: block;
	flex-shrink: 0;
	height: auto;
	max-height: none;
	object-fit: contain;
	width: auto;
}

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

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

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

/* —— Row 4: copyright (40px bar) —— */
.footer.site-theme.footer--v2 .footer-bottom {
	border: none;
	margin-top: 48px;
	max-width: 1200px;
	padding: 0;
}

.footer.site-theme.footer--v2 .footer-bottom .copyright {
	align-items: center;
	border: none;
	box-sizing: border-box;
	color: var(--footer-text-color, #888);
	display: flex;
	font-size: 16px;
	font-weight: 400;
	justify-content: center;
	line-height: 20px;
	margin: 0;
	min-height: 40px;
	padding: 10px 0;
	text-align: center;
	text-transform: lowercase;
}

@media (max-width: 1199px) {
	.footer.site-theme.footer--v2 > .container {
		padding-left: 24px;
		padding-right: 24px;
	}

	.footer.site-theme.footer--v2 .footer-top,
	.footer.site-theme.footer--v2 .footer-menu,
	.footer.site-theme.footer--v2 .footer-middle,
	.footer.site-theme.footer--v2 .footer-bottom {
		max-width: 100%;
	}

	.footer.site-theme.footer--v2 .footer-icons--top {
		flex-wrap: wrap;
		gap: 20px 28px;
		height: auto;
		justify-content: center;
	}

	.footer.site-theme.footer--v2 .footer-menu {
		margin-top: 32px;
	}

	.footer.site-theme.footer--v2 .footer-menu ul {
		flex-wrap: wrap;
		gap: 16px 12px;
		height: auto;
		justify-content: center;
	}

	.footer.site-theme.footer--v2 .footer-menu ul li a,
	.footer.site-theme.footer--v2 .footer-menu ul li span {
		max-width: 100%;
		white-space: normal;
	}

	.footer.site-theme.footer--v2 .footer-middle {
		margin-top: 48px;
		min-height: 80px;
	}

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

	.footer.site-theme.footer--v2 .footer-bottom {
		margin-top: 40px;
	}
}

@media (max-width: 767px) {
	.footer.site-theme.footer--v2 {
		padding-top: 40px;
	}

	.footer.site-theme.footer--v2 .footer-menu ul {
		align-items: center;
		flex-direction: column;
	}

	.footer.site-theme.footer--v2 .footer-menu ul li a,
	.footer.site-theme.footer--v2 .footer-menu ul li span {
		font-size: 16px;
		line-height: 20px;
		max-width: 280px;
		padding-bottom: 10px;
		white-space: normal;
	}
}
/* —— Variant 2 overrides (menu without underline, gradient middle border) —— */
.footer.site-theme.footer--v2 .footer-menu ul li a::after,
.footer.site-theme.footer--v2 .footer-menu ul li span::after {
	content: none;
	display: none;
}

.footer.site-theme.footer--v2 .footer-middle {
	background: transparent;
	border-color: transparent;
	border-image-slice: 1;
	border-image-source: linear-gradient(90deg, rgba(195, 209, 218, 0) 0%, #c3d1da 50%, rgba(195, 209, 218, 0) 100%);
	border-style: solid;
	border-width: 1px 0;
}

.footer.site-theme.footer--v2 {
	background: linear-gradient(360deg, #0b072f 0%, #231695 100%);
}