/* JuniSprouts Grow — site footer v2 (inc/footer.php). Compact, light footer with the full-colour logo. Uses the theme tokens from grow.css. */

.jsg-ft { --ft-bar: var(--jsg-soil); --ft-bar-ink: #EFE4D3; --ft-link: var(--jsg-ink); font-family: var(--jsg-body); color: var(--jsg-ink); }
.jsg-ft p { margin: 0; }
.jsg-ft__sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.jsg-ft__ico { flex: none; width: 20px; height: 20px; }
.jsg-ft a { color: var(--ft-link); text-decoration: none; }
.jsg-ft a:hover { color: var(--jsg-green-dk); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.jsg-ft a:focus-visible, .jsg-ft__col > summary:focus-visible, .jsg-ft input:focus-visible, .jsg-ft button:focus-visible { outline: 2px solid var(--jsg-green); outline-offset: 2px; border-radius: 6px; }

/* ---------- Main (light) ---------- */
.jsg-ft__main { background: var(--jsg-oat); border-top: 1px solid var(--jsg-line); padding-bottom: 22px; }

/* Promise row */
.jsg-ft__promise { padding: 18px 0; border-bottom: 1px solid var(--jsg-line); }
.jsg-ft__promise-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.jsg-ft__promise-list li { display: flex; gap: 12px; align-items: center; min-width: 0; }
.jsg-ft__promise-ico { display: inline-grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--jsg-sage-soft); color: var(--jsg-green-dk); }
.jsg-ft__promise-ico .jsg-ft__ico { width: 19px; height: 19px; }
.jsg-ft__promise-txt { min-width: 0; }
.jsg-ft__promise-txt strong { display: block; font: 900 0.9rem/1.25 var(--jsg-head); color: var(--jsg-forest); }
.jsg-ft__promise-txt span { display: block; margin-top: 1px; font-size: 0.8rem; line-height: 1.35; color: var(--jsg-muted); }

/* Brand + columns */
.jsg-ft__grid { display: grid; grid-template-columns: minmax(250px, 330px) minmax(0, 1fr); gap: 56px; align-items: start; padding: 34px 0 28px; }

.jsg-ft__logo { display: inline-block; line-height: 0; }
.jsg-ft__logo:hover { text-decoration: none !important; }
.jsg-ft__logo-img { display: block; width: auto; height: 46px; max-width: 100%; }
.jsg-ft__tag { margin-top: 12px !important; font: 800 0.95rem/1.3 var(--jsg-head); color: var(--jsg-forest); }
.jsg-ft__blurb { margin-top: 4px !important; max-width: 38ch; font-size: 0.86rem; line-height: 1.5; color: var(--jsg-muted); }

.jsg-ft__signup { margin-top: 18px; }
.jsg-ft__signup-label { display: block; margin-bottom: 8px; font: 700 0.84rem/1.3 var(--jsg-body); color: var(--jsg-ink); }
.jsg-ft__signup-row { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 14px; background: var(--jsg-paper); box-shadow: inset 0 0 0 1.5px var(--jsg-line); }
.jsg-ft__signup-row:focus-within { box-shadow: inset 0 0 0 2px var(--jsg-green); }
.jsg-ft__signup-row input { flex: 1 1 auto; min-width: 0; height: 40px; box-sizing: border-box; border: 0; border-radius: 10px; background: transparent; color: var(--jsg-ink); padding: 0 10px; font: 400 0.95rem var(--jsg-body); }
.jsg-ft__signup-row input:focus { outline: none; }
.jsg-ft__signup-btn { flex: none; height: 40px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--jsg-green); color: #fff; font: 900 0.9rem/1 var(--jsg-body); cursor: pointer; }
.jsg-ft__signup-btn:hover { background: var(--jsg-green-dk); }
.jsg-ft__signup-btn[disabled] { opacity: 0.7; cursor: wait; }
.jsg-ft__signup-msg { min-height: 0; margin-top: 6px !important; font-size: 0.82rem; font-weight: 700; color: var(--jsg-green-dk); }
.jsg-ft__signup-msg:empty { display: none; }

.jsg-ft__social { list-style: none; margin: 16px 0 0; padding: 0; display: flex; gap: 8px; }
.jsg-ft__social a { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--jsg-paper); box-shadow: inset 0 0 0 1px var(--jsg-line); color: var(--jsg-forest); }
.jsg-ft__social a:hover { background: var(--jsg-green); box-shadow: none; color: #fff; text-decoration: none; }
.jsg-ft__social .jsg-ft__ico { width: 18px; height: 18px; }

.jsg-ft__nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 28px 28px; }
.jsg-ft__col > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; cursor: default; }
.jsg-ft__col > summary::-webkit-details-marker { display: none; }
.jsg-ft__col > summary .jsg-ft__ico { display: none; }
.jsg-ft__h { margin: 0 0 10px; font: 900 0.76rem/1.2 var(--jsg-body); letter-spacing: 0.09em; text-transform: uppercase; color: var(--jsg-forest); }
.jsg-ft__col ul { list-style: none; margin: 0; padding: 0; }
.jsg-ft__col li { margin: 0; padding: 3px 0; }
.jsg-ft__col li a { font-size: 0.9rem; line-height: 1.35; }

