/* TD Kebap — müşteri ekranları tasarım sistemi (ana sayfa, menü, sepet, takip).
   style.css üzerine yüklenir. Yönetim paneli bu dosyayı kullanmaz. */

:root {
  --bg: #0d0a09;          /* mat siyah */
  --bg2: #120e0c;
  --card: #18120f;        /* koyu kahve */
  --card2: #221a16;
  --line: #31261f;
  --text: #f4ece1;        /* kırık beyaz */
  --muted: #a89a8c;
  --gold: #d8ad55;        /* altın */
  --gold2: #f0cf86;
  --red: #c4291e;         /* kırmızı */
  --red2: #dd3a2e;
  --green: #2f9b5c;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}

body { background: var(--bg); color: var(--text); font-size: 16px; }
a { color: var(--gold); }

/* ---------- Tipografi ---------- */
.display { font-family: var(--font-display); font-weight: 700; letter-spacing: .3px; }
.eyebrow { text-transform: uppercase; letter-spacing: 2.5px; font-size: 12px; font-weight: 700; color: var(--gold); }
.section { padding: 34px 0 6px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head h2 { font-family: var(--font-display); font-size: 28px; margin: 2px 0 0; }
.section-head a { font-weight: 700; text-decoration: none; font-size: 15px; white-space: nowrap; }

/* ---------- Üst çubuk ---------- */
.topbar { background: rgba(13, 10, 9, .9); border-bottom: 1px solid rgba(216, 173, 85, .14); }
.topbar .wrap { height: 62px; }
.brand { font-size: 18px; letter-spacing: 1.5px; }
.brand b { color: var(--gold); }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--card2); color: var(--text); border: 1px solid var(--line); text-decoration: none; font-size: 20px; cursor: pointer; }
.icon-btn .count { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }

