/* ============================================================================
   MALTEPE KANATÇISI — QR MENÜ
   ----------------------------------------------------------------------------
   Mobil öncelikli. Ölçüler önce telefon için yazılmış, geniş ekranlar
   en alttaki medya sorgularıyla eklenmiştir.

   TASARIM İLKESİ
   Turuncu bir vurgu rengidir, bir zemin rengi değil. Sadece şu yerlerde
   kullanılır: logo, seçili kategori, bölüm başlığı elması, ₺ işareti,
   küçük simgeler ve alerjen uyarısı. Ayırıcı çizgiler nötr sıcak gridir.
   Kutular, gölgeler ve parıltılar bir şeyi öne çıkarmak için harcanır;
   her yere dağıtılmaz.
   ========================================================================= */

/* ------------------------------------------------------------ DEĞİŞKENLER */
:root {
  /* Vurgu — logodan örneklenmiş turuncu */
  --kor:        #ED5B02;
  --kor-yumusak:#F0763A;
  --kor-sonuk:  rgba(237, 91, 2, .30);

  /* Sıcak nötr zemin ölçeği (saf siyah değil; közün sıcaklığını taşır) */
  --zemin:      #0A0908;
  --yuzey:      #121110;
  --yuzey-2:    #171514;
  --cizgi:      rgba(250, 244, 238, .075);
  --cizgi-guclu:rgba(250, 244, 238, .13);

  /* Metin */
  --metin:      #F3EFEB;
  --metin-2:    #A79E97;
  --metin-3:    #6D6660;

  /* Tipografi */
  --f-baslik: "Anton", "Arial Narrow", sans-serif;
  --f-govde:  "Oswald", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-yazi:   "Playfair Display", Georgia, "Times New Roman", serif;

  /* Düzen */
  --en:        1080px;
  --gutter:    18px;
  --cubuk-h:   52px;

  --r-kart:    14px;
  --r-kucuk:   10px;

  --gecis:     200ms cubic-bezier(.3, .7, .4, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--cubuk-h) + 16px);
}

body {
  margin: 0;
  background: var(--zemin);
  color: var(--metin);
  font-family: var(--f-govde);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.kilitli { overflow: hidden; }

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--kor-yumusak);
  outline-offset: 2px;
  border-radius: 8px;
}

.gizli-erisim {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.atla {
  position: fixed;
  top: 8px; left: 50%;
  transform: translate(-50%, -200%);
  z-index: 999;
  background: var(--kor);
  color: #fff;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  transition: transform var(--gecis);
}
.atla:focus { transform: translate(-50%, 0); }

.kap {
  width: 100%;
  max-width: var(--en);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --------------------------------------------------------------- ARKA PLAN */
.zemin-katman {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(680px 420px at 50% 0%, rgba(237, 91, 2, .07), transparent 68%),
    linear-gradient(180deg, #0C0B0A 0%, var(--zemin) 46%, #070606 100%);
}

/* =============================================================== KAHRAMAN */
.kahraman {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 40px 0 34px;
  text-align: center;
}

.kahraman-foto {
  position: absolute;
  inset: 0 0 auto 0;
  height: 100%;
  z-index: -2;
}
.kahraman-foto img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 72%;
  opacity: .34;
}
.kahraman::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg,
    rgba(10, 9, 8, .62) 0%,
    rgba(10, 9, 8, .48) 38%,
    rgba(10, 9, 8, .9) 82%,
    var(--zemin) 100%);
}

.kahraman-logo {
  width: 58px; height: 58px;
  margin: 0 auto 16px;
}

.kahraman h1 {
  margin: 0;
  font-family: var(--f-baslik);
  font-weight: 400;
  font-size: clamp(31px, 9vw, 56px);
  line-height: .96;
  letter-spacing: .015em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .6);
}

/* “🔥 — KÖZDE KANAT & KEBAP — 🔥” satırı */
.kahraman-alt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 13px;
}
.kahraman-alt span {
  font-size: clamp(10px, 2.9vw, 12px);
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--metin-2);
  white-space: nowrap;
}
.kahraman-alt i {
  display: block;
  width: clamp(14px, 5vw, 40px);
  height: 1px;
  flex: none;
  background: var(--cizgi-guclu);
}
.alev {
  width: 11px; height: 14px;
  flex: none;
  color: var(--kor);
  opacity: .9;
}

