/*
 * Footer 2 — Machic-style light e-commerce footer.
 * Scope: .bsp-f2 (colors come from CSS vars set by huda_pro_footer_2_css_vars()).
 */

.bsp-f2 {
	--bsp-f2-benefits-bg: #ffffff;
	--bsp-f2-benefit-icon: #1668e3;
	--bsp-f2-benefit-title: #0b1c46;
	--bsp-f2-benefit-text: #8a94a6;
	--bsp-f2-nl-bg: #101b3f;
	--bsp-f2-nl-title: #ffffff;
	--bsp-f2-nl-text: #c2c9d8;
	--bsp-f2-nl-highlight: #ffb400;
	--bsp-f2-nl-btn-bg: #ffb708;
	--bsp-f2-nl-btn-text: #0b1c46;
	--bsp-f2-nl-btn-hover-bg: #f0a800;
	--bsp-f2-links-bg: #f5f6f8;
	--bsp-f2-links-title: #0b1c46;
	--bsp-f2-links-link: #8a94a6;
	--bsp-f2-links-link-hover: #1668e3;
	--bsp-f2-bottom-bg: #ffffff;
	--bsp-f2-border: #e6e9ef;
	--bsp-f2-social-bg: #d4d9e2;
	--bsp-f2-social-icon: #ffffff;
	--bsp-f2-social-hover-bg: #1668e3;
	--bsp-f2-tag-link: #5c6474;
	--bsp-f2-copyright: #8a94a6;
	--bsp-f2-brand-text: #0b1c46;

	font-family: inherit;
}

.bsp-f2__container {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ============================= Benefits strip ============================= */

.bsp-f2__benefits {
	background: var(--bsp-f2-benefits-bg);
	padding: 34px 0;
}

.bsp-f2__benefits-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.bsp-f2__benefit {
	display: flex;
	align-items: center;
	gap: 16px;
	justify-content: center;
}

.bsp-f2__benefit-icon {
	flex: 0 0 auto;
	width: 52px;
	height: 52px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 30px;
	color: var(--bsp-f2-benefit-icon);
}

.bsp-f2__benefit-copy {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.bsp-f2__benefit-title {
	font-size: 15px;
	font-weight: 700;
	color: var(--bsp-f2-benefit-title);
	line-height: 1.3;
}

.bsp-f2__benefit-text {
	font-size: 13px;
	color: var(--bsp-f2-benefit-text);
	line-height: 1.4;
}

/* ============================= Newsletter band ============================ */

.bsp-f2__newsletter {
	position: relative;
	background: var(--bsp-f2-nl-bg);
	padding: 52px 0;
	overflow: hidden;
}

/* Faint scattered commerce icons, matching the reference texture. */
.bsp-f2__newsletter::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='180' viewBox='0 0 220 180'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.4' opacity='0.06'%3E%3Cpath d='M20 24h6l5 24h26l5-18H29'/%3E%3Ccircle cx='36' cy='56' r='3'/%3E%3Ccircle cx='54' cy='56' r='3'/%3E%3Cpath d='M132 40c0-6 5-10 10-10s9 3 10 7c1-4 5-7 10-7s10 4 10 10c0 10-20 22-20 22s-20-12-20-22z'/%3E%3Crect x='40' y='110' width='34' height='42' rx='4'/%3E%3Cpath d='M48 110v-8a9 9 0 0 1 18 0v8'/%3E%3Cpath d='M150 120h40l-6 30h-28z'/%3E%3Ccircle cx='158' cy='158' r='3'/%3E%3Ccircle cx='180' cy='158' r='3'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 220px 180px;
	pointer-events: none;
}

.bsp-f2__newsletter-inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}

.bsp-f2__newsletter-copy {
	max-width: 520px;
}

.bsp-f2__newsletter-title {
	margin: 0 0 8px;
	font-size: 24px;
	font-weight: 800;
	color: var(--bsp-f2-nl-title);
	line-height: 1.25;
}

.bsp-f2__newsletter-text {
	margin: 0;
	font-size: 14px;
	color: var(--bsp-f2-nl-text);
	line-height: 1.5;
}

.bsp-f2__newsletter-text .bsp-f2-highlight {
	color: var(--bsp-f2-nl-highlight);
	font-weight: 700;
}

.bsp-f2__newsletter-form-wrap {
	flex: 1 1 380px;
	max-width: 520px;
}

.bsp-f2__newsletter-form {
	display: flex;
	background: #ffffff;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.bsp-f2__newsletter-form input[type="email"] {
	flex: 1 1 auto;
	min-width: 0;
	border: 0;
	outline: none;
	background: transparent;
	padding: 15px 18px;
	font-size: 14px;
	color: #1a1a1a;
}

.bsp-f2__newsletter-form input[type="email"]::placeholder {
	color: #9aa2b1;
}

.bsp-f2__newsletter-form button {
	flex: 0 0 auto;
	border: 0;
	cursor: pointer;
	padding: 0 26px;
	font-size: 14px;
	font-weight: 700;
	color: var(--bsp-f2-nl-btn-text);
	background: var(--bsp-f2-nl-btn-bg);
	transition: background-color 0.2s ease;
}

.bsp-f2__newsletter-form button:hover {
	background: var(--bsp-f2-nl-btn-hover-bg);
}

