/**
 * Green Lion — site footer (templates/gl-footer.php). Nov 2026.
 *
 * Green logo band + black body + legal bar. Kept deliberately short: link
 * columns sit in one row on desktop (categories split into two columns) and
 * fold into accordions on phones. Plain CSS, scoped to .gl-ft.
 */

.gl-ft {
	--ft-green: var(--gl-green, #00bf1f);
	--ft-bg: #0d0f0e;
	--ft-line: rgba(255, 255, 255, .1);
	--ft-text: rgba(255, 255, 255, .86);
	--ft-muted: rgba(255, 255, 255, .55);

	clear: both;
	width: 100%;
	background: var(--ft-bg);
	color: var(--ft-text);
	font-size: 14px;
	line-height: 1.5;
}
.gl-ft *,
.gl-ft *::before,
.gl-ft *::after { box-sizing: border-box; }
:where(.gl-ft) :where(ul) { list-style: none; margin: 0; padding: 0; }
:where(.gl-ft) :where(li, p, address) { margin: 0; }
:where(.gl-ft) a { color: inherit; text-decoration: none; transition: color .2s; }
.gl-ft a:hover { color: var(--ft-green); }
.gl-ft a:focus-visible,
.gl-ft summary:focus-visible { outline: 2px solid var(--ft-green); outline-offset: 2px; border-radius: 4px; }
.gl-ft picture { display: contents; }

.gl-ft__wrap {
	width: 100%;
	max-width: 1320px;
	margin-inline: auto;
	padding-inline: 16px;
}

/* Green band */
.gl-ft__band {
	display: flex;
	justify-content: center;
	padding: 12px 16px;
	background: var(--ft-green);
}
.gl-ft__logo { display: block; line-height: 0; }
.gl-ft__logo img { width: auto; max-width: none; height: 34px; filter: brightness(0) invert(1); } /* source PNG has a green "GREEN" — force all-white on the green band */

/* Body */
.gl-ft__main { padding-block: 24px 8px; }
.gl-ft__grid { display: grid; gap: 0; }

.gl-ft .gl-ft__h {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 10px;
	color: var(--ft-green);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1.3;
	text-transform: uppercase;
}

.gl-ft__contact { padding-bottom: 18px; }
.gl-ft .gl-ft__name { margin-bottom: 4px; color: #fff; font-size: 15px; font-weight: 700; text-transform: uppercase; }
.gl-ft .gl-ft__addr { margin: 0; color: var(--ft-text); font-size: 14px; font-style: normal; line-height: 1.5; }
.gl-ft__lines { display: grid; gap: 6px; margin-top: 10px !important; }
.gl-ft__lines a { display: inline-flex; align-items: center; gap: 10px; }
.gl-ft__lines svg { color: var(--ft-muted); flex: 0 0 auto; }
.gl-ft__social { display: flex; gap: 10px; margin-top: 14px !important; }
.gl-ft__social a {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 1px solid var(--ft-line);
	border-radius: 8px;
	color: var(--ft-green);
}
.gl-ft__social a:hover { border-color: var(--ft-green); }

/* Link groups: accordions on phones */
.gl-ft__col { border-top: 1px solid var(--ft-line); }
.gl-ft__col > summary {
	margin: 0;
	padding: 14px 0;
	list-style: none;
	cursor: pointer;
}
.gl-ft__col > summary::-webkit-details-marker { display: none; }
.gl-ft__col > summary::marker { content: ""; }
.gl-ft__chev {
	width: 9px;
	height: 9px;
	margin-right: 4px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-3px);
	transition: transform .25s;
}
.gl-ft__col[open] .gl-ft__chev { transform: rotate(-135deg) translateY(-2px); }
.gl-ft__links { display: grid; gap: 4px; padding-bottom: 14px !important; }
.gl-ft__links a { display: inline-block; padding: 3px 0; color: var(--ft-text); font-size: 14px; }
.gl-ft__links a:hover { color: var(--ft-green); }

/* Subscribe (Mailchimp for WP form 574) */
.gl-ft__sub { padding-top: 16px; border-top: 1px solid var(--ft-line); }
.gl-ft .gl-ft__subtext { margin-bottom: 10px; color: var(--ft-text); font-size: 13.5px; }
.gl-ft .mc4wp-form p { position: relative; display: flex; margin: 0; }
.gl-ft .mc4wp-form input[type="email"] {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	height: 44px;
	margin: 0;
	padding: 0 52px 0 16px;
	border: 1.5px solid var(--ft-green);
	border-radius: 9999px;
	background: transparent;
	color: #fff;
	font-size: 14px;
	box-shadow: none;
}
.gl-ft .mc4wp-form input[type="email"]::placeholder { color: var(--ft-muted); }
.gl-ft .mc4wp-form input[type="email"]:focus { outline: none; border-color: #fff; }
.gl-ft .mc4wp-form input[type="submit"] {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 36px;
	height: 36px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--ft-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d0f0e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat;
	color: transparent;
	font-size: 0;
	cursor: pointer;
	box-shadow: none;
}
.gl-ft .mc4wp-form input[type="submit"]:hover { background-color: #fff; }
.gl-ft .mc4wp-response { margin-top: 8px; font-size: 13px; }
.gl-ft .mc4wp-response p { margin: 0; }
.gl-ft .mc4wp-success { color: var(--ft-green); }
.gl-ft .mc4wp-error { color: #ff8a80; }

/* Legal bar */
.gl-ft__bottom { border-top: 1px solid var(--ft-line); }
.gl-ft__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 20px;
	padding-block: 14px;
	color: var(--ft-muted);
	font-size: 12.5px;
}
.gl-ft__legal span { display: block; }
.gl-ft__pay { display: flex; flex-wrap: wrap; gap: 6px; }
.gl-ft__pay-mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 28px;
	padding: 3px 5px;
	overflow: hidden;
	border-radius: 5px;
	background: #fff;
	line-height: 0;
}
.gl-ft__pay-mark svg { display: block; width: 100%; height: 100%; }
.gl-ft__pay-mark--applepay { padding: 0; background: transparent; }
.gl-ft__pay-mark--iwoca { width: 62px; padding: 0; background: #FB5950; }
.gl-ft__credit a { color: var(--ft-text); }
.gl-ft__legal { flex: 1 1 420px; }
.gl-ft__legal .gl-ft__cookie { display: inline; margin-top: 4px; color: var(--ft-muted); font-size: inherit; }
.gl-ft__legal .gl-ft__cookie:hover { color: var(--ft-green); }
.gl-ft__pay { order: 3; }
.gl-ft__credit { order: 2; white-space: nowrap; }

/* Room for the floating mobile nav (gl-header.css). */
@media (max-width: 1024px) {
	.gl-ft__bottom-inner { padding-bottom: calc(var(--gl-fnav-h, 72px) + 24px + env(safe-area-inset-bottom, 0px)); }
}

@media (min-width: 600px) {
	.gl-ft__wrap { padding-inline: 24px; }
	.gl-ft__legal span { display: inline; margin-left: 6px; }
}

@media (min-width: 900px) {
	.gl-ft__wrap { padding-inline: 32px; }
	.gl-ft__band { padding-block: 10px; }
	.gl-ft__logo img { height: 30px; }
	.gl-ft__main { padding-block: 30px 26px; }
	.gl-ft__grid {
		grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.45fr) repeat(3, minmax(0, .9fr)) minmax(0, 1.35fr);
		gap: 28px;
	}
	.gl-ft__contact,
	.gl-ft__sub { padding: 0; border: 0; }
	.gl-ft__col { border: 0; }
	.gl-ft__col > summary { padding: 0; cursor: default; pointer-events: none; }
	.gl-ft__chev { display: none; }
	.gl-ft__links { gap: 0; padding: 0 !important; }
	.gl-ft__links a { padding: 2px 0; font-size: 13.5px; }
	.gl-ft__grid--nosub { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr) repeat(3, minmax(0, 1fr)); gap: 28px; }
}
@media (min-width: 1200px) {
	.gl-ft__grid--nosub { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
	.gl-ft__col--wide .gl-ft__links { display: block; columns: 2; column-gap: 24px; }
	.gl-ft__col--wide .gl-ft__links li { break-inside: avoid; }
	.gl-ft__bottom-inner { padding-block: 12px; }
}

/* XStore bumps <p> size on phones — pin the legal bar text. */
.gl-ft .gl-ft__legal,
.gl-ft .gl-ft__credit { font-size: 12.5px; line-height: 1.5; }
@media (min-width: 600px) {
	.gl-ft__legal .gl-ft__cookie { margin-left: 10px; }
}
