/* =========================================================
   Bangalore Cafe Xpress — Site footer (v1.14.0)
   Lives outside .bcx-root because it injects sitewide. We
   namespace every rule with .bcx-site-footer to avoid
   bleeding into the host theme.
   ========================================================= */

.bcx-site-footer-wrap {
  --bcx-f-ink: #1c2a1f;
  --bcx-f-ink-soft: #3f5142;
  --bcx-f-line: rgba(255, 255, 255, .12);
  --bcx-f-muted: #b9c2b3;
  --bcx-f-bg: #1f3c26;       /* matches the app dark green */
  --bcx-f-bg-deep: #16291b;
  --bcx-f-accent: #f58b00;
  --bcx-f-accent-soft: #ffd773;

  background: linear-gradient(180deg, var(--bcx-f-bg) 0%, var(--bcx-f-bg-deep) 100%);
  color: #e9eee5;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  margin-top: 64px;
  position: relative;
  overflow: hidden;
}

/* Decorative warm-spice top edge — mirrors the brand sunset gradient. */
.bcx-site-footer-wrap::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #ffb020 0%, #f58b00 50%, #e5472a 100%);
}

.bcx-site-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 28px 28px;
}

.bcx-site-footer__grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  align-items: start;
}
@media (max-width: 980px) {
  .bcx-site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .bcx-site-footer__grid { grid-template-columns: 1fr; }
  .bcx-site-footer { padding: 40px 22px 22px; }
}

.bcx-site-footer__h3 {
  font-family: 'Yeseva One', 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: .02em;
  color: var(--bcx-f-accent-soft);
  margin: 0 0 14px !important;
  padding: 0 !important;
  line-height: 1.2;
  text-transform: none;
}

/* ----- BRAND COLUMN ----- */
.bcx-site-footer__col--brand .bcx-site-footer__brand,
.bcx-site-footer__brand {
  font-family: 'Yeseva One', Georgia, serif;
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.15;
}
.bcx-site-footer__logo {
  display: block;
  max-width: 160px;
  height: auto;
  margin-bottom: 14px;
  /* v1.22.1 — Removed `filter: brightness(0) invert(1)` which used to
   * force the logo to monotone white on the dark green footer. Trouble
   * is, a typical uploaded brand mark (a circular crest with text/icons
   * inside) ends up as a featureless white disc once every non-
   * transparent pixel is forced white — which is exactly what was
   * showing on the live site. The actual uploaded logo now renders in
   * its real colours; merchants who want a monotone treatment can
   * upload a pre-monotoned PNG. */
}
.bcx-site-footer__tagline {
  margin: 0 0 16px !important;
  color: var(--bcx-f-muted);
  font-size: 14px;
  line-height: 1.6;
}
.bcx-site-footer__addr {
  font-style: normal;
  color: var(--bcx-f-muted);
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 14px;
}
.bcx-site-footer__contact {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bcx-site-footer__contact li { margin: 0 !important; padding: 0 !important; }
.bcx-site-footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.bcx-site-footer__contact a:hover {
  color: var(--bcx-f-accent-soft);
  text-decoration: underline;
}
.bcx-site-footer__icn {
  display: inline-block;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  background: rgba(255, 255, 255, .08);
  border-radius: 50%;
  font-size: 11px;
  color: var(--bcx-f-accent-soft);
}

/* ----- HOURS COLUMN ----- */
.bcx-site-footer__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--bcx-f-line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 14px;
  color: #ffffff;
}
.bcx-site-footer__pip {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bcx-f-accent);
  box-shadow: 0 0 0 3px rgba(245, 139, 0, .25);
}
.bcx-site-footer__status.is-open .bcx-site-footer__pip {
  background: #7fc68a;
  box-shadow: 0 0 0 3px rgba(127, 198, 138, .25);
}
.bcx-site-footer__status.is-open { color: #d6eccc; }

.bcx-site-footer__hours {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bcx-site-footer__hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--bcx-f-muted);
  padding: 2px 0;
  margin: 0 !important;
}
.bcx-site-footer__hours li.is-today {
  color: #ffffff;
  font-weight: 600;
}
.bcx-site-footer__day { white-space: nowrap; }
.bcx-site-footer__time { text-align: right; }

/* ----- LINKS COLUMN ----- */
.bcx-site-footer__links {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bcx-site-footer__links li { margin: 0 !important; padding: 0 !important; }
.bcx-site-footer__links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .12s ease;
}
.bcx-site-footer__links a:hover {
  color: var(--bcx-f-accent-soft);
  text-decoration: underline;
}

/* ----- SOCIAL COLUMN ----- */
.bcx-site-footer__social {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bcx-site-footer__social li { margin: 0 !important; padding: 0 !important; }
.bcx-site-footer__social a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.bcx-site-footer__social a:hover {
  color: var(--bcx-f-accent-soft);
}
.bcx-site-footer__social-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #ffffff;
  transition: background .15s ease, color .15s ease;
}
.bcx-site-footer__social a:hover .bcx-site-footer__social-glyph {
  background: var(--bcx-f-accent);
  color: #ffffff;
}

/* ----- BOTTOM BAR ----- */
.bcx-site-footer__bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--bcx-f-line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--bcx-f-muted);
}
.bcx-site-footer__bottom a {
  color: var(--bcx-f-accent-soft);
  text-decoration: none;
}
.bcx-site-footer__bottom a:hover {
  text-decoration: underline;
}

@media (max-width: 560px) {
  .bcx-site-footer__bottom { justify-content: flex-start; flex-direction: column; align-items: flex-start; }
}