/* ---------- Butonlar ---------- */
.btn { border-radius: 14px; min-height: 50px; padding: 12px 20px; letter-spacing: .2px; transition: transform .08s ease, background .15s ease; }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--red); box-shadow: 0 8px 20px rgba(196, 41, 30, .28); }
.btn.primary:hover { background: var(--red2); }
.btn.ghost { border: 1px solid rgba(244, 236, 225, .22); background: rgba(0, 0, 0, .25); color: var(--text); }
.btn.gold { background: var(--gold); color: #1b1305; }
.btn.lg { min-height: 56px; font-size: 17px; }

/* ---------- Durum etiketi ---------- */
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .12); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.pill.open i { background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .18); }
.pill.closed i { background: #f87171; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; }
.hero picture, .hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero img.bg { object-fit: cover; object-position: 50% 55%; }
.hero::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(13,10,9,.35) 0%, rgba(13,10,9,.15) 30%, rgba(13,10,9,.82) 70%, var(--bg) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-bottom: 30px; }
.hero h1 { font-family: var(--font-display); font-size: 48px; line-height: 1.02; margin: 14px 0 8px; letter-spacing: 1px; }
.hero h1 b { color: var(--gold); }
.hero .slogan { font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--gold2); margin: 0 0 6px; }
.hero .lead { color: #d8ccbf; margin: 0 0 22px; max-width: 460px; }
.hero .cta { display: grid; grid-template-columns: 1fr auto; gap: 10px; max-width: 460px; }
@media (min-width: 760px) { .hero { min-height: 620px; } .hero h1 { font-size: 64px; } }

/* ---------- Bilgi kartları ---------- */
.info3 { display: grid; gap: 10px; grid-template-columns: 1fr; margin-top: 6px; }
.info3 .card { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border-color: var(--line); border-radius: 16px; }
.info3 .ico { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--card2); font-size: 22px; }
.info3 b { display: block; margin-bottom: 2px; }
@media (min-width: 760px) { .info3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Kategori kartları ---------- */
.cats { display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat { position: relative; scroll-snap-align: start; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; text-decoration: none; color: #fff; background: var(--card2); }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cat:hover img { transform: scale(1.04); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.85)); }
.cat span { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; font-weight: 800; font-size: 17px; }
.cat small { display: block; font-weight: 600; color: var(--gold2); font-size: 12px; }
@media (min-width: 760px) { .cats { grid-auto-columns: calc((100% - 60px) / 6); } }

/* ---------- Ürün kartı (büyük) ---------- */
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 760px) { .feat { grid-template-columns: repeat(4, 1fr); } }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--text); }
.pcard .img { aspect-ratio: 4 / 3; background: var(--card2); overflow: hidden; }
.pcard .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcard .body { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard .name { font-weight: 800; font-size: 15px; line-height: 1.25; }
.pcard .row2 { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 6px; }
.price { font-weight: 800; color: var(--gold); white-space: nowrap; }
.add-dot { width: 38px; height: 38px; border-radius: 12px; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 700; border: 0; cursor: pointer; }

/* ---------- Ahmet Usta bölümü ---------- */
.usta { display: grid; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.usta .img { aspect-ratio: 4 / 3; overflow: hidden; }
.usta .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.usta .txt { padding: 20px 20px 22px; }
.usta h2 { font-family: var(--font-display); font-size: 28px; margin: 6px 0 8px; }
.usta p { color: #d3c6b8; margin: 0 0 10px; }
.usta .sign { font-family: var(--font-display); font-style: italic; color: var(--gold2); font-size: 18px; }
@media (min-width: 760px) { .usta { grid-template-columns: 1.1fr 1fr; align-items: center; } .usta .img { aspect-ratio: auto; height: 100%; } }

/* ---------- Menü listesi (sipariş ekranı) ---------- */
.mitem { display: grid; grid-template-columns: 38% 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; cursor: pointer; }
.mitem:last-child { border-bottom: 0; }
.mitem .img { aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--card2); }
.mitem .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mitem .info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mitem .name { font-weight: 800; font-size: 16px; line-height: 1.25; }
.mitem .desc { color: var(--muted); font-size: 13.5px; line-height: 1.35; }
.mitem .bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.mitem.soldout { opacity: .5; cursor: default; }
@media (min-width: 760px) { .mitem { grid-template-columns: 200px 1fr; } }
.menu-group { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 2px 14px; }
.cat-title { font-family: var(--font-display); text-transform: none; letter-spacing: .3px; font-size: 24px; color: var(--text); margin: 28px 0 12px; display: flex; align-items: center; gap: 10px; }
.cat-title::before { content: ""; width: 4px; height: 22px; border-radius: 4px; background: var(--gold); }

.cat-nav { padding: 10px 0; }
.cat-nav a { background: var(--card2); border: 1px solid var(--line); padding: 9px 16px; font-size: 14px; }
.cat-nav a.on { background: var(--gold); color: #1b1305; border-color: var(--gold); }

.qty { gap: 4px; background: var(--card2); border-radius: 14px; padding: 3px; }
.qty button { width: 38px; height: 38px; border-radius: 11px; background: transparent; }
.qty button.add { background: var(--red); }
.qty span { min-width: 24px; }

/* ---------- Alt sepet çubuğu ---------- */
.cartbar { background: linear-gradient(to top, var(--bg) 65%, transparent); }
.cartbar .btn { min-height: 58px; border-radius: 16px; font-size: 16px; }
.cartbar .btn .n { display: inline-grid; place-items: center; min-width: 28px; height: 28px; border-radius: 8px; background: rgba(0,0,0,.25); margin-right: 6px; font-size: 14px; }

/* ---------- Ürün detayı (alt sayfa) ---------- */
.sheet-bg { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.sheet-bg.on { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; max-width: 560px; margin: 0 auto; background: var(--bg2); border-radius: 24px 24px 0 0; border: 1px solid var(--line); border-bottom: 0;
  transform: translateY(105%); transition: transform .25s ease; max-height: 92vh; overflow-y: auto; padding-bottom: env(safe-area-inset-bottom); }
.sheet.on { transform: translateY(0); }
@media (min-width: 760px) { .sheet { bottom: auto; top: 50%; border-radius: 24px; border-bottom: 1px solid var(--line); transform: translateY(-40%) scale(.96); opacity: 0; pointer-events: none; transition: all .2s ease; }
  .sheet.on { transform: translateY(-50%) scale(1); opacity: 1; pointer-events: auto; } }
.sheet .hero-img { position: relative; aspect-ratio: 4 / 3; background: var(--card2); }
.sheet .hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sheet .close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 22px; cursor: pointer; }
.sheet .grab { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 44px; height: 5px; border-radius: 4px; background: rgba(255,255,255,.55); }
.sheet .content { padding: 18px 18px 20px; }
.sheet h3 { font-family: var(--font-display); font-size: 26px; margin: 0 0 6px; }
.sheet .desc { color: var(--muted); margin: 0 0 14px; }
.sheet .actions { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.sheet .qty { padding: 5px; }
.sheet .qty button { width: 44px; height: 44px; font-size: 24px; }
.sheet .qty span { min-width: 30px; font-size: 18px; }

/* ---------- Sepet / ödeme ---------- */
.co-title { font-family: var(--font-display); font-size: 28px; margin: 6px 0 2px; }
.steps-mini { display: flex; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 700; }
.steps-mini b { color: var(--gold); }
.co-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 16px; }
.co-card h4 { margin: 0 0 12px; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.cline { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cline:last-child { border-bottom: 0; }
.cline img { width: 64px; height: 48px; object-fit: cover; border-radius: 10px; background: var(--card2); }
.cline .nm { font-weight: 700; line-height: 1.25; }
.cline .qty { margin-top: 6px; width: max-content; }
.cline .qty button { width: 32px; height: 32px; font-size: 19px; }
.cline .lt { font-weight: 800; text-align: right; white-space: nowrap; }
.sumrow { display: flex; justify-content: space-between; padding: 6px 0; color: var(--muted); }
.sumrow.total { color: var(--text); font-size: 21px; font-weight: 800; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; }
.sumrow.total span:last-child { color: var(--gold); }
.seg label { border-radius: 14px; padding: 14px; font-weight: 700; }
.seg input:checked + label { border-color: var(--gold); color: var(--gold); background: rgba(216,173,85,.08); }
input, textarea, select { background: var(--card2); border-color: var(--line); border-radius: 12px; min-height: 50px; }
.back { background: none; border: 0; color: var(--gold); font: inherit; font-weight: 700; cursor: pointer; padding: 0; }

/* ---------- Takip ---------- */
.track-head { text-align: center; padding: 8px 0 4px; }
.track-head .big { font-family: var(--font-display); font-size: 34px; }
.timeline { list-style: none; margin: 18px 0 6px; padding: 0; }
.timeline li { position: relative; padding: 0 0 22px 44px; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--card2); border: 2px solid var(--line); font-size: 14px; }
.timeline li.done { color: var(--text); }
.timeline li.done .dot { background: var(--green); border-color: var(--green); color: #fff; }
.timeline li.done::before { background: var(--green); }
.timeline li.now { color: var(--text); font-weight: 800; }
.timeline li.now .dot { background: var(--gold); border-color: var(--gold); color: #1b1305; box-shadow: 0 0 0 6px rgba(216,173,85,.18); }
.timeline b { display: block; }
.timeline small { font-weight: 400; color: var(--muted); }

/* ---------- Alt bilgi ---------- */
footer.site { background: var(--bg2); border-top: 1px solid var(--line); margin-top: 40px; padding: 30px 0 130px; color: var(--muted); }
footer.site .fgrid { display: grid; gap: 22px; }
footer.site h5 { color: var(--text); font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 8px; }
footer.site a { color: var(--gold); text-decoration: none; }
@media (min-width: 760px) { footer.site .fgrid { grid-template-columns: 1.3fr 1fr 1fr; } }

.notice { border-radius: 14px; }

/* Detay butonu tek satır */
.sheet #sAdd { white-space: nowrap; font-size: 16px; padding: 12px 14px; }

/* Öne çıkanlar: açıklama en fazla 2 satır */
.pcard .body .muted { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Ana sayfa: sabit sipariş butonu üstteyken gizli, kaydırınca görünür */
.cartbar.autohide { transform: translateY(120%); transition: transform .25s ease; }
.cartbar.autohide.show { transform: translateY(0); }

/* ---------- Rötuşlar ---------- */
button, .btn, .qty button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }
.bump { animation: bump .28s ease; }
.qty span { display: inline-block; transition: color .15s; }
.qty button:active { transform: scale(.92); }

/* Alt çubuk: daha ince, içeriği daha az kapatır; menüde aşağı kaydırırken gizlenir */
.cartbar { padding: 8px 14px calc(8px + env(safe-area-inset-bottom)); background: linear-gradient(to top, rgba(13,10,9,.92) 55%, rgba(13,10,9,0)); transition: transform .25s ease; }
.cartbar .btn { min-height: 52px; font-size: 15px; }
.cartbar.tucked { transform: translateY(110%); }

/* Ana görsel (telefon): fotoğraf üstte tam görünür, yazılar altında */
@media (max-width: 759px) {
  .hero { display: block; min-height: 0; }
  .hero::after { display: none; }
  .hero picture { position: relative; display: block; inset: auto; height: auto; aspect-ratio: 16 / 11; overflow: hidden; }
  .hero picture::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,10,9,0) 50%, rgba(13,10,9,.6) 78%, var(--bg) 100%); }
  .hero img.bg { position: absolute; inset: 0; object-position: 50% 40%; }
  .hero .wrap { margin-top: -54px; padding-bottom: 22px; }
  .hero h1 { font-size: 44px; margin-top: 12px; }
}

/* ---------- Üst menü + sepet ---------- */
.mainnav { display: none; gap: 4px; }
.mainnav a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 15px; padding: 9px 14px; border-radius: 12px; }
.mainnav a:hover { color: var(--text); background: var(--card2); }
.mainnav a.on { color: var(--text); background: var(--card2); box-shadow: inset 0 -2px 0 var(--gold); }
@media (min-width: 900px) { .mainnav { display: flex; } }
.cartpill { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 12px; border-radius: 12px; background: var(--card2); border: 1px solid rgba(216,173,85,.35); color: var(--text); text-decoration: none; font-size: 20px; }
.cartpill .cp-txt { display: flex; flex-direction: column; line-height: 1.1; font-size: 13px; }
.cartpill small { color: var(--muted); font-size: 11px; font-weight: 700; }
.cartpill b { color: var(--gold); }
.cartpill .count { position: absolute; top: -7px; left: 22px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
html { scroll-behavior: smooth; }
#hakkimizda, #iletisim { scroll-margin-top: 72px; }
@media (max-width: 560px) { .cartpill .cp-txt small { display: none; } .hide-sm { display: none !important; } }

/* Kısa bilgi şeridi (ana görselin altında) */
.infostrip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.infostrip > * { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 14px; font-weight: 700; }
.infostrip a:hover { border-color: var(--gold); }
#iletisim { scroll-margin-top: 72px; }

/* Yeni logo: üst çubukta ve alt bilgide daha belirgin */
.brand img { width: 46px; height: 46px; border-radius: 12px; }
footer.site .brand img { width: 56px; height: 56px; }

/* Menü açıklaması: tek satır, gerekirse "Devamını gör" */
.mitem .desc { white-space: pre-line; }
.mitem .desc.clamp { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; }
.mitem .more { align-self: flex-start; background: none; border: 0; padding: 2px 0; color: var(--gold); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.sheet .desc { white-space: pre-line; }

/* Tanıtım: tek buton */
.hero .cta { grid-template-columns: 1fr; }

/* Ahmet Usta rozeti: kare görsel, koyu zemin üzerinde ortalı */
.usta .usta-img { aspect-ratio: 1 / 1; background: #0b0908; display: grid; place-items: center; padding: 14px; }
.usta .usta-img img { width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 760px) { .usta .usta-img { aspect-ratio: 1 / 1; height: auto; } }

/* Üst çubuk: ara genişliklerde sıkışmasın */
.topbar .wrap { gap: 12px; }
.topbar .wrap > .row { flex-wrap: nowrap; flex: none; }
.brand, .brand span, .topbar .btn, .cartpill { white-space: nowrap; }
.mainnav { display: none !important; }
@media (min-width: 1100px) { .mainnav { display: flex !important; } }
@media (min-width: 760px) and (max-width: 1099px) { .cartpill .cp-txt small { display: none; } }
.mainnav a { white-space: nowrap; }
@media (min-width: 1100px) and (max-width: 1240px) { .mainnav a { padding: 9px 10px; font-size: 14px; } .cartpill .cp-txt small { display: none; } }

/* ---------- Tanıtım görseli: ateş, duman, kıvılcım ---------- */
.fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.fx-glow { position: absolute; inset: -10% -5% 35% -5%;
  background: radial-gradient(ellipse 60% 55% at 30% 15%, rgba(255,140,40,.26), transparent 70%),
              radial-gradient(ellipse 45% 45% at 75% 10%, rgba(255,110,20,.20), transparent 70%);
  mix-blend-mode: screen; animation: fx-flicker 2.6s infinite; }
@keyframes fx-flicker {
  0%,100% { opacity: .55; } 12% { opacity: .9; } 20% { opacity: .62; } 34% { opacity: 1; }
  47% { opacity: .7; } 58% { opacity: .95; } 71% { opacity: .58; } 85% { opacity: .85; } }
.fx-smoke { position: absolute; width: 42%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(235,230,225,.18), rgba(235,230,225,0) 65%);
  filter: blur(14px); opacity: 0; animation: fx-smoke 11s linear infinite; }
.fx-smoke.s1 { left: 48%; bottom: 18%; }
.fx-smoke.s2 { left: 66%; bottom: 34%; animation-delay: -4s; animation-duration: 13s; }
.fx-smoke.s3 { left: 22%; bottom: 8%; animation-delay: -8s; animation-duration: 12s; }
@keyframes fx-smoke {
  0% { transform: translate(0, 20%) scale(.6); opacity: 0; }
  20% { opacity: .9; }
  100% { transform: translate(-10%, -85%) scale(1.45); opacity: 0; } }
.fx-embers { position: absolute; inset: 0; }
.fx-embers i { position: absolute; bottom: var(--b, 8%); z-index: 2; width: var(--s); height: var(--s); border-radius: 50%;
  background: #fff1c4; box-shadow: 0 0 4px 2px rgba(255,200,90,.95), 0 0 12px 5px rgba(255,120,20,.8), 0 0 22px 8px rgba(255,60,0,.35);
  opacity: 0; animation: fx-ember var(--d) linear var(--delay) infinite; }
@keyframes fx-ember {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  70% { opacity: .85; }
  100% { transform: translate(var(--x), calc(var(--h) * -1)) scale(.3); opacity: 0; } }
/* Telefonda efekt sadece fotoğraf alanında */
@media (max-width: 759px) { .fx { inset: 0 0 auto 0; aspect-ratio: 16 / 11; } }
/* Bilgisayarda duman: ekran genişliğinden bağımsız boyut, sağ alttaki közün üstünde */
@media (min-width: 760px) {
  .fx-smoke { width: 300px; filter: blur(16px);
    background: radial-gradient(circle, rgba(235,230,225,.34), rgba(235,230,225,0) 65%); }
  .fx-smoke.s1 { left: 60%; bottom: 4%; }
  .fx-smoke.s2 { left: 76%; bottom: 8%; }
  .fx-smoke.s3 { left: 46%; bottom: 2%; }
}
@media (prefers-reduced-motion: reduce) { .fx { display: none; } }

/* ---------- Alt bölüm (yeni) ---------- */
.foot { position: relative; margin-top: 48px; padding: 0 0 0; background: linear-gradient(180deg, var(--bg) 0%, #120c09 100%); overflow: hidden; }
.foot-div { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 6px 0 26px; }
.foot-div::before, .foot-div::after { content: ""; flex: 1; height: 1px; max-width: 520px;
  background: linear-gradient(90deg, transparent, var(--gold)); }
.foot-div::after { background: linear-gradient(90deg, var(--gold), transparent); }
.foot-div span { font-size: 24px; filter: drop-shadow(0 0 8px rgba(255,150,40,.7)); }
.foot-brand { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 26px; }
.foot-brand img { width: 96px; height: 96px; border-radius: 22px; }
.foot-name { display: flex; flex-direction: column; padding-left: 18px; border-left: 1px solid rgba(216,173,85,.45); }
.foot-name b { font-family: var(--font-display); font-size: 36px; line-height: 1; letter-spacing: .5px; }
.foot-name b em { font-style: normal; color: var(--gold); }
.foot-name span { font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--gold2); margin-top: 6px; padding-bottom: 6px;
  background: linear-gradient(90deg, transparent, var(--red), transparent) bottom / 100% 2px no-repeat; }
.foot-cards { display: grid; gap: 12px; }
@media (min-width: 760px) { .foot-cards { grid-template-columns: 1.15fr 1fr 1fr; } }
.fcard { background: linear-gradient(180deg, rgba(34,26,22,.9), rgba(20,15,12,.9)); border: 1px solid rgba(216,173,85,.38); border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; box-shadow: inset 0 1px 0 rgba(255,220,150,.06); }
.fcard h5 { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; color: var(--text); }
.fcard h5 i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 16px; background: var(--red); box-shadow: 0 0 0 3px rgba(196,41,30,.2); }
.fcard p { margin: 0; color: #d6c9bb; }
.fcard .hours { font-size: 22px; font-weight: 800; color: var(--gold); }
.fcard-link { margin-top: auto; padding-top: 10px; border-top: 1px solid rgba(216,173,85,.25); color: var(--gold); text-decoration: none; font-weight: 700; }
.fcard-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid rgba(216,173,85,.25); color: var(--muted); font-size: 14px; }
.fcard-foot a { color: var(--gold); text-decoration: none; font-weight: 700; }
.phone { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 14px; border: 1px solid rgba(216,173,85,.6); color: var(--gold); font-weight: 800; font-size: 18px; text-decoration: none; background: rgba(216,173,85,.05); }
.phone:active { background: rgba(216,173,85,.15); }
.foot-cta { margin-top: 18px; justify-content: space-between; min-height: 60px; font-size: 18px; border-radius: 16px; }
.foot-skewer { text-align: center; margin: 22px 0 -18px; line-height: 0; position: relative; z-index: 1; filter: drop-shadow(0 0 10px rgba(255,140,40,.6)); }
.foot-koz { height: 150px; background: url('/img/site/koz.webp') center bottom / cover no-repeat; position: relative;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%); mask-image: linear-gradient(180deg, transparent 0%, #000 35%);
  animation: koz-glow 3.2s ease-in-out infinite; }
@keyframes koz-glow { 0%,100% { filter: brightness(.9); } 50% { filter: brightness(1.15) saturate(1.1); } }
@media (min-width: 760px) { .foot-koz { height: 200px; } }
@media (max-width: 480px) { .foot-brand img { width: 76px; height: 76px; } .foot-name b { font-size: 30px; } .foot-name span { font-size: 17px; } .foot-name { padding-left: 14px; } }
@media (prefers-reduced-motion: reduce) { .foot-koz { animation: none; } }

/* ---------- Tanıtım alanı: başlık + masaüstü yerleşimi ---------- */
.hero-eyebrow { margin-top: 14px; font-size: 12px; font-weight: 800; letter-spacing: 3px; color: var(--gold); }
.hero h1 { font-size: 40px; line-height: 1.05; margin: 6px 0 8px; letter-spacing: .3px; }
.hero h1 b { display: block; }
@media (min-width: 760px) {
  .hero { align-items: center; min-height: 560px; }
  .hero::after { background:
      linear-gradient(90deg, rgba(13,10,9,.94) 0%, rgba(13,10,9,.86) 42%, rgba(13,10,9,.35) 62%, rgba(13,10,9,0) 80%),
      linear-gradient(180deg, rgba(13,10,9,0) 70%, var(--bg) 100%); }
  .hero .wrap { max-width: 760px; width: 100%; padding: 40px 16px; }
  .hero .wrap > * { max-width: 470px; }
  .hero h1 { font-size: 52px; }
  .hero .cta { max-width: 420px; }
  .hero img.bg { object-position: 65% 55%; }
}
@media (min-width: 1100px) { .hero h1 { font-size: 58px; } }

/* ---------- Ana sayfa: geniş ekranlarda daha geniş içerik ---------- */
@media (min-width: 860px) {
  .home .wrap, .home .hero .wrap { max-width: 1120px; }
  .home .hero .wrap > * { max-width: 500px; }
  .home .cats { grid-auto-columns: calc((100% - 60px) / 6); }
  .home .feat { gap: 16px; }
  .home .usta { grid-template-columns: 1fr 1.1fr; }
  .home .usta .txt { padding: 32px 40px; }
  .home .usta h2 { font-size: 34px; }
  .home .usta p { font-size: 17px; }
}

/* ---------- Sipariş ekranı: geniş ekran düzeni ---------- */
.cart-panel { display: none; }
@media (min-width: 860px) {
  .order .wrap { max-width: 1120px; }
  .order .order-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
  .order .cartbar { display: none !important; }
  /* Ürünler kart dizilimi */
  .order .menu-group { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; background: none; border: 0; padding: 0; }
  .order .mitem { grid-template-columns: 1fr; gap: 0; padding: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--card); align-items: stretch; transition: border-color .15s, transform .15s; }
  .order .mitem:last-child { border-bottom: 1px solid var(--line); }
  .order .mitem:hover { border-color: rgba(216,173,85,.5); transform: translateY(-2px); }
  .order .mitem .img { border-radius: 0; aspect-ratio: 4 / 3; }
  .order .mitem .info { padding: 12px 14px 14px; flex: 1; }
  .order .mitem .bottom { margin-top: auto; padding-top: 8px; }
  .order .menu-intro h1 { font-size: 34px; }
  /* Sepet paneli */
  .cart-panel { display: flex; flex-direction: column; gap: 10px; position: sticky; top: 138px; margin-top: 18px;
    background: linear-gradient(180deg, rgba(34,26,22,.95), rgba(20,15,12,.95)); border: 1px solid rgba(216,173,85,.38); border-radius: 18px; padding: 16px; max-height: calc(100vh - 160px); }
  .cp-head { display: flex; justify-content: space-between; align-items: center; font-size: 17px; }
  #cpLines { overflow-y: auto; min-height: 60px; }
  .cp-line { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .cp-line img { width: 48px; height: 36px; object-fit: cover; border-radius: 8px; }
  .cp-line .nm { font-weight: 700; font-size: 14px; line-height: 1.25; }
  .cp-line .qty button { width: 30px; height: 30px; font-size: 18px; }
  .cp-empty { color: var(--muted); text-align: center; padding: 22px 6px; font-size: 14px; border: 1px dashed var(--line); border-radius: 12px; }
  .cp-total { display: flex; justify-content: space-between; font-size: 20px; font-weight: 800; padding-top: 4px; }
  .cp-total span:last-child { color: var(--gold); }
  .cp-note { margin: 0; text-align: center; }
}
@media (min-width: 1100px) { .order .menu-group { grid-template-columns: repeat(3, 1fr); } }

/* Ödeme yöntemi listesi */
.paylist { display: grid; gap: 8px; }
.paylist input { display: none; }
.paylist label, .pay-soon { display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card2); cursor: pointer; font-weight: 400; }
.paylist .pi { font-size: 22px; width: 28px; text-align: center; }
.paylist b { display: block; font-size: 15px; }
.paylist small { color: var(--muted); font-size: 13px; }
.paylist input:checked + label { border-color: var(--gold); background: rgba(216,173,85,.08); box-shadow: inset 0 0 0 1px var(--gold); }
.paylist input:checked + label b { color: var(--gold); }
.pay-soon { cursor: not-allowed; opacity: .55; }
.pay-soon em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .5px; padding: 3px 9px; border-radius: 999px; background: var(--gold); color: #1b1305; }

/* ---------- Aktif sipariş bandı + Siparişlerim ---------- */
.ob-wrap:empty { display: none; }
.ob-wrap { position: sticky; top: 62px; z-index: 19; padding: 8px 16px; background: rgba(13,10,9,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.order .ob-wrap { position: static; }
.order-banner { max-width: 1088px; margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; text-decoration: none; color: var(--text);
  background: linear-gradient(90deg, rgba(216,173,85,.18), rgba(196,41,30,.14)); border: 1px solid rgba(216,173,85,.5); }
.order-banner + .order-banner { margin-top: 6px; }
.ob-ic { font-size: 20px; animation: ob-pulse 1.8s ease-in-out infinite; }
@keyframes ob-pulse { 50% { transform: scale(1.15); } }
.ob-txt { flex: 1; font-size: 14px; }
.ob-go { color: var(--gold); font-weight: 800; font-size: 14px; white-space: nowrap; }
.my-order.is-active { border-color: rgba(216,173,85,.55); }
.st-pill { font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--card2); white-space: nowrap; }
.st-pill.s-yeni { background: var(--red); color: #fff; } .st-pill.s-hazirlaniyor { background: var(--gold); color: #1b1305; }
.st-pill.s-hazir { background: #a78bfa; color: #160b2e; } .st-pill.s-yolda { background: #3d8bfd; color: #fff; }
.st-pill.s-teslim { background: var(--green); color: #fff; } .st-pill.s-iptal { opacity: .7; }
@media (prefers-reduced-motion: reduce) { .ob-ic { animation: none; } }
/* Dar telefonda üst çubuk: Siparişlerim simgesi varsa "Sipariş Ver" butonu gizlenir */
@media (max-width: 480px) { .topbar .row:has(#myOrdersBtn:not(.hidden)) #orderBtn { display: none; } }

.wa-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(37,211,102,.12); border: 1px solid rgba(37,211,102,.45); color: #6ee59a; font-weight: 700; font-size: 14px; text-decoration: none; }
.infostrip a.wa { border-color: rgba(37,211,102,.45); color: #6ee59a; }

/* ---------- Telefon: üst çubuk taşmasın, sayfa yana kaymasın ---------- */
html, body { overflow-x: clip; max-width: 100%; }
@media (max-width: 560px) {
  .topbar .wrap { gap: 8px; }
  .topbar .wrap > .row { gap: 6px !important; }
  .brand { gap: 8px; font-size: 16px; letter-spacing: 1px; min-width: 0; }
  .brand img { width: 40px; height: 40px; }
  .icon-btn { width: 40px; height: 40px; font-size: 18px; }
  .cartpill { width: 40px; height: 40px; padding: 0; justify-content: center; font-size: 18px; }
  .cartpill .cp-txt { display: none; }
  .cartpill .count { left: auto; right: -6px; top: -6px; }
  .topbar .row:has(#cartPill:not(.hidden)) #orderBtn { display: none; }
}
@media (max-width: 360px) { .brand span { font-size: 15px; } .brand img { width: 34px; height: 34px; } }

.wa-mini { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 999px; background: rgba(37,211,102,.12); border: 1px solid rgba(37,211,102,.5); color: #6ee59a; font-size: 13px; font-weight: 800; letter-spacing: 0; text-transform: none; text-decoration: none; white-space: nowrap; }

/* Duyuru bandı */
.announce { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: linear-gradient(90deg, #7a1c14, #a8281c); color: #fff; font-weight: 700; font-size: 14px; }
.announce .a-txt { flex: 1; }
.announce button { background: none; border: 0; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; opacity: .8; padding: 0 4px; }

.wa-foot { margin: 28px 0 8px; text-align: center; color: var(--muted); font-size: 14px; }
.wa-foot a { color: #6ee59a; font-weight: 700; text-decoration: none; white-space: nowrap; }
