/* CHXN component: footer — 4-column dark green layout + copyright bar.
   Targets this theme's own markup (footer.php) — Flatsome's Footer
   Builder used to provide the column grid itself (via its row/col
   system); that grid is defined directly here instead now. */

.chxn-footer {
	background-color: #10261d;
	color: #a9bcb1;
}
.chxn-footer a {
	color: #a9bcb1;
	text-decoration: none;
}
.chxn-footer a:hover {
	color: #ffffff;
}

.chxn-footer-main {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 32px;
	padding: 56px 20px;
	box-sizing: border-box;
}
/* below ~1380px there's no spare margin outside this row's own 20px
   padding for the fixed floating contact cluster (components/fab.css,
   bottom-right, every page) to sit in — the last column's own
   hotline/Zalo buttons end up partly hidden under it, on every page
   since the footer is site-wide. Same fix as the page-specific grids
   (pages/checkout.css, shop.css, blog.css, product-detail.css,
   policy.css, about.css, contact.css). */
@media (min-width: 851px) and (max-width: 1380px) {
	.chxn-footer-main {
		padding-right: 90px;
	}
}

.chxn-footer-logo {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}
.chxn-footer-logo img {
	width: 46px;
	height: 46px;
	border-radius: 12px;
	object-fit: cover;
	flex: none;
}
.chxn-footer-logo strong {
	display: block;
	font-weight: 800;
	font-size: 18px;
	color: #ffffff;
}
.chxn-footer-logo small {
	font-size: 11.5px;
}
.chxn-footer-brand p {
	font-size: 13px;
	line-height: 1.7;
	margin: 16px 0 0;
	max-width: 340px;
}
.chxn-footer-contact {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin: 16px 0 0;
	padding: 0;
	font-size: 13px;
}

.chxn-footer-social {
	display: flex;
	gap: 10px;
	margin-top: 18px;
}
.chxn-footer-social a {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	color: #a9bcb1 !important;
	display: flex;
	align-items: center;
	justify-content: center;
}
.chxn-footer-social a:hover {
	color: #ffffff !important;
}
.chxn-footer-social a:nth-child(1):hover { background: #1877f2; }
.chxn-footer-social a:nth-child(2):hover { background: #000000; }
.chxn-footer-social a:nth-child(3):hover { background: #e60023; }

.chxn-footer-col h3 {
	font-weight: 700;
	color: #ffffff;
	font-size: 15px;
	margin: 0 0 14px;
}
/* only the 2 real nav-link columns ("Về..."/"Dành cho...") get the "›"
   bullet — ".chxn-footer-contact" is also a <ul> inside a ".chxn-footer-col"
   (the brand column), so a bare ".chxn-footer-col ul" descendant selector
   here would incorrectly match it too. */
.chxn-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 13.5px;
}
.chxn-footer-links li::before {
	content: "\203a";
	color: #6f8579;
	margin-right: 6px;
}

.chxn-footer-cta {
	display: block;
	text-align: center;
	border-radius: var(--chxn-radius-pill);
	padding: 11px;
	font-weight: 700;
	font-size: 14px;
	margin-bottom: 10px;
}
.chxn-footer-cta-phone {
	background: var(--chxn-green);
	color: #ffffff !important;
}
.chxn-footer-cta-zalo {
	background: #0068ff;
	color: #ffffff !important;
}
.chxn-footer-payment {
	font-size: 12px;
	margin-top: 16px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.chxn-footer-payment span:first-child {
	color: #ffffff;
	font-weight: 600;
}

.chxn-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, .08);
	color: #7d9089;
	font-size: 12px;
}
.chxn-footer-bottom-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 18px;
	padding-bottom: 18px;
	flex-wrap: wrap;
	gap: 8px;
}

@media (max-width: 850px) {
	.chxn-footer-main {
		grid-template-columns: 1fr 1fr;
	}
	.chxn-footer-brand {
		grid-column: 1 / -1;
	}
	.chxn-footer-brand p {
		max-width: none;
	}
}
