/* ============================================================
   Sarı Fırın — QR Menü
   Tasarım sistemi / global stil
   ============================================================ */

/* ---- Tasarım token'ları ---- */
:root {
  /* Renk */
  --primary: #E88E12;
  --primary-hover: #D47F0D;
  --primary-soft: #FFE7C2;
  --bg: #FFF9F1;
  --surface: #FFFFFF;
  --border: #F0E2D2;
  --text: #2B2118;
  --text-soft: #7A6755;
  --success: #4CAF50;

  /* Yarıçap */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Gölge — yumuşak, çok katmanlı */
  --shadow-xs: 0 1px 2px rgba(43, 33, 24, 0.05);
  --shadow-sm: 0 2px 8px rgba(43, 33, 24, 0.06);
  --shadow-md: 0 8px 24px rgba(43, 33, 24, 0.08);
  --shadow-lg: 0 18px 48px rgba(43, 33, 24, 0.12);
  --shadow-primary: 0 10px 28px rgba(232, 142, 18, 0.28);

  /* Tipografi */
  --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Düzen */
  --maxw: 1120px;
  --gutter: 20px;
  --header-h: 64px;

  /* Hareket */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset ---- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul { list-style: none; padding: 0; }

:focus-visible {
  outline: 2.5px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--primary-soft); color: var(--text); }

/* ---- Dokunma cilası ---- */
/* Mobilde basınca çıkan mavi/gri tap-highlight'ı her yerde kapat */
* { -webkit-tap-highlight-color: transparent; }
/* Bağlantı/buton uzun basınca menü çıkmasın */
a, button { -webkit-touch-callout: none; }
/* Gezinme ve kart gibi UI öğelerinde kazara metin seçimini engelle */
.nav, .appbar, .header, .product-card, .cat-card, .btn, .btn-back-cat,
.search__go, .search__clear, .cat-card__icon, .product-card__badge, .section__link {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
/* Görselleri sürüklenemez yap */
img { -webkit-user-drag: none; user-select: none; }

/* ---- Yardımcılar ---- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 249, 241, 0.78);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
  background: rgba(255, 249, 241, 0.9);
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Marka kelime işareti */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  line-height: 1;
}
.brand__mark {
  width: 38px; height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--text);
  color: var(--primary-soft);
  font-family: var(--font-display);
  font-size: 1.45rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.62rem;
  letter-spacing: 0.01em;
  color: var(--text);
  white-space: nowrap;
}
.brand__name b { color: var(--primary); font-weight: 400; }
.brand__logo { height: 42px; width: auto; display: block; }

/* Masaüstü navigasyon */
.nav {
  display: none;
  align-items: center;
  gap: 4px;
}
.nav a {
  position: relative;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav a:hover { color: var(--text); background: rgba(232, 142, 18, 0.08); }
.nav a[aria-current="page"] {
  color: var(--primary-hover);
  background: var(--primary-soft);
}

/* Mobil menü butonu */
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px 9px 14px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-xs);
  transition: transform 0.18s var(--ease), box-shadow 0.2s var(--ease);
}
.menu-btn:active { transform: scale(0.96); }
.menu-btn__icon {
  position: relative;
  width: 18px; height: 12px;
}
.menu-btn__icon span {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.menu-btn__icon span:nth-child(1) { top: 0; }
.menu-btn__icon span:nth-child(2) { top: 5px; }
.menu-btn__icon span:nth-child(3) { top: 10px; }

/* ---- Mobil çekmece (drawer) ---- */
.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(43, 33, 24, 0.42);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.drawer-scrim.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0; right: 0;
  z-index: 61;
  height: 100dvh;
  width: min(86vw, 360px);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform 0.42s var(--ease-out);
  display: flex;
  flex-direction: column;
  padding: 22px;
}
.drawer.is-open { transform: translateX(0); }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.drawer__close {
  width: 40px; height: 40px;
  border-radius: var(--r-pill);
  display: grid; place-items: center;
  background: var(--bg);
  font-size: 1.3rem;
  color: var(--text-soft);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.drawer__close:hover { background: var(--primary-soft); color: var(--text); }

.drawer__nav { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.drawer__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 16px;
  border-radius: var(--r-md);
  font-weight: 650;
  font-size: 1.05rem;
  color: var(--text);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.drawer__nav a .chev { color: var(--text-soft); transition: transform 0.2s var(--ease); }
.drawer__nav a:hover { background: var(--bg); }
.drawer__nav a:hover .chev { transform: translateX(3px); color: var(--primary); }
.drawer__nav a[aria-current="page"] {
  background: var(--primary-soft);
  color: var(--primary-hover);
}
.drawer__foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.85rem;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 30px 0 0;
}
.hero__card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 90% at 80% 10%, #F6C16B 0%, #E88E12 38%, #B5650A 100%);
  background-size: cover;
  background-position: center;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(35,26,18,0.15) 0%, rgba(35,26,18,0.55) 52%, rgba(35,26,18,0.94) 100%);
}
.hero__body {
  padding: 28px 24px 30px;
  color: #fff;
  max-width: 620px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.hero__badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(76,175,80,0.3);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 11vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0.005em;
  text-wrap: balance;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}