.kahraman-slogan {
  font-family: var(--f-yazi);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(15px, 4.3vw, 19px);
  color: #E9E0D9;
  margin: 14px 0 0;
}

/* Tek satır, sakin künye — rozet yığını yok */
.kahraman-kunye {
  margin: 18px 0 0;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: .04em;
  color: var(--metin-3);
}
.kahraman-kunye a { color: var(--metin-2); border-bottom: 1px solid var(--cizgi-guclu); }
.kahraman-kunye a:hover { color: var(--kor-yumusak); border-color: var(--kor-sonuk); }
.kahraman-kunye b { color: var(--metin-3); font-weight: 300; margin-inline: 8px; }

/* ==================================================== KATEGORİ ÇUBUĞU (tek) */
.cubuk {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 9, 8, .93);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid var(--cizgi);
}

/* stretch: kategori düğmeleri çubuğun tam yüksekliğini kaplasın
   (parmak hedefi 52px olur, görünen hap ise ince kalır) */
.cubuk .kap {
  display: flex;
  align-items: stretch;
  gap: 10px;
  height: var(--cubuk-h);
}

.cubuk-marka {
  flex: none;
  display: flex;
  align-items: center;
}
.cubuk-marka img { width: 26px; height: 26px; }

.gezinme {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: stretch;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%);
  padding-inline: 4px;
}
.gezinme::-webkit-scrollbar { display: none; }

/* Düğme çubuğun tamamı kadar yüksektir (rahat parmak hedefi); görünen hap
   ise ::before ile çizilir, böylece görsel olarak ince kalır. */
.gezinme-dugme {
  position: relative;
  isolation: isolate;
  flex: none;
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 0 13px;
  color: var(--metin-3);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--gecis);
}
.gezinme-dugme::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 10px 0;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background var(--gecis), border-color var(--gecis);
}
.gezinme-dugme:hover { color: var(--metin); }
.gezinme-dugme[aria-current="true"] { color: var(--kor-yumusak); }
.gezinme-dugme[aria-current="true"]::before {
  border-color: var(--kor-sonuk);
  background: rgba(237, 91, 2, .09);
}

/* ==================================================================== ARAMA */
.arama-alani {
  margin: 22px 0 0;
  position: relative;
}
.arama-kutu { position: relative; display: flex; align-items: center; }
.arama-kutu > svg {
  position: absolute;
  left: 13px;
  width: 15px; height: 15px;
  color: var(--metin-3);
  pointer-events: none;
}
.arama-alani input {
  width: 100%;
  height: 42px;
  padding: 0 38px 0 36px;
  border-radius: var(--r-kucuk);
  border: 1px solid var(--cizgi);
  background: var(--yuzey);
  color: var(--metin);
  font-family: var(--f-govde);
  font-weight: 300;
  font-size: 15px;              /* 16px altına inmeyin: iOS'ta sayfayı yakınlaştırır */
  transition: border-color var(--gecis), background var(--gecis);
}
.arama-alani input::placeholder { color: var(--metin-3); }
.arama-alani input::-webkit-search-cancel-button { display: none; }
.arama-alani input:focus {
  outline: none;
  border-color: var(--cizgi-guclu);
  background: var(--yuzey-2);
}
.arama-temizle {
  position: absolute;
  right: 5px;
  width: 32px; height: 32px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--metin-3);
}
.arama-temizle svg { width: 14px; height: 14px; }
.arama-temizle:hover { color: var(--metin); }
.arama-alani.dolu .arama-temizle { display: flex; }

.arama-sonuc-yok {
  display: none;
  text-align: center;
  padding: 56px 20px;
  color: var(--metin-3);
  font-size: 14px;
  font-weight: 300;
}
.arama-sonuc-yok b {
  display: block;
  font-family: var(--f-baslik);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--metin-2);
  margin-bottom: 6px;
}
body.arama-bos .arama-sonuc-yok { display: block; }

/* =================================================================== MENÜ */
.menu-govde { padding: 8px 0 20px; }

.bolum { padding: 26px 0 6px; }
.bolum + .bolum { border-top: 1px solid var(--cizgi); }

.bolum-basi { text-align: center; margin-bottom: 15px; }

.bolum-basi h2 {
  margin: 0;
  font-family: var(--f-baslik);
  font-weight: 400;
  font-size: clamp(20px, 5.4vw, 26px);
  line-height: 1.1;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--metin);
}

