/* ==========================================================================
   Ceyhan teması — ocakbaşı menüsü
   Palet: zemin koyu zümrüt #0b1a14 (panel #0f231b), ana renk orman yeşili
   #2f7a4f, ikincil fildişi altın #d8c79a (fiyatlar, süsleme çizgileri),
   metin sıcak fildişi #f2eee3. --coal* / --brass / --cream adları ilk
   sürümün kömür-pirinç paletinden kalma.
   Renkler: --primary ve --brass şablondan (yönetim panelindeki ana/ikincil
   renk) gelir; aşağıdaki değerler yalnızca yedektir. Ana renk parıltılarda
   kullanılır. Acılık (etiket, alevler) panel renginden bağımsız --chili'dir:
   ana renk ne seçilirse seçilsin "acı" kırmızı kalır.
   ========================================================================== */

:root {
  --primary: #2f7a4f;            /* $page->primaryColor */
  --chili: #c1440e;              /* acılık — sabit */
  --brass: #d8c79a;              /* $page->secondaryColor */
  --coal: #0b1a14;
  --coal-sheet: #0f231b;
  --coal-slot: #173328;
  --cream: #f2eee3;
  --cream-bright: #f2eee3;
  --cream-soft: rgba(242, 238, 227, 0.62);
  --cream-mute: rgba(242, 238, 227, 0.4);
  --hairline: rgba(216, 199, 154, 0.22);
  --hairline-strong: rgba(216, 199, 154, 0.55);
  --display: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: Karla, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html, body {
  margin: 0;
  background: var(--coal);
}

body {
  font-family: var(--sans);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

/* Çerçeveleme kararı — sözleşme §3.
   object-fit yapısal class'lara değil, yalnızca bu iki isme yazılır. */
.img-cover   { width: 100%; height: 100%; object-fit: cover; }
.img-contain { width: 100%; height: 100%; object-fit: contain; }

::selection { background: rgba(216, 199, 154, 0.32); }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

/* Odak programla taşınan başlıklar (detay paneli) çerçeve göstermesin. */
[tabindex="-1"]:focus { outline: none; }

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

/* --- sayfa gövdesi ------------------------------------------------------ */

.page {
  min-height: 100vh;
  background: var(--coal);
}

.sheet {
  position: relative;
  max-width: 760px;
  min-height: 100vh;
  margin: 0 auto;
  background-color: var(--coal-sheet);
  /* color-mix desteklenmiyorsa yalnızca doku kalır; ocak parıltısı aşağıdaki
     ikinci bildirimle eklenir ve desteklenmeyen tarayıcıda sessizce düşer. */
  background-image:
    repeating-conic-gradient(from 45deg at 0 0, rgba(216, 199, 154, 0.028) 0deg 90deg, rgba(0, 0, 0, 0) 90deg 180deg);
  background-size: 34px 34px;
  background-image:
    radial-gradient(120% 60% at 50% 0%, color-mix(in srgb, var(--primary) 22%, transparent) 0%, rgba(11, 26, 20, 0) 60%),
    repeating-conic-gradient(from 45deg at 0 0, rgba(216, 199, 154, 0.028) 0deg 90deg, rgba(0, 0, 0, 0) 90deg 180deg);
  background-size: auto, 34px 34px;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.6);
}

/* --- üst çubuk ---------------------------------------------------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(11, 26, 20, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(216, 199, 154, 0.35);
}

.topbar__logo {
  flex: none;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border: 1px solid var(--brass);
  border-radius: 50%;
}

.topbar__brand {
  margin-right: auto;
  min-width: 0;
}

.topbar__name {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 21px;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
}

.topbar__kicker {
  display: block;
  margin-top: 6px;
  font-size: 9.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--brass);
}

/* --- dil değiştirici ---------------------------------------------------- */

.langs {
  display: flex;
  flex: none;
  overflow: hidden;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
}

.langs__item {
  min-width: 46px;
  height: 38px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: var(--cream);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.langs__item + .langs__item { border-left: 1px solid rgba(216, 199, 154, 0.4); }
.langs__item:hover { background: rgba(216, 199, 154, 0.18); }

.langs__item.is-active {
  background: var(--brass);
  color: var(--coal);
}

/* --- hero --------------------------------------------------------------- */

.hero {
  padding: 46px 24px 40px;
  text-align: center;
}

.rule-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--brass);
}

