/* ============================================================
   kf-menu.css — koh-fee | Premium Editorial Menu
   ─────────────────────────────────────────────────────────
   Palette: Espresso brown · Caramel gold · Cream off-white
   Fonts: Fraunces (display) · DM Sans (body/UI)
   Mobile-first, iOS/Android optimised
   ============================================================ */

/* ── 1. Google Fonts ─────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,500;0,9..144,700;1,9..144,300;1,9..144,500;1,9..144,700&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. Design Tokens ────────────────────────────────────── */
:root {
  /* Brand – koh-fee espresso palette */
  --kf-espresso:     #1c0e05;
  --kf-roast:        #2c1a0e;
  --kf-caramel:      #8b4513;
  --kf-gold:         #c9924a;
  --kf-gold-light:   #e8b87a;
  --kf-cream:        #fdf6ed;
  --kf-cream-mid:    #f5e9d7;
  --kf-cream-dark:   #eddcc2;

  /* Neutrals */
  --white:           #ffffff;
  --off-white:       #faf9f7;
  --border:          #ede8e0;
  --border-mid:      #ddd5c5;
  --ink:             #1c1009;
  --ink-mid:         #4a3520;
  --ink-light:       #9a7e65;
  --ink-muted:       #b8a090;

  /* Accent for tags / badges */
  --kf-green:        #2d5a27;
  --kf-green-light:  #e8f5e3;
  --kf-yellow-tag:   #f5a623;
  --kf-yellow-bg:    #fff8ec;

  /* Typography */
  --font-display:    'Fraunces', Georgia, serif;
  --font-body:       'DM Sans', system-ui, sans-serif;

  /* Layout */
  --max-w:           1360px;
  --px:              clamp(20px, 5vw, 80px);
  --navbar-h:        68px;
  --filterbar-h:     56px;

  /* Shapes */
  --r-sm:    8px;
  --r-card:  20px;
  --r-pill:  9999px;

  /* Shadows – warm toned */
  --sh-sm:    0 1px 4px rgba(28,14,5,.06), 0 2px 8px rgba(28,14,5,.04);
  --sh-card:  0 4px 16px rgba(28,14,5,.08), 0 12px 32px rgba(28,14,5,.06);
  --sh-hover: 0 12px 40px rgba(28,14,5,.16), 0 4px 12px rgba(28,14,5,.08);
  --sh-btn:   0 4px 16px rgba(139,69,19,.45), 0 2px 6px rgba(139,69,19,.25);

  /* Transitions */
  --t-fast:   .16s ease;
  --t-med:    .28s ease;
  --t-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ── 3. Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── 4. NAVBAR ────────────────────────────────────────────── */
.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--sb-nav-h, 72px);
  background: rgba(253,246,237,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t-fast);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(28,14,5,.09); }
/* Navbar sizing/fonts come from promos parity block at file end — do not override here */
.navbar__logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.navbar__logo-text {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 700; font-style: italic;
  color: var(--kf-roast); letter-spacing: -.3px;
}

.navbar__search {
  display: flex; align-items: center; gap: 8px;
  background: var(--kf-cream);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 8px 16px; color: var(--ink-light); flex-shrink: 0;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.navbar__search:focus-within {
  border-color: var(--kf-gold);
  box-shadow: 0 0 0 3px rgba(201,146,74,.14);
}
.navbar__search input {
  border: none; background: none; outline: none;
  font-family: var(--font-body); font-size: 13px;
  color: var(--ink); width: 160px;
}
.navbar__search input::placeholder { color: var(--ink-muted); }

.navbar__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px; margin-left: auto;
}
.navbar__burger span {
  display: block; width: 22px; height: 2px;
  background: var(--kf-roast); border-radius: 2px;
  transition: transform .22s, opacity .22s;
}

/* ── 5. HERO ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: calc(var(--navbar-h) + 64px) var(--px) 48px;
  overflow: hidden;
  background: var(--kf-roast);
}

/* Background image with rich overlay */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(120deg,
      rgba(28,14,5,.82) 0%,
      rgba(44,26,14,.70) 45%,
      rgba(44,26,14,.30) 100%),
    url('../images/store_images/storepic1.jpg') center/cover no-repeat;
  z-index: 0;
}

/* Warm grain texture overlay for depth */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  z-index: 1; pointer-events: none; opacity: .6;
}