.bolum-basi p {
  margin: 8px 0 0;
  font-size: 11.5px;
  font-weight: 300;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--metin-3);
}

/* Başlık altındaki elmaslı ayraç — basılı menüden gelen imza detay */
.ayrac {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}
.ayrac i {
  height: 1px;
  width: min(64px, 18%);
  background: var(--cizgi-guclu);
}
.ayrac b {
  width: 5px; height: 5px;
  flex: none;
  background: var(--kor);
  transform: rotate(45deg);
}

/* ------------------------------------------------------------ ÜRÜN SATIRI */
.urunler { list-style: none; margin: 0; padding: 0; }

.urun {
  min-height: 56px;                      /* rahat dokunma hedefi */
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 12px;
  align-items: center;
  column-gap: 12px;
  padding: 9px 8px;
  margin-inline: -8px;
  width: calc(100% + 16px);
  border-radius: var(--r-kucuk);
  text-align: left;
  color: inherit;
  transition: background var(--gecis);
}

/* Fotoğrafsız kategoriler (içecekler) — fotoğraf yüksekliği olmadığı için
   satırlar biraz daha derli toplu durur. */
.urunler.fotosuz .urun {
  grid-template-columns: minmax(0, 1fr) 12px;
  min-height: 46px;
}

/* Tıklanamayan satırlar: düz metin gibi davranır */
.urun:not(.tiklanir) { cursor: default; }

.urun.tiklanir:hover { background: rgba(250, 244, 238, .035); }
.urun.tiklanir:hover .urun-ad { color: #fff; }
.urun.tiklanir:hover .urun-ok { color: var(--kor-yumusak); transform: translateX(1px); }
.urun.tiklanir:active { background: rgba(250, 244, 238, .055); }

.urun-foto {
  position: relative;
  width: 48px; height: 48px;
  flex: none;
  border-radius: 9px;
  overflow: hidden;
  background: var(--yuzey-2);
}
.urun-foto img { width: 100%; height: 100%; object-fit: cover; }

.urun-orta { min-width: 0; }

.urun-adsatir {
  display: flex;
  align-items: baseline;
  gap: 9px;
  min-width: 0;
}

.urun-ad {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--metin);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--gecis);
}

/* Ad ile fiyat arasındaki noktalı çizgi */
.urun-nokta {
  flex: 1 1 auto;
  min-width: 10px;
  height: 1px;
  transform: translateY(-3px);
  border-bottom: 1px dotted rgba(250, 244, 238, .2);
}

.urun-bilgi {
  display: block;
  margin-top: 1px;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .05em;
  color: var(--metin-3);
  text-transform: uppercase;
}

/* Fiyat — parlak buton değil, sakin tipografi.
   Ad satırının içinde durur; böylece noktalı çizgi fiyata kadar uzanır
   ve iki satırlı ürünlerde de aynı hizada kalır. */
.fiyat {
  flex: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--metin);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}
.fiyat em {
  font-style: normal;
  font-weight: 400;
  color: var(--metin-3);
  margin-left: 2px;
}

/* Detayı olan ürünlerdeki ince ok */
.urun-ok {
  width: 12px; height: 12px;
  color: var(--metin-3);
  opacity: .85;
  transition: color var(--gecis), transform var(--gecis);
}

/* ====================================================== ÜRÜN DETAY PENCERE */
.perde {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(5, 4, 4, .7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--gecis), visibility var(--gecis);
}
.perde.acik { opacity: 1; visibility: visible; }

.pencere {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border-radius: 18px 18px 0 0;
  border: 1px solid var(--cizgi-guclu);
  border-bottom: 0;
  background: var(--yuzey);
  box-shadow: 0 -16px 50px -12px rgba(0, 0, 0, .8);
  transform: translateY(20px);
  transition: transform 240ms cubic-bezier(.3, .7, .4, 1);
}
.perde.acik .pencere { transform: translateY(0); }

.pencere-tutamac {
  position: absolute;
  top: 9px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 38px; height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .3);
}

.pencere-kapat {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 4;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(10, 9, 8, .6);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background var(--gecis);
}
.pencere-kapat svg { width: 15px; height: 15px; }
.pencere-kapat:hover { background: rgba(10, 9, 8, .9); }

.pencere-foto {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--yuzey-2);
}
.pencere-foto img { width: 100%; height: 100%; object-fit: cover; }
.pencere-foto::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(18, 17, 16, .35) 0%,
    rgba(18, 17, 16, 0) 34%,
    rgba(18, 17, 16, .55) 78%,
    var(--yuzey) 100%);
}

