/* ============================================================
   main_menu.css — Beyond J.C. Group OPC | Menu Landing Page
   Premium redesign — consistent with kf-menu & lm-menu
   Palette: Dark editorial header · Green & Amber brand accents
   Fonts: DM Sans (body) · sans-serif (display)
   Mobile-first, iOS/Android optimised
   ============================================================ */

/* ── 1. Google Fonts ─────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300&display=swap');

/* ── 2. Tokens ────────────────────────────────────────────── */
:root {
  --mm-green:         #0d542b;
  --mm-green-hover:   #0a4322;
  --mm-green-light:   #dcfce7;
  --mm-green-mid:     #16a34a;
  --mm-yellow:        #eab308;
  --mm-yellow-hover:  #ca8a04;
  --mm-yellow-light:  #fef9c3;
  --mm-yellow-bg:     #fffbeb;
  --mm-amber:         #d4860a;

  --mm-ink:           #111111;
  --mm-ink-mid:       #444444;
  --mm-ink-light:     #888888;
  --mm-white:         #ffffff;
  --mm-off-white:     #f9f9f7;
  --mm-border:        #efefef;
  --mm-border-dark:   #e2e2e2;

  --mm-font-body:     'DM Sans', system-ui, sans-serif;
  --mm-font-display:  'DM Sans', system-ui, sans-serif;

  --mm-max-w:         1380px;
  --mm-px:            clamp(20px, 5vw, 80px);
  --mm-r-card:        18px;
  --mm-r-pill:        9999px;

  --mm-sh-card:       0 2px 8px rgba(0,0,0,.06), 0 6px 20px rgba(0,0,0,.04);
  --mm-sh-hover:      0 12px 36px rgba(0,0,0,.11), 0 4px 12px rgba(0,0,0,.06);
  --mm-t-spring:      cubic-bezier(0.34, 1.56, 0.64, 1);
  --mm-t-fast:        .18s ease;

  --navbar-h:         80px;
}

/* ── 3. Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--mm-font-body);
  background: var(--mm-off-white);
  color: var(--mm-ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Scroll reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .52s ease, transform .52s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ── 4. PAGE HEADER ───────────────────────────────────────── */
.mm-page-header {
  position: relative;
  min-height: min(78vh, 720px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--navbar-h) + 64px) var(--mm-px) 64px;
  overflow: hidden;
  background: #111;
}

/* Slider scrim (replaces static ::before photo) */
.mm-page-header__scrim {
  background:
    linear-gradient(135deg,
      rgba(10,10,10,.88) 0%,
      rgba(20,20,20,.72) 50%,
      rgba(13,84,43,.28) 100%),
    radial-gradient(ellipse at 60% 40%, rgba(234,179,8,.12) 0%, transparent 60%);
}

.mm-page-header__inner {
  position: relative; z-index: 3;
  width: 100%;
  max-width: var(--mm-max-w);
  margin-inline: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

/* Eyebrow — minimalist black text (no pill / circle) */
.mm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mm-font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #111111 !important;
  margin-bottom: 12px;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
}
.mm-eyebrow--green,
.mm-eyebrow--yellow {
  color: #111111 !important;
  border: none !important;
  background: transparent !important;
}

/* Minimalist white text - no pill/circle */
.mm-page-header .mm-eyebrow {
  color: #ffffff !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.18em !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  margin-bottom: 20px;
}
.mm-page-header .mm-eyebrow-dot {
  display: none !important;
}

.mm-eyebrow-dot {
  display: none;
  width: 6px;
  height: 6px;
  background: var(--mm-yellow);
  border-radius: 50%;
  animation: mmDotPulse 2.5s ease infinite;
}

/* Title */
.mm-page-header__title {
  font-family: var(--mm-font-display);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 700;
  line-height: .96;
  color: var(--mm-white);
  letter-spacing: -2.5px;
  margin-bottom: 20px;
}
.mm-page-header__title em {
  font-style: normal;
  color: var(--mm-yellow);
}

.mm-page-header__sub {
  font-family: var(--mm-font-body);
  font-size: 16px; font-weight: 300;
  color: rgba(255,255,255,.65);
  line-height: 1.75; max-width: 480px;
  margin-bottom: 32px;
}