.hero__lead {
  margin-top: 14px;
  font-size: clamp(1rem, 4vw, 1.15rem);
  color: rgba(255,255,255,0.94);
  font-weight: 500;
  max-width: 46ch;
  text-wrap: pretty;
  text-shadow: 0 1px 10px rgba(0,0,0,0.3);
}

/* ============================================================
   ARAMA
   ============================================================ */
.search {
  position: relative;
  /* Üst = margin-top; Alt = margin-bottom + sonraki bölümün 18px padding'i.
     İkisini de 30px'te eşit tutmak için alt margin 12px. */
  margin-top: 30px;
  margin-bottom: 12px;
  z-index: 20;
}
.search__field {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 6px 6px 6px 20px;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.search__field:focus-within {
  border-color: var(--primary);
  box-shadow: var(--shadow-md), 0 0 0 4px rgba(232,142,18,0.14);
}
.search__icon { color: var(--text-soft); flex-shrink: 0; display: grid; place-items: center; }
.search__input {
  flex: 1;
  border: none;
  background: none;
  font-size: 1.02rem;
  font-weight: 550;
  color: var(--text);
  padding: 12px 0;
  min-width: 0;
}
.search__input::placeholder { color: var(--text-soft); font-weight: 500; }
.search__input:focus { outline: none; }
/* Tarayıcının yerleşik (mavi) temizleme butonunu gizle — kendi × butonumuz var */
.search__input::-webkit-search-cancel-button,
.search__input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.search__clear {
  display: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  color: var(--text-soft);
  font-size: 1.5rem;
  line-height: 1;
  place-items: center;
  margin-right: 4px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.search__clear.show { display: grid; }
.search__clear:hover { background: var(--bg); color: var(--text); }
.search__go {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F4A833, var(--primary-hover));
  color: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(232, 142, 18, 0.3);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), filter 0.2s var(--ease);
}
.search__go:hover {
  filter: brightness(1.05);
  box-shadow: 0 7px 20px rgba(232, 142, 18, 0.4);
  transform: translateY(-1px);
}
.search__go:active { transform: scale(0.94); }

/* Canlı arama sonuçları */
.search__results {
  position: absolute;
  top: calc(100% + 10px);
  left: 0; right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  max-height: min(60vh, 420px);
  overflow-y: auto;
  display: none;
  -webkit-overflow-scrolling: touch;
}
.search__results.show { display: block; animation: pop 0.22s var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: var(--r-md);
  transition: background 0.16s var(--ease);
}
.result:hover, .result:focus-visible { background: var(--bg); }
.result__thumb {
  width: 52px; height: 52px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--primary-soft);
}
.result__name { font-weight: 700; font-size: 0.97rem; }
.result__meta { font-size: 0.8rem; color: var(--text-soft); }
.result__price { margin-left: auto; font-weight: 800; color: var(--primary-hover); white-space: nowrap; }
.result-empty { padding: 28px 16px; text-align: center; color: var(--text-soft); font-weight: 550; }