.hero__content {
  position: relative; z-index: 2;
  padding-bottom: 48px;
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2.5px;
  color: var(--kf-gold-light);
  margin-bottom: 28px;
  padding: 6px 14px;
  border: 1px solid rgba(201,146,74,.35);
  border-radius: var(--r-pill);
  background: rgba(201,146,74,.1);
}
.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--kf-gold);
  border-radius: 50%;
  animation: dotPulse 2.5s ease infinite;
}

.hero__headline {
  font-family: var(--font-body);
  font-size: clamp(48px, 5.5vw, 88px);
  font-weight: 700; line-height: .96;
  color: var(--white); letter-spacing: -3px;
  margin-bottom: 20px;
}
.hero__headline em {
  color: var(--kf-gold);
  font-weight: 600;
  font-style: normal;
}

.hero__sub {
  font-size: 16px; font-weight: 300;
  color: rgba(253,246,237,.72); line-height: 1.8;
  max-width: 400px; margin-bottom: 40px;
}

.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px;
  border-radius: var(--r-pill);
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  transition: transform .22s var(--t-spring), box-shadow .22s, background .16s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--kf-gold); color: var(--kf-espresso);
  box-shadow: 0 4px 20px rgba(201,146,74,.45);
}
.btn--primary:hover { background: var(--kf-gold-light); box-shadow: 0 8px 28px rgba(201,146,74,.55); }
.btn--outline {
  background: rgba(253,246,237,.1);
  color: var(--white);
  border: 1.5px solid rgba(253,246,237,.3);
  backdrop-filter: blur(8px);
}
.btn--outline:hover {
  background: rgba(253,246,237,.18);
  border-color: rgba(253,246,237,.5);
}

/* Hero visual — floating drinks */
.hero__visual {
  position: relative; z-index: 2;
  display: flex; align-items: flex-end; justify-content: center;
  height: 540px;
}
.hero__bean-bg {
  position: absolute; width: 440px; height: 440px;
  top: 50%; left: 50%; transform: translate(-50%,-52%);
  animation: lemonSpin 80s linear infinite;
  pointer-events: none; z-index: 1;
  opacity: .08; border-radius: 50%;
}
.hero__drink {
  position: absolute; object-fit: cover; border-radius: 50%;
}
.hero__drink--main {
  width: 270px; height: 270px;
  bottom: 16px; left: 50%; transform: translateX(-50%);
  z-index: 3;
  box-shadow: 0 32px 80px rgba(0,0,0,.5), 0 0 0 6px rgba(201,146,74,.25);
  animation: floatHero 5.5s ease-in-out infinite;
}
.hero__drink--left {
  width: 180px; height: 180px;
  bottom: 90px; left: 6%; z-index: 2;
  box-shadow: 0 16px 40px rgba(0,0,0,.4), 0 0 0 4px rgba(201,146,74,.18);
  animation: floatHero 4s ease-in-out infinite .5s;
  opacity: .9;
}
.hero__drink--right {
  width: 148px; height: 148px;
  bottom: 160px; right: 4%; z-index: 2;
  box-shadow: 0 12px 28px rgba(0,0,0,.38), 0 0 0 3px rgba(201,146,74,.15);
  animation: floatHero 3.5s ease-in-out infinite 1s;
  opacity: .82;
}

/* Hero bottom wave */
.hero__wave {
  position: absolute; bottom: -1px; left: 0; right: 0;
  z-index: 4; line-height: 0; grid-column: 1/-1;
  pointer-events: none;
}
.hero__wave svg { display: block; width: 100%; height: auto; }

