/* ==========================================================================
   buildashelf v5 — site footer (every page). ID-scoped, same reason as header.css.
   ========================================================================== */

#bas-site-footer { background: var(--navy); color: #fff; padding: 68px var(--bas-gutter) 36px; }
#bas-site-footer a:hover { color: var(--cream); }
#bas-site-footer .footer-top {
	display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 44px; padding-bottom: 44px;
	border-bottom: 1px solid rgba(255,255,255,0.12); margin-bottom: 28px;
}
#bas-site-footer .f-logo {
	position: relative; width: fit-content;
	font-family: var(--font-display); font-size: 21px; font-weight: 500; letter-spacing: 0.04em; color: #fff;
	margin-bottom: 13px; padding-bottom: 8px; display: flex; align-items: baseline; gap: 0.3em; line-height: normal;
}
/* Same shelf line as the header logo; the whole footer logo is white (the line follows the text colour). */
#bas-site-footer .f-logo::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
	border: 2px solid currentColor; border-bottom: 0;
}
#bas-site-footer .footer-brand p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.65; margin-bottom: 18px; font-weight: 300; }
#bas-site-footer .f-social { display: flex; gap: 8px; }
#bas-site-footer .f-soc-btn {
	width: 32px; height: 32px;
	background: rgba(255,255,255,0.07);
	display: flex; align-items: center; justify-content: center;
	color: rgba(255,255,255,0.5); font-size: 12px;
	transition: background 0.15s, color 0.15s;
}
#bas-site-footer .f-soc-btn:hover { background: var(--rust); color: #fff; }
#bas-site-footer .footer-col h4 {
	font-family: var(--font-label); font-size: 9.5px; letter-spacing: 2.5px; line-height: normal;
	text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 16px; font-weight: 700;
}
#bas-site-footer .footer-col li { margin-bottom: 9px; line-height: normal; }
#bas-site-footer .footer-col a,
#bas-site-footer .footer-col span { font-size: 13px; color: rgba(255,255,255,0.6); transition: color 0.15s; font-weight: 300; }
#bas-site-footer .footer-col a:hover { color: #fff; }
/* Three equal-weight columns so the middle item (Made in the USA) sits at the true centre, whatever the side text lengths. */
#bas-site-footer .footer-bottom {
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
	font-family: var(--font-label); font-size: 10px; letter-spacing: 1px;
	color: rgba(255,255,255,0.28); text-transform: uppercase;
}
#bas-site-footer .footer-bottom a { color: rgba(255,255,255,0.28); }
#bas-site-footer .footer-bottom a:hover { color: #fff; }
#bas-site-footer .footer-legal { justify-self: end; }
#bas-site-footer .footer-usa { display: flex; align-items: center; gap: 9px; font-size: 14px; letter-spacing: 1.5px; }
#bas-site-footer .footer-usa span[aria-hidden="true"] { font-size: 20px; line-height: 1; }

@media (max-width: 900px) {
	#bas-site-footer { padding: 56px var(--bas-gutter-sm) 32px; }
	#bas-site-footer .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
	#bas-site-footer .footer-top { grid-template-columns: 1fr; }
	#bas-site-footer .footer-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
}