.jsg-ft__ages { margin-top: 12px; }
.jsg-ft__ages-h { margin-bottom: 6px !important; font-size: 0.76rem; font-weight: 700; color: var(--jsg-muted); }
.jsg-ft__ages ul { display: flex; flex-wrap: wrap; gap: 6px; }
.jsg-ft__ages li { padding: 0; }
.jsg-ft__col .jsg-ft__age { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; background: var(--jsg-paper); box-shadow: inset 0 0 0 1px var(--jsg-line); font: 700 0.8rem/1 var(--jsg-body); white-space: nowrap; }
.jsg-ft__col .jsg-ft__age:hover { background: var(--jsg-sage-soft); box-shadow: inset 0 0 0 1px var(--jsg-sage); text-decoration: none; }

.jsg-ft__contact { margin-top: 6px; }
.jsg-ft__contact a, .jsg-ft__contact--text { display: inline-flex; align-items: center; gap: 7px; font-size: 0.86rem !important; color: var(--jsg-ink); }
.jsg-ft__contact a { font-weight: 700; }
.jsg-ft__contact .jsg-ft__ico { width: 16px; height: 16px; color: var(--jsg-green); }

/* Safety line + payments */
.jsg-ft__base { display: flex; justify-content: space-between; align-items: center; gap: 14px 28px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--jsg-line); }
.jsg-ft__safety { display: flex; gap: 8px; align-items: flex-start; max-width: 64ch; font-size: 0.8rem; line-height: 1.5; color: var(--jsg-muted); }
.jsg-ft__safety .jsg-ft__ico { width: 16px; height: 16px; margin-top: 1px; color: var(--jsg-green); }
.jsg-ft__safety a { color: var(--jsg-ink); text-decoration: underline; text-underline-offset: 3px; }
.jsg-ft__pay ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.jsg-ft__pay li { display: inline-grid; place-items: center; width: 42px; height: 28px; box-sizing: border-box; padding: 3px 5px; border-radius: 5px; background: #fff; box-shadow: inset 0 0 0 1px var(--jsg-line); }
.jsg-ft__pay img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; }
.jsg-ft__pay li span { font: 700 0.55rem/1.1 var(--jsg-body); color: var(--jsg-ink); text-align: center; }