/* ── 6. STORE TOGGLE — pinned in filter bar ───────────────── */
.store-toggle {
  flex-shrink: 0;
  cursor: pointer;
  user-select: none;
  margin-right: 10px;
}
.store-toggle__track {
  position: relative;
  width: 64px; height: 34px;
  border-radius: 34px;
  background: var(--kf-cream-dark);
  border: 2px solid var(--border-mid);
  transition: background .3s, border-color .3s;
}
.store-toggle__track.track--kohfee {
  background: var(--kf-caramel);
  border-color: #7a3a10;
}
.store-toggle__track.track--lehmuhn {
  background: #eab308;
  border-color: #d4a200;
}
.store-toggle__thumb {
  position: absolute; top: 2px; left: 2px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 6px rgba(0,0,0,.22);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.store-toggle__thumb.thumb--right { transform: translateX(30px); }

.toggle-logo { width: 20px; height: 20px; object-fit: contain; position: absolute; transition: opacity .2s; }
.toggle-logo--visible { opacity: 1; }
.toggle-logo--hidden  { opacity: 0; pointer-events: none; }

/* Divider between toggle and pills */
.toggle-divider {
  flex-shrink: 0; width: 1px; height: 28px;
  background: var(--border-mid);
  margin-right: 10px;
}

/* ── 7. FILTER BAR ────────────────────────────────────────── */
.filter-bar {
  position: sticky; top: var(--navbar-h); z-index: 900;
  background: rgba(253,246,237,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.filter-bar__inner {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  padding: 10px var(--px) !important;
  overflow: visible !important;
  max-width: var(--max-w);
  margin-inline: auto;
}
.filter-bar__inner::-webkit-scrollbar { display: none; }

/* Pills scroll wrapper */
.filter-bar-scroll-wrap {
  position: relative;
  flex: 1; min-width: 0;
  display: flex;
}
.filter-bar-scroll-wrap::after {
  content: '';
  position: absolute; right: 0; top: 0; bottom: 0; width: 40px;
  background: linear-gradient(to right, transparent, rgba(253,246,237,.96));
  pointer-events: none;
}
.filter-pills-wrap {
  display: flex; flex-wrap: nowrap;
  gap: 8px; overflow-x: auto; overflow-y: visible;
  scrollbar-width: none; -ms-overflow-style: none;
  flex: 1; min-width: 0; padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
}
.filter-pills-wrap::-webkit-scrollbar { display: none; }

.filter-pill {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--border-mid);
  background: transparent; color: var(--ink-light);
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  white-space: nowrap; cursor: pointer;
  transition: all .22s var(--t-spring);
  scroll-snap-align: start;
  min-height: 40px;
}
.filter-pill:hover {
  border-color: var(--kf-caramel);
  color: var(--kf-caramel);
  transform: translateY(-1px);
  background: rgba(139,69,19,.05);
}
.filter-pill.active {
  background: var(--kf-caramel);
  border-color: var(--kf-caramel);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(139,69,19,.35);
  transform: translateY(-1px);
}
.theme-lehmuhn .filter-pill.active {
  background: #d4a200; border-color: #d4a200;
  box-shadow: 0 4px 16px rgba(212,162,0,.35);
}

.filter-pill__icon { font-size: 15px; line-height: 1; }

/* Sub-filter bar */
.sub-filter-bar {
  border-top: 1px solid var(--border);
  padding: 8px var(--px);
  background: rgba(253,246,237,.96);
  backdrop-filter: blur(10px);
}
.sub-filter-bar__inner {
  display: flex; gap: 8px; overflow-x: auto;
  scrollbar-width: none;
  max-width: var(--max-w); margin-inline: auto;
  -webkit-overflow-scrolling: touch;
}
.sub-filter-bar__inner::-webkit-scrollbar { display: none; }

.sub-filter-pill {
  flex-shrink: 0;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--border-mid);
  background: transparent; color: var(--ink-light);
  font-family: var(--font-body); font-size: 12px; font-weight: 500;
  white-space: nowrap; cursor: pointer;
  transition: all .2s var(--t-spring);
}
.sub-filter-pill:hover {
  border-color: var(--kf-caramel); color: var(--kf-caramel);
  transform: translateY(-1px);
}
.theme-kohfee .sub-filter-pill.active {
  background: var(--kf-caramel); border-color: var(--kf-caramel);
  color: var(--white);
}
.theme-lehmuhn .sub-filter-pill.active {
  background: #d4a200; border-color: #d4a200; color: var(--white);
}

/* ── 8. MENU MAIN ─────────────────────────────────────────── */
.menu-main {
  background: var(--off-white);
  padding: 56px 0 100px;
}
.menu-main__inner {
  max-width: var(--max-w); margin-inline: auto;
  padding-inline: var(--px);
  display: flex; flex-direction: column; gap: 64px;
}

/* ── 9. MENU SECTION ──────────────────────────────────────── */
.menu-section { display: flex; flex-direction: column; gap: 28px; }
.menu-section.hidden { display: none; }

.menu-section__header { display: flex; flex-direction: column; gap: 4px; }

.menu-section__title {
  font-family: var(--font-body);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 600;
  color: var(--kf-roast); letter-spacing: -.5px;
  display: flex; align-items: center; gap: 14px;
}
.menu-section__title::before {
  content: '';
  display: inline-block;
  width: 4px; height: 1.1em;
  background: linear-gradient(180deg, var(--kf-gold), var(--kf-caramel));
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: -2px;
  vertical-align: middle;
}
.menu-section__sub {
  font-size: 13px; font-weight: 300;
  color: var(--ink-light); padding-left: 18px;
  line-height: 1.5;
}

/* Menu subgroup */
.menu-subgroup { margin-top: 20px; margin-bottom: 32px; }
.menu-subgroup__title {
  font-family: var(--font-body);
  font-size: 18px; font-weight: 600;
  color: var(--kf-caramel);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.menu-subgroup__title::after {
  content: ''; flex: 1; height: 1px;
  background: var(--border-mid); opacity: .6;
}
.theme-lehmuhn .menu-subgroup__title { color: #d4a200; }

/* ── 10. PRODUCT GRID ─────────────────────────────────────── */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ── 11. PRODUCT CARD ─────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--r-card);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--sh-card);
  transition: transform .32s var(--t-spring), box-shadow .32s, border-color .22s;
  cursor: pointer;
  will-change: transform;
}
.card:hover {
  transform: translateY(-8px) scale(1.012);
  box-shadow: var(--sh-hover);
  border-color: rgba(201,146,74,.28);
}
.card:active { transform: translateY(-2px) scale(1.004); }