/* ---- Header ikon butonları + ortalı logo ---- */
.header__icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s var(--ease);
}
.header__icon:hover { background: var(--primary-soft); color: var(--primary-hover); }
.header__icon:active { transform: scale(0.92); }
.header__icon svg { width: 20px; height: 20px; }
.brand--center .brand__mark { box-shadow: var(--shadow-sm); }

/* ---- Arama overlay (site geneli) ---- */
.search-overlay { position: fixed; inset: 0; z-index: 80; }
.search-overlay[hidden] { display: none; }
.search-overlay__scrim {
  position: absolute; inset: 0;
  background: rgba(43, 33, 24, 0.45);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  animation: ovfade 0.2s var(--ease);
}
.search-overlay__panel {
  position: relative;
  background: var(--bg);
  padding: 14px 0 20px;
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  animation: ovslide 0.26s var(--ease-out);
}
@keyframes ovfade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ovslide { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.search-overlay__bar { display: flex; align-items: center; gap: 12px; }
.search-overlay__bar .search__field { flex: 1; box-shadow: var(--shadow-sm); }
.search-overlay__close {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--primary-hover);
  font-size: 0.95rem;
  padding: 8px 2px;
}
.search-overlay__results {
  position: static;
  margin-top: 12px;
  border: 0;
  box-shadow: none;
  background: transparent;
  padding: 0;
  max-height: min(70vh, 560px);
}
.search-overlay__results .result {
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 8px;
}

/* ---- İletişim sheet (alttan açılır) ---- */
.sheet { position: fixed; inset: 0; z-index: 90; }
.sheet[hidden] { display: none; }
.sheet__scrim {
  position: absolute; inset: 0;
  background: rgba(43, 33, 24, 0.5);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  animation: ovfade 0.2s var(--ease);
}
.sheet__panel {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  margin-inline: auto;
  max-width: 520px;
  background: var(--bg);
  border-radius: 26px 26px 0 0;
  padding: 8px 0 calc(22px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -12px 44px rgba(43, 33, 24, 0.28);
  max-height: 88vh;
  overflow-y: auto;
  animation: sheetUp 0.32s var(--ease-out);
}
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
.sheet__handle {
  width: 44px; height: 5px;
  border-radius: 3px;
  background: var(--border);
  margin: 6px auto 16px;
  cursor: pointer;
}
.sheet__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.9rem;
  margin-bottom: 18px;
}
.contact-list { display: flex; flex-direction: column; gap: 14px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item__ic {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 13px;
  display: grid; place-items: center;
  background: var(--primary-soft);
  color: var(--primary-hover);
}
.contact-item__ic svg { width: 20px; height: 20px; }
.contact-item__label { display: block; font-size: 0.78rem; color: var(--text-soft); font-weight: 600; }
.contact-item__val { display: block; font-weight: 700; color: var(--text); font-size: 1.02rem; margin-top: 2px; }
.contact-item__link { color: var(--primary-hover); text-decoration: none; }
.sheet__cta {
  display: block; text-align: center;
  margin-top: 22px;
  padding: 13px;
  border-radius: var(--r-pill);
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s var(--ease);
}
.sheet__cta:hover { background: var(--primary-hover); }

/* ---- Menü sayfası: yapışkan kategori sekmeleri ---- */
.menu-tabs {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(255, 249, 241, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}
.menu-tabs__inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-top: 10px;
  padding-bottom: 10px;
}
.menu-tabs__inner::-webkit-scrollbar { display: none; }
.menu-tab {
  flex: 0 0 auto;
  padding: 8px 15px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-soft);
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.menu-tab.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.menu-cat { scroll-margin-top: calc(var(--header-h) + 66px); }
.menu-sub { margin-top: 22px; }
.menu-sub:first-of-type { margin-top: 4px; }
.menu-sub__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.menu-sub__title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}

