/* ============================================================
   QR MENU — Editorial Anatolian Luxury
   Karadeniz coastal restaurant aesthetic.
   Warm cream paper · deep coffee ink · copper sunset accents.
   ============================================================ */

:root {
  /* — Ink & paper — */
  --ink:        #1a0f06;
  --ink-2:      #271a0d;
  --ink-3:      #3a2715;
  --paper:      #fbf6ea;
  --paper-2:    #f5ecd7;
  --paper-3:    #ede2c6;
  --line:       rgba(26, 15, 6, .14);
  --line-2:     rgba(26, 15, 6, .08);

  /* — Brand accents — */
  --copper:     #c8893f;
  --copper-2:   #b07634;
  --copper-3:   #8c5a25;
  --gold:       #e3b75d;
  --burgundy:   #8b2c2c;
  --forest:     #2d5f3f;

  /* — Type — */
  --serif:  'Fraunces', 'Cairo', Georgia, 'Times New Roman', serif;
  --sans:   'Inter', 'Cairo', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* — Rhythm — */
  --pad-page: clamp(20px, 5vw, 36px);
  --pad-section: clamp(48px, 9vw, 80px);

  /* — Surfaces — */
  --r-card: 22px;
  --r-pill: 999px;
  --r-input: 14px;
  --shadow-soft: 0 8px 28px rgba(26, 15, 6, .08), 0 2px 6px rgba(26, 15, 6, .05);
  --shadow-hover: 0 22px 60px rgba(26, 15, 6, .18), 0 8px 16px rgba(26, 15, 6, .08);

  /* — Motion — */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ============================================================
   GLOBAL
   ============================================================ */
html, body { background: var(--paper); color: var(--ink); }

body.m {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: 'ss01' on, 'cv11' on;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(ellipse 1100px 600px at 50% -200px, rgba(200, 137, 63, .12), transparent 60%),
    var(--paper);
  padding-bottom: 40px;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body.m::before {
  /* subtle paper grain */
  content: '';
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.06 0 0 0 0 0.03 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  opacity: .65;
  mix-blend-mode: multiply;
}

/* Stack content above the paper-grain pseudo, except elements that
   manage their own stacking (sticky rail, preview overlay). */
body.m > *:not(.m-preview):not(.m-sticky-rail) {
  position: relative;
  z-index: 2;
}

/* ============================================================
   HERO
   ============================================================ */
.m-hero {
  position: relative;
  min-height: 280px;
  padding: 36px var(--pad-page) 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fbf6ea;
  overflow: hidden;
  isolation: isolate;
}

/* Decorative corner ornaments — luxury menu cover */
.m-hero-frame {
  position: absolute;
  inset: 18px;
  pointer-events: none;
  z-index: 0;
}
.m-hero-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(227, 183, 93, .55);
}
.m-hero-corner.tl { top: 0;    left: 0;    border-right: 0; border-bottom: 0; }
.m-hero-corner.tr { top: 0;    right: 0;   border-left: 0;  border-bottom: 0; }
.m-hero-corner.bl { bottom: 0; left: 0;    border-right: 0; border-top: 0; }
.m-hero-corner.br { bottom: 0; right: 0;   border-left: 0;  border-top: 0; }

/* Brand monogram top */
.m-hero-mono {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--copper), var(--copper-2));
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: -.02em;
  margin-bottom: 16px;
  box-shadow:
    0 8px 24px rgba(200, 137, 63, .35),
    inset 0 -2px 0 rgba(0, 0, 0, .18),
    inset 0 1px 0 rgba(255, 255, 255, .25);
  border: 1px solid rgba(255, 255, 255, .12);
}

/* Eyebrow with side ornaments */
.m-hero-eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 14px;
  max-width: 100%;
  min-width: 0;
}
.m-hero-ornament {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(227, 183, 93, .6));
  position: relative;
}
.m-hero-ornament.right { background: linear-gradient(90deg, rgba(227, 183, 93, .6), transparent); }
.m-hero-ornament::after {
  content: '✦';
  position: absolute;
  top: 50%;
  font-size: 8px;
  color: var(--gold);
  transform: translateY(-50%);
}
.m-hero-ornament.left::after  { right: -10px; }
.m-hero-ornament.right::after { left: -10px; }