.card__img-wrap {
  position: relative;
  height: 220px;
  background: var(--kf-cream);
  overflow: hidden;
}
.card__img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .4s var(--t-spring);
}
.card:hover .card__img { transform: scale(1.06); }

/* Warm gradient at bottom of image */
.card__img-wrap::after {
  content: '';
  position: absolute; inset: auto 0 0;
  height: 60px;
  background: linear-gradient(to top, rgba(28,14,5,.18), transparent);
  pointer-events: none;
}

.card__body {
  padding: 16px 18px 18px;
  display: flex; flex-direction: column; flex: 1;
  background: var(--white);
}
.card__brand {
  font-size: 9px; font-weight: 600;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--kf-gold);
  margin-bottom: 6px;
}
.card__name {
  font-family: var(--font-body);
  font-size: 17px; font-weight: 600;
  color: var(--ink); letter-spacing: -.3px; line-height: 1.25;
  margin-bottom: 4px;
}
.card__temp-label {
  font-size: 11px; font-weight: 500;
  color: var(--ink-light); margin-bottom: 4px;
}
.card__variant {
  font-size: 12px; font-weight: 300;
  color: var(--ink-muted); flex: 1; margin-bottom: 14px; line-height: 1.45;
}
.card__footer {
  display: flex; align-items: center;
  justify-content: space-between; gap: 8px;
}
.card__price {
  font-family: var(--font-body);
  font-size: 21px; font-weight: 700;
  color: var(--kf-roast); letter-spacing: -.4px;
}

/* ── Best Seller card variant ─────────────────────────────── */
.bs-card {
  background: var(--white);
  border-radius: var(--r-card);
  border: 1px solid var(--border);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--sh-card);
  transition: transform .32s var(--t-spring), box-shadow .32s, border-color .22s;
  cursor: pointer; will-change: transform;
}
.bs-card:hover {
  transform: translateY(-8px) scale(1.014);
  box-shadow: 0 24px 60px rgba(28,14,5,.14);
  border-color: rgba(201,146,74,.3);
}
.bs-card__img-wrap {
  position: relative; height: 240px;
  background: var(--kf-cream); overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.bs-card__img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s var(--t-spring);
}
.bs-card:hover .bs-card__img { transform: scale(1.07); }
.bs-card__body {
  padding: 18px 20px 22px;
  display: flex; flex-direction: column; gap: 3px; flex: 1;
}
.bs-card__name {
  font-family: var(--font-body);
  font-size: 18px; font-weight: 600;
  color: var(--ink); letter-spacing: -.3px; line-height: 1.2; margin-top: 4px;
}
.bs-card__variant {
  font-size: 12px; font-weight: 300;
  color: var(--ink-muted); flex: 1; margin-bottom: 16px;
}
.bs-card__footer {
  display: flex; align-items: center; justify-content: space-between;
}
.bs-card__price {
  font-family: var(--font-body);
  font-size: 22px; font-weight: 700;
  color: var(--kf-roast);
}