.pencere-govde { padding: 20px 20px 24px; }
.pencere-foto + .pencere-govde { padding-top: 4px; margin-top: -20px; position: relative; z-index: 2; }

.pencere-ust {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}
.pencere-kategori {
  display: block;
  margin-bottom: 4px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--kor);
}
.pencere-ust h3 {
  margin: 0;
  font-family: var(--f-baslik);
  font-weight: 400;
  font-size: clamp(21px, 6vw, 25px);
  line-height: 1.1;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #fff;
}
.pencere-fiyat {
  flex: none;
  font-size: 19px;
  font-weight: 500;
  color: var(--metin);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.pencere-fiyat em { font-style: normal; font-weight: 400; color: var(--kor); margin-left: 2px; }

/* Porsiyon / kalori künyeleri */
.kunye {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  padding: 12px 0;
  border-block: 1px solid var(--cizgi);
}
.kunye span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 300;
  letter-spacing: .03em;
  color: var(--metin-3);
}
.kunye span svg { width: 13px; height: 13px; color: var(--kor); flex: none; }
.kunye b { color: var(--metin); font-weight: 500; }

.blok { margin-top: 18px; }
.blok h4 {
  margin: 0 0 9px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--metin-3);
}
.blok ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.blok ul li {
  position: relative;
  padding-left: 14px;
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--metin-2);
}
.blok ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .6em;
  width: 4px; height: 4px;
  background: var(--kor);
  border-radius: 50%;
  opacity: .8;
}

/* Alerjen uyarısı */
.alerjen-kutu {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--r-kucuk);
  border: 1px solid rgba(237, 91, 2, .22);
  background: rgba(237, 91, 2, .06);
}
.alerjen-kutu > svg { width: 16px; height: 16px; color: var(--kor); flex: none; margin-top: 2px; }
.alerjen-kutu p {
  margin: 0;
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--metin-2);
}
.alerjen-kutu strong { color: var(--metin); font-weight: 500; }

.pencere-not {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--cizgi);
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--metin-3);
}

/* =================================================================== AYAK */
.ayak {
  margin-top: 12px;
  padding: 38px 0 32px;
  border-top: 1px solid var(--cizgi);
  text-align: center;
}

.ayak-logo { width: 46px; height: 46px; margin: 0 auto 14px; }

.ayak h2 {
  margin: 0;
  font-family: var(--f-baslik);
  font-weight: 400;
  font-size: clamp(19px, 5vw, 23px);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--metin);
}
.ayak-slogan {
  font-family: var(--f-yazi);
  font-style: italic;
  font-size: 14px;
  color: var(--metin-3);
  margin: 6px 0 26px;
}

.ayak-kartlar {
  display: grid;
  gap: 1px;
  max-width: 620px;
  margin: 0 auto 24px;
  text-align: left;
  border: 1px solid var(--cizgi);
  border-radius: var(--r-kart);
  overflow: hidden;
  background: var(--cizgi);
}
.ayak-kart {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 16px;
  background: var(--yuzey);
  transition: background var(--gecis);
}
a.ayak-kart:hover { background: var(--yuzey-2); }
a.ayak-kart:hover .ayak-kart-yazi span { color: var(--kor-yumusak); }
.ayak-kart > svg { width: 17px; height: 17px; color: var(--kor); flex: none; margin-top: 3px; }
.ayak-kart-yazi { min-width: 0; }
.ayak-kart-yazi b {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--metin-3);
  margin-bottom: 3px;
}
.ayak-kart-yazi span {
  display: block;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.45;
  color: var(--metin);
  word-break: break-word;
  transition: color var(--gecis);
}
.ayak-kart.bekliyor .ayak-kart-yazi span { color: var(--metin-3); }

.ayak-uyari {
  max-width: 620px;
  margin: 0 auto;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--metin-3);
}
.ayak-alt {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--cizgi);
  font-size: 11px;
  font-weight: 300;
  color: var(--metin-3);
}

/* ============================================================ YUKARI ÇIK */
.yukari {
  position: fixed;
  right: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--cizgi-guclu);
  background: rgba(18, 17, 16, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--metin-2);
  box-shadow: 0 6px 20px -8px rgba(0, 0, 0, .9);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--gecis), transform var(--gecis), visibility var(--gecis), color var(--gecis);
}
.yukari svg { width: 16px; height: 16px; }
.yukari.gorunur { opacity: 1; visibility: visible; transform: none; }
.yukari:hover { color: var(--kor-yumusak); }