.rule-text__line {
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.hero__title {
  margin: 22px 0 0;
  font-family: var(--display);
  font-weight: 600;
  /* --title-ch: marka adındaki en uzun kelimenin harf sayısı (şablondan).
     0.7em, bu serifin ortalama büyük harf genişliği + harf aralığıdır; punto
     kelime satıra sığacak şekilde kısılır, break-word yalnızca son çaredir. */
  font-size: clamp(34px, min(15vw, calc((100vw - 60px) / (var(--title-ch, 6) * 0.7))), 86px);
  line-height: 1.02;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream-bright);
  overflow-wrap: break-word;
}

.hero__title-accent {
  color: var(--brass);
  letter-spacing: 0.16em;
}

.hero__blurb {
  margin: 22px auto 0;
  max-width: 34ch;
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.8;
  color: var(--cream-soft);
  text-wrap: pretty;
}

.hero__hint {
  margin: 26px 0 0;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream-mute);
}

/* --- süsleme ------------------------------------------------------------ */

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: 300px;
  margin: 26px auto 0;
  color: var(--brass);
}

.ornament__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
}

.ornament__line:last-child {
  background: linear-gradient(90deg, currentColor, transparent);
}

.ornament__mark {
  font-size: 13px;
  opacity: 0.9;
}

/* --- kategoriler -------------------------------------------------------- */

.category {
  border-top: 1px solid var(--hairline);
  overflow: hidden; /* .items'ın -1px sağ payını kırpar */
}

.category__banner {
  position: relative;
  display: block;
  padding: 62px 18px 16px;
  cursor: default;
  list-style: none;
  background:
    linear-gradient(180deg, rgba(11, 26, 20, 0.2) 0%, rgba(11, 26, 20, 0.85) 100%),
    var(--coal-slot);
  background:
    radial-gradient(90% 120% at 12% 110%, color-mix(in srgb, var(--primary) 30%, transparent) 0%, rgba(11, 26, 20, 0) 62%),
    linear-gradient(180deg, rgba(11, 26, 20, 0.2) 0%, rgba(11, 26, 20, 0.85) 100%),
    var(--coal-slot);
}

.has-js .category__banner { cursor: pointer; }

.category__banner::-webkit-details-marker { display: none; }
.category__banner::marker { content: ''; }

/* pirinç köşe çizgileri — fotoğraflı ve fotoğrafsız bandın ortak çerçevesi */
.category__banner::before {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 14px 14px auto auto;
  width: 46px;
  height: 46px;
  border-top: 1px solid var(--hairline-strong);
  border-right: 1px solid var(--hairline-strong);
  opacity: 0.7;
  pointer-events: none;
}

/* Fotoğraflı bant — mockup'taki 190px'lik kapak. Yazı her zaman alttaki
   kömür karartmasının üstüne düşer; görsel ne olursa olsun okunur. */
.category__banner.has-photo {
  padding-top: 112px;
  background: var(--coal-slot);
}

.category__photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.category__photo img {
  transition: transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.category__banner:hover .category__photo img { transform: scale(1.035); }

.category__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 26, 20, 0.3) 0%, rgba(11, 26, 20, 0.62) 48%, rgba(11, 26, 20, 0.96) 100%);
  background:
    radial-gradient(90% 120% at 12% 110%, color-mix(in srgb, var(--primary) 34%, transparent) 0%, rgba(11, 26, 20, 0) 62%),
    linear-gradient(180deg, rgba(11, 26, 20, 0.3) 0%, rgba(11, 26, 20, 0.62) 48%, rgba(11, 26, 20, 0.96) 100%);
}

