/* ==========================================================================
   Custom store footer (matches the header: black + Woodmart primary color)
   ========================================================================== */

.xh-footer {
	--xh-footer-bg: #0b0b0b;
	--xh-footer-text: rgba(255, 255, 255, .68);
	margin: 0;
	padding: 0;
	background: var(--xh-footer-bg);
	color: var(--xh-footer-text);
	font-family: var(--wd-text-font);
	font-size: 14px;
	line-height: 1.7;
}
.xh-footer *,
.xh-footer *::before,
.xh-footer *::after { box-sizing: border-box; }
.xh-footer p { margin: 0; }
.xh-footer ul { margin: 0; padding: 0; list-style: none; }
.xh-footer li { margin: 0; list-style: none; }

/* ---------- Help strip ---------- */
.xh-footer-cta { background: var(--wd-primary-color); color: #000; }
.xh-footer-cta-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 30px;
	padding-block: 22px;
}
.xh-footer-cta p {
	color: #000;
	font-family: var(--wd-title-font);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
}
.xh-footer .xh-footer-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: 4px;
	background: #000;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	transition: background .2s, color .2s;
}
.xh-footer .xh-footer-cta-btn:hover { background: #fff; color: #000; }

/* ---------- Main columns ---------- */
.xh-footer-main { padding-block: 64px 48px; }
.xh-footer-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 40px;
}

.xh-footer-logo { display: inline-block; margin-bottom: 18px; color: #fff; font-size: 22px; font-weight: 700; }
.xh-footer-logo img { display: block; max-width: 200px; max-height: 70px; width: auto; height: auto; }
.xh-footer-about { max-width: 360px; margin-bottom: 20px !important; }

.xh-footer-contact li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 10px;
}
.xh-footer-contact svg { flex: 0 0 16px; margin-top: 4px; color: var(--wd-primary-color); }
.xh-footer .xh-footer-contact a { color: #fff; }
.xh-footer .xh-footer-contact a:hover { color: var(--wd-primary-color); }

.xh-footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px !important; }
.xh-footer .xh-footer-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 50%;
	color: #fff;
	transition: all .2s;
}
.xh-footer .xh-footer-social a:hover {
	border-color: var(--wd-primary-color);
	background: var(--wd-primary-color);
	color: #000;
}

.xh-footer .xh-footer-title {
	position: relative;
	margin: 6px 0 22px;
	padding-bottom: 12px;
	color: #fff;
	font-family: var(--wd-title-font);
	font-size: 17px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
}
.xh-footer-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 34px;
	height: 2px;
	background: var(--wd-primary-color);
}

.xh-footer-menu li { margin-bottom: 10px; }
.xh-footer .xh-footer-menu a {
	display: inline-block;
	color: var(--xh-footer-text);
	text-transform: capitalize;
	transition: color .2s, transform .2s;
}
.xh-footer .xh-footer-menu a:hover {
	color: var(--wd-primary-color);
	transform: translateX(4px);
}

/* ---------- Bottom bar ---------- */
.xh-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.xh-footer-bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 24px;
	padding-block: 18px;
	font-size: 13px;
}
.xh-footer-bottom a { color: #fff; }
.xh-footer-note { color: rgba(255, 255, 255, .5); }

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

@media (max-width: 767px) {
	.xh-footer-main { padding-block: 44px 30px; }
	.xh-footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
	.xh-footer-cta-inner { justify-content: center; text-align: center; }
	.xh-footer-cta p { font-size: 16px; }
	.xh-footer-bottom-inner { justify-content: center; text-align: center; }
}