/* ============================================================
   BÖLÜM BAŞLIKLARI
   ============================================================ */
/* Dikey ritim: section'lar yalnızca üstten boşluk alır → tüm aralar eşit (40px) */
.section { padding: 40px 0 0; }
.section--tight { padding-top: 28px; }   /* hero+arama sonrası ilk bölüm (gap ~40px) */

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.section__title {
  font-size: clamp(1.5rem, 6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.section__sub { color: var(--text-soft); margin-top: 6px; font-weight: 500; max-width: 52ch; text-wrap: pretty; }
.section__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-hover);
  white-space: nowrap;
  flex-shrink: 0;
}
.section__link:hover { gap: 9px; }

/* ============================================================
   KATEGORİ GRID
   ============================================================ */
/* Kategori karüseli — sayfa başına 4 kart (2x2), altta nokta göstergesi */
.cat-carousel { position: relative; }
.cat-track {
  display: flex;
  gap: 16px;                  /* iki 4'lü grup arası boşluk */
  overflow-x: auto;
  overflow-y: hidden;         /* içeride dikey kayma yok; dikey dokunuş sayfayı kaydırır */
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cat-track::-webkit-scrollbar { display: none; }
.cat-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: grid;
  grid-template-columns: repeat(2, 1fr);  /* 2 sütun → 2 üstte 2 altta */
  gap: 12px;
  align-content: start;
}
.cat-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.cat-dot {
  width: 8px; height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: width 0.25s var(--ease), background 0.25s var(--ease);
}
.cat-dot.is-active { width: 22px; border-radius: 5px; background: var(--primary); }
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  padding: 16px;
  color: #fff;
  isolation: isolate;
  box-shadow: var(--shadow-sm);
  transition: transform 0.32s var(--ease-out), box-shadow 0.32s var(--ease);
}
.cat-card__media {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transition: transform 0.55s var(--ease-out);
}
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; }
.cat-card::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(165deg, rgba(43,33,24,0.05) 30%, rgba(43,33,24,0.78) 100%);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-card:hover .cat-card__media { transform: scale(1.07); }
.cat-card__icon {
  position: absolute;
  top: 12px; left: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(38, 28, 20, 0.42);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  backdrop-filter: blur(10px) saturate(1.1);
  color: #fff;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.cat-card__icon svg { transition: transform 0.25s var(--ease); }
.cat-card:hover .cat-card__icon { background: var(--primary); }
.cat-card:hover .cat-card__icon svg { transform: translateX(2px); }
.cat-card__title {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.cat-card__count {
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0.88;
  margin-top: 2px;
}

/* ============================================================
   ÜRÜN GRID + KART
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

/* Öne çıkanlar — geniş, yatay kayan vitrin kartları (aynı ürün kartı bileşeni) */
.featured-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.featured-row::-webkit-scrollbar { display: none; }
.featured-row .product-card {
  flex: 0 0 80%;            /* mobil: büyük kart + sonrakinin ucu (kaydırma ipucu) */
  scroll-snap-align: start;
}
.featured-row .product-card__media { aspect-ratio: 4 / 3; }  /* geniş görsel */
.featured-row .product-card__name { font-size: 1.15rem; }
.featured-row .product-card__price { font-size: 1.25rem; }
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-soft);
}
.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--primary-soft);
}
.product-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.product-card:hover .product-card__media img { transform: scale(1.06); }

/* Görsel yedeği (yüklenmezse) */
.product-card__media.img-fallback::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--fallback, linear-gradient(135deg, #F6C16B, #E88E12));
}
.product-card__media.img-fallback::after {
  content: "Sarı Fırın";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.02em;
}