.category__meta,
.category__name,
.category__desc { position: relative; }

/* Ürün sayısı — başlığın üstünde küçük pirinç satır */
.category__meta {
  display: block;
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--brass);
}

.category__name {
  display: block;
  margin-top: 6px;
  padding-right: 56px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(28px, 8vw, 42px);
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-bright);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
  text-wrap: balance;
}

.category__desc {
  display: block;
  max-width: 46ch; /* sağ pay dahil — border-box */
  margin-top: 6px;
  padding-right: 56px;
  font-family: var(--display);
  font-style: italic;
  font-size: 17px;
  line-height: 1.45;
  color: var(--cream-soft);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8);
  text-wrap: pretty;
}

.category__chevron {
  position: absolute;
  right: 18px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--brass);
  border-radius: 50%;
  background: rgba(11, 26, 20, 0.6);
  color: var(--brass);
  font-size: 11px;
  line-height: 1;
}

.category__chevron::before {
  content: '\25BC';
  display: block;
  line-height: 1;
  transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.category__box[open] .category__chevron::before { transform: rotate(180deg); }
.category__box[open] .category__chevron { background: rgba(216, 199, 154, 0.14); }

.category__chevron { transition: background-color 0.32s ease; }
.category__banner:hover .category__chevron { background: rgba(216, 199, 154, 0.18); }

/* --- ürün listesi ------------------------------------------------------- */

/* Açılırken ürünler sırayla belirir. Animasyon <details> her açıldığında
   yeniden çalışır; yükseklik geçişini menu.js yürütür. */
@keyframes item-in {
  from { opacity: 0; transform: translateY(7px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* fill: backwards — gecikme boyunca başlangıç durumunu uygular, bittiğinde
   elementi normal stiline bırakır. both olsaydı biten animasyon birim
   transform'u üzerinde tutup gereksiz bir bileşik katman bırakırdı. */
/* Toplam süre panelin açılma süresini (menu.js: 320ms) aşmasın; aşarsa
   panel durduktan sonra devam eden ikinci bir hareket gibi görünür. */
.has-js .category__box[open] .item {
  animation: item-in 0.26s cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
}

.has-js .category__box[open] .items > li:nth-child(1) .item { animation-delay: 0s; }
.has-js .category__box[open] .items > li:nth-child(2) .item { animation-delay: 0.02s; }
.has-js .category__box[open] .items > li:nth-child(3) .item { animation-delay: 0.04s; }
.has-js .category__box[open] .items > li:nth-child(4) .item { animation-delay: 0.05s; }
.has-js .category__box[open] .items > li:nth-child(n + 5) .item { animation-delay: 0.06s; }

/* Kapanış animasyonu sürerken satırların yeniden belirmesini engelle. */
.category__box.is-animating:not([open]) .item { animation: none; }

.items {
  display: grid;
  /* min(...) olmadan 330px'den dar ekranlarda sütun taşar. */
  grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr));
  margin: 0 -1px 0 0; /* son sütunun dikey ayracı .category ile kırpılır */
  padding: 0;
  list-style: none;
  background: rgba(6, 14, 10, 0.35);
  /* Açılma animasyonu bu kutunun yüksekliğini değiştiriyor. Varsayılan
     align-content (normal = stretch) fazla yüksekliği satırlara dağıtır ve
     animasyonun son karesinde hücreler gerilip sonra doğal boyuta sıçrar.
     start ile satırlar her karede doğal yüksekliğinde kalır. */
  align-content: start;
}

/* Grid hücresi satırın en uzun ürünü kadar yükselir; düğme de hücreyi
   baştan sona doldursun ki iki sütunun alt çizgileri aynı hizada bitsin. */
.items > li { display: grid; }

.item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
  width: 100%;
  height: 100%;
  padding: 20px 18px;
  border: 0;
  border-right: 1px solid rgba(216, 199, 154, 0.16);
  border-bottom: 1px solid rgba(216, 199, 154, 0.16);
  background: transparent;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: default;
  transition: background-color 0.18s ease;
}

.has-js .item { cursor: pointer; }
.has-js .item:hover { background: rgba(216, 199, 154, 0.07); }

.item__text {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  align-self: stretch;
}

/* Ad ve acılık etiketi aynı satırda; ad uzunsa etiket alt satıra iner. */
.item__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

.item__name {
  min-width: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--cream-bright);
  text-wrap: pretty;
}