/* Brand switcher tabs */
.mm-brand-switcher { display: flex; gap: 10px; flex-wrap: wrap; }

.mm-brand-tab {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 10px;
  border-radius: var(--mm-r-pill);
  border: 1.5px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  text-decoration: none;
  transition: all .22s var(--mm-t-spring);
}
.mm-brand-tab:hover { transform: translateY(-2px); background: rgba(255,255,255,.14); }

.mm-brand-tab--green.active  { background: rgba(13,84,43,.5); border-color: rgba(134,239,172,.35); }
.mm-brand-tab--yellow.active { background: rgba(234,179,8,.25); border-color: rgba(234,179,8,.4); }

.mm-brand-tab__logo {
  width: 36px; height: 36px;
  border-radius: 10px; overflow: hidden;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.mm-brand-tab--green  .mm-brand-tab__logo { background: var(--mm-green); }
.mm-brand-tab--yellow .mm-brand-tab__logo { background: var(--mm-yellow); }
.mm-brand-tab__logo img { width: 100%; height: 100%; object-fit: cover; }

.mm-brand-tab__fb {
  font-family: var(--mm-font-display);
  font-size: 16px; font-weight: 700; color: var(--mm-white);
}
.mm-brand-tab__name {
  display: block;
  font-family: var(--mm-font-body);
  font-size: 13px; font-weight: 600;
  color: var(--mm-white); line-height: 1.2;
}
.mm-brand-tab__desc {
  display: block;
  font-family: var(--mm-font-body);
  font-size: 11px; font-weight: 300;
  color: rgba(255,255,255,.6);
}

/* Stats strip */
.mm-page-header__stats {
  display: flex; gap: 0; flex-shrink: 0; align-items: center;
}
.mm-stat { display: flex; flex-direction: column; align-items: center; padding: 0 32px; }
.mm-stat:first-child { padding-left: 0; }
.mm-stat:last-child  { padding-right: 0; }
.mm-stat__num {
  font-family: var(--mm-font-display);
  font-size: 38px; font-weight: 700;
  color: var(--mm-yellow);
  letter-spacing: -1px; line-height: 1; margin-bottom: 4px;
}
.mm-stat__label {
  font-family: var(--mm-font-body);
  font-size: 11px; font-weight: 300;
  color: rgba(255,255,255,.55);
  text-transform: uppercase; letter-spacing: .8px;
}
.mm-stat__divider {
  width: 1px; height: 36px;
  background: rgba(255,255,255,.18);
  flex-shrink: 0;
}

/* ── 5. BRAND SECTIONS ────────────────────────────────────── */
.mm-brand-section { padding: 72px 0 80px; }
.mm-brand-section--green  { background: var(--mm-white); }
.mm-brand-section--yellow { background: var(--mm-yellow-bg); }

.mm-brand-section__inner {
  max-width: var(--mm-max-w); margin-inline: auto;
  padding-inline: var(--mm-px);
  display: flex; flex-direction: column; gap: 48px;
}

/* Brand header row */
.mm-brand-header {
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.mm-brand-identity { display: flex; align-items: center; gap: 16px; }

.mm-brand-logo {
  width: 56px; height: 56px;
  border-radius: 14px; overflow: hidden;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.mm-brand-logo--green  { background: var(--mm-green); }
.mm-brand-logo--yellow { background: var(--mm-yellow); }
.mm-brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.mm-brand-logo__fb {
  font-family: var(--mm-font-display);
  font-size: 22px; font-weight: 700; color: var(--mm-white);
}

.mm-brand-title {
  font-family: var(--mm-font-display);
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 600; color: var(--mm-ink);
  letter-spacing: -1px; line-height: 1.1; margin-bottom: 2px;
}
.mm-brand-tagline {
  font-family: var(--mm-font-body);
  font-size: 14px; font-weight: 300;
  color: var(--mm-ink-light);
}

/* View all — text link, no pill circle */
.mm-view-all {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mm-font-body);
  font-size: 13px; font-weight: 600;
  text-decoration: none; padding: 0;
  border-radius: 0;
  border: none;
  color: #111111;
  background: transparent;
  transition: opacity .2s ease, gap .2s ease;
}
.mm-view-all:hover { transform: none; gap: 10px; opacity: 0.7; background: transparent; border: none; }
.mm-view-all--green  { color: #111111; }
.mm-view-all--green:hover  { background: transparent; border: none; }
.mm-view-all--yellow { color: #111111; }
.mm-view-all--yellow:hover { background: transparent; border: none; }

/* ── 6. PRODUCT CARDS (kf-card — live from Firebase) ─────── */
:root {
  --r-card: 18px;
  --r-pill: 9999px;
  --sh-card: var(--mm-sh-card);
  --sh-hover: var(--mm-sh-hover);
  --t-spring: var(--mm-t-spring);
}

.kf-cards-grid { display: grid; gap: 18px; }
.kf-cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
.kf-cards-grid--4 { grid-template-columns: repeat(4, 1fr); }

.kf-card {
  background: var(--mm-white);
  border-radius: var(--r-card);
  border: 1px solid var(--mm-border);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--mm-sh-card);
  transition: transform .28s var(--mm-t-spring), box-shadow .28s, border-color .2s;
  animation: kfCardIn .32s ease both;
}
.kf-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--mm-sh-hover);
}
.kf-card--green:hover  { border-color: rgba(13,84,43,.18); }
.kf-card--yellow:hover { border-color: rgba(234,179,8,.25); }

.kf-card:nth-child(1) { animation-delay: .04s; }
.kf-card:nth-child(2) { animation-delay: .08s; }
.kf-card:nth-child(3) { animation-delay: .12s; }
.kf-card:nth-child(4) { animation-delay: .16s; }

@keyframes kfCardIn {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

.kf-card__img-wrap {
  position: relative; height: 200px;
  background: #f4f4f2; overflow: hidden;
}
.kf-card__img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s var(--mm-t-spring);
}
.kf-card:hover .kf-card__img { transform: scale(1.06); }

/* Gradient bottom for image depth */
.kf-card__img-wrap::after {
  content: '';
  position: absolute; inset: auto 0 0;
  height: 48px;
  background: linear-gradient(to top, rgba(0,0,0,.1), transparent);
  pointer-events: none;
}

.kf-card__tag {
  position: absolute; top: 10px; left: 10px;
  font-size: 9px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px;
  padding: 3px 9px; border-radius: var(--r-pill);
}
.kf-card__tag--green  { background: var(--mm-green); color: #fff; }
.kf-card__tag--yellow { background: var(--mm-yellow); color: #fff; }

.kf-card__body {
  padding: 14px 16px 16px;
  display: flex; flex-direction: column; flex: 1;
}
.kf-card__brand {
  font-size: 9px; font-weight: 700;
  letter-spacing: 1.2px; margin-bottom: 5px;
  text-transform: uppercase;
}
.kf-card--green  .kf-card__brand { color: var(--mm-green); }
.kf-card--yellow .kf-card__brand { color: var(--mm-yellow-hover); }

.kf-card__name {
  font-family: var(--mm-font-body);
  font-size: 15px; font-weight: 600;
  color: var(--mm-ink); letter-spacing: -.2px; line-height: 1.3;
  margin-bottom: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.kf-card__temp { margin-bottom: 3px; font-size: 11px; line-height: 1.3; }
.kf-card__desc {
  font-size: 12px; font-weight: 300;
  color: var(--mm-ink-light); flex: 1; margin-bottom: 12px;
  line-height: 1.45;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.kf-card__footer {
  display: flex; align-items: center;
  justify-content: space-between; gap: 8px;
}
.kf-card__price {
  font-family: var(--mm-font-body);
  font-size: 18px; font-weight: 700;
}
.kf-card--green  .kf-card__price { color: var(--mm-ink); }
.kf-card--yellow .kf-card__price { color: var(--mm-ink); }

/* Order circle button */
.btn-order-circle {
  flex-shrink: 0; width: 38px; height: 38px;
  border-radius: 50%; border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .18s ease, transform .22s var(--mm-t-spring), box-shadow .22s;
  position: relative; overflow: hidden;
}
.btn-order-circle--green {
  background: var(--mm-green);
  box-shadow: 0 3px 12px rgba(13,84,43,.28);
}
.btn-order-circle--green:hover {
  background: var(--mm-green-hover);
  transform: scale(1.12) rotate(90deg);
  box-shadow: 0 6px 18px rgba(13,84,43,.36);
}
.btn-order-circle--yellow {
  background: var(--mm-amber);
  box-shadow: 0 3px 12px rgba(212,134,10,.3);
}
.btn-order-circle--yellow:hover {
  background: var(--mm-yellow-hover);
  transform: scale(1.12) rotate(90deg);
  box-shadow: 0 6px 18px rgba(234,179,8,.4);
}

/* Hot/cold labels */
.cold-label { color: #1e88c8; font-weight: 600; font-size: 11px; }
.hot-label  { color: #c0392b; font-weight: 600; font-size: 11px; }

/* Loading / error states */
.kf-grid-loading {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: center;
  gap: 10px; padding: 48px 0; color: var(--mm-ink-light); font-size: 14px;
}
.kf-spinner {
  width: 22px; height: 22px;
  border: 2.5px solid var(--mm-border-dark);
  border-top-color: var(--mm-green);
  border-radius: 50%;
  animation: mmSpin .7s linear infinite;
}
.kf-spinner--yellow { border-top-color: var(--mm-yellow); }
@keyframes mmSpin { to { transform: rotate(360deg); } }

/* ── 7. SPLIT ROW ─────────────────────────────────────────── */
.mm-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.mm-split--flip .mm-split__text { order: 1; }
.mm-split--flip .mm-split__img  { order: 2; }

.mm-split__photo {
  width: 100%; height: 420px;
  object-fit: cover; border-radius: 20px;
  box-shadow: 0 20px 48px rgba(0,0,0,.10); display: block;
}
.mm-split__title {
  font-family: var(--mm-font-display);
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 700; color: var(--mm-ink);
  letter-spacing: -1.2px; line-height: 1.1; margin-bottom: 16px;
}
.mm-split__title em { font-style: normal; color: var(--mm-green); }
.mm-split__body {
  font-family: var(--mm-font-body);
  font-size: 15px; font-weight: 300;
  color: var(--mm-ink-mid); line-height: 1.8; margin-bottom: 28px;
}

/* Checklist */
.mm-checklist { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.mm-checklist li {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mm-font-body);
  font-size: 14px; font-weight: 400; color: var(--mm-ink-mid);
}
.mm-checklist svg { flex-shrink: 0; color: var(--mm-green); }

/* ── 8. BUTTONS ───────────────────────────────────────────── */
.mm-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: var(--mm-r-pill);
  font-family: var(--mm-font-body); font-size: 14px; font-weight: 600;
  text-decoration: none;
  transition: transform .22s var(--mm-t-spring), box-shadow .22s, background .18s;
}
.mm-btn:hover { transform: translateY(-2px); }
.mm-btn--green {
  background: var(--mm-green); color: var(--mm-white);
  box-shadow: 0 4px 16px rgba(13,84,43,.22);
}
.mm-btn--green:hover { background: var(--mm-green-hover); box-shadow: 0 8px 24px rgba(13,84,43,.3); }
.mm-btn--yellow {
  background: var(--mm-yellow); color: var(--mm-ink);
  box-shadow: 0 4px 16px rgba(234,179,8,.22);
}
.mm-btn--yellow:hover { background: var(--mm-yellow-hover); color: var(--mm-white); }

/* ── 9. FEATURED SECTION ──────────────────────────────────── */
.mm-featured {
  background: var(--mm-off-white);
  padding: 80px var(--mm-px);
  border-top: 1px solid var(--mm-border);
  border-bottom: 1px solid var(--mm-border);
}
.mm-featured__inner {
  max-width: var(--mm-max-w); margin-inline: auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.mm-featured__text {
  transition: opacity .32s ease;
}
.mm-featured__text.is-swap {
  opacity: 0;
}
.mm-featured__title {
  font-family: var(--mm-font-display);
  font-size: clamp(26px, 3.2vw, 48px);
  font-weight: 700; color: var(--mm-ink);
  letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 16px;
}
.mm-featured__title em { font-style: normal; color: var(--mm-green); }
.mm-featured__desc {
  font-family: var(--mm-font-body);
  font-size: 15px; font-weight: 300;
  color: var(--mm-ink-mid); line-height: 1.8; margin-bottom: 28px;
}
.mm-featured__meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.mm-featured__price {
  font-family: var(--mm-font-display);
  font-size: 28px; font-weight: 700;
  color: var(--mm-ink); letter-spacing: -1px;
}
.mm-featured__visual {
  position: relative; display: flex;
  align-items: center; justify-content: center; height: 460px;
}
.mm-featured__blob {
  position: absolute; width: 360px; height: 360px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: linear-gradient(135deg, rgba(234,179,8,.18) 0%, rgba(13,84,43,.12) 100%);
  animation: mmBlobMorph 8s ease-in-out infinite;
}
.mm-featured__img {
  position: absolute; z-index: 1;
  left: 50%; top: 50%;
  width: 300px; height: 360px;
  margin-left: -150px; margin-top: -180px;
  object-fit: cover; border-radius: 20px;
  box-shadow: 0 24px 56px rgba(0,0,0,.12);
  opacity: 0;
  transition: opacity .35s ease, transform .4s ease;
  pointer-events: none;
  will-change: opacity;
}
.mm-featured__img.is-active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}
.mm-featured__visual:hover .mm-featured__img.is-active { transform: scale(1.02) translateY(-4px); }

@media (max-width: 860px) {
  .mm-featured__img {
    width: 200px; height: 240px;
    margin-left: -100px; margin-top: -120px;
    transition: opacity .28s ease;
  }
  .mm-featured__visual:hover .mm-featured__img.is-active { transform: none; }
  .mm-featured__text { transition: opacity .28s ease; }
}

/* ── 10. CTA BAND ─────────────────────────────────────────── */
.mm-cta {
  background: linear-gradient(135deg, var(--mm-green) 0%, #063318 100%);
  padding: 88px var(--mm-px); text-align: center;
  position: relative; overflow: hidden;
}
.mm-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(234,179,8,.15) 0%, transparent 65%);
  pointer-events: none;
}
.mm-cta__inner { max-width: 580px; margin-inline: auto; position: relative; z-index: 1; }
.mm-cta__title {
  font-family: var(--mm-font-display);
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 700; color: var(--mm-white);
  letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 16px;
}
.mm-cta__sub {
  font-family: var(--mm-font-body);
  font-size: 15px; font-weight: 300;
  color: rgba(255,255,255,.6); line-height: 1.75; margin-bottom: 36px;
}
.mm-cta__btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--mm-yellow); color: var(--mm-ink);
  font-family: var(--mm-font-body); font-size: 14px; font-weight: 700;
  padding: 14px 36px; border-radius: var(--mm-r-pill); text-decoration: none;
  transition: transform .22s var(--mm-t-spring), box-shadow .22s, background .18s;
}
.mm-cta__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(234,179,8,.4);
  background: var(--mm-yellow-hover); color: var(--mm-white);
}

/* ── 11. ANIMATIONS ───────────────────────────────────────── */
@keyframes mmDotPulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%     { transform: scale(1.6); opacity: .5; }
}
@keyframes mmBlobMorph {
  0%,100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  50%     { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}

/* ── 12. RESPONSIVE — TABLET 1100px ──────────────────────── */
@media (max-width: 1100px) {
  .kf-cards-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .kf-cards-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .mm-cards-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .mm-cards-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .mm-page-header__inner { flex-direction: column; align-items: flex-start; }
  .mm-page-header__stats { flex-direction: row; }
}

/* ── 13. RESPONSIVE — MOBILE 860px ───────────────────────── */
@media (max-width: 860px) {
  :root { --navbar-h: 58px; }

  /* Page header — compact dark hero */
  .mm-page-header {
    min-height: min(70vh, 560px);
    padding: calc(var(--navbar-h) + 36px) var(--mm-px) 48px;
    text-align: center;
  }
  .mm-page-header__inner {
    flex-direction: column; align-items: center; gap: 24px;
  }
  .mm-eyebrow { justify-content: center; }
  .mm-page-header__title { font-size: clamp(32px, 9vw, 56px); letter-spacing: -2px; text-align: center; }
  .mm-page-header__sub { text-align: center; font-size: 15px; max-width: 100%; }
  .mm-page-header__stats { justify-content: center; }
  .mm-brand-switcher { justify-content: center; }

  /* Split rows — single column */
  .mm-split,
  .mm-split--flip,
  .mm-featured__inner { grid-template-columns: 1fr; gap: 28px; }
  .mm-split--flip .mm-split__text,
  .mm-split--flip .mm-split__img { order: unset; }
  .mm-split__photo { height: 260px; }
  .mm-split__text { text-align: center; }
  .mm-checklist { text-align: left; display: inline-flex; }

  /* Featured section */
  .mm-featured__visual { height: 280px; }
  .mm-featured__img {
    width: 200px; height: 240px;
    margin-left: -100px; margin-top: -120px;
  }
  .mm-featured__blob { width: 240px; height: 240px; }
  .mm-featured__meta { justify-content: center; flex-wrap: wrap; gap: 10px; }
  .mm-featured { padding: 56px var(--mm-px); }
  .mm-featured__text { text-align: center; }

  /* Cards — 2 columns, larger touch targets */
  .kf-cards-grid--3,
  .kf-cards-grid--4 { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
  .kf-card__img-wrap { height: 180px; }
  .kf-card__name {
    font-size: 14px;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    line-height: 1.3;
  }
  .kf-card__price { font-size: 17px; }
  .kf-card__body { padding: 12px 14px 14px; }
  .btn-order-circle { width: 36px; height: 36px; }

  /* iOS press feedback */
  .kf-card:hover { transform: none; box-shadow: var(--mm-sh-card); }
  .kf-card:active {
    transform: scale(0.97);
    transition: transform .1s ease;
  }

  /* Brand sections */
  .mm-brand-section { padding: 48px 0 56px; }
  .mm-brand-section__inner { gap: 36px; }
  .mm-brand-header { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* Stats */
  .mm-stat { padding: 0 20px; }
  .mm-stat__num { font-size: 28px; }

  /* CTA */
  .mm-cta { padding: 56px var(--mm-px); }
}

/* ── 14. RESPONSIVE — SMALL PHONE 540px ──────────────────── */
@media (max-width: 540px) {
  :root { --mm-px: 16px; }

  .mm-page-header__title { font-size: clamp(28px, 8.5vw, 44px); letter-spacing: -1.5px; }
  .mm-page-header__sub { font-size: 14px; }

  .kf-cards-grid--3,
  .kf-cards-grid--4 {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .kf-card__img-wrap { height: auto; }
  .kf-card__name  { font-size: 16px; letter-spacing: 0; line-height: 1.3; }
  .kf-card__price { font-size: 18px; }
  .kf-card__body  { padding: 14px 4px 10px; }
  .btn-order-circle { width: 36px; height: 36px; }
  .btn-order-circle svg { width: 16px; height: 16px; }

  .mm-brand-switcher { flex-direction: column; align-items: center; }
  .mm-page-header__stats { gap: 0; }
  .mm-stat { padding: 0 14px; }

  .mm-featured__meta { flex-direction: column; align-items: center; }
  .mm-cta { padding: 48px var(--mm-px); }
}

/* ── 15. iOS SAFE AREA ────────────────────────────────────── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  @media (max-width: 860px) {
    .mm-cta { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
  }
}

/* ── 16. OLD mm-card / mm-cards-grid (legacy, kept for safety) */
.mm-cards-grid { display: grid; gap: 20px; }
.mm-cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
.mm-cards-grid--4 { grid-template-columns: repeat(4, 1fr); }
.mm-card {
  background: var(--mm-white); border-radius: var(--mm-r-card);
  border: 1px solid var(--mm-border); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--mm-sh-card);
  transition: transform .28s var(--mm-t-spring), box-shadow .28s, border-color .2s;
}
.mm-card:hover { transform: translateY(-5px); box-shadow: var(--mm-sh-hover); }
/* Seattle motion */
.reveal { transition: opacity .65s ease, transform .65s ease; }

