/* Site footer + cookie banner — Maiwand Pizza (inc/footer.php, inc/consent.php). */

.mw-own-footer #footer { display: none !important; }

.mw-ft { --mwf-brand: var(--maiwand-brand, var(--theme-palette-color-1, #d62828)); --mwf-bg: #19232e; --mwf-text: #e9edf1; --mwf-muted: #aab4be; --mwf-line: rgb(255 255 255 / 12%);
  margin-top: 0; background: var(--mwf-bg); color: var(--mwf-text); font-size: 15px; line-height: 1.5; }
.mw-ft *, .mw-ft *::before, .mw-ft *::after { box-sizing: border-box; }
.mw-ft a { color: var(--mwf-text) !important; text-decoration: none; }
.mw-ft a:hover { color: #fff !important; text-decoration: underline; }
.mw-ft a:focus-visible, .mw-ft button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.mw-ft .maiwand-icon { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--mwf-brand); }

.mw-ft__inner { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr .8fr; gap: 32px; max-width: var(--theme-block-max-width, 1290px); margin: 0 auto; padding: 48px 24px 36px; }
.mw-ft__logo { display: inline-flex; align-items: center; gap: 10px; }
.mw-ft__logo img { width: 56px; height: 56px; border-radius: 50%; background: #fff; }
.mw-ft__logo span { font-size: 22px; font-style: italic; font-weight: 900; letter-spacing: .3px; text-transform: uppercase; }
.mw-ft__logo b { color: var(--mwf-brand); font-weight: 900; }
.mw-ft__tagline { margin: 12px 0 0; color: var(--mwf-muted); }
.mw-ft__halal { display: flex; gap: 8px; margin: 14px 0 0; font-weight: 700; }
.mw-ft__halal .maiwand-icon { color: #4ade80; }
.mw-ft__title { margin: 4px 0 14px; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.mw-ft__list { margin: 0; padding: 0; list-style: none; }
.mw-ft__list li { display: flex; gap: 9px; margin: 0 0 10px; }
.mw-ft__hours li { display: flex; flex-direction: column; gap: 1px; color: var(--mwf-text); }
.mw-ft__hours strong { color: #fff; font-weight: 800; }
.mw-ft__links a { font-weight: 700; }

.mw-ft__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; max-width: var(--theme-block-max-width, 1290px); margin: 0 auto; padding: 18px 24px 24px; border-top: 1px solid var(--mwf-line); color: var(--mwf-muted); font-size: 13px; }
.mw-ft__copy { margin: 0; }
.mw-ft__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
.mw-ft__legal a, .mw-ft__cookies { color: var(--mwf-muted) !important; font-size: 13px; }
.mw-ft__cookies { margin: 0; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; text-decoration: underline; text-underline-offset: 2px; }
.mw-ft__cookies:hover { color: #fff !important; }

@media (max-width: 999.98px) {
  .mw-ft__inner { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
}
@media (max-width: 600px) {
  .mw-ft__inner { grid-template-columns: 1fr; gap: 24px; padding: 36px 16px 24px; }
  .mw-ft__bottom { flex-direction: column; align-items: flex-start; padding: 16px 16px calc(24px + env(safe-area-inset-bottom)); }
  /* The menu page's cart bar sits at the bottom: keep the last links reachable. */
  .page-template-template-maiwand-menu .mw-ft__bottom { padding-bottom: 110px; }
}

/* Cookie banner: v0.24.0, a small bar at the bottom that slides up (after a few seconds or the first scroll, consent.js). */
.mw-consent { position: fixed; z-index: 1100; right: 0; bottom: 0; left: 0; display: flex; justify-content: center; padding: 0 12px calc(12px + env(safe-area-inset-bottom)); pointer-events: none; transform: translateY(110%); transition: transform .35s ease; }
.mw-consent.is-in { transform: none; }
.mw-consent[hidden] { display: none; }
.mw-consent__box { display: flex; align-items: center; gap: 14px; width: 100%; max-width: 760px; padding: 10px 12px 10px 16px; border: 1px solid #e6dcd2; border-radius: 14px; background: #fff; box-shadow: 0 10px 30px rgb(25 35 46 / 18%); color: #19232e; pointer-events: auto; }
.mw-consent__text { flex: 1; margin: 0; color: #3c4752; font-size: 13px; line-height: 1.4; }
.mw-consent__text strong { color: #19232e; font-weight: 800; }
.mw-consent__text a { color: #19232e !important; font-weight: 700; text-decoration: underline; white-space: nowrap; }
.mw-consent__buttons { display: flex; flex-shrink: 0; gap: 8px; }
.mw-consent__btn { min-height: 38px; margin: 0; padding: 0 14px; border: 2px solid #19232e; border-radius: 10px; background: #fff; color: #19232e; cursor: pointer; font: inherit; font-size: 14px; font-weight: 800; }
.mw-consent__btn--yes { background: #19232e; color: #fff; }
.mw-consent__btn:hover { filter: brightness(.95); }
.mw-consent__btn:focus-visible { outline: 3px solid var(--maiwand-brand, #d62828); outline-offset: 2px; }
@media (max-width: 600px) {
  .mw-consent { padding: 0 8px calc(8px + env(safe-area-inset-bottom)); }
  .mw-consent__box { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 12px; }
  .mw-consent__text { font-size: 12.5px; }
  .mw-consent__buttons { display: grid; grid-template-columns: 1fr 1fr; }
  .mw-consent__btn { min-height: 36px; font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) { .mw-consent { transition: none; } }
/* The menu's cart bar goes above the cookie bar while it is shown. */
.mw-consent-open .mw-cartbar { bottom: calc(var(--mw-consent-h, 0px) + 8px); }