/* "Est. YEAR" hero footer */
.m-hero-est {
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  color: rgba(251, 246, 234, .45);
}

.m-hero-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  padding: 6px 14px 10px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: rgba(227, 183, 93, .82);
  text-decoration: none;
  animation: m-hero-cue-bob 2.6s cubic-bezier(.45,0,.55,1) infinite;
  transition: color .25s ease, transform .25s ease;
}
.m-hero-cue:hover { color: var(--copper-2); transform: translateY(2px); }
.m-hero-cue:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 4px;
}
.m-hero-cue-icon { width: 14px; height: 14px; opacity: .9; }
@keyframes m-hero-cue-bob {
  0%, 100% { transform: translateY(0); opacity: .82; }
  50%      { transform: translateY(4px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .m-hero-cue { animation: none; }
}

.m-hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(circle 280px at 80% 30%, rgba(227, 183, 93, .35), transparent 60%),
    radial-gradient(ellipse 600px 400px at 10% 80%, rgba(200, 137, 63, .25), transparent 70%),
    linear-gradient(135deg, #1a0f06 0%, #2d1a0c 50%, #3a2010 100%);
}

.m-hero-grain {
  position: absolute; inset: 0; z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .85 0 0 0 0 .55 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .9;
}

/* Top nav (removed from DOM but keep rule for legacy safety) */
.m-topnav { display: none !important; }
.m-topnav-legacy {
  position: absolute; top: 12px; left: 12px; right: 12px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--r-pill);
  z-index: 5;
}
.glass {
  background: rgba(251, 246, 234, .12);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border: 1px solid rgba(251, 246, 234, .18);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .2);
}
.m-mono {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--copper), var(--copper-2));
  font-family: var(--serif);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: -.5px;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18), 0 4px 14px rgba(0, 0, 0, .25);
}
.m-mono-glyph { transform: translateY(-1px); }

.m-lang {
  display: flex;
  gap: 2px;
  padding: 3px;
}
.glass-pill {
  border-radius: var(--r-pill);
}
.m-lang a {
  padding: 6px 11px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  color: rgba(251, 246, 234, .65);
  border-radius: var(--r-pill);
  transition: all .25s var(--ease);
  text-decoration: none;
}
.m-lang a.active {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}

/* Hero text */
.m-hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8px 0;
  max-width: 760px;
  margin: 0 auto;
}

.m-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold);
  margin: 0;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.m-title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(34px, 8vw, 56px);
  line-height: 1.05;
  letter-spacing: -.035em;
  margin: 0 0 8px;
  background: linear-gradient(180deg, #fbf6ea 0%, #e3b75d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.m-sub {
  font-family: var(--sans);
  font-size: clamp(13px, 2.6vw, 15px);
  font-weight: 400;
  color: rgba(251, 246, 234, .78);
  margin: 0 0 12px;
  max-width: 540px;
  letter-spacing: -.005em;
}

.m-rule {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--copper), transparent);
  margin: 0;
}

.m-hours {
  font-size: 13px;
  color: rgba(251, 246, 234, .75);
  margin: 0;
  letter-spacing: .3px;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  justify-content: center;
}
.m-hours a { color: var(--gold); text-decoration: none; border-bottom: 1px dashed rgba(227, 183, 93, .4); }
.m-hours span { opacity: .7; }

.m-scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0 auto 28px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: rgba(251, 246, 234, .65);
  text-decoration: none;
  text-transform: uppercase;
  animation: cue-bob 2.4s ease-in-out infinite;
}
@keyframes cue-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ============================================================
   STICKY CATEGORY RAIL + SEARCH
   ============================================================ */