/* ── 12. TAGS ─────────────────────────────────────────────── */
.card-tag {
  position: absolute; top: 10px; left: 10px;
  font-size: 9px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .9px;
  padding: 4px 10px; border-radius: var(--r-pill);
}
.tag--green   { background: var(--kf-green); color: var(--white); }
.tag--sage    { background: var(--kf-green-light); color: var(--kf-green); }
.tag--grey    { background: var(--border); color: var(--ink-light); }
.tag--yellow  { background: var(--kf-yellow-tag); color: var(--white); }

/* Temperature labels */
.hot-label  { color: #c0392b; font-weight: 600; }
.cold-label { color: #2980b9; font-weight: 600; }

/* ── 13. ORDER BUTTON ─────────────────────────────────────── */
.btn-order-circle {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--kf-caramel); border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
  box-shadow: var(--sh-btn);
  transition:
    background .18s ease,
    transform .28s var(--t-bounce),
    box-shadow .22s ease;
  position: relative; overflow: hidden;
}
.btn-order-circle:hover {
  background: var(--kf-roast);
  transform: scale(1.16) rotate(90deg);
  box-shadow: 0 8px 24px rgba(44,26,14,.5);
}
.btn-order-circle:active { transform: scale(.94); }
.btn-order-circle:focus-visible {
  outline: 3px solid rgba(201,146,74,.5);
  outline-offset: 3px;
}

/* Ripple */
@keyframes btnRipple {
  0%   { transform: scale(0); opacity: .6; }
  100% { transform: scale(2.4); opacity: 0; }
}
.btn-order-circle.ripple::after {
  content: '';
  position: absolute; inset: 0; border-radius: 50%;
  background: rgba(255,255,255,.35);
  animation: btnRipple .45s var(--t-spring) forwards;
}

/* ── 14. CTA BAND ─────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--kf-roast) 0%, var(--kf-espresso) 100%);
  padding: 88px var(--px); text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,146,74,.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band__inner { max-width: 600px; margin-inline: auto; position: relative; z-index: 1; }
.cta-band__title {
  font-family: var(--font-body);
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 700;
  color: var(--white); letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 16px;
}
.cta-band__sub {
  font-size: 16px; font-weight: 300;
  color: rgba(253,246,237,.65); line-height: 1.7; margin-bottom: 36px;
}
.cta-band__btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--kf-gold); color: var(--kf-espresso);
  font-size: 14px; font-weight: 700;
  padding: 14px 36px; border-radius: var(--r-pill);
  transition: transform .22s var(--t-spring), box-shadow .22s, background .18s;
}
.cta-band__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(201,146,74,.45);
  background: var(--kf-gold-light);
}

/* ── 15. FOOTER ───────────────────────────────────────────── */
.footer {
  background: var(--kf-cream);
  border-top: 1px solid var(--border);
  padding-top: 64px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 44px;
  max-width: var(--max-w); margin-inline: auto;
  padding: 0 var(--px) 56px;
}
.footer__brand { display: flex; flex-direction: column; gap: 12px; }
.footer__logo-icon {
  width: 52px; height: 52px;
  background: var(--kf-caramel); color: var(--white);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
  font-size: 24px; font-weight: 700;
}
.footer__tagline {
  font-family: var(--font-body);
  font-size: 16px; font-weight: 300; color: var(--ink-mid);
}
.footer__heading {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.3px;
  color: var(--kf-roast); margin-bottom: 18px;
}
.footer__list { display: flex; flex-direction: column; gap: 10px; }
.footer__link {
  font-size: 14px; font-weight: 300; color: var(--ink-light);
  transition: color var(--t-fast);
}
.footer__link:hover { color: var(--kf-caramel); }
.footer__contact { font-size: 13px; color: var(--ink-light); margin-bottom: 6px; }
.footer__socials { display: flex; gap: 8px; margin-top: 16px; }
.footer__social {
  width: 34px; height: 34px;
  background: var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-mid);
  transition: background var(--t-fast), color var(--t-fast), transform .22s var(--t-spring);
}
.footer__social:hover {
  background: var(--kf-caramel); color: var(--white);
  transform: translateY(-2px);
}
.footer__bottom {
  border-top: 1px solid var(--border);
  text-align: center; padding: 22px var(--px);
}
.footer__bottom p { font-size: 12px; color: var(--ink-light); }

