/**
 * Footer variant 9 — Template-2 / morospin.
 */

.footer.site-theme.footer--v9,
.footer.footer--v9 {
	--fv9-container: 1200px;
	--fv9-bg: var(--footer-background-color, #0a1847);
	--fv9-bottom-bg: var(--footer-background-color, #060e2a);
	--fv9-nav-color: #9296a2;
	--fv9-font: Poppins, Ubuntu, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--fv9-title-font: Montserrat, var(--fv9-font);
	--fv9-trust-pad-x: 191px;
	background: var(--fv9-bg) !important;
	box-sizing: border-box;
	color: #fff;
	font-family: var(--fv9-font);
	padding-top: 0 !important;
	width: 100%;
}

.footer.footer--v9 > .container {
	box-sizing: border-box;
	margin-left: auto;
	margin-right: auto;
	max-width: var(--fv9-container);
	padding-left: 0 !important;
	padding-right: 0 !important;
	width: 100%;
}

/* —— Logo + mini nav —— */
.footer.footer--v9 .footer-upper {
	align-items: center;
	box-sizing: border-box;
	display: flex;
	justify-content: flex-start;
	padding: 50px 0;
	width: 100%;
}

.footer.footer--v9 .upper-left {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 50px;
}

.footer.footer--v9 .upper-left > img {
	display: block;
	flex: 0 0 auto;
	height: auto;
	max-width: 94px;
	width: auto;
}

.footer.footer--v9 .footer-upper ul {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer.footer--v9 .footer-upper li {
	margin: 0 !important;
	padding: 0;
}

.footer.footer--v9 .footer-upper a {
	color: var(--fv9-nav-color) !important;
	font-family: var(--fv9-title-font);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none !important;
}

/* —— Trust badges —— */
.footer.footer--v9 .footer-middle {
	background: unset !important;
	border-image-slice: 1 !important;
	border-image-source: linear-gradient(
		90deg,
		rgba(195, 209, 218, 0) 0%,
		#c3d1da 50%,
		rgba(195, 209, 218, 0) 100%
	) !important;
	border-style: solid !important;
	border-width: 1px 0 !important;
	box-sizing: border-box;
	margin: 0 auto 50px;
	max-width: var(--fv9-container);
	padding: 10px 0 !important;
	position: static;
	width: 100%;
}

.footer.footer--v9 .footer-middle::after {
	display: none;
}

.footer.footer--v9 .footer-icons--middle {
	align-items: center;
	box-sizing: border-box;
	display: flex;
	flex-wrap: nowrap;
	gap: 0;
	justify-content: space-between;
	margin: 0 auto;
	max-width: var(--fv9-container);
	min-height: 0;
	padding: 0 var(--fv9-trust-pad-x);
	width: 100%;
}

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

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

.footer.footer--v9 .footer-icons--middle__item:nth-child(1) img {
	max-height: 37px;
}

.footer.footer--v9 .footer-icons--middle__item:nth-child(2) img {
	max-height: 60px;
}

.footer.footer--v9 .footer-icons--middle__item:nth-child(3) img {
	max-height: 44px;
}

/* —— Payment icons —— */
.footer.footer--v9 .footer-top {
	align-items: center !important;
	box-sizing: border-box;
	display: flex !important;
	flex-direction: column !important;
	justify-content: flex-start !important;
	margin: 0 auto;
	max-width: var(--fv9-container);
	padding: 0 0 50px !important;
	width: 100%;
}

.site-theme .footer.footer--v9 .footer-icons--top,
.footer.site-theme.footer--v9 .footer-icons--top,
.footer.footer--v9 .footer-icons--top {
	align-items: center;
	box-sizing: border-box;
	display: flex !important;
	flex-wrap: wrap;
	gap: 16px 12px;
	height: auto;
	justify-content: space-between !important;
	margin: 0 auto;
	max-width: 100% !important;
	width: 100% !important;
}

.site-theme .footer.footer--v9 .footer-icons--top__item,
.footer.site-theme.footer--v9 .footer-icons--top__item,
.footer.footer--v9 .footer-icons--top__item {
	align-items: center;
	display: flex;
	flex: 0 0 auto !important;
	height: auto;
	justify-content: center;
	min-width: 0 !important;
	width: auto !important;
}

.footer.footer--v9 .footer-icons--top__item--astropay img {
	max-height: 19px;
}

.footer.footer--v9 .footer-icons--top img {
	display: block;
	height: auto;
	max-height: 28px;
	max-width: 60px;
	object-fit: contain;
	width: auto !important;
}

/* —— Bottom strip: menu + copyright (full viewport width) —— */
.site-theme .footer.footer--v9 .footer-bottom,
.footer.site-theme.footer--v9 .footer-bottom,
.footer.footer--v9 .footer-bottom {
	align-items: initial !important;
	background: var(--fv9-bottom-bg);
	box-sizing: border-box;
	display: block !important;
	justify-content: initial !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	margin-top: 0 !important;
	max-width: none !important;
	padding-top: 30px;
	width: 100vw !important;
}

.footer.footer--v9 .footer-bottom > .container {
	box-sizing: border-box;
	margin: 0 auto;
	max-width: var(--fv9-container);
	padding-left: 0 !important;
	padding-right: 0 !important;
	width: 100%;
}

.footer.footer--v9 .footer-menu {
	margin: 0 !important;
	margin-top: 0 !important;
	max-width: 100% !important;
	padding: 0;
	width: 100%;
}

.site-theme .footer.footer--v9 .footer-menu ul,
.footer.site-theme.footer--v9 .footer-menu ul,
.footer.footer--v9 .footer-menu ul {
	align-items: center;
	box-sizing: border-box;
	column-gap: 0 !important;
	display: flex !important;
	flex-grow: 0 !important;
	flex-wrap: wrap !important;
	gap: 12px 16px;
	height: auto !important;
	justify-content: space-between !important;
	list-style: none;
	margin: 0 !important;
	padding: 0;
	row-gap: 0 !important;
	width: 100% !important;
}

.site-theme .footer.footer--v9 .footer-menu li,
.footer.site-theme.footer--v9 .footer-menu li,
.footer.footer--v9 .footer-menu li {
	flex: 0 1 auto !important;
	margin: 0 !important;
	margin-bottom: 0 !important;
	max-width: none !important;
	min-width: 0;
	padding: 0;
	width: auto !important;
}

.site-theme .footer.footer--v9 .footer-menu li a,
.site-theme .footer.footer--v9 .footer-menu li span,
.footer.site-theme.footer--v9 .footer-menu li a,
.footer.site-theme.footer--v9 .footer-menu li span,
.footer.footer--v9 .footer-menu li a,
.footer.footer--v9 .footer-menu li span {
	box-sizing: border-box;
	color: #fff !important;
	display: inline-flex;
	font-family: var(--fv9-font);
	font-size: 20px !important;
	font-weight: 400;
	justify-content: center;
	letter-spacing: 0;
	line-height: 1.2;
	max-width: none !important;
	min-height: 0 !important;
	padding: 15px 0 !important;
	position: relative;
	text-align: center;
	text-decoration: none !important;
	white-space: nowrap;
	width: auto !important;
}

.footer.footer--v9 .footer-menu li a::after,
.footer.footer--v9 .footer-menu li span::after {
	display: none !important;
}

.footer.footer--v9 .footer-bottom .copyright {
	box-sizing: border-box;
	color: rgba(255, 255, 255, 0.72);
	font-family: var(--fv9-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 20px;
	margin: 0;
	padding: 30px 0 !important;
	text-align: center;
	text-transform: lowercase !important;
	width: 100%;
}

@media (max-width: 1199px) {
	.footer.footer--v9 > .container,
	.footer.footer--v9 .footer-bottom > .container {
		padding-left: 16px !important;
		padding-right: 16px !important;
	}

	.footer.footer--v9 .footer-middle {
		margin-bottom: 40px;
		max-width: 100%;
	}

	.footer.footer--v9 .footer-icons--middle {
		flex-wrap: wrap;
		gap: 20px;
		justify-content: center;
		padding: 0 16px;
	}

	.footer.footer--v9 .footer-top {
		max-width: 100%;
		padding-bottom: 40px !important;
	}

	.site-theme .footer.footer--v9 .footer-icons--top,
	.footer.site-theme.footer--v9 .footer-icons--top,
	.footer.footer--v9 .footer-icons--top {
		display: flex !important;
		flex-wrap: wrap !important;
		gap: 16px 12px !important;
		height: auto !important;
		justify-content: space-evenly !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	.site-theme .footer.footer--v9 .footer-icons--top__item,
	.footer.site-theme.footer--v9 .footer-icons--top__item,
	.footer.footer--v9 .footer-icons--top__item {
		flex: 0 0 auto !important;
		height: auto !important;
		width: auto !important;
	}

	.site-theme .footer.footer--v9 .footer-menu ul,
	.footer.site-theme.footer--v9 .footer-menu ul,
	.footer.footer--v9 .footer-menu ul {
		flex-wrap: wrap;
		gap: 12px 16px;
		justify-content: center !important;
	}

	.site-theme .footer.footer--v9 .footer-menu ul li,
	.footer.site-theme.footer--v9 .footer-menu ul li,
	.footer.footer--v9 .footer-menu li {
		flex: 0 1 auto !important;
		width: auto !important;
	}
}

@media (max-width: 767px) {
	.footer.site-theme.footer--v9,
	.footer.footer--v9 {
		padding-top: 0 !important;
	}

	.footer.footer--v9 .footer-upper {
		align-items: center;
		flex-direction: column;
		gap: 20px;
		padding: 30px 16px;
	}

	.footer.footer--v9 .upper-left {
		align-items: center;
		flex-direction: column;
		gap: 16px;
		justify-content: center;
		text-align: center;
		width: 100%;
	}

	.footer.footer--v9 .footer-upper ul {
		justify-content: center;
		width: 100%;
	}

	.footer.footer--v9 .footer-middle {
		margin-bottom: 28px;
	}

	.footer.footer--v9 .footer-top {
		padding-bottom: 28px !important;
	}

	.site-theme .footer.footer--v9 .footer-icons--top,
	.footer.site-theme.footer--v9 .footer-icons--top,
	.footer.footer--v9 .footer-icons--top {
		gap: 14px 10px !important;
		justify-content: space-evenly !important;
		padding: 0 4px;
	}

	.site-theme .footer.footer--v9 .footer-bottom,
	.footer.site-theme.footer--v9 .footer-bottom,
	.footer.footer--v9 .footer-bottom {
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: 100% !important;
	}

	.site-theme .footer.footer--v9 .footer-menu ul,
	.footer.site-theme.footer--v9 .footer-menu ul,
	.footer.footer--v9 .footer-menu ul {
		align-items: center;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		gap: 8px !important;
		justify-content: center !important;
	}

	.site-theme .footer.footer--v9 .footer-menu ul li,
	.footer.site-theme.footer--v9 .footer-menu ul li,
	.footer.footer--v9 .footer-menu li {
		flex: 0 0 auto !important;
		width: auto !important;
	}

	.site-theme .footer.footer--v9 .footer-menu ul li a,
	.site-theme .footer.footer--v9 .footer-menu ul li span,
	.footer.site-theme.footer--v9 .footer-menu ul li a,
	.footer.site-theme.footer--v9 .footer-menu ul li span,
	.footer.footer--v9 .footer-menu li a {
		font-size: 16px !important;
		padding: 8px 0 !important;
		white-space: normal;
	}
}