.m-sticky-rail {
  position: sticky;
  top: 0;
  z-index: 50;
  margin-top: -1px;
  background: rgba(251, 246, 234, .82);
  backdrop-filter: saturate(1.4) blur(20px);
  -webkit-backdrop-filter: saturate(1.4) blur(20px);
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 12px var(--pad-page) 10px;
}

.m-cat-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  margin-bottom: 8px;
  padding-bottom: 2px;
}
.m-cat-row::-webkit-scrollbar { display: none; }

.m-cat-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px 9px 16px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .2px;
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  scroll-snap-align: start;
}
.m-cat-pill .ico { font-size: 14px; }
.m-cat-pill .m-cat-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: rgba(26, 15, 6, .08);
  border-radius: 999px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0;
}
.m-cat-pill:hover { background: rgba(200, 137, 63, .08); border-color: rgba(200, 137, 63, .4); }
.m-cat-pill.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: 0 6px 16px rgba(26, 15, 6, .25);
}
.m-cat-pill.active .m-cat-count { background: rgba(251, 246, 234, .15); color: var(--paper); }

.m-search-wrap {
  position: relative;
}
.m-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-3);
  pointer-events: none;
}
[dir="rtl"] .m-search-icon { left: auto; right: 14px; }
#menu-search {
  width: 100%;
  padding: 11px 40px 11px 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: rgba(255, 255, 255, .65);
  color: var(--ink);
  font: 14px/1 var(--sans);
  outline: none;
  transition: background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
#menu-search::placeholder { color: var(--ink-3); opacity: .6; }
#menu-search:focus {
  background: white;
  border-color: var(--copper);
  box-shadow: 0 0 0 4px rgba(200, 137, 63, .15);
}
.m-search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  border: 0;
  background: var(--paper-3);
  color: var(--ink-2);
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s var(--ease);
}
[dir="rtl"] .m-search-clear { right: auto; left: 8px; }
.m-search-clear:hover { background: var(--copper); color: var(--paper); }

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.m-main {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--pad-page);
}

/* — Section header (editorial) — */
.m-section-head {
  position: relative;
  padding: var(--pad-section) 0 28px;
  text-align: center;
}
.m-section-eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--copper-2);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.m-section-title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(28px, 5.5vw, 40px);
  line-height: 1.1;
  letter-spacing: -.025em;
  margin: 0;
  color: var(--ink);
}
.m-section-watermark {
  position: absolute;
  top: calc(var(--pad-section) - 16px);
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(180px, 30vw, 280px);
  line-height: 1;
  opacity: .04;
  z-index: -1;
  pointer-events: none;
  user-select: none;
  filter: grayscale(1);
}

/* ============================================================
   CHEF'S SELECTION (FEATURED CAROUSEL)
   ============================================================ */
.m-chef {
  margin-top: -10px;
}
.m-feat-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 14px var(--pad-page) 22px;
  margin: 0 calc(-1 * var(--pad-page));
  -webkit-overflow-scrolling: touch;
  /* Fade edges for cinematic rail feel */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
}
.m-feat-rail::-webkit-scrollbar { display: none; }

.m-feat {
  flex: 0 0 260px;
  scroll-snap-align: start;
  background: var(--paper-2);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(26, 15, 6, .04), 0 10px 28px rgba(26, 15, 6, .08);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.m-feat:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(26, 15, 6, .06), 0 20px 44px rgba(26, 15, 6, .14);
  border-color: rgba(200, 137, 63, .35);
}
.m-feat:active { transform: scale(.98); }
.m-feat:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(200, 137, 63, .35); }

.m-feat-img {
  width: 100%;
  aspect-ratio: 5 / 4;
  background-color: var(--paper-3);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.m-feat-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(26, 15, 6, .12) 70%, rgba(26, 15, 6, .45));
  pointer-events: none;
}
.m-feat-img::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 75% 55% at 65% 25%, rgba(255,255,255,.16), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.m-feat:hover .m-feat-img::before { opacity: 1; }
.m-feat-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.m-feat-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  margin: 0;
  color: var(--ink);
  letter-spacing: -.015em;
}
.m-feat-desc {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-3);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.m-feat-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px dashed rgba(26, 15, 6, .08);
}
.m-feat-price {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 18px;
  color: var(--copper-3);
  letter-spacing: -.02em;
  font-feature-settings: 'tnum' on;
}