/* ── 16. LOADING / ERROR STATES ───────────────────────────── */
.loading-state {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 16px; padding: 80px 24px;
}
.spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--kf-caramel);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { font-size: 14px; color: var(--ink-light); font-weight: 300; }

/* ── 17. ANIMATIONS ───────────────────────────────────────── */
@keyframes floatHero {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-12px); }
}
@keyframes lemonSpin { to { transform: translate(-50%,-52%) rotate(360deg); } }
@keyframes dotPulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%     { transform: scale(1.7); opacity: .4; }
}

/* ── 18. REVEAL / SCROLL ANIMATIONS ──────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }

@keyframes cardSlideUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.menu-main__inner--animated .card,
.menu-main__inner--animated .menu-subgroup .card {
  animation: cardSlideUp .4s var(--t-spring) both;
}
.menu-main__inner--animated .card:nth-child(2) { animation-delay: .04s; }
.menu-main__inner--animated .card:nth-child(3) { animation-delay: .08s; }
.menu-main__inner--animated .card:nth-child(4) { animation-delay: .12s; }
.menu-main__inner--animated .card:nth-child(5) { animation-delay: .16s; }
.menu-main__inner--animated .card:nth-child(6) { animation-delay: .20s; }
.menu-main__inner--animated .card:nth-child(7) { animation-delay: .24s; }
.menu-main__inner--animated .card:nth-child(8) { animation-delay: .28s; }

@keyframes pillsIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.filter-pills-wrap.pills--exit  { opacity: 0; transform: translateY(-4px); transition: opacity .14s, transform .14s; }
.filter-pills-wrap.pills--enter { animation: pillsIn .2s var(--t-spring) both; }

.menu--exit  { opacity: 0; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease; }
.menu--enter { opacity: 0; transform: translateY(10px); }

/* ── 19. SECTION CHROME ───────────────────────────────────── */
.eyebrow {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--kf-gold); display: block; margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-body);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 600; color: var(--ink);
  letter-spacing: -1px; line-height: 1.1;
}
.section-sub {
  font-size: 15px; font-weight: 300;
  color: var(--ink-light); line-height: 1.7; max-width: 500px;
}
.section-header {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  gap: 24px; margin-bottom: 40px; flex-wrap: wrap;
}
.rule-divider { height: 1px; background: var(--border); max-width: var(--max-w); margin: 0 auto; }

