/* ============================================================
   MASH FLAME — Bootstrap 5 brand layer
   Sits on top of Bootstrap 5; overrides theme variables + adds
   brand-specific components and utilities.
   Pair with: <link rel="stylesheet" href="../../colors_and_type.css">
              <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css">
              <link rel="stylesheet" href="mash-flame.css">  (this file, last)
   ============================================================ */

/* -------- Override Bootstrap CSS vars with Mash Flame tokens -------- */
:root {
  --bs-primary: #E8541C;
  --bs-primary-rgb: 232, 84, 28;
  --bs-secondary: #1A1410;
  --bs-secondary-rgb: 26, 20, 16;
  --bs-success: #4F7B3D;
  --bs-success-rgb: 79, 123, 61;
  --bs-warning: #F5B945;
  --bs-warning-rgb: 245, 185, 69;
  --bs-danger: #B9301C;
  --bs-danger-rgb: 185, 48, 28;
  --bs-body-bg: #FBF6EE;
  --bs-body-color: #1A1410;
  --bs-body-font-family: "Schibsted Grotesk", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --bs-border-color: #E8DFCC;
  --bs-link-color: #E8541C;
  --bs-link-hover-color: #C73E0A;
  --bs-border-radius: 8px;
  --bs-border-radius-sm: 6px;
  --bs-border-radius-lg: 14px;
  --bs-border-radius-xl: 20px;
}

body { font-family: var(--bs-body-font-family); }

/* ============================================================
   Display / heading utilities
   ============================================================ */