.item__desc {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(242, 238, 227, 0.55);
  text-wrap: pretty;
}

/* Fiyat hücrenin dibine oturur: iki sütunda fiyatlar aynı hizada. */
.item__price {
  margin-top: auto;
  padding-top: 3px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.1;
  letter-spacing: 0.03em;
  color: var(--brass);
}

/* --- kişi sayısı (yalnızca 2 ve üzeri: sayı ve simge) ------------------- */

.people {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.people__icon {
  display: block;
  flex: none;
  width: 13px;
  height: 13px;
}

/* --- acılık etiketi (mockup: kırmızı "Acı") -------------------------------- */

.spice {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 5px;
  padding: 3px 8px 3px 6px;
  border-radius: 999px;
  background: var(--chili);
  color: #fdf6e6;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.spice__flames { display: inline-flex; gap: 1px; }

.flame {
  display: block;
  flex: none;
  width: 10px;
  height: 10px;
}

.item__thumb {
  display: block;
  flex: none;
  width: 98px;
  height: 98px;
  overflow: hidden;
  border: 1px solid rgba(216, 199, 154, 0.3);
  border-radius: 4px;
  background: var(--coal-slot);
}

/* --- boş menü ----------------------------------------------------------- */

.empty {
  padding: 30px 24px 60px;
  text-align: center;
  border-top: 1px solid var(--hairline);
}

.empty__text {
  margin: 22px auto 0;
  max-width: 32ch;
  font-family: var(--display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.7;
  color: var(--cream-soft);
  text-wrap: pretty;
}

/* --- alt bilgi ---------------------------------------------------------- */

.footer {
  padding: 40px 24px 70px;
  text-align: center;
  border-top: 1px solid var(--hairline);
}

.footer__mark { margin: 0; color: var(--brass); font-size: 13px; }

.footer__name {
  margin: 14px 0 0;
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream-bright);
}

.footer__lines {
  margin: 12px 0 0;
  font-size: 12.5px;
  line-height: 1.9;
  color: rgba(242, 238, 227, 0.5);
  white-space: pre-line;
}

.footer__note {
  margin: 18px auto 0;
  max-width: 34ch;
  font-family: var(--display);
  font-style: italic;
  font-size: 16px;
  line-height: 1.6;
  color: var(--cream-soft);
  text-wrap: balance;
}

.footer__vat {
  margin: 10px 0 0;
  font-size: 11px;
  color: rgba(242, 238, 227, 0.32);
}

/* --- ürün detayı (alttan açılan panel) ---------------------------------- */

/* Alttan açılan kart. İçerik ne kadar olursa olsun hep aynı boyda açılır
   (üstte ince bir boşluk, arkada karartılmış menü): kapatma çubuğu her
   üründe aynı yerde durur. Üst çubuktan aşağı çekince kapanır (menu.js).
   Kaydırma kartın içinde kalır, arkadaki sayfaya geçmez
   (overscroll-behavior); kart açıkken sayfa da kilitlenir (html.is-locked). */
.detail {
  --sheet-gap: 14px;
  position: fixed;
  inset: auto 0 0 0;
  width: 100%;
  max-width: 760px;
  height: calc(100% - var(--sheet-gap));
  height: calc(100dvh - var(--sheet-gap) - env(safe-area-inset-top, 0px));
  max-height: none;
  margin: 0 auto;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border: 0;
  border-top: 2px solid var(--brass);
  border-radius: 18px 18px 0 0;
  background: var(--coal-sheet);
  color: var(--cream);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
}

html.is-locked,
html.is-locked body { overflow: hidden; }

/* Kaydırma çubukları gizli (restoranın isteği): sayfa ve kart parmakla,
   tekerlekle ve trackpad'le yine kayar, yalnızca çubuk çizilmez. */
html,
.detail { scrollbar-width: none; }
html::-webkit-scrollbar,
body::-webkit-scrollbar,
.detail::-webkit-scrollbar { display: none; }

.detail::backdrop { background: rgba(5, 12, 9, 0.82); }

/* Açılış: kart alttan yukarı kayar. Kapanış (düğme, dışarı dokunma, Esc,
   aşağı çekme) menu.js'te, aynı yöne geri. */
.detail[open] { animation: detail-rise 0.36s cubic-bezier(0.22, 0.61, 0.36, 1); }

@keyframes detail-rise {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .detail[open] { animation: none; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

.detail__bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 12px 12px 20px;
  background: rgba(15, 35, 27, 0.96);
  border-bottom: 1px solid rgba(216, 199, 154, 0.25);
  /* Çubuk sürükleme tutamacı: dokunmatikte tarayıcı kendi kaydırmasını
     başlatmasın, hareket menu.js'e gelsin. */
  touch-action: none;
  cursor: grab;
}

.detail.is-dragging .detail__bar { cursor: grabbing; }

/* Tutamaç çizgisi — kartın aşağı çekilebildiğini gösterir */
.detail__handle {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 40px;
  height: 4px;
  margin-left: -20px;
  border-radius: 999px;
  background: rgba(242, 238, 227, 0.28);
  pointer-events: none;
}

.detail__cat {
  margin-right: auto;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
}

/* Öneriden gelindiyse kategori adının yerinde: ← önceki ürün */
.detail__back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  height: 44px;
  margin: 0 auto 0 -8px;
  padding: 0 12px 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
  cursor: pointer;
  transition: background-color 0.18s ease;
}

.detail__back:hover { background: rgba(216, 199, 154, 0.12); }

.detail__back[hidden],
.detail__cat[hidden] { display: none; }

.detail__back-icon {
  flex: none;
  width: 16px;
  height: 16px;
}

.detail__back-name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.detail__close {
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid rgba(216, 199, 154, 0.5);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.18s ease;
}

.detail__close:hover { background: rgba(216, 199, 154, 0.18); }

/* Görsel kareyi doldurur (cover): kenarlardan biraz kırpılır, boşluk kalmaz. */
.detail__photo {
  height: 44vh;
  overflow: hidden;
  background: var(--coal-slot);
  border-bottom: 1px solid rgba(216, 199, 154, 0.25);
}

.detail__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 22px 40px;
  padding-bottom: max(40px, calc(env(safe-area-inset-bottom) + 24px));
  text-align: center;
}

.detail__name {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(28px, 8vw, 40px);
  line-height: 1.15;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cream-bright);
  text-wrap: pretty;
}