/* ── 20. BEST SELLERS SECTION ─────────────────────────────── */
.bs-section { background: var(--kf-cream); padding: 80px 0 88px; }
.bs-section__inner { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--px); }
.bs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── 21. RESPONSIVE — TABLET 1100px ──────────────────────── */
@media (max-width: 1100px) {
  :root { --px: 40px; }
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
  .bs-grid   { grid-template-columns: repeat(3, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

/* ── 22. RESPONSIVE — MOBILE 860px ───────────────────────── */
@media (max-width: 860px) {
  :root {
    --px: 20px;
    --navbar-h: 58px;
  }

  /* Navbar mobile: leave to mobile-nav-lock.css / seattle-chrome (same as promos) */
  #authSlot { display: flex !important; margin-left: auto !important; gap: 8px !important; }

  /* Hero — compact mobile */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: calc(var(--navbar-h) + 40px) var(--px) 48px;
    text-align: center;
  }
  .hero__content { padding-bottom: 0; }
  .hero__eyebrow { justify-content: center; margin-left: auto; margin-right: auto; }
  .hero__headline { font-size: clamp(38px, 11vw, 64px); letter-spacing: -2px; margin-bottom: 16px; }
  .hero__sub { font-size: 15px; max-width: 100%; margin-bottom: 28px; }
  .hero__ctas { justify-content: center; flex-wrap: wrap; gap: 10px; }
  .hero__visual { display: none; }

  /* Filter bar */
  .filter-bar { top: var(--navbar-h); }
  .filter-pill { padding: 9px 16px; font-size: 13px; min-height: 42px; }
  .filter-pill__icon { font-size: 14px; }

  /* Menu grid — 2 columns */
  .menu-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .bs-grid   { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .menu-main { padding: 32px 0 120px; }
  .menu-main__inner { gap: 48px; padding-inline: var(--px); }
  .menu-section { gap: 16px; }
  .menu-section__title { font-size: 22px; }

  /* Product card — mobile optimised */
  .card:hover  { transform: none; box-shadow: var(--sh-card); }
  .card:active { transform: scale(0.97); box-shadow: var(--sh-sm); transition: transform .1s ease, box-shadow .1s ease; }
  .card__img-wrap { height: 185px; }
  .card__name  { font-size: 15px; }
  .card__price { font-size: 18px; }
  .card__body  { padding: 12px 14px 14px; }
  .card__brand { font-size: 8px; }

  .bs-card__img-wrap { height: 200px; }
  .bs-card__name  { font-size: 16px; }
  .bs-card__price { font-size: 20px; }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .cta-band { padding: 56px var(--px); }
  .section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ── 23. RESPONSIVE — SMALL PHONE 520px ──────────────────── */
@media (max-width: 520px) {
  :root { --px: 16px; }

  .hero { padding: calc(var(--navbar-h) + 28px) var(--px) 36px; }
  .hero__headline { font-size: clamp(34px, 10vw, 52px); letter-spacing: -1.5px; }
  .hero__sub { font-size: 14px; line-height: 1.65; }
  .btn { font-size: 13px; padding: 12px 22px; }
  .hero__ctas { gap: 8px; }
  .hero__eyebrow { font-size: 10px; }

  .menu-grid { grid-template-columns: 1fr 1fr; gap: 11px; }
  .bs-grid   { grid-template-columns: 1fr 1fr; gap: 11px; }

  .card__img-wrap { height: 155px; }
  .card__name     { font-size: 13px; letter-spacing: -.2px; }
  .card__variant  { font-size: 11px; margin-bottom: 10px; }
  .card__price    { font-size: 16px; }
  .card__body     { padding: 10px 12px 12px; }
  .btn-order-circle { width: 36px; height: 36px; }
  .btn-order-circle svg { width: 14px; height: 14px; }

  .filter-pill { padding: 8px 13px; font-size: 12px; min-height: 40px; }
  .filter-pill__icon { font-size: 13px; }

  .footer__inner { grid-template-columns: 1fr; }

  .menu-main { padding-bottom: 130px; }
  .menu-main__inner { gap: 36px; }
  .menu-section { gap: 13px; }
  .menu-section__title { font-size: 20px; }
  .menu-section__sub { font-size: 12px; }
  .section-header { flex-direction: column; align-items: flex-start; }
}

/* ── 24. iOS SAFE AREA ────────────────────────────────────── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  @media (max-width: 860px) {
    .menu-main { padding-bottom: calc(120px + env(safe-area-inset-bottom)); }
  }
  @media (max-width: 520px) {
    .menu-main { padding-bottom: calc(130px + env(safe-area-inset-bottom)); }
  }
}

/* ── 25. MOMENTUM SCROLLING — iOS ────────────────────────── */
.filter-pills-wrap,
.filter-bar__inner,
.sub-filter-bar__inner {
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
}
.filter-pill, .sub-filter-pill { scroll-snap-align: start; }
/* ============================================================
   Seattle layout overlay � keep brand color tokens
   ============================================================ */
.hero {
  position: relative !important;
  min-height: min(78vh, 720px) !important;
  max-height: none !important;
  height: auto !important;
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-end !important;
  justify-content: center !important;
  background: #2c1a0e !important;
  padding: calc(var(--sb-nav-h, 72px) + 48px) 24px 56px !important;
  overflow: hidden !important;
}
.hero::before,
.hero::after { display: none !important; content: none !important; }
.hero__scrim--kf {
  background:
    linear-gradient(180deg, rgba(28,14,5,.35) 0%, rgba(28,14,5,.72) 55%, rgba(28,14,5,.92) 100%),
    linear-gradient(90deg, rgba(44,26,14,.4), transparent 55%);
}
.hero__content {
  position: relative !important;
  z-index: 3 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0 0 8px !important;
  grid-column: 1 / -1 !important;
}
.hero__eyebrow,
.hero__sub,
.hero__ctas,
.hero__visual { display: none !important; }
.hero__headline {
  font-family: "Oswald", sans-serif !important;
  font-size: clamp(36px, 6vw, 64px) !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  line-height: 1.1 !important;
  margin: 0 auto !important;
  text-align: center !important;
  width: 100% !important;
}
.hero__headline em { font-style: normal !important; color: #fff !important; }

.menu-main {
  background: #f8f7f2 !important;
  padding: 48px 0 96px !important;
}
.menu-main__inner {
  gap: 72px !important;
}
.menu-section__header {
  align-items: center !important;
  text-align: center !important;
  margin-bottom: 8px;
}
.menu-section__title {
  font-family: "Oswald", sans-serif !important;
  font-size: clamp(22px, 3vw, 34px) !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--ink, #2c1e1a) !important;
  justify-content: center !important;
}
.menu-section__title::before { display: none !important; }
.menu-section__sub {
  text-align: center !important;
  padding-left: 0 !important;
  max-width: 520px;
  margin-inline: auto;
}

.menu-grid {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 28px 24px !important;
}

.card,
.bs-card {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}
.card:hover,
.bs-card:hover {
  transform: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}
.card__img-wrap,
.bs-card__img-wrap {
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  background: #fff !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}
.card__img-wrap::after { display: none !important; }
.card__img,
.bs-card__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 12px !important;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.card:hover .card__img,
.bs-card:hover .bs-card__img {
  transform: scale(1.05) !important;
}

.card__body,
.bs-card__body {
  padding: 14px 4px 8px !important;
  background: transparent !important;
  gap: 6px !important;
}
.card__brand,
.card__temp-label,
.card__variant,
.bs-card__variant,
.card__cold { display: none !important; }

.card__add,
.btn-order-circle.card__add {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 0 4px !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--kf-gold, #c9924a) !important;
  font-family: "DM Sans", sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  transition: color 0.2s ease, opacity 0.2s ease !important;
}
.card__add:hover,
.btn-order-circle.card__add:hover {
  color: var(--kf-caramel, #8b4513) !important;
  background: transparent !important;
  transform: none !important;
}
.card__add svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
}
.card__add[disabled] {
  color: #bdbdbd !important;
  cursor: not-allowed !important;
}

.card__name,
.bs-card__name {
  font-family: "Oswald", sans-serif !important;
  font-size: clamp(14px, 1.4vw, 17px) !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: var(--ink, #2c1e1a) !important;
  margin: 0 !important;
  line-height: 1.25 !important;
}
.card__footer,
.bs-card__footer {
  display: flex !important;
  justify-content: flex-start !important;
  margin-top: 4px;
}
.card__price,
.bs-card__price {
  font-family: "DM Sans", sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--ink-mid, #4a3520) !important;
}

@media (max-width: 1100px) {
  .menu-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 860px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 20px 14px !important; }
  .hero {
    min-height: min(70vh, 560px) !important;
    height: auto !important;
    display: flex !important;
    grid-template-columns: none !important;
    align-items: flex-end !important;
    justify-content: center !important;
    padding: calc(var(--sb-nav-h, 58px) + 36px) 20px 40px !important;
  }
  .hero__content {
    text-align: center !important;
    align-items: center !important;
  }
  .hero__headline { font-size: clamp(32px, 9vw, 52px) !important; }
}
@media (max-width: 520px) {
  .menu-grid,
  .bs-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
}

/* ============================================================
   Navbar — exact copy from promos.css (promos_and_rewards.php)
   Desktop only; mobile stays on mobile-nav-lock.css
   ============================================================ */
@media (min-width: 861px) {
  header.navbar#navbar {
    height: 68px !important;
  }
  header.navbar#navbar .navbar__inner {
    max-width: 1380px !important;
    padding-inline: 105px !important;
    gap: 32px !important;
  }
  header.navbar#navbar .navbar__logo-img {
    width: 34px !important;
    height: 34px !important;
  }
  header.navbar#navbar .navbar__nav {
    gap: 28px !important;
  }
  header.navbar#navbar .navbar__link,
  header.navbar#navbar .navbar__item > .navbar__link {
    font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: 0.06em !important;
    padding: 8px 12px 2px !important;
    color: #888888 !important;
  }
  header.navbar#navbar .navbar__link:hover,
  header.navbar#navbar .navbar__link.active,
  header.navbar#navbar .navbar__item > .navbar__link:hover,
  header.navbar#navbar .navbar__item > .navbar__link.active {
    color: #5d4037 !important;
  }
}