.product-card__badge {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px 5px 9px;
  border-radius: var(--r-pill);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(38, 28, 20, 0.4);     /* hafif, yarı saydam koyu cam */
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  backdrop-filter: blur(10px) saturate(1.1);
}
.product-card__badge--featured {
  color: #fff;
}
.product-card__badge--new {
  color: #FFC979;                        /* taze: yumuşak turuncu yazı */
}
.product-card__badge svg {
  width: 12px; height: 12px;
  flex-shrink: 0;
}
/* Bilgiler görselin içinde (overlay) */
.product-card__overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 38px 13px 13px;
  background: linear-gradient(180deg, rgba(43,33,24,0) 0%, rgba(43,33,24,0.5) 52%, rgba(43,33,24,0.9) 100%);
  color: #fff;
}
.product-card__name {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.22;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}
.product-card__foot {
  margin-top: 3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.product-card__price {
  font-size: 1.02rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}
.product-card__price small { font-size: 0.78rem; font-weight: 700; color: rgba(255,255,255,0.8); }

/* Masaüstünde (3 sütun) biraz daha büyük */
@media (min-width: 900px) {
  .product-card__overlay { padding: 46px 16px 16px; }
  .product-card__name { font-size: 1.05rem; }
  .product-card__price { font-size: 1.2rem; }
}

/* ============================================================
   ÜRÜN DETAY SAYFASI
   ============================================================ */
/* Mobil: tam genişlik kare görsel + üzerine binen yuvarlatılmış bilgi yaprağı */
.pd__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--primary-soft);
}
.pd__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd__body {
  position: relative;
  z-index: 2;
  margin-top: -28px;
  background: var(--bg);
  border-radius: 28px 28px 0 0;
  padding-top: 26px;
}
.pd__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.pd__cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px 6px 11px;
  border-radius: var(--r-pill);
  background: var(--primary-soft);
  color: var(--primary-hover);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s var(--ease);
}
.pd__cat svg { width: 15px; height: 15px; }
.pd__cat:hover { background: var(--primary); color: #fff; }
.pd__cat:hover svg { transform: translateX(-2px); }
.pd__titlerow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}
.pd__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0.005em;
}
.pd__price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-hover);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.pd__desc {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 1.06rem;
  line-height: 1.65;
  max-width: 56ch;
  text-wrap: pretty;
}

/* Masaüstü: 2 sütun, görsel yuvarlatılmış kart */
@media (min-width: 820px) {
  .pd {
    max-width: var(--maxw);
    margin: 40px auto 0;
    padding-inline: var(--gutter);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }
  .pd__media { border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
  .pd__body { margin-top: 0; background: none; border-radius: 0; padding-top: 0; }
  .pd__inner { padding-inline: 0; max-width: none; }
  .pd__titlerow { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ============================================================
   KATEGORİ SAYFA BAŞLIĞI
   ============================================================ */
.page-head { padding: 22px 0 6px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 12px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-soft);
  box-shadow: var(--shadow-xs);
  transition: gap 0.2s var(--ease), color 0.2s var(--ease), transform 0.18s var(--ease);
}
.back-link:hover { color: var(--text); gap: 11px; }
.back-link:active { transform: scale(0.97); }

.page-hero {
  margin-top: 18px;
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: 30px 24px;
  color: #fff;
  isolation: isolate;
  box-shadow: var(--shadow-md);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.page-hero__media {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(160deg, rgba(43,33,24,0.15) 20%, rgba(43,33,24,0.8) 100%);
}
.page-hero__eyebrow {
  font-size: 0.76rem; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--primary-soft);
  margin-bottom: 10px;
}
.page-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 9vw, 3.4rem);
  line-height: 1;
}
.page-hero__desc {
  margin-top: 12px;
  max-width: 56ch;
  color: rgba(255,255,255,0.92);
  font-weight: 500;
  text-wrap: pretty;
}