.m-ribbon {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  padding: 5px 12px;
  background: var(--burgundy);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .8px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(139, 44, 44, .35);
}
.m-tag-floating {
  position: absolute;
  bottom: 12px;
  inset-inline-end: 12px;
  font-size: 22px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .3));
}

/* ============================================================
   CATEGORY LIST (editorial product cards)
   ============================================================ */
.m-cat-section {
  scroll-margin-top: 130px;
}

.m-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.m-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 14px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s var(--ease);
  align-items: start; /* CRITICAL: prevent stretching image to row height */
}
.m-item:hover { background: white; box-shadow: var(--shadow-soft); transform: translateY(-1px); }
.m-item:active { transform: scale(.99); }

.m-item-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: var(--paper-3);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  align-self: start; /* belt-and-braces: image never stretches */
}
.m-item-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(26, 15, 6, .12));
}

.m-ribbon-sm {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  padding: 3px 8px;
  background: var(--burgundy);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .6px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
}

.m-item-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 4px 4px 0;
  min-width: 0;
}
[dir="rtl"] .m-item-body { padding: 4px 0 4px 4px; }

/* Menu-style dotted leader between name and price */
.m-item-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  width: 100%;
}
.m-item-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
  margin: 0;
  color: var(--ink);
  letter-spacing: -.015em;
}
.m-item-dots {
  flex: 1;
  min-width: 12px;
  height: 1px;
  align-self: end;
  margin-bottom: 6px;
  background-image: radial-gradient(circle, var(--ink-3) .9px, transparent 1.2px);
  background-size: 6px 100%;
  background-repeat: repeat-x;
  background-position: 0 50%;
  opacity: .45;
}
.m-item-price {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 16px;
  white-space: nowrap;
  color: var(--copper-3);
  letter-spacing: -.02em;
  font-feature-settings: 'tnum' on;
}

.m-item-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
  margin: 0;
  max-width: 60ch;
}

.m-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}

/* — Tasteful chips — */
.m-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  border: 1px solid currentColor;
  background: transparent;
}
.m-chip-best  { color: var(--burgundy); }
.m-chip-feat  { color: var(--copper-3); }
.m-chip-spice { color: var(--burgundy); }
.m-chip-allergen { color: var(--ink-3); border-color: var(--line); font-weight: 500; }

/* ============================================================
   FOOTER (minimal)
   ============================================================ */