.font-display, .display-1, .display-2, .display-3, .display-4, .display-5 {
  font-family: "Alfa Slab One", "Roboto Slab", Georgia, serif !important;
  font-weight: 400 !important;
  letter-spacing: -0.02em;
  line-height: 0.95;
  text-transform: uppercase;
}
.font-mono { font-family: "JetBrains Mono", ui-monospace, monospace !important; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bs-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.text-flame { color: #E8541C !important; }
.text-char  { color: #1A1410 !important; }
.text-cream { color: #FBF6EE !important; }
.text-smoke { color: #4A4138 !important; }
.text-ash   { color: #8A7E72 !important; }
.bg-flame   { background-color: #E8541C !important; color: #fff; }
.bg-char    { background-color: #1A1410 !important; color: #FBF6EE; }
.bg-cream   { background-color: #FBF6EE !important; }
.bg-cream-deep { background-color: #F2EADA !important; }
.bg-ember   { background-color: #F5B945 !important; color: #1A1410; }

/* ============================================================
   Buttons — brand variants
   ============================================================ */
.btn {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8125rem;
  padding: 0.85rem 1.4rem;
  border-radius: 8px;
  transition: all 140ms cubic-bezier(0.2, 0.7, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-lg { padding: 1.1rem 1.75rem; font-size: 0.9rem; }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.7rem; }

.btn-flame {
  background: #E8541C; color: #fff; border: 0;
  box-shadow: 0 12px 28px -10px rgba(232, 84, 28, 0.45);
}
.btn-flame:hover, .btn-flame:focus { background: #C73E0A; color: #fff; }
.btn-flame:active { background: #9A2D05 !important; color: #fff !important; transform: scale(0.97); }

/* Delivery partner buttons (header / mobile drawer) */
.btn-ubereats {
  background: #06C167; color: #142328; border: 0;
  box-shadow: 0 12px 28px -10px rgba(6, 193, 103, 0.45);
}
.btn-ubereats:hover, .btn-ubereats:focus { background: #05A857; color: #142328; }
.btn-ubereats:active { background: #048A47 !important; color: #142328 !important; transform: scale(0.97); }

.btn-deliveroo {
  background: #00CCBC; color: #fff; border: 0;
  box-shadow: 0 12px 28px -10px rgba(0, 204, 188, 0.45);
}
.btn-deliveroo:hover, .btn-deliveroo:focus { background: #00B3A6; color: #fff; }
.btn-deliveroo:active { background: #009488 !important; color: #fff !important; transform: scale(0.97); }

/* Second stacked CTA in the mobile drawer */
.mf-mobile-menu__cta--stacked { margin-top: 0.75rem; }

.btn-char {
  background: #1A1410; color: #FBF6EE; border: 0;
}
.btn-char:hover, .btn-char:focus { background: #2C2620; color: #FBF6EE; }

.btn-outline-char {
  background: transparent; color: #1A1410; border: 2px solid #1A1410;
}
.btn-outline-char:hover, .btn-outline-char:focus { background: #1A1410; color: #FBF6EE; }

.btn-ghost {
  background: transparent; color: #1A1410; border: 0; padding-left: 0.5rem; padding-right: 0.5rem;
}
.btn-ghost:hover, .btn-ghost:focus { color: #E8541C; }

/* ============================================================
   Navbar
   ============================================================ */
.mf-navbar {
  background: rgba(18, 12, 8, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232, 84, 28, 0.25);
  padding: 1.15rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
  isolation: isolate;
}
/* Animated flame glow line along the bottom of the nav */
.mf-navbar::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(199,62,10,0.5) 15%,
    #E8541C 35%,
    #F5B945 50%,
    #E8541C 65%,
    rgba(199,62,10,0.5) 85%,
    transparent 100%);
  animation: mf-nav-flame-line 2.8s ease-in-out infinite alternate;
  pointer-events: none;
}
/* Warm ember glow beneath the line */
.mf-navbar::before {
  content: "";
  position: absolute;
  bottom: -8px; left: 50%;
  width: 60%; height: 16px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(232,84,28,0.35) 0%, transparent 70%);
  filter: blur(6px);
  animation: mf-nav-glow 2.8s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes mf-nav-flame-line {
  0%   { opacity: 0.65; background-position: 0% center; }
  100% { opacity: 1;    background-position: 100% center; }
}
@keyframes mf-nav-glow {
  0%   { opacity: 0.5; transform: translateX(-50%) scaleX(0.85); }
  100% { opacity: 1;   transform: translateX(-50%) scaleX(1.1); }
}
@media (prefers-reduced-motion: reduce) {
  .mf-navbar::before, .mf-navbar::after { animation: none; }
}

.mf-navbar .navbar-brand { display: flex; align-items: center; gap: 0.7rem; }
.mf-navbar .navbar-brand img { width: 48px; height: 48px; object-fit: contain; }
.mf-navbar .brand-wm {
  font-family: "Alfa Slab One", serif;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  line-height: 1;
  text-transform: uppercase;
  color: #FBF6EE;
}
.mf-navbar .brand-sub {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8A7E72;
  margin-top: 3px;
}
.mf-navbar .nav-link {
  font-weight: 600;
  font-size: 0.9375rem;
  color: #C9BCA1 !important;
  padding: 0.6rem 1.1rem !important;
  position: relative;
  letter-spacing: 0.01em;
  transition: color 140ms;
}
.mf-navbar .nav-link.active { color: #F7733A !important; }
.mf-navbar .nav-link:hover  { color: #FBF6EE !important; }

.mf-cart {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: #FBF6EE;
  border: 0; display: inline-grid; place-items: center;
  position: relative; transition: background 140ms;
  text-decoration: none;
}
.mf-cart:hover { background: rgba(255,255,255,0.18); color: #FBF6EE; }
.mf-cart .badge-n {
  position: absolute; top: -2px; right: -2px;
  background: #E8541C; color: #fff;
  font-size: 0.65rem; font-weight: 700;
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center;
}

/* ============================================================
   Hero
   ============================================================ */
.mf-hero { padding: 4rem 0 5rem; position: relative; }
.mf-hero__title {
  font-family: "Alfa Slab One", serif;
  font-size: clamp(56px, 9vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #1A1410;
  margin: 0.5rem 0 1.5rem;
}
.mf-hero__title .flame { color: #E8541C; display: inline-block; }
.mf-hero__lede {
  font-size: 1.0625rem; line-height: 1.55; color: #2C2620;
  max-width: 38ch;
}
.mf-hero__meta {
  display: flex; gap: 2.5rem; margin-top: 2.25rem;
  padding-top: 1.5rem; border-top: 1px solid #E8DFCC;
}
.mf-hero__meta > div { display: flex; flex-direction: column; }
.mf-hero__meta strong {
  font-family: "Alfa Slab One", serif;
  font-size: 1.5rem; line-height: 1; color: #1A1410;
  letter-spacing: -0.01em;
}
.mf-hero__meta span {
  font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: #4A4138; margin-top: 4px;
}

/* Hero photo collage */
.mf-hero__media { position: relative; min-height: 540px; }
.mf-hero__media .mf-photo { position: absolute; }
.mf-hero__media .photo-a { top: 0; right: 0; width: 70%; aspect-ratio: 3/4; z-index: 1; }
.mf-hero__media .photo-b { bottom: 0; left: 0; width: 50%; aspect-ratio: 1; z-index: 2; }
.mf-hero__media .photo-c { bottom: 18%; right: -8%; width: 38%; aspect-ratio: 1; z-index: 3; transform: rotate(4deg); }

/* ============================================================
   PhotoBlock — placeholder until real photography lands
   ============================================================ */
.mf-photo {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #3a2418 0%, #7a3a14 60%, #E8541C 100%);
  box-shadow: 0 18px 40px -16px rgba(26, 20, 16, 0.22);
  isolation: isolate;
}
.mf-photo--char  { background: linear-gradient(135deg, #1A1410 0%, #3a2418 50%, #7a3a14 100%); }
.mf-photo--ember { background: linear-gradient(135deg, #4a1f0a 0%, #B9301C 50%, #F5B945 110%); }
.mf-photo--flame { background: linear-gradient(135deg, #6E1F02 0%, #E8541C 60%, #F7733A 100%); }
.mf-photo--herb  { background: linear-gradient(135deg, #2c3a1e 0%, #4F7B3D 70%, #b8c98a 110%); }
.mf-photo--cream { background: linear-gradient(135deg, #C9BCA1 0%, #F2EADA 100%); }

/* Real image inside placeholder — drop in <img> and the gradient becomes the loading state */
.mf-photo > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  display: block;
}
/* Once an image loads in, the placeholder label is no longer useful */
.mf-photo:has(img) .mf-photo__label { display: none; }
.mf-photo__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 55%);
  z-index: 1;
}
.mf-photo__badge {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  background: #E8541C; color: #fff;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 6px 10px; border-radius: 999px;
}
.mf-photo__badge--char { background: #1A1410; color: #FBF6EE; }
.mf-photo__badge--ember { background: #F5B945; color: #1A1410; }
.mf-photo__label {
  position: absolute; bottom: 14px; left: 16px; right: 16px; z-index: 2;
  color: #FBF6EE; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
}
.mf-photo__tag {
  font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0.7; font-weight: 700;
}
.mf-photo__name {
  font-family: "Alfa Slab One", serif;
  text-transform: uppercase; line-height: 1; font-size: 1.1rem; letter-spacing: -0.01em;
  text-align: right; opacity: 0.95;
}

/* ============================================================
   Marquee strip
   ============================================================ */
.mf-marquee {
  background: #1A1410; color: #FBF6EE; overflow: hidden;
  padding: 1.1rem 0; border-top: 1px solid #2C2620; border-bottom: 1px solid #2C2620;
}
.mf-marquee__track {
  display: flex; gap: 2.5rem; white-space: nowrap;
  animation: mf-marquee 30s linear infinite;
  font-family: "Alfa Slab One", serif; font-size: 1.5rem;
  text-transform: uppercase; letter-spacing: -0.01em;
}
.mf-marquee__item { display: inline-flex; align-items: center; gap: 2.5rem; }
.mf-marquee__dot { color: #E8541C; }
@keyframes mf-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .mf-marquee__track { animation: none; }
}

/* ============================================================
   Menu item card
   ============================================================ */
.mf-menu-card {
  background: #fff; border: 1px solid #E8DFCC; border-radius: 14px;
  overflow: hidden; height: 100%;
  display: flex; flex-direction: column;
  box-shadow: 0 6px 16px -6px rgba(26,20,16,0.12), 0 2px 4px rgba(26,20,16,0.06);
  transition: transform 180ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 180ms;
}
.mf-menu-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -16px rgba(26,20,16,0.22), 0 4px 8px rgba(26,20,16,0.08);
}
.mf-menu-card .mf-photo { border-radius: 0; box-shadow: none; aspect-ratio: 5/4; }
.mf-menu-card__body { padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.mf-menu-card__name {
  font-family: "Alfa Slab One", serif;
  font-size: 1.35rem; line-height: 1; letter-spacing: -0.01em;
  text-transform: uppercase; color: #1A1410; margin: 0;
}
.mf-menu-card__desc {
  font-size: 0.875rem; line-height: 1.45; color: #2C2620; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.6em;
}
.mf-menu-card__foot {
  margin-top: auto; padding-top: 0.8rem;
  display: flex; align-items: center; justify-content: space-between;
}
.mf-menu-card__price {
  font-family: "JetBrains Mono", monospace; font-weight: 500;
  font-size: 1.1rem; color: #1A1410;
}
.mf-add {
  width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: #E8541C; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 18px -8px rgba(232,84,28,0.55);
  transition: all 140ms;
}
.mf-add:hover { background: #C73E0A; }
.mf-add:active { transform: scale(0.92); }
.mf-menu-card__tags { display: flex; gap: 0.35rem; flex-wrap: wrap; }
/* Calorie badges hidden on menu cards (markup kept for later reactivation).
   The soft badge holds the kcal value; if it's the only badge, collapse the row. */
.mf-menu-card__tags .mf-badge--soft { display: none; }
.mf-menu-card__tags:not(:has(.mf-badge:not(.mf-badge--soft))) { display: none; }

/* Featured (dark) menu card */
.mf-menu-card--feature {
  background: #1A1410; color: #FBF6EE; border: 0;
  box-shadow: 0 18px 40px -16px rgba(26,20,16,0.45), 0 12px 28px -10px rgba(232, 84, 28, 0.35);
}
.mf-menu-card--feature .mf-menu-card__name { color: #FBF6EE; }
.mf-menu-card--feature .mf-menu-card__desc { color: #FBF6EE; opacity: 0.78; }
.mf-menu-card--feature .mf-menu-card__price { color: #FBF6EE; }
.mf-menu-card--feature .mf-add { background: #FBF6EE; color: #1A1410; }
.mf-menu-card--feature .mf-add:hover { background: #fff; }

/* ============================================================
   Badges (brand)
   ============================================================ */
.mf-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.35rem 0.7rem; border-radius: 999px;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; line-height: 1;
}
.mf-badge--new      { background: #E8541C; color: #fff; }
.mf-badge--signature{ background: #1A1410; color: #FBF6EE; }
.mf-badge--promo    { background: #F5B945; color: #1A1410; }
.mf-badge--spicy    { background: #B9301C; color: #fff; }
.mf-badge--vegan    { background: #4F7B3D; color: #fff; }
.mf-badge--outline  { background: transparent; color: #1A1410; border: 1.5px solid #1A1410; }
.mf-badge--soft     { background: #F2EADA; color: #4A4138; border: 1px solid #E8DFCC;
                      font-family: "JetBrains Mono", monospace; letter-spacing: 0; text-transform: none; font-weight: 500; }

/* ============================================================
   Filter chips
   ============================================================ */
.mf-chip {
  font-size: 0.875rem; font-weight: 600; padding: 0.6rem 1.1rem;
  border-radius: 999px; border: 1.5px solid #E8DFCC;
  background: #fff; color: #1A1410; cursor: pointer;
  transition: all 140ms;
}
.mf-chip:hover { border-color: #1A1410; }
.mf-chip.is-active { background: #1A1410; color: #FBF6EE; border-color: #1A1410; }

/* ============================================================
   Section header
   ============================================================ */
.mf-section { padding: 6rem 0; }
.mf-section--tight { padding: 4rem 0; }
.mf-section__head { margin-bottom: 3rem; }
.mf-section__title {
  font-family: "Alfa Slab One", serif;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.95; letter-spacing: -0.02em;
  text-transform: uppercase; color: #1A1410; margin: 0.5rem 0 0;
}
.mf-section__lede {
  font-size: 1.0625rem; line-height: 1.55; color: #2C2620;
  max-width: 56ch; margin-top: 1rem;
}

/* ============================================================
   Story / about
   ============================================================ */
.mf-stat-card {
  background: #FBF6EE; border: 1px solid #E8DFCC; border-radius: 14px;
  padding: 1.5rem; height: 100%;
}
.mf-stat-card strong {
  font-family: "Alfa Slab One", serif; font-size: 2.25rem;
  line-height: 1; color: #E8541C; letter-spacing: -0.01em; display: block;
}
.mf-stat-card span {
  display: block; font-size: 0.875rem; color: #2C2620; margin-top: 0.7rem;
  line-height: 1.4;
}

/* ============================================================
   Forms
   ============================================================ */
.form-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: #4A4138; margin-bottom: 0.4rem;
}
.form-control, .form-select {
  font-family: inherit; font-size: 0.95rem;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid #E8DFCC; border-radius: 8px;
  color: #1A1410; background: #fff;
  transition: border-color 140ms, box-shadow 140ms;
}
.form-control:focus, .form-select:focus {
  border-color: #1A1410;
  box-shadow: 0 0 0 4px rgba(232,84,28,0.12);
}
.form-check-input:checked { background-color: #E8541C; border-color: #E8541C; }

/* ============================================================
   Footer
   ============================================================ */
.mf-footer { background: #1A1410; color: #FBF6EE; padding: 5rem 0 2rem; }
.mf-footer a { color: #FBF6EE; text-decoration: none; opacity: 0.7; transition: opacity 140ms, color 140ms; }
.mf-footer a:hover { opacity: 1; color: #F7733A; }

/* Footer social icon buttons */
.mf-social {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: rgba(255, 255, 255, 0.08);
  opacity: 1 !important;
  transition: background 140ms, color 140ms, transform 140ms;
}
.mf-social:hover { background: #E8541C; color: #FBF6EE !important; transform: translateY(-2px); }
.mf-footer h6 {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: #C9BCA1; margin-bottom: 1.2rem;
}
.mf-footer__wm {
  font-family: "Alfa Slab One", serif;
  font-size: clamp(72px, 12vw, 180px); line-height: 0.9;
  letter-spacing: -0.02em; text-transform: uppercase;
  color: #2C2620; margin-top: 3rem; opacity: 0.8;
  overflow: hidden; white-space: nowrap;
}
.mf-footer__small {
  font-size: 0.75rem; color: #8A7E72; margin-top: 2rem;
  padding-top: 2rem; border-top: 1px solid #2C2620;
}

/* ============================================================
   Misc
   ============================================================ */
.mf-divider {
  display: flex; align-items: center; gap: 1rem;
  color: #C9BCA1; font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase; font-weight: 700;
  margin: 2rem 0;
}
.mf-divider::before, .mf-divider::after {
  content: ""; flex: 1; height: 1px; background: #E8DFCC;
}

.mf-press-strip {
  padding: 2.5rem 0; border-top: 1px solid #E8DFCC; border-bottom: 1px solid #E8DFCC;
  background: #FBF6EE;
}
.mf-press-strip__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; opacity: 0.6;
}
.mf-press-strip__item {
  font-family: "Alfa Slab One", serif; font-size: 1.1rem;
  text-transform: uppercase; color: #4A4138; letter-spacing: 0;
}

.mf-hours {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.875rem; line-height: 1.9;
  color: #2C2620;
}
.mf-hours strong { color: #1A1410; font-weight: 500; }
.mf-hours .open,
.open { color: #4F7B3D; font-weight: 700; font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; margin: 0; }

/* ============================================================
   Hero — fire background variant (home page)
   ============================================================ */
.mf-hero.is-fire {
  background: #0F0B08;
  color: #FBF6EE;
  isolation: isolate;
  position: relative;
  overflow: hidden;
}
.mf-hero.is-fire .mf-hero__title { color: #FBF6EE; text-shadow: 0 2px 30px rgba(0,0,0,0.6); }
.mf-hero.is-fire .mf-hero__lede { color: #D6CABA; }
.mf-hero.is-fire .mf-hero__meta { border-top-color: rgba(255,255,255,0.1); }
.mf-hero.is-fire .mf-hero__meta strong { color: #FBF6EE; }
.mf-hero.is-fire .mf-hero__meta span { color: #C9BCA1; }
.mf-hero.is-fire .eyebrow { color: #F7733A; }
.mf-hero.is-fire .btn-outline-char {
  color: #FBF6EE; border-color: #FBF6EE; background: transparent;
}
.mf-hero.is-fire .btn-outline-char:hover { background: #FBF6EE; color: #1A1410; }

.mf-fire-bg {
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none; overflow: hidden;
}
/* Main flame body — warm orange glow rising from the bottom */
.mf-fire-bg::before {
  content: "";
  position: absolute;
  bottom: -20%; left: 50%;
  width: 110%; height: 90%;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse 50% 70% at 50% 100%, rgba(245,185,69,0.55) 0%, transparent 55%),
    radial-gradient(ellipse 70% 80% at 50% 110%, rgba(232,84,28,0.65) 0%, rgba(199,62,10,0.35) 35%, transparent 65%),
    radial-gradient(ellipse 100% 90% at 50% 130%, rgba(110,31,2,0.6) 0%, transparent 70%);
  filter: blur(20px);
  animation: mf-fire-pulse 2.4s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
/* Inner hot core — flickers faster */
.mf-fire-bg::after {
  content: "";
  position: absolute;
  bottom: -10%; left: 50%;
  width: 60%; height: 55%;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(255,200,100,0.45) 0%, transparent 50%),
    radial-gradient(ellipse 40% 60% at 50% 100%, rgba(247,115,58,0.5) 0%, transparent 60%);
  filter: blur(14px);
  animation: mf-fire-flicker 0.9s ease-in-out infinite alternate;
  mix-blend-mode: screen;
  will-change: transform, opacity;
}
@keyframes mf-fire-pulse {
  0%   { transform: translateX(-50%) scale(1, 1);     opacity: 0.85; }
  100% { transform: translateX(-50%) scale(1.05, 1.08); opacity: 1; }
}
@keyframes mf-fire-flicker {
  0%   { transform: translateX(-50%) scale(0.94, 1.02); opacity: 0.7; }
  50%  { transform: translateX(-48%) scale(1.06, 0.98); opacity: 1; }
  100% { transform: translateX(-52%) scale(0.98, 1.04); opacity: 0.85; }
}

/* Embers — small dots drifting upward with random delays */
.mf-ember {
  position: absolute;
  bottom: -10px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #F5B945;
  box-shadow: 0 0 8px 2px rgba(245,185,69,0.7), 0 0 16px 6px rgba(232,84,28,0.35);
  opacity: 0;
  animation: mf-ember-rise var(--ember-dur, 6s) linear infinite;
  animation-delay: var(--ember-delay, 0s);
  will-change: transform, opacity;
}
.mf-ember.sm { width: 3px; height: 3px; }
.mf-ember.lg { width: 5px; height: 5px; }
@keyframes mf-ember-rise {
  0%   { transform: translate(0, 0) scale(1);        opacity: 0; }
  8%   { opacity: 1; }
  85%  { opacity: 0.6; }
  100% { transform: translate(var(--ember-drift, 20px), -85vh) scale(0.2); opacity: 0; }
}

/* Subtle char vignette at the top so it doesn't all turn orange */
.mf-fire-bg .mf-fire-vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(15,11,8,0.85) 0%, rgba(15,11,8,0) 35%, rgba(15,11,8,0) 100%),
    radial-gradient(circle at 50% 110%, transparent 30%, rgba(15,11,8,0.5) 80%);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .mf-fire-bg::before, .mf-fire-bg::after, .mf-ember { animation: none !important; }
  .mf-ember { display: none; }
}
.mf-mobile-menu {
  position: fixed; inset: 0; z-index: 1040;
  background: rgba(26, 20, 16, 0.55);
  backdrop-filter: blur(4px);
  display: none;
  opacity: 0; transition: opacity 220ms;
}
.mf-mobile-menu.is-open { display: block; opacity: 1; }
.mf-mobile-menu__head, .mf-mobile-menu__list, .mf-mobile-menu__cta {
  background: #FBF6EE;
}
.mf-mobile-menu::after {
  content: ""; position: absolute; inset: 0; background: rgba(26,20,16,0.55);
  z-index: -1;
}
.mf-mobile-menu__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; border-bottom: 1px solid #E8DFCC;
  max-width: 420px; margin-left: auto; height: 70px;
}
.mf-mobile-menu__list {
  list-style: none; margin: 0; padding: 1.5rem 1.25rem; max-width: 420px; margin-left: auto;
  min-height: calc(100vh - 70px - 80px);
  display: flex; flex-direction: column; gap: 0.25rem;
}
.mf-mobile-menu__list a {
  display: block; padding: 0.85rem 0.5rem;
  font-family: 'Alfa Slab One', serif;
  font-size: 1.5rem; text-transform: uppercase; letter-spacing: -0.01em;
  color: #1A1410; text-decoration: none; border-bottom: 1px solid #F2EADA;
}
.mf-mobile-menu__list a.is-active { color: #E8541C; }
.mf-mobile-menu__divider { height: 16px; }
.mf-mobile-menu__cta {
  display: flex !important; justify-content: center; align-items: center; gap: 0.5rem;
  margin: 0 0 0 auto; padding: 1.1rem 1.5rem;
  max-width: 420px;
  border-radius: 0;
}

/* ============================================================
   Toast
   ============================================================ */
.mf-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: #1A1410; color: #FBF6EE;
  padding: 0.85rem 1.25rem; border-radius: 999px;
  font-size: 0.875rem; font-weight: 600;
  box-shadow: 0 18px 40px -10px rgba(26,20,16,0.4);
  z-index: 1050; opacity: 0; pointer-events: none;
  transition: all 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.mf-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   Cart count bump animation
   ============================================================ */
.mf-cart .badge-n.is-bump { animation: mf-bump 300ms cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes mf-bump {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* ============================================================
   Reusable utilities
   ============================================================ */

/* Aspect ratios */
.ar-1     { aspect-ratio: 1; }
.ar-3-4   { aspect-ratio: 3/4; }
.ar-4-5   { aspect-ratio: 4/5; }
.ar-16-9  { aspect-ratio: 16/9; }
.ar-16-10 { aspect-ratio: 16/10; }
.ar-5-3   { aspect-ratio: 5/3; }

/* Page-level display title */
.mf-page-title {
  font-family: 'Alfa Slab One', serif;
  font-size: clamp(36px, 5vw, 56px);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin: 0.5rem 0 0;
}

/* Large display stat number (2.5rem, flame colour) */
.mf-stat-num {
  font-family: 'Alfa Slab One', serif;
  font-size: 2.5rem;
  line-height: 1;
  color: #E8541C;
}

/* Sub-section heading (h2-level, used above card grids) */
.mf-sub-heading {
  font-family: 'Alfa Slab One', serif;
  font-size: clamp(28px, 3vw, 40px);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 0;
}

/* Photo thumbnail sizes for cart / order rows */
.mf-photo--thumb-sm { width: 56px; height: 56px; border-radius: 8px; flex-shrink: 0; }
.mf-photo--thumb-60 { width: 60px; height: 60px; border-radius: 8px; flex-shrink: 0; }

/* Photo badge herb/vegan variant (mirrors --char and --ember) */
.mf-photo__badge--herb { background: #4F7B3D; color: #fff; }

/* Icon circle wrapper */
.mf-icon { display: grid; place-items: center; flex-shrink: 0; }
.mf-icon--flame { background: #FFF3EC; color: #E8541C; }
.mf-icon--sm  { width: 40px; height: 40px; border-radius: 50%; }
.mf-icon--md  { width: 44px; height: 44px; border-radius: 50%; }
.mf-icon--lg  { width: 48px; height: 48px; border-radius: 12px; }

/* btn-outline-char inverted (for dark / char backgrounds) */
.btn-outline-char--inv { color: #FBF6EE !important; border-color: #FBF6EE !important; }

/* Flex item that expands and prevents overflow */
.flex-fill-min { flex: 1; min-width: 0; }

/* Mono price variants */
.mf-price-lg {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 1.75rem;
  color: #1A1410;
}
.mf-price-inline { font-family: 'JetBrains Mono', monospace; font-size: 0.95rem; }

/* Eyebrow on dark / warm backgrounds */
.eyebrow--warm { color: #F7733A !important; }

/* Plain / transparent link */
.mf-link-plain { text-decoration: none; color: inherit; }
.mf-link-plain:hover { color: inherit; }

/* Segmented control wrapper (e.g. Livraison / À emporter / Sur place) */
.mf-seg { display: inline-flex; background: #F2EADA; border-radius: 999px; padding: 4px; }
.mf-seg__btn {
  border: 0; background: transparent; padding: 0.55rem 1rem;
  font-family: var(--bs-body-font-family); font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.7rem;
  color: #4A4138; cursor: pointer; border-radius: 999px;
  transition: all 140ms;
}
.mf-seg__btn.is-active,
.mf-seg__btn--active { background: #fff; color: #1A1410; box-shadow: 0 1px 2px rgba(0,0,0,0.06); }

/* Card box (white, bordered, rounded) */
.mf-card-box {
  background: #fff; border: 1px solid #E8DFCC;
  border-radius: 14px; padding: 1.75rem; margin-bottom: 1.5rem;
}
.mf-card-box h3 {
  font-family: 'Alfa Slab One', serif; font-size: 1.5rem;
  text-transform: uppercase; letter-spacing: -0.01em; margin: 0 0 0.25rem;
}
.mf-card-box .sub { font-size: 0.85rem; color: #8A7E72; margin: 0 0 1.5rem; }

/* Information card (contact info tiles) */
.mf-info-card {
  background: #fff; border: 1px solid #E8DFCC;
  border-radius: 14px; padding: 1.5rem;
  box-shadow: 0 6px 16px -6px rgba(26,20,16,0.08);
}

/* Quick-action card (account overview tiles) */
.mf-action-card {
  display: block; background: #fff; border: 1px solid #E8DFCC;
  border-radius: 14px; padding: 1.25rem;
  text-decoration: none; color: #1A1410;
  transition: transform 180ms, box-shadow 180ms;
}
.mf-action-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -16px rgba(26,20,16,0.18);
  color: #1A1410;
}
.mf-action-card__icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: #FFF3EC; color: #E8541C;
  display: grid; place-items: center; margin-bottom: 0.75rem;
}

/* Accordion: Mash Flame variant */
.mf-accordion .accordion-item { background: transparent; border-color: #E8DFCC; }
.mf-accordion .accordion-button { background: transparent !important; font-weight: 700; color: #1A1410 !important; box-shadow: none !important; }
.mf-accordion .accordion-body { color: #2C2620; }

/* Values list (used on /le-restaurant) */
.mf-value-num { font-family: 'Alfa Slab One', serif; font-size: 3rem; line-height: 1; color: #E8541C; flex-shrink: 0; }
.mf-value-title { font-family: 'Alfa Slab One', serif; font-size: 1.5rem; text-transform: uppercase; letter-spacing: -0.01em; margin: 0 0 0.5rem; }
.mf-value-text { color: #2C2620; margin: 0; }

/* Team member card */
.mf-team-name { font-family: 'Alfa Slab One', serif; font-size: 1.25rem; text-transform: uppercase; margin: 1rem 0 0.25rem; }
.mf-team-role { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: #8A7E72; }

/* Quote / testimonial section */
.mf-quote-text {
  font-family: 'Alfa Slab One', serif;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.05; letter-spacing: -0.02em;
  text-transform: uppercase; color: #FBF6EE;
  margin-top: 1.5rem;
}
.mf-quote-cite {
  color: #C9BCA1; font-size: 0.875rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-top: 1.5rem;
}

/* ============================================================
   Product detail page
   ============================================================ */
.mf-breadcrumb { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: #8A7E72; font-weight: 600; }
.mf-breadcrumb a { color: #4A4138; text-decoration: none; }
.mf-breadcrumb a:hover { color: #E8541C; }
.mf-breadcrumb span { color: #C9BCA1; margin: 0 0.5rem; }

.mf-product-title {
  font-family: 'Alfa Slab One', serif;
  font-size: clamp(40px, 5vw, 64px);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin: 0.5rem 0 1rem;
}

.mf-option-group__title {
  font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #1A1410; margin: 0 0 0.5rem;
}
.mf-option-group__sub { font-size: 0.8rem; color: #8A7E72; margin: 0 0 0.85rem; }

.mf-option {
  display: flex; align-items: flex-start; gap: 0.85rem;
  padding: 0.95rem 1rem; border: 1.5px solid #E8DFCC;
  border-radius: 10px; cursor: pointer; transition: all 140ms;
  background: #fff;
}
.mf-option:hover { border-color: #1A1410; }
.mf-option input { margin: 0; flex-shrink: 0; margin-top: 2px; accent-color: #E8541C; }
.mf-option__name { font-weight: 600; font-size: 0.95rem; color: #1A1410; }
.mf-option__desc { font-size: 0.8rem; color: #4A4138; line-height: 1.4; margin-top: 2px; }
.mf-option__price { margin-left: auto; font-family: 'JetBrains Mono', monospace; font-size: 0.9rem; color: #1A1410; flex-shrink: 0; font-weight: 500; }
.mf-option:has(input:checked) { border-color: #E8541C; background: #FFF3EC; }

.mf-qty {
  display: inline-flex; align-items: center;
  border: 1.5px solid #1A1410; border-radius: 999px; padding: 4px;
}
.mf-qty button {
  width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: transparent; color: #1A1410;
  display: grid; place-items: center; cursor: pointer; transition: background 140ms;
}
.mf-qty button:hover { background: #F2EADA; }
.mf-qty span { padding: 0 0.85rem; font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 1.1rem; min-width: 28px; text-align: center; }

.mf-allergen { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.8rem; color: #4A4138; padding: 0.3rem 0.65rem; border-radius: 999px; background: #F2EADA; }
.mf-allergen-box { background: #F2EADA; border-radius: 10px; }
.mf-allergen-box__title { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #4A4138; margin: 0 0 0.6rem; }
.mf-allergen-box__text { font-size: 0.75rem; color: #4A4138; margin: 0.75rem 0 0; line-height: 1.5; }

.mf-sticky-buy { position: sticky; bottom: 0; background: #FBF6EE; padding: 1rem 0; border-top: 1px solid #E8DFCC; z-index: 100; }

/* ============================================================
   Cart page
   ============================================================ */
.mf-cart-row {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 1.25rem;
  padding: 1.25rem 0; border-bottom: 1px solid #E8DFCC; align-items: center;
}
.mf-cart-row__thumb { width: 96px; height: 96px; border-radius: 10px; overflow: hidden; }
.mf-cart-row__name { font-family: 'Alfa Slab One', serif; font-size: 1.2rem; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1; margin: 0 0 0.35rem; }
.mf-cart-row__opts { font-size: 0.8rem; color: #4A4138; line-height: 1.4; margin: 0 0 0.4rem; }
.mf-cart-row__actions { display: flex; gap: 1.25rem; font-size: 0.8rem; }
.mf-cart-row__actions a { color: #8A7E72; text-decoration: none; }
.mf-cart-row__actions a:hover { color: #B9301C; }
.mf-cart-row__price { font-family: 'JetBrains Mono', monospace; font-weight: 500; font-size: 1.1rem; color: #1A1410; text-align: right; }

.mf-qty-sm { display: inline-flex; align-items: center; border: 1px solid #E8DFCC; border-radius: 999px; padding: 2px; }
.mf-qty-sm button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: transparent; color: #1A1410; display: grid; place-items: center; cursor: pointer; }
.mf-qty-sm button:hover { background: #F2EADA; }
.mf-qty-sm span { padding: 0 0.5rem; font-family: 'JetBrains Mono', monospace; font-weight: 600; font-size: 0.9rem; min-width: 24px; text-align: center; }

.mf-summary { background: #fff; border: 1px solid #E8DFCC; border-radius: 14px; padding: 1.5rem; position: sticky; top: 90px; }
.mf-summary__line { display: flex; justify-content: space-between; padding: 0.4rem 0; font-size: 0.95rem; }
.mf-summary__line.total { font-family: 'Alfa Slab One', serif; font-size: 1.4rem; text-transform: uppercase; padding-top: 1rem; margin-top: 0.5rem; border-top: 1px solid #E8DFCC; }
.mf-promo { display: flex; gap: 0.5rem; margin: 1rem 0; }
.mf-promo input { flex: 1; }

.mf-mode-toggle { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5rem; margin-bottom: 1.5rem; }
.mf-mode-toggle label { padding: 1rem 0.5rem; border: 1.5px solid #E8DFCC; border-radius: 10px; text-align: center; cursor: pointer; transition: all 140ms; background: #fff; }
.mf-mode-toggle label:has(input:checked) { border-color: #1A1410; background: #1A1410; color: #FBF6EE; }
.mf-mode-toggle input { display: none; }
.mf-mode-toggle .name { font-weight: 700; font-size: 0.95rem; }
.mf-mode-toggle .sub { font-size: 0.75rem; opacity: 0.7; margin-top: 4px; }

/* ============================================================
   Checkout / order flow
   ============================================================ */
.mf-step-rail { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 3rem; position: relative; }
.mf-step-rail::before { content: ""; position: absolute; top: 18px; left: 18px; right: 18px; height: 2px; background: #E8DFCC; z-index: 0; }
.mf-step { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; position: relative; z-index: 1; flex: 1; }
.mf-step__dot {
  width: 36px; height: 36px; border-radius: 50%;
  background: #fff; border: 2px solid #E8DFCC;
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 0.85rem;
  color: #8A7E72;
}
.mf-step.is-done    .mf-step__dot { background: #4F7B3D; border-color: #4F7B3D; color: #fff; }
.mf-step.is-current .mf-step__dot { background: #E8541C; border-color: #E8541C; color: #fff; box-shadow: 0 0 0 4px rgba(232,84,28,0.18); }
.mf-step__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #8A7E72; text-align: center; }
.mf-step.is-done .mf-step__label,
.mf-step.is-current .mf-step__label { color: #1A1410; }

.mf-address-card { padding: 1rem; border: 1.5px solid #E8DFCC; border-radius: 10px; cursor: pointer; transition: all 140ms; background: #fff; display: flex; gap: 0.85rem; align-items: flex-start; }
.mf-address-card:hover { border-color: #1A1410; }
.mf-address-card:has(input:checked) { border-color: #E8541C; background: #FFF3EC; }
.mf-address-card input { margin-top: 4px; accent-color: #E8541C; }
.mf-address-card .label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #4A4138; margin-bottom: 0.25rem; }
.mf-address-card .addr { font-weight: 600; color: #1A1410; font-size: 0.95rem; }
.mf-address-card .meta { font-size: 0.8rem; color: #4A4138; margin-top: 4px; }

.mf-pay-option { padding: 1rem 1.25rem; border: 1.5px solid #E8DFCC; border-radius: 10px; cursor: pointer; transition: all 140ms; background: #fff; display: flex; align-items: center; gap: 0.85rem; }
.mf-pay-option:hover { border-color: #1A1410; }
.mf-pay-option:has(input:checked) { border-color: #E8541C; background: #FFF3EC; }
.mf-pay-option input { accent-color: #E8541C; }
.mf-pay-option .name { font-weight: 600; color: #1A1410; }
.mf-pay-option .brand-pill { margin-left: auto; font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; color: #8A7E72; padding: 0.25rem 0.6rem; background: #F2EADA; border-radius: 999px; }

.mf-time-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 0.5rem; }
.mf-time-pill { padding: 0.65rem 0.5rem; border: 1.5px solid #E8DFCC; border-radius: 8px; background: #fff; cursor: pointer; text-align: center; font-family: 'JetBrains Mono', monospace; font-size: 0.9rem; transition: all 140ms; }
.mf-time-pill:hover { border-color: #1A1410; }
.mf-time-pill.is-active { border-color: #E8541C; background: #E8541C; color: #fff; }
.mf-time-pill.is-asap { background: #1A1410; color: #FBF6EE; border-color: #1A1410; font-family: inherit; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.75rem; }

/* ============================================================
   Auth / login page
   ============================================================ */
.mf-auth-grid { min-height: calc(100vh - 70px); display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 991px) {
  .mf-auth-grid { grid-template-columns: 1fr; }
  .mf-auth-grid__visual { display: none; }
}
.mf-auth-grid__visual {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1A1410 0%, #3a2418 50%, #C73E0A 100%);
  display: flex; align-items: flex-end; padding: 3rem;
}
.mf-auth-grid__visual::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(245,185,69,0.25), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(232,84,28,0.5), transparent 60%);
}
.mf-auth-grid__visual-content { position: relative; z-index: 1; color: #FBF6EE; }
.mf-auth-grid__visual h2 {
  font-family: 'Alfa Slab One', serif; font-size: clamp(40px, 5vw, 72px);
  line-height: 0.9; letter-spacing: -0.02em; text-transform: uppercase; margin: 0 0 1rem;
}
.mf-auth-grid__form { display: flex; align-items: center; justify-content: center; padding: 3rem 2rem; }
.mf-auth-card { width: 100%; max-width: 420px; }
.mf-auth-tabs {
  display: grid; grid-template-columns: 1fr 1fr;
  background: #F2EADA; border-radius: 999px; padding: 4px; margin-bottom: 2rem;
}
.mf-auth-tabs button {
  border: 0; background: transparent; padding: 0.75rem 1rem;
  font-family: var(--bs-body-font-family); font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; font-size: 0.75rem;
  color: #4A4138; cursor: pointer; border-radius: 999px; transition: all 140ms;
}
.mf-auth-tabs button.is-active { background: #1A1410; color: #FBF6EE; }
.mf-auth-form { display: none; }
.mf-auth-form.is-active { display: block; }
.mf-auth-divider {
  display: flex; align-items: center; gap: 1rem;
  color: #C9BCA1; font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase; font-weight: 700; margin: 1.5rem 0;
}
.mf-auth-divider::before, .mf-auth-divider::after { content: ""; flex: 1; height: 1px; background: #E8DFCC; }
.mf-social-btn {
  width: 100%; display: flex; align-items: center; justify-content: center;
  gap: 0.75rem; padding: 0.85rem 1rem;
  background: #fff; border: 1.5px solid #E8DFCC; border-radius: 8px;
  color: #1A1410; font-weight: 600; font-size: 0.9rem;
  cursor: pointer; transition: border-color 140ms; text-decoration: none;
}
.mf-social-btn:hover { border-color: #1A1410; color: #1A1410; }

/* ============================================================
   Account page
   ============================================================ */
.mf-account-side { background: #fff; border: 1px solid #E8DFCC; border-radius: 14px; padding: 1.5rem; position: sticky; top: 90px; }
.mf-account-side__avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, #E8541C, #9A2D05);
  display: grid; place-items: center;
  color: #fff; font-family: 'Alfa Slab One', serif; font-size: 1.6rem;
  margin-bottom: 0.85rem;
}
.mf-account-side__name { font-family: 'Alfa Slab One', serif; font-size: 1.4rem; text-transform: uppercase; letter-spacing: -0.01em; margin: 0; }
.mf-account-side__email { font-size: 0.85rem; color: #4A4138; margin: 0; }
.mf-account-nav { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-direction: column; gap: 0.25rem; }
.mf-account-nav a {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.7rem 0.85rem; border-radius: 8px;
  font-size: 0.9rem; font-weight: 600; color: #4A4138;
  text-decoration: none; transition: all 140ms;
}
.mf-account-nav a:hover { background: #F2EADA; color: #1A1410; }
.mf-account-nav a.is-active { background: #1A1410; color: #FBF6EE; }
.mf-account-nav a.is-active svg { color: #E8541C; }
.mf-account-nav .logout { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #E8DFCC; color: #B9301C; }

.mf-order-row {
  background: #fff; border: 1px solid #E8DFCC; border-radius: 14px;
  padding: 1.5rem; margin-bottom: 1rem;
  display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center;
}
.mf-order-row__id { font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; color: #8A7E72; }
.mf-order-row__name { font-family: 'Alfa Slab One', serif; font-size: 1.25rem; text-transform: uppercase; letter-spacing: -0.01em; margin: 0.25rem 0 0.35rem; }
.mf-order-row__items { font-size: 0.85rem; color: #4A4138; line-height: 1.4; }
.mf-order-row__price { font-family: 'JetBrains Mono', monospace; font-weight: 500; font-size: 1.2rem; color: #1A1410; text-align: right; }
.mf-order-row__status { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.25rem 0.65rem; border-radius: 999px; }
.mf-order-row__status.is-delivered { background: rgba(79,123,61,0.12); color: #4F7B3D; }
.mf-order-row__status.is-pending { background: rgba(232,84,28,0.12); color: #E8541C; }

.mf-loyalty-card {
  background: linear-gradient(135deg, #1A1410, #C73E0A);
  color: #FBF6EE; border-radius: 20px; padding: 2rem;
  overflow: hidden; position: relative;
}
.mf-loyalty-card::after {
  content: ""; position: absolute; top: -50%; right: -30%;
  width: 350px; height: 350px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,185,69,0.3), transparent 60%);
}
.mf-loyalty-bar { background: rgba(251,246,238,0.15); border-radius: 999px; height: 12px; overflow: hidden; margin: 1rem 0 0.5rem; }
.mf-loyalty-bar__fill { background: linear-gradient(90deg, #F5B945, #E8541C); height: 100%; border-radius: 999px; transition: width 800ms ease; }
.mf-loyalty-labels { display: flex; justify-content: space-between; font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; opacity: 0.7; }

/* ============================================================
   Order tracking page
   ============================================================ */
.mf-confirm-card {
  background: linear-gradient(180deg, #FFF3EC 0%, #FBF6EE 100%);
  border: 1px solid #FFC09B; border-radius: 20px; padding: 2.5rem 2rem;
  position: relative; overflow: hidden;
}
.mf-confirm-card::after {
  content: ""; position: absolute; bottom: -100px; right: -100px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,84,28,0.12), transparent 70%);
}
.mf-confirm-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: #4F7B3D; color: #fff;
  display: grid; place-items: center; margin-bottom: 1.5rem;
  box-shadow: 0 12px 28px -8px rgba(79,123,61,0.4);
}
.mf-timeline { padding-left: 0; list-style: none; margin: 0; position: relative; }
.mf-timeline::before { content: ""; position: absolute; top: 16px; bottom: 16px; left: 13px; width: 2px; background: #E8DFCC; }
.mf-timeline li { display: grid; grid-template-columns: 30px 1fr auto; gap: 1rem; padding: 0.85rem 0; align-items: flex-start; }
.mf-timeline .dot {
  width: 28px; height: 28px; border-radius: 50%; border: 2px solid #E8DFCC;
  background: #fff; position: relative; z-index: 1; display: grid; place-items: center;
  flex-shrink: 0; margin-top: 2px;
}
.mf-timeline li.is-done    .dot { background: #4F7B3D; border-color: #4F7B3D; color: #fff; }
.mf-timeline li.is-active  .dot { background: #E8541C; border-color: #E8541C; color: #fff; box-shadow: 0 0 0 4px rgba(232,84,28,0.2); animation: pulse-flame 1.5s ease-in-out infinite; }
@keyframes pulse-flame {
  0%, 100% { box-shadow: 0 0 0 4px rgba(232,84,28,0.2); }
  50%       { box-shadow: 0 0 0 8px rgba(232,84,28,0.08); }
}
.mf-timeline .label { font-weight: 700; color: #1A1410; font-size: 1rem; }
.mf-timeline li.is-pending .label { color: #8A7E72; font-weight: 600; }
.mf-timeline .sub { font-size: 0.85rem; color: #4A4138; margin-top: 2px; }
.mf-timeline .time { font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; color: #8A7E72; }
.mf-rider { display: flex; gap: 1rem; align-items: center; padding: 1.25rem; background: #fff; border: 1px solid #E8DFCC; border-radius: 14px; }
.mf-rider__avatar {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #F7733A, #C73E0A);
  display: grid; place-items: center;
  color: #fff; font-family: 'Alfa Slab One', serif; font-size: 1.4rem;
}
.mf-rider__name { font-weight: 700; font-size: 1rem; color: #1A1410; }
.mf-rider__meta { font-size: 0.8rem; color: #8A7E72; }
.mf-rider__action { width: 44px; height: 44px; border-radius: 50%; background: #E8541C; color: #fff; display: grid; place-items: center; border: 0; text-decoration: none; }
.mf-map-rider-pin { width: 48px; height: 48px; border-radius: 50%; background: #4F7B3D; color: #fff; display: grid; place-items: center; font-family: 'Alfa Slab One', serif; box-shadow: 0 8px 20px -6px rgba(0,0,0,0.4); }

/* ============================================================
   Careers page
   ============================================================ */
.mf-job {
  background: #fff; border: 1px solid #E8DFCC; border-radius: 14px;
  padding: 1.5rem 1.75rem;
  display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center;
  transition: transform 180ms, box-shadow 180ms, border-color 180ms;
  text-decoration: none; color: inherit;
}
.mf-job:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -16px rgba(26,20,16,0.18); border-color: #1A1410; }
.mf-job__title { font-family: 'Alfa Slab One', serif; font-size: 1.5rem; text-transform: uppercase; letter-spacing: -0.01em; margin: 0; color: #1A1410; }
.mf-job__meta { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 0.5rem; font-size: 0.85rem; color: #4A4138; }
.mf-job__meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.mf-perk { padding: 1.5rem; background: #fff; border: 1px solid #E8DFCC; border-radius: 14px; height: 100%; }
.mf-perk__icon { width: 40px; height: 40px; border-radius: 50%; background: #FFF3EC; color: #E8541C; display: grid; place-items: center; margin-bottom: 0.85rem; }
.mf-perk h4 { font-family: 'Alfa Slab One', serif; font-size: 1.1rem; text-transform: uppercase; margin: 0 0 0.35rem; }
.mf-perk p { font-size: 0.9rem; color: #4A4138; margin: 0; }

/* ============================================================
   Events / catering page
   ============================================================ */
.mf-events-hero {
  background: linear-gradient(135deg, #1A1410 0%, #6E1F02 60%, #C73E0A 100%);
  color: #FBF6EE; padding: 6rem 0; position: relative; overflow: hidden;
}
.mf-events-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(245,185,69,0.25), transparent 50%);
}
.mf-pkg {
  background: #fff; border: 1px solid #E8DFCC; border-radius: 14px;
  padding: 2rem; height: 100%; display: flex; flex-direction: column;
  transition: transform 180ms, box-shadow 180ms;
}
.mf-pkg:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -16px rgba(26,20,16,0.18); }
.mf-pkg.is-featured { background: #1A1410; color: #FBF6EE; border-color: #1A1410; box-shadow: 0 18px 40px -16px rgba(26,20,16,0.4), 0 12px 28px -10px rgba(232,84,28,0.35); }
.mf-pkg__title { font-family: 'Alfa Slab One', serif; font-size: 1.5rem; text-transform: uppercase; letter-spacing: -0.01em; margin: 0; }
.mf-pkg__sub { font-size: 0.85rem; color: #8A7E72; margin: 0.25rem 0 0; }
.mf-pkg.is-featured .mf-pkg__sub { color: #C9BCA1; }
.mf-pkg__price { font-family: 'Alfa Slab One', serif; font-size: 2.5rem; line-height: 1; letter-spacing: -0.01em; color: #E8541C; margin: 0.5rem 0 0.25rem; }
.mf-pkg__price-sub { font-size: 0.85rem; color: #8A7E72; }
.mf-pkg.is-featured .mf-pkg__price-sub { color: #C9BCA1; }
.mf-pkg ul { list-style: none; padding: 0; margin: 1.5rem 0; flex: 1; }
.mf-pkg ul li { display: flex; align-items: flex-start; gap: 0.5rem; padding: 0.45rem 0; font-size: 0.9rem; line-height: 1.4; }
.mf-pkg ul li svg { flex-shrink: 0; margin-top: 3px; color: #4F7B3D; }
.mf-pkg.is-featured ul li svg { color: #F5B945; }
.mf-use-case { padding: 1.5rem; background: #FBF6EE; border-radius: 14px; }
.mf-use-case__number { font-family: 'Alfa Slab One', serif; font-size: 2.5rem; line-height: 1; color: #E8541C; letter-spacing: -0.01em; display: block; margin-bottom: 0.5rem; }
.mf-use-case h3 { font-family: 'Alfa Slab One', serif; font-size: 1.4rem; text-transform: uppercase; letter-spacing: -0.01em; margin: 0 0 0.5rem; }
.mf-use-case p { font-size: 0.9rem; color: #4A4138; margin: 0; }

/* ============================================================
   Help / FAQ page
   ============================================================ */
.mf-help-search { background: linear-gradient(135deg, #FFF3EC, #F2EADA); padding: 4rem 0; text-align: center; }
.mf-help-search input {
  max-width: 600px; padding: 1.1rem 1.5rem !important; font-size: 1.0625rem !important;
  border-radius: 999px !important; border-width: 2px !important;
}
.mf-help-cat {
  background: #fff; border: 1px solid #E8DFCC; border-radius: 14px;
  padding: 1.5rem; text-decoration: none; color: inherit;
  transition: transform 180ms, box-shadow 180ms; display: block; height: 100%;
}
.mf-help-cat:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -16px rgba(26,20,16,0.18); color: inherit; }
.mf-help-cat__icon { width: 48px; height: 48px; border-radius: 12px; background: #FFF3EC; color: #E8541C; display: grid; place-items: center; margin-bottom: 1rem; }
.mf-help-cat h3 { font-family: 'Alfa Slab One', serif; font-size: 1.3rem; text-transform: uppercase; letter-spacing: -0.01em; margin: 0; }
.mf-help-cat p { font-size: 0.9rem; color: #4A4138; margin: 0.5rem 0 0; }
.mf-help-cat__count { font-size: 0.75rem; color: #8A7E72; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 0.5rem; }
.accordion-button:not(.collapsed) { background: transparent !important; color: #E8541C !important; box-shadow: inset 0 -1px 0 #E8DFCC; }

/* ============================================================
   Legal / mentions page
   ============================================================ */
.mf-legal { max-width: 760px; margin: 0 auto; }
.mf-legal h2 { font-family: 'Alfa Slab One', serif; font-size: 1.75rem; text-transform: uppercase; letter-spacing: -0.01em; margin: 3rem 0 1rem; line-height: 1; }
.mf-legal h2:first-of-type { margin-top: 0; }
.mf-legal h3 { font-size: 1.1rem; font-weight: 700; margin: 1.5rem 0 0.5rem; }
.mf-legal p, .mf-legal li { color: #2C2620; line-height: 1.65; font-size: 0.95rem; }
.mf-legal ul { padding-left: 1.25rem; }
.mf-legal a { color: #E8541C; }
.mf-toc { background: #fff; border: 1px solid #E8DFCC; border-radius: 14px; padding: 1.5rem; position: sticky; top: 90px; }
.mf-toc h4 { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: #4A4138; font-weight: 700; margin: 0 0 1rem; }
.mf-toc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.mf-toc a { color: #4A4138; text-decoration: none; font-size: 0.875rem; padding: 0.3rem 0.5rem; border-radius: 4px; display: block; }
.mf-toc a:hover { background: #F2EADA; color: #1A1410; }

/* ============================================================
   404 page
   ============================================================ */
.mf-404 { min-height: calc(100vh - 70px); display: flex; align-items: center; padding: 4rem 0; background: var(--bg); position: relative; overflow: hidden; }
.mf-404__big {
  font-family: 'Alfa Slab One', serif;
  font-size: clamp(160px, 28vw, 360px);
  line-height: 0.85; letter-spacing: -0.04em;
  color: #E8541C;
  text-shadow: 4px 4px 0 #1A1410, 8px 8px 0 #F5B945;
  margin: 0; user-select: none;
}
.mf-404__sub { font-family: 'Alfa Slab One', serif; font-size: clamp(28px, 4vw, 48px); line-height: 0.95; letter-spacing: -0.02em; text-transform: uppercase; margin: 1rem 0; }

/* ============================================================
   Additional reusable components
   ============================================================ */
/* Stat number — ember/yellow variant (dark section backgrounds) */
.mf-stat-num--ember { color: #F5B945; }

/* Loyalty points display */
.mf-loyalty-num { font-family: 'Alfa Slab One', serif; font-size: 2rem; line-height: 1; color: #F5B945; }

/* Small uppercase heading for info/contact cards (h4 level) */
.mf-card-heading { font-family: 'Alfa Slab One', serif; font-size: 1.1rem; text-transform: uppercase; margin: 0 0 0.25rem; }

/* Action card child element styles */
.mf-action-card h4 { font-family: 'Alfa Slab One', serif; font-size: 1.2rem; text-transform: uppercase; margin: 0; }
.mf-action-card p { font-size: 0.85rem; color: #8A7E72; margin: 4px 0 0; }

/* Order total row */
.mf-total-row { font-family: 'Alfa Slab One', serif; font-size: 1.3rem; text-transform: uppercase; }

/* Hero title for dark event/promo sections */
.mf-hero-title { font-family: 'Alfa Slab One', serif; font-size: clamp(48px, 7vw, 96px); text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.92; margin: 0.75rem 0 1.5rem; }

/* Order item name */
.mf-item-name { font-weight: 700; font-size: 0.95rem; line-height: 1.2; }

/* Small addon price in flame color */
.mf-price-sm { font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; color: #E8541C; }