/* Düz (medyasız) sayfa başlığı — Menü & Kategoriler sayfaları */
.page-hero--plain {
  color: var(--text);
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  min-height: 0;
  overflow: visible;
}
.page-hero--plain::after { content: none; }
.page-hero--plain .page-hero__eyebrow { color: var(--primary); }
.page-hero--plain .page-hero__title { color: var(--text); }
.page-hero--plain .page-hero__desc { color: var(--text-soft); }

/* Kategori listesi (tam grid — kategoriler sayfası) */
.cat-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.page-hero__chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.page-hero__chip {
  padding: 6px 13px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.24);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 0.8rem; font-weight: 650;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  margin-top: 30px;
  background: var(--text);
  color: rgba(255,255,255,0.78);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: 44px 0 30px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
.footer .brand__name { color: #fff; }
.footer .brand__name b { color: var(--primary); }
.footer .brand__mark { background: var(--primary); color: #fff; }
.footer__about { margin-top: 14px; max-width: 38ch; font-size: 0.92rem; line-height: 1.6; text-wrap: pretty; }
.footer__col h4 {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
}
.footer__col li { margin-bottom: 10px; }
.footer__col a, .footer__col span { font-size: 0.94rem; color: rgba(255,255,255,0.82); transition: color 0.2s var(--ease); }
.footer__col a:hover { color: var(--primary); }
.footer__bar {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

/* ============================================================
   GİRİŞ ANİMASYONLARI (scroll reveal)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 600px) {
  :root { --gutter: 28px; }
  .cat-slide { gap: 16px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .featured-row .product-card { flex-basis: 47%; }
  .hero__body { padding: 36px 34px 38px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 900px) {
  :root { --header-h: 72px; }
  .nav { display: flex; }
  .appbar { display: none; }
  .hero { padding: 36px 0 0; }
  .hero__card { min-height: 480px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .featured-row .product-card { flex-basis: 31.5%; }
  .section { padding: 56px 0 0; }
  .section--tight { padding-top: 44px; }
  main { padding-bottom: 56px; }   /* masaüstü: app bar yok, altta boşluk */
}

@media (min-width: 1100px) {
  .cat-slide { gap: 18px; }
}

/* ============ ALT APP BAR (mobil gezinme) ============ */
.appbar {
  position: fixed;
  left: 0; right: 0;
  margin-inline: auto;
  width: calc(100% - 20px);
  max-width: 480px;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 3px;
  padding: 5px;
  background: rgba(255, 249, 241, 0.82);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--r-pill);
  box-shadow: 0 10px 30px rgba(43, 33, 24, 0.18), 0 2px 8px rgba(43, 33, 24, 0.08);
}
.appbar--fixed3 .appbar__item { flex: 1 1 0; min-width: 0; }
.appbar__item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 7px 3px;
  border-radius: var(--r-pill);
  color: var(--text-soft);
  font-size: 0.7rem;
  font-weight: 600;
  text-align: center;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), transform 0.15s var(--ease);
}
.appbar__item svg { width: 21px; height: 21px; }
.appbar__item span {
  line-height: 1.25;         /* "g" gibi alt çıkıntılar kesilmesin */
  white-space: nowrap;
}
.appbar__item svg { display: block; }
.appbar__item:active { transform: scale(0.93); }
.appbar__item[aria-current="page"] {
  color: var(--primary-hover);
  background: var(--primary-soft);
}

/* Yüzen çubuğun üst boşluğu = alt boşluğu (14px). Alt pay = 14(alt) + ~66(çubuk) + 14(üst) */
@media (max-width: 899px) {
  body { padding-bottom: 94px; }

  /* Hero görseli mobilde kenardan kenara (boşluksuz) */
  .hero { padding-top: 0; }
  .hero__card {
    margin-inline: calc(-1 * var(--gutter));
    border-radius: 0;
  }
}