/* ---------- Legal bar (dark) ---------- */
.jsg-ft__bar { background: var(--ft-bar); color: var(--ft-bar-ink); font-size: 0.8rem; }
.jsg-ft__bar-in { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 24px; padding-block: 12px; }
.jsg-ft__legal { display: flex; flex-wrap: wrap; gap: 0 18px; }
.jsg-ft__legal a { display: inline-flex; align-items: center; min-height: 32px; color: var(--ft-bar-ink); }
.jsg-ft__legal a:hover { color: #fff; }
.jsg-ft__bar a:focus-visible { outline-color: var(--jsg-peach); }

/* Checkout: compact */
.jsg-ft--compact .jsg-ft__base { border-top: 0; padding-top: 16px; }

/* ---------- Admin-only: links waiting for a page ---------- */
.jsg-ft a.is-todo { opacity: 0.6; text-decoration: underline dashed var(--jsg-peach); text-underline-offset: 4px; }
.jsg-ft a.is-todo::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-radius: 50%; background: #E99A76; vertical-align: middle; }
.jsg-ft .jsg-ft__age.is-todo::after { display: none; }
.jsg-ft__todo { margin-top: 18px; padding: 14px 16px; border: 1px dashed #E99A76; border-radius: var(--jsg-r-m); background: var(--jsg-paper); font-size: 0.85rem; color: var(--jsg-muted); }
.jsg-ft__todo > summary { cursor: pointer; font-weight: 900; color: var(--jsg-soil); }
.jsg-ft__todo > summary em { font-style: normal; font-weight: 400; color: var(--jsg-muted); }
.jsg-ft__todo > p { margin: 10px 0 !important; }
.jsg-ft__todo-list, .jsg-ft__todo-list ul, .jsg-ft__todo-notes { list-style: none; margin: 0; padding: 0; }
.jsg-ft__todo-list { columns: 2 360px; column-gap: 32px; }
.jsg-ft__todo-group { break-inside: avoid; margin-bottom: 14px; }
.jsg-ft__todo-group > strong { display: block; color: var(--jsg-ink); margin-bottom: 4px; }
.jsg-ft__todo-group li { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; padding: 2px 0; }
.jsg-ft__todo code { font-size: 0.76rem; color: var(--jsg-green-dk); background: none; padding: 0; }
.jsg-ft__todo-group a { color: var(--jsg-soil) !important; font-weight: 700; text-decoration: underline !important; }
.jsg-ft__todo-notes { margin-top: 8px; }
.jsg-ft__todo-notes li::before { content: "· "; }

/* ---------- Responsive ---------- */
@media (max-width: 1099px) {
	.jsg-ft__promise-list { gap: 14px; }
	.jsg-ft__promise-txt span { display: none; }
	.jsg-ft__grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
	.jsg-ft__brand--signup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; align-items: start; }
	.jsg-ft__brand--signup > .jsg-ft__signup { grid-column: 2; grid-row: 1 / span 4; margin-top: 0; }
	.jsg-ft__nav { gap: 24px 22px; }
	.jsg-ft__ages ul { gap: 5px; }
	.jsg-ft__col .jsg-ft__age { padding: 0 8px; font-size: 0.76rem; }
}
@media (max-width: 767px) {
	.jsg-ft__promise { padding: 14px 0; }
	.jsg-ft__promise-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
	.jsg-ft__promise-list li { gap: 9px; }
	.jsg-ft__promise-ico { width: 32px; height: 32px; }
	.jsg-ft__promise-ico .jsg-ft__ico { width: 17px; height: 17px; }
	.jsg-ft__promise-txt strong { font-size: 0.8rem; }
	.jsg-ft__grid { gap: 0; padding: 24px 0 20px; }
	.jsg-ft__brand--signup { display: block; }
	.jsg-ft__logo-img { height: 40px; }
	.jsg-ft__tag { margin-top: 10px !important; }
	.jsg-ft__blurb { display: none; }
	.jsg-ft__signup, .jsg-ft__brand--signup > .jsg-ft__signup { margin-top: 16px; }
	.jsg-ft__signup-row input { font-size: 16px; }
	.jsg-ft__social { margin-top: 14px; }
	.jsg-ft__nav { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 22px; border-top: 1px solid var(--jsg-line); }
	.jsg-ft__col { border-bottom: 1px solid var(--jsg-line); }
	.jsg-ft__col > summary { min-height: 50px; cursor: pointer; }
	.jsg-ft__col > summary .jsg-ft__h { margin: 0; font-size: 0.8rem; }
	.jsg-ft__col > summary .jsg-ft__ico { display: block; width: 18px; height: 18px; color: var(--jsg-forest); transition: transform 0.2s ease; }
	.jsg-ft__col[open] > summary .jsg-ft__ico { transform: rotate(180deg); }
	.jsg-ft__col > ul, .jsg-ft__col > .jsg-ft__ages { padding-bottom: 12px; }
	.jsg-ft__col li { padding: 0; }
	.jsg-ft__col li a { display: inline-flex; align-items: center; min-height: 38px; font-size: 0.95rem; }
	.jsg-ft__col .jsg-ft__age { min-height: 34px; padding: 0 12px; font-size: 0.82rem; }
	.jsg-ft__ages { margin-top: 2px; }
	.jsg-ft__base { flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 16px; border-top: 0; }
	.jsg-ft__bar-in { flex-direction: column; align-items: flex-start; gap: 2px; padding-block: 10px 12px; }
	.jsg-ft__legal { gap: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.jsg-ft__col > summary .jsg-ft__ico { transition: none; }
}

/* 2026-11-04: WooCommerce's ".woocommerce-page img{height:auto}" outranked the logo height on shop,
   collection, product, cart and account pages, so the logo grew to the full column width. */
.jsg-site-footer .jsg-ft__logo-img{width:auto;height:46px;max-width:100%}
@media (max-width:767px){.jsg-site-footer .jsg-ft__logo-img{height:40px}}