/* ============================= Link columns ============================== */

.bsp-f2__links {
	background: var(--bsp-f2-links-bg);
	padding: 56px 0 48px;
}

.bsp-f2__links-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
}

.bsp-f2__links-col .bsp-footer__widget {
	margin: 0 0 18px;
}

.bsp-f2__links-col .bsp-footer__widget-title,
.bsp-f2__links-placeholder .bsp-footer__widget-title,
.bsp-f2__links-col h1,
.bsp-f2__links-col h2,
.bsp-f2__links-col h3,
.bsp-f2__links-col h4,
.bsp-f2__links-col h5,
.bsp-f2__links-col h6 {
	margin: 0 0 20px;
	font-size: 15px;
	font-weight: 700;
	color: var(--bsp-f2-links-title);
	text-transform: none;
	letter-spacing: 0;
	line-height: 1.3;
}

.bsp-f2__links-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.bsp-f2__links-col ul li {
	margin: 0;
	padding: 0;
}

.bsp-f2__links-col a {
	font-size: 13.5px;
	color: var(--bsp-f2-links-link);
	text-decoration: none;
	transition: color 0.15s ease;
}

.bsp-f2__links-col a:hover {
	color: var(--bsp-f2-links-link-hover);
}

.bsp-f2__links-col p {
	font-size: 13.5px;
	color: var(--bsp-f2-links-link);
	line-height: 1.6;
	margin: 0 0 10px;
}

.bsp-f2__links-placeholder p {
	font-size: 13px;
	color: var(--bsp-f2-links-link);
}

/* ============================= Bottom area =============================== */

.bsp-f2__bottom {
	background: var(--bsp-f2-bottom-bg);
	padding: 44px 0 36px;
}

.bsp-f2__brand-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 26px;
}

.bsp-f2__brand {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.bsp-f2__brand img {
	max-height: 44px;
	width: auto;
	display: block;
}

.bsp-f2__brand-wordmark {
	font-size: 26px;
	font-weight: 800;
	color: var(--bsp-f2-brand-text);
	letter-spacing: -0.5px;
}

.bsp-f2__socials {
	display: flex;
	align-items: center;
	gap: 8px;
}

.bsp-f2__social {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	color: var(--bsp-f2-social-icon);
	background: var(--bsp-f2-social-bg);
	text-decoration: none;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.bsp-f2__social:hover {
	background: var(--bsp-f2-social-hover-bg);
	color: var(--bsp-f2-social-icon);
	transform: translateY(-2px);
}

/* Tag links */

.bsp-f2__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 10px;
	row-gap: 8px;
	padding-bottom: 30px;
	margin-bottom: 26px;
	border-bottom: 1px solid var(--bsp-f2-border);
}

.bsp-f2__tag {
	font-size: 12.5px;
	color: var(--bsp-f2-tag-link);
	text-decoration: none;
	transition: color 0.15s ease;
}

.bsp-f2__tag:hover {
	color: var(--bsp-f2-links-link-hover);
	text-decoration: underline;
}

.bsp-f2__tags-sep {
	color: var(--bsp-f2-border);
	font-size: 12px;
}

/* Copyright + payments */

.bsp-f2__legal {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.bsp-f2__copyright {
	margin: 0;
	font-size: 13px;
	color: var(--bsp-f2-copyright);
}

.bsp-f2__payments .bsp-footer__payments {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.bsp-f2__payments .bsp-footer__payment {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	height: 28px;
	padding: 0 8px;
	border: 1px solid var(--bsp-f2-border);
	border-radius: 4px;
	background: #ffffff;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.4px;
	color: #1f2a44;
	text-transform: uppercase;
}

.bsp-f2__payments .bsp-footer__payment--visa {
	color: #1a1f71;
}

.bsp-f2__payments .bsp-footer__payment--mastercard {
	color: #eb001b;
}

.bsp-f2__payments .bsp-footer__payment--paypal {
	color: #003087;
}

.bsp-f2__payments .bsp-footer__payment-image {
	display: inline-flex;
	align-items: center;
}

.bsp-f2__payments .bsp-footer__payment-image img {
	width: auto;
	height: 28px;
	display: block;
	border-radius: 4px;
}

/* ============================= Responsive ================================ */

@media (max-width: 1199px) {
	.bsp-f2__benefits-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bsp-f2__benefit {
		justify-content: flex-start;
	}
}

@media (max-width: 991px) {
	.bsp-f2__links-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 36px 24px;
	}

	.bsp-f2__newsletter-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.bsp-f2__newsletter-form-wrap {
		width: 100%;
		max-width: 100%;
		flex-basis: auto;
	}
}

@media (max-width: 575px) {
	.bsp-f2__benefits-grid {
		grid-template-columns: 1fr;
	}

	.bsp-f2__links-grid {
		grid-template-columns: 1fr;
	}

	.bsp-f2__newsletter {
		padding: 40px 0;
	}

	.bsp-f2__newsletter-form {
		flex-direction: column;
	}

	.bsp-f2__newsletter-form button {
		padding: 13px 20px;
	}

	.bsp-f2__brand-row,
	.bsp-f2__legal {
		flex-direction: column;
		align-items: flex-start;
	}
}
