/* =========================================================================
   Site footer — one full-width dark-green footer
   Overrides: Storefront's gray .site-footer wrapper + the plugin's inline CSS
   ========================================================================= */

/* ---- Wrapper (Storefront) ------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--fmke-dark) !important;
  color: #C9D6CC !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.site-footer::before {              /* thin brand accent along the top edge */
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--fmke-primary), #FFA24D 55%, var(--fmke-primary));
}
.site-footer > .col-full {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.site-footer .col-full::before,
.site-footer .col-full::after { display: none !important; }

/* ---- Footer block ---------------------------------------------------- */
/* Base: also the look of the [fmke_site_footer] shortcode placed in a page */
.fmke-site-footer {
  background: var(--fmke-dark);
  color: #C9D6CC;
  margin: 0;
  padding: 44px 24px 0;
  border-radius: 18px;
  box-sizing: border-box;
}
/* Inside the real footer, the wrapper already supplies the colour/full-bleed */
.site-footer .fmke-site-footer {
  background: transparent;
  border-radius: 0;
  padding: 60px 24px 0;
}

.fmke-site-footer .fmke-footer-columns {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr 1.3fr 1fr;
  gap: 36px 32px;
  max-width: 1280px;
  margin: 0 auto;
}
.fmke-site-footer .fmke-footer-col { min-width: 0; flex: none; }

/* Brand */
.fmke-site-footer .fmke-footer-brand {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 28px !important;
  font-weight: 600 !important;
  letter-spacing: .5px;
  line-height: 1.1;
  color: #fff !important;
  margin: 0 0 14px !important;
}
.fmke-site-footer .fmke-footer-brand::after {
  content: ""; display: block; width: 34px; height: 4px; border-radius: 4px;
  background: var(--fmke-primary); margin-top: 12px;
}
.fmke-site-footer .fmke-footer-tagline {
  max-width: 340px;
  font-size: 14px !important;
  line-height: 1.75 !important;
  color: #C9D6CC !important;
  margin: 0;
}

/* Column headings */
.fmke-site-footer .fmke-footer-heading {
  display: block !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  letter-spacing: .1em !important;
  text-transform: uppercase;
  color: #fff !important;
}
.fmke-site-footer .fmke-footer-heading::after {
  content: ""; display: block; width: 22px; height: 3px; border-radius: 3px;
  background: var(--fmke-primary); margin-top: 8px;
}

/* Links */
.fmke-site-footer .fmke-footer-links { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.fmke-site-footer .fmke-footer-links li { margin: 0 0 4px !important; padding: 0; }
.site-footer .fmke-site-footer .fmke-footer-links a,
.fmke-site-footer .fmke-footer-links a {
  display: inline-block;
  padding: 5px 0;
  font-size: 14px !important;
  font-weight: 500;
  color: #C9D6CC !important;
  text-decoration: none !important;
  transition: color .15s ease, transform .15s ease;
}
.site-footer .fmke-site-footer .fmke-footer-links a:hover,
.fmke-site-footer .fmke-footer-links a:hover {
  color: #fff !important;
  text-decoration: none !important;
  transform: translateX(3px);
}

/* City + payment pills */
.fmke-site-footer .fmke-footer-cities,
.fmke-site-footer .fmke-footer-payments { display: flex; flex-wrap: wrap; gap: 8px; }
.fmke-site-footer .fmke-footer-city-badge {
  padding: 6px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; line-height: 1.2;
  color: #E8EFE9; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
}
.fmke-site-footer .fmke-footer-payment-badge {
  padding: 7px 13px; border-radius: 8px;
  font-size: 12.5px; font-weight: 800; line-height: 1.2;
  color: var(--fmke-dark); background: #fff;
}

/* Bottom bar */
.fmke-site-footer .fmke-footer-bottom {
  max-width: 1280px;
  margin: 44px auto 0 !important;
  padding: 22px 0 26px !important;
  border-top: 1px solid rgba(255,255,255,.14) !important;
  text-align: center;
}
.fmke-site-footer .fmke-footer-bottom p {
  margin: 0;
  font-size: 13px !important;
  color: #9DB3A4 !important;
}

/* ---- Responsive ------------------------------------------------------ */
@media (max-width: 1100px) {
  .fmke-site-footer .fmke-footer-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fmke-site-footer .fmke-footer-about { grid-column: 1 / -1; }
  .fmke-site-footer .fmke-footer-tagline { max-width: 560px; }
}
@media (max-width: 782px) {
  .fmke-site-footer,
  .site-footer .fmke-site-footer { padding: 44px 20px 0; }
  .fmke-site-footer .fmke-footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; }
  .fmke-site-footer .fmke-footer-brand { font-size: 26px !important; }
  /* Cities and payment methods run full width — pills read better that way */
  .fmke-site-footer .fmke-footer-col:nth-child(n+5) { grid-column: 1 / -1; }
  .fmke-site-footer .fmke-footer-links a { padding: 7px 0; }  /* comfortable tap targets */
  .fmke-site-footer .fmke-footer-bottom { margin-top: 34px !important; }

  /* The fixed bottom nav (mobile-nav.css) would cover the copyright line.
     Reserve its height inside the footer instead of on <body>, which
     left a white strip below the dark footer. */
  body:has(.site-footer .fmke-site-footer) { padding-bottom: 0 !important; }
  .site-footer .fmke-footer-bottom { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important; }
}
@media (max-width: 380px) {
  .fmke-site-footer .fmke-footer-columns { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .fmke-site-footer .fmke-footer-links a { transition: none; transform: none !important; }
}