.m-foot--minimal {
  margin-top: 40px;
  padding: 16px var(--pad-page) calc(110px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 11.5px;
  letter-spacing: .3px;
  color: var(--ink-3);
  border-top: 1px solid var(--line-2, rgba(26, 15, 6, .06));
}
.m-foot-brand {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.005em;
}
.m-foot-link {
  color: var(--copper-3);
  text-decoration: none;
  border-bottom: 1px dashed rgba(140, 90, 37, .35);
}
.m-foot-legal { opacity: .55; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .m-scroll-cue { animation: none; }
}

/* ============================================================
   IMAGE PLACEHOLDER (when no product photo)
   Beautiful category-based fallback.
   ============================================================ */
.m-item-img.placeholder,
.m-feat-img.placeholder {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: linear-gradient(135deg, #efe2c2 0%, #e3cfa3 100%);
  position: relative;
  overflow: hidden;
  color: var(--ink-3);
}
/* Re-affirm dimensions for placeholders (flex doesn't override aspect-ratio, but be explicit) */
.m-item-img.placeholder  { width: 100%; aspect-ratio: 1 / 1; }
.m-feat-img.placeholder  { width: 100%; aspect-ratio: 4 / 3; }
/* category-specific tinting */
.m-item-img.placeholder[data-cat="1"],
.m-feat-img.placeholder[data-cat="1"] { /* Serpme — warm amber */
  background: radial-gradient(ellipse at 50% 30%, #f4d894, #c8893f);
}
.m-item-img.placeholder[data-cat="2"],
.m-feat-img.placeholder[data-cat="2"] { /* Sıcak içecekler — deep coffee */
  background: radial-gradient(ellipse at 50% 30%, #3a2715, #1a0f06);
  color: var(--paper-2);
}
.m-item-img.placeholder[data-cat="3"],
.m-feat-img.placeholder[data-cat="3"] { /* Soğuk içecekler — fresh sky */
  background: radial-gradient(ellipse at 50% 30%, #c8d8d3, #6b9a8e);
  color: #1a3a32;
}
.m-item-img.placeholder[data-cat="4"],
.m-feat-img.placeholder[data-cat="4"] { /* Tatlılar — gold/cream */
  background: radial-gradient(ellipse at 50% 30%, #f7e3b3, #d4a04a);
}
.m-item-img.placeholder[data-cat="5"],
.m-feat-img.placeholder[data-cat="5"] { /* Tostlar — golden bread */
  background: radial-gradient(ellipse at 50% 30%, #f0d8a0, #b07634);
}
.m-item-img.placeholder[data-cat="6"],
.m-feat-img.placeholder[data-cat="6"] { /* Omlet — sunny */
  background: radial-gradient(ellipse at 50% 30%, #fae3a0, #f3b455);
}
.m-item-img.placeholder[data-cat="7"],
.m-feat-img.placeholder[data-cat="7"] { /* Çocuk — playful */
  background: radial-gradient(ellipse at 50% 30%, #f9d8c8, #e76060);
  color: var(--paper);
}

.placeholder .ph-icon {
  font-size: clamp(40px, 10vw, 64px);
  line-height: 1;
  filter: drop-shadow(0 4px 12px rgba(26, 15, 6, .25));
  z-index: 2;
}
.placeholder .ph-name {
  font-family: var(--serif);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: .55;
  margin-top: 6px;
  text-align: center;
  padding: 0 8px;
  z-index: 2;
}
.placeholder .ph-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .06 0 0 0 0 .03 0 0 0 .25 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .5;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}
.m-feat-img.placeholder .ph-icon { font-size: clamp(56px, 14vw, 80px); }

/* ============================================================
   NO RESULTS STATE
   ============================================================ */
.m-no-results {
  padding: 80px 24px;
  text-align: center;
  color: var(--ink-3);
}
.m-no-results-icon {
  font-size: 56px;
  margin-bottom: 14px;
  opacity: .35;
  font-family: var(--serif);
  font-weight: 400;
}
.m-no-results h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--ink);
  letter-spacing: -.02em;
}
.m-no-results p { margin: 0; font-size: 14px; }

/* ============================================================
   BACK TO TOP (floating)
   ============================================================ */
/* back-to-top removed (per design request) */
.m-totop { display: none !important; }

/* ============================================================
   FILTER STATES (search hides products; pills only navigate)
   ============================================================ */
.m-item.hidden, .m-feat.hidden { display: none; }
.m-cat-section.hidden { display: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 480px) {
  .m-item {
    grid-template-columns: 96px 1fr;
    gap: 12px;
    padding: 12px;
  }
  .m-item-img { border-radius: 12px; }
  .m-item-name { font-size: 16px; }
  .m-item-price { font-size: 16px; }
  .m-feat { flex-basis: 240px; }
  .m-hero-inner { padding: 60px 16px 8px; }
  .m-hero-eyebrow-row { gap: 8px; }
  .m-hero-ornament { display: none; }
  .m-eyebrow {
    white-space: normal;
    font-size: 10px;
    letter-spacing: 2px;
    line-height: 1.4;
    text-align: center;
  }
  .m-hero-cue { margin-top: 18px; }
}
@media (max-width: 360px) {
  .m-item { grid-template-columns: 84px 1fr; gap: 10px; padding: 10px; }
  .m-item-img { border-radius: 10px; }
}

@media (min-width: 781px) {
  .m-main { padding-inline: 0; }
  .m-list { display: grid; grid-template-columns: 1fr; gap: 16px; }
  .m-item-img { aspect-ratio: 1; }
}

/* RTL adjustments */
[dir="rtl"] body.m { font-family: 'Cairo', var(--sans); }
[dir="rtl"] .m-title,
[dir="rtl"] .m-section-title,
[dir="rtl"] .m-item-name,
[dir="rtl"] .m-feat-name,
[dir="rtl"] .m-foot-name { font-family: 'Cairo', var(--serif); }

/* Selection */
::selection { background: var(--copper); color: var(--paper); }

/* ============================================================
   PRODUCT PREVIEW LIGHTBOX
   Tap on any product → full preview with image, description, price
   ============================================================ */
.m-preview {
  position: fixed; inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity .25s var(--ease, ease), visibility .25s;
}
.m-preview.open { visibility: visible; opacity: 1; }

.m-preview-back {
  position: absolute; inset: 0;
  border: 0;
  background: rgba(26, 15, 6, .68);
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  cursor: zoom-out;
}

.m-preview-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  background: var(--paper);
  border-radius: 22px 22px 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(40px) scale(.985);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
  box-shadow: 0 -30px 80px rgba(0, 0, 0, .5);
  max-height: 92vh;
  align-self: flex-end;
}
.m-preview.open .m-preview-card { transform: none; }

.m-preview-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: var(--paper-3);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  flex-shrink: 0;
}
.m-preview-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26, 15, 6, .35));
  pointer-events: none;
}
.m-preview-img.placeholder { display: flex; align-items: center; justify-content: center; }
.m-preview-img.placeholder[data-cat="1"] { background: radial-gradient(circle at 50% 40%, #f4d894, #c8893f); }
.m-preview-img.placeholder[data-cat="2"] { background: radial-gradient(circle at 50% 40%, #3a2715, #1a0f06); color: var(--paper); }
.m-preview-img.placeholder[data-cat="3"] { background: radial-gradient(circle at 50% 40%, #6b9a8e, #2d4f47); }
.m-preview-img.placeholder[data-cat="4"] { background: radial-gradient(circle at 50% 40%, #d4a04a, #8c5a25); }
.m-preview-img.placeholder[data-cat="5"] { background: radial-gradient(circle at 50% 40%, #d49a52, #8c5a25); }
.m-preview-img.placeholder[data-cat="6"] { background: radial-gradient(circle at 50% 40%, #f3b455, #8c4a25); }
.m-preview-img.placeholder[data-cat="7"] { background: radial-gradient(circle at 50% 40%, #e76060, #8b2c2c); }
.m-preview-img .mp-ph-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(70px, 18vw, 110px);
  filter: drop-shadow(0 6px 22px rgba(0, 0, 0, .45));
  z-index: 1;
}

.m-preview-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 38px; height: 38px;
  border: 0;
  background: rgba(0, 0, 0, .55);
  color: white;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.m-preview-close:hover { background: rgba(0, 0, 0, .8); }

.m-preview-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
}
.m-preview-cat {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--copper-2);
}
.m-preview-name {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(22px, 5vw, 28px);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0;
  color: var(--ink);
}
.m-preview-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 0;
  white-space: pre-line;
}
.m-preview-desc:empty { display: none; }

.m-preview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.m-preview-tags:empty { display: none; }
.m-preview-tags .m-chip { padding: 4px 10px; font-size: 11px; }

.m-preview-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px dashed rgba(26, 15, 6, .12);
}
.m-preview-price {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(24px, 5.5vw, 32px);
  color: var(--copper-3);
  letter-spacing: -.02em;
  font-feature-settings: 'tnum' on;
}

/* Desktop: center the card instead of bottom sheet */
@media (min-width: 720px) {
  .m-preview { padding: 30px; }
  .m-preview-card {
    border-radius: 20px;
    align-self: center;
    max-height: 88vh;
    transform: scale(.95);
  }
  .m-preview.open .m-preview-card { transform: scale(1); }
}

body.m-preview-open { overflow: hidden; }

