/* Simple Product Order — site-wide footer. Loaded on every frontend page
   (see includes/class-footer.php); admin text/links come from Settings. */

.spo-site-footer {
	--spo-footer-bg: #14181f;
	--spo-footer-text: #e7e9ee;
	--spo-footer-muted: #9aa1b0;
	--spo-footer-border: rgba(255, 255, 255, .09);
	--spo-footer-accent: #f97316;

	background: var(--spo-footer-bg);
	color: var(--spo-footer-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 14px;
	line-height: 1.6;
	margin-top: 40px;
}

.spo-footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 48px 24px 24px;
}

.spo-footer-top {
	display: grid;
	grid-template-columns: 1.6fr repeat(4, 1fr);
	gap: 32px;
}

.spo-footer-logo {
	font-size: 20px;
	font-weight: 800;
	color: var(--spo-footer-accent);
	margin-bottom: 12px;
	letter-spacing: .2px;
}

.spo-footer-about {
	color: var(--spo-footer-muted);
	margin: 0 0 16px;
	max-width: 42ch;
}

.spo-footer-contact {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.spo-footer-contact li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: var(--spo-footer-muted);
}
.spo-footer-contact-icon {
	flex: 0 0 auto;
	color: var(--spo-footer-accent);
	margin-top: 2px;
}
.spo-footer-contact a {
	color: var(--spo-footer-muted);
	text-decoration: none;
}
.spo-footer-contact a:hover {
	color: var(--spo-footer-text);
}

.spo-footer-social {
	display: flex;
	gap: 10px;
}
.spo-footer-social a {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(249, 115, 22, .12);
	color: var(--spo-footer-accent);
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: background-color .15s ease, transform .15s ease;
}
.spo-footer-social a:hover {
	background: var(--spo-footer-accent);
	color: #fff;
	transform: translateY(-2px);
}

.spo-footer-col h4 {
	margin: 0 0 14px;
	font-size: 15px;
	font-weight: 700;
	color: var(--spo-footer-text);
}
.spo-footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.spo-footer-col a {
	color: var(--spo-footer-muted);
	text-decoration: none;
}
.spo-footer-col a:hover {
	color: var(--spo-footer-accent);
}

.spo-footer-apps {
	margin-top: 36px;
	padding-top: 24px;
	border-top: 1px solid var(--spo-footer-border);
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
}
.spo-footer-apps-label {
	font-weight: 700;
	color: var(--spo-footer-text);
}
.spo-footer-app-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 8px;
	border: 1px solid var(--spo-footer-border);
	background: rgba(255, 255, 255, .04);
	color: var(--spo-footer-text);
	text-decoration: none;
	font-weight: 600;
	transition: border-color .15s ease, background-color .15s ease;
}
.spo-footer-app-btn:hover {
	border-color: var(--spo-footer-accent);
	background: rgba(249, 115, 22, .1);
}

.spo-footer-bottom {
	margin-top: 28px;
	padding-top: 22px;
	border-top: 1px solid var(--spo-footer-border);
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
}
.spo-footer-copyright {
	margin: 0;
	color: var(--spo-footer-muted);
	font-size: 13px;
}
.spo-footer-payments {
	max-width: 100%;
	height: auto;
	max-height: 34px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
	.spo-footer-top {
		grid-template-columns: 1fr 1fr;
	}
	.spo-footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 560px) {
	.spo-footer-top {
		grid-template-columns: 1fr 1fr;
		gap: 28px 20px;
	}
	.spo-footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}
