/*
 * Seller Labs – Footer Styles
 *
 * Standalone footer for Hello Elementor child theme.
 * Replicates the Elementor Theme Builder footer (post 16159).
 * No dependency on Elementor CSS classes or --e-global-* variables.
 *
 * Breakpoints mirror the Elementor kit values:
 *   tablet  ≤ 1024px  (viewport_lg = 1025)
 *   mobile  ≤  767px  (viewport_md =  768)
 */

/* ─── Shared ─────────────────────────────────────────────────────────────── */

#site-footer {
	font-family: 'Open Sans', sans-serif;
}

.sl-footer-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 10px;
	width: 100%;
	box-sizing: border-box;
}

/* ─── CTA Bar ────────────────────────────────────────────────────────────── */

.sl-footer-cta-bar {
	background-color: #5AB237;
	padding: 25px 10px;
	box-sizing: border-box;
}

.sl-footer-cta-inner {
	display: flex;
	align-items: center;
	gap: 20px;
}

.sl-footer-cta-text {
	flex: 0 0 80%;
	max-width: 80%;
}

.sl-footer-cta-sub {
	color: #fff;
	font-size: 26px;
	font-weight: 600;
	margin: 0 0 4px;
	line-height: 1.2;
}

.sl-footer-cta-headline {
	color: #fff;
	font-size: 35px;
	font-weight: 700;
	margin: 0;
	line-height: 1.2;
}

.sl-footer-cta-action {
	flex: 0 0 20%;
	max-width: 20%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.sl-footer-cta-btn {
	display: inline-block;
	background-color: #fff;
	color: #5AB237;
	border: 2px solid #fff;
	border-radius: 25px;
	padding: 18px 45px;
	font-size: 18px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s;
	white-space: nowrap;
	line-height: 1;
}

.sl-footer-cta-btn:hover,
.sl-footer-cta-btn:focus {
	background-color: transparent;
	color: #fff;
	outline: none;
}

/* ─── Main Footer ────────────────────────────────────────────────────────── */

.sl-footer-main {
	background-color: #787878;
	padding: 35px 10px;
	box-sizing: border-box;
}

.sl-footer-cols {
	display: flex;
	gap: 30px;
	align-items: flex-start;
}

.sl-footer-col {
	flex: 1 1 0;
	min-width: 0;
}

/* ── Brand / Logo column ── */

.sl-footer-logo {
	display: block;
	max-width: 80%;
	height: auto;
	margin-bottom: 20px;
}

.sl-footer-badges {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.sl-footer-badge {
	background-color: #fff;
	border: 2px solid #ebebeb;
	border-radius: 25px;
	padding: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sl-footer-badge img {
	display: block;
	max-width: 100%;
	height: auto;
}

/* ── Menu columns ── */

.sl-footer-col-title {
	color: #fff;
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 8px;
	line-height: 1.2;
}

.sl-footer-col-title--newsletter {
	line-height: 1.3;
	margin-bottom: 14px;
}

.sl-footer-divider {
	border: none;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	margin: 0 0 15px;
}

/* nav menu reset */
.sl-footer-nav {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.sl-footer-nav li {
	margin: 0;
	padding: 0;
}

.sl-footer-nav a {
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.2s;
}

.sl-footer-nav a:hover,
.sl-footer-nav a:focus {
	color: #5AB237;
	outline: none;
}

/* ── Newsletter column ── */

.sl-footer-newsletter {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.sl-footer-input {
	width: 100%;
	box-sizing: border-box;
	border: none;
	border-radius: 25px;
	padding: 12px 18px;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #000;
	background-color: #fff;
	outline: none;
}

.sl-footer-input:focus {
	box-shadow: 0 0 0 2px #5AB237;
}

.sl-footer-subscribe-btn {
	display: block;
	width: 100%;
	background-color: #5AB237;
	color: #fff;
	border: 2px solid #5AB237;
	border-radius: 25px;
	padding: 12px 18px;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
}

.sl-footer-subscribe-btn:hover,
.sl-footer-subscribe-btn:focus {
	background-color: #fff;
	color: #5AB237;
	outline: none;
}

.sl-footer-subscribe-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.sl-newsletter-msg {
	color: #fff;
	font-size: 13px;
	margin: 2px 0 0;
}

/* ─── Bottom Bar ─────────────────────────────────────────────────────────── */

.sl-footer-bottom {
	background-color: #636363;
	padding: 10px;
	box-sizing: border-box;
}

.sl-footer-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.sl-footer-copy,
.sl-footer-credit {
	color: #fff;
	font-size: 15px;
	font-weight: 400;
	margin: 0;
}

.sl-footer-credit {
	text-align: right;
}

.sl-footer-credit a {
	color: #fff;
	text-decoration: underline;
}

.sl-footer-credit a:hover,
.sl-footer-credit a:focus {
	color: #5AB237;
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {
	.sl-footer-cta-text {
		flex: 0 0 70%;
		max-width: 70%;
	}

	.sl-footer-cta-action {
		flex: 0 0 30%;
		max-width: 30%;
	}

	.sl-footer-cta-sub {
		font-size: 18px;
	}

	.sl-footer-cta-headline {
		font-size: 25px;
	}

	.sl-footer-col-title {
		font-size: 15px;
	}

	.sl-footer-cols {
		flex-wrap: wrap;
		gap: 24px;
	}

	.sl-footer-col {
		flex: 1 1 calc(50% - 24px);
		min-width: calc(50% - 24px);
	}

	/* Badge images are smaller on tablet */
	.sl-footer-badge {
		padding: 5px;
	}
}

/* Mobile (≤ 767px) */
@media (max-width: 767px) {
	.sl-footer-cta-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.sl-footer-cta-text,
	.sl-footer-cta-action {
		flex: 0 0 100%;
		max-width: 100%;
	}

	.sl-footer-cta-sub {
		font-size: 16px;
	}

	.sl-footer-cta-headline {
		font-size: 22px;
	}

	.sl-footer-cta-btn {
		padding: 14px 30px;
		font-size: 16px;
	}

	.sl-footer-cols {
		flex-direction: column;
		gap: 28px;
	}

	.sl-footer-col {
		flex: 1 1 100%;
		min-width: 100%;
	}

	.sl-footer-bottom-inner {
		flex-direction: column;
		align-items: center;
		gap: 6px;
	}

	.sl-footer-copy,
	.sl-footer-credit {
		text-align: center;
	}
}