.detail__body .ornament { max-width: 260px; margin: 0 auto; }

.detail__desc {
  margin: 0;
  max-width: 42ch;
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(242, 238, 227, 0.66);
  text-wrap: pretty;
}

.detail__price-label {
  margin: 6px 0 0;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream-mute);
}

.detail__price {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 34px;
  letter-spacing: 0.04em;
  color: var(--brass);
}

/* Ölçü şeridi: porsiyon | kişi | acılık — üstte ve altta pirinç kıl çizgi,
   hücreler arasında dikey ayraç. Yalnızca dolu hücreler basılır. */
.facts {
  display: flex;
  width: 100%;
  max-width: 440px;
  margin: 6px 0 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.facts__cell {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 14px 6px 13px;
}

.facts__cell + .facts__cell { border-left: 1px solid var(--hairline); }

.facts dt {
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream-mute);
}

.facts dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 23px;
  line-height: 1.1;
  color: var(--cream-bright);
}

.facts .people { gap: 5px; }
.facts .people__icon { width: 19px; height: 19px; }

.facts__cell--heat dd {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.facts__flames {
  display: flex;
  gap: 3px;
  padding-top: 2px;
  /* Koyu zeminde okunsun diye biber kırmızısı bir tık aydınlatılır. */
  color: var(--chili);
  color: color-mix(in srgb, var(--chili) 78%, #ffd9a0);
}

.facts__flames .flame { width: 16px; height: 16px; }
.facts__flames .flame.is-off { color: var(--cream); opacity: 0.16; }

.facts__note {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--cream-soft);
}

/* İçindekiler ve alerjenler — fiyatın altında, kıl çizgiyle ayrılmış blok */
.detail__about {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  margin-top: 12px;
  padding-top: 26px;
  border-top: 1px solid var(--hairline);
}

.detail__label {
  margin: 0 0 12px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
}

.ingredients {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 44ch;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(242, 238, 227, 0.78);
}

/* Ayraç maddenin sonunda: satır kırılınca nokta satır başına düşmesin. */
.ingredients li:not(:last-child)::after {
  content: '\00B7';
  margin: 0 0.45em;
  font-style: normal;
  color: var(--brass);
}

.allergens {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.allergen {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px 6px 9px;
  border: 1px solid rgba(216, 199, 154, 0.38);
  border-radius: 999px;
  background: rgba(216, 199, 154, 0.06);
  font-size: 12.5px;
  line-height: 1.2;
  color: var(--cream);
}

.allergen__icon {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--brass);
}

/* "Yanında iyi gider" — yatay kayan kartlar; kenara taşar ki kaydırılabildiği
   görülsün. Az kart varsa ortalanır (otomatik kenar payı, taşınca 0 olur). */
.pairs {
  width: 100%;
  margin-top: 18px;
}

.pairs__title {
  margin: 0 0 18px;
  font-family: var(--sans);
  font-weight: 400;
}

.pairs__rail {
  display: flex;
  gap: 12px;
  margin: 0 -22px;
  padding: 2px 22px 4px;
  overflow-x: auto;
  list-style: none;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 22px;
  scrollbar-width: none;
}

.pairs__rail::-webkit-scrollbar { display: none; }

.pairs__rail > li {
  flex: none;
  scroll-snap-align: start;
}

.pairs__rail > li:first-child { margin-left: auto; }
.pairs__rail > li:last-child { margin-right: auto; }

.pair {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 136px;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.pair__thumb {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(216, 199, 154, 0.3);
  border-radius: 4px;
  background: var(--coal-slot);
}

.pair__thumb img { transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1); }
.pair:hover .pair__thumb img { transform: scale(1.05); }

.pair__thumb--empty {
  background:
    radial-gradient(90% 120% at 12% 110%, rgba(47, 122, 79, 0.24) 0%, rgba(11, 26, 20, 0) 62%),
    var(--coal-slot);
  background:
    radial-gradient(90% 120% at 12% 110%, color-mix(in srgb, var(--primary) 28%, transparent) 0%, rgba(11, 26, 20, 0) 62%),
    var(--coal-slot);
  font-size: 15px;
  color: var(--brass);
}

.pair__thumb--empty::before {
  content: '';
  position: absolute;
  inset: 8px 8px auto auto;
  width: 22px;
  height: 22px;
  border-top: 1px solid var(--hairline-strong);
  border-right: 1px solid var(--hairline-strong);
  opacity: 0.7;
}

.pair__name {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.2;
  color: var(--cream-bright);
}

.pair__price {
  margin-top: auto;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.03em;
  color: var(--brass);
}

/* --- dar ekran ---------------------------------------------------------- */

@media (max-width: 380px) {
  .topbar { padding: 10px 14px; }
  .topbar__name { font-size: 18px; letter-spacing: 0.18em; }
  .item { padding: 18px 14px; gap: 12px; }
  .item__thumb { width: 84px; height: 84px; }
}