/* ============================================================== DUYARLILIK */

/* --- Çok dar telefonlar (iPhone SE, eski Android) --- */
@media (max-width: 359px) {
  :root { --gutter: 14px; }
  .urun { grid-template-columns: 42px minmax(0, 1fr) 12px; column-gap: 10px; }
  .urun-foto { width: 42px; height: 42px; }
  .urun-ad { font-size: 14px; }
  .fiyat { font-size: 14px; }
  .kahraman { padding: 32px 0 28px; }
}

/* --- Büyük telefon / küçük tablet --- */
@media (min-width: 600px) {
  :root { --gutter: 26px; --cubuk-h: 58px; }
  body { font-size: 16px; }
  .kahraman { padding: 62px 0 48px; }
  .kahraman-logo { width: 72px; height: 72px; }
  .urun { grid-template-columns: 58px minmax(0, 1fr) 14px; column-gap: 16px; padding: 11px 10px; }
  .urun-foto { width: 58px; height: 58px; border-radius: 11px; }
  .urun-ad { font-size: 16px; }
  .fiyat { font-size: 16px; }
  .bolum { padding: 40px 0 8px; }
  .ayak-kartlar { grid-template-columns: 1fr 1fr; }
  .perde { align-items: center; padding: 24px; }
  .pencere {
    border-radius: var(--r-kart);
    border-bottom: 1px solid var(--cizgi-guclu);
    max-height: 86vh; max-height: 86dvh;
  }
  .pencere-tutamac { display: none; }
  .yukari { right: 24px; bottom: 24px; width: 44px; height: 44px; }
}

/* --- Masaüstü: basılı menüdeki iki sütun ---
   column-count kullanıyoruz; böylece bölümler sütunları yukarıdan aşağı
   doldurur (menü okuma sırası) ve boy farkından doğan boşluklar oluşmaz. */
@media (min-width: 940px) {
  .menu-govde {
    column-count: 2;
    column-gap: 60px;
    padding-top: 4px;
  }
  .bolum {
    break-inside: avoid;
    padding: 0 0 44px;
    border-top: 0;                 /* sütun başında yalnız kalan çizgi olmasın */
  }
  .bolum + .bolum { border-top: 0; }
  .bolum-basi { margin-bottom: 20px; }
  .arama-alani { max-width: 360px; }

  /* İçecekler listesi iki alt sütuna bölünsün: sayfa dengeli kapansın */
  .urunler.fotosuz { column-count: 2; column-gap: 34px; }
  .urunler.fotosuz > li { break-inside: avoid; }
  .urunler.fotosuz .urun { margin-inline: 0; width: 100%; padding-inline: 4px; }
}

/* --- Yatay mod / kısa ekran: kahraman bölümü yer kaplamasın --- */
@media (max-height: 520px) and (orientation: landscape) {
  .kahraman { padding: 24px 0 20px; }
  .kahraman-logo { width: 42px; height: 42px; margin-bottom: 10px; }
  .kahraman-slogan { margin-top: 9px; }
  .kahraman-kunye { margin-top: 12px; }
  .pencere { max-height: 94dvh; }
}

/* --- Hareket azaltma tercihi --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* =================================================================== BASKI */
@media print {
  .zemin-katman, .cubuk, .arama-alani, .yukari, .perde,
  .kahraman-foto, .urun-foto, .urun-ok { display: none !important; }
  body { background: #fff; color: #111; font-size: 11pt; }
  .kahraman { padding: 0 0 18px; }
  .kahraman h1, .bolum-basi h2, .urun-ad, .ayak h2 { color: #111; text-shadow: none; }
  .kahraman-slogan, .kahraman-kunye, .urun-bilgi, .ayak-slogan { color: #555; }
  .bolum { break-inside: avoid; padding: 14px 0 4px; }
  .bolum + .bolum { border-top: 1px solid #ddd; }
  .urun { grid-template-columns: 1fr; }
  .urunler.fotosuz .urun { grid-template-columns: 1fr; }
  .fiyat { color: #111; }
  .fiyat em { color: #111; }
  .urun-nokta { border-bottom-color: #ccc; }
}
