/* =========================================================================
   SEDİR TEKEL — Tasarım Sistemi Temeli (TECH-5719)
   Display: Peralta · Body: Manrope · Tema: dark / light
   Bileşene özel stiller (ticker, hero, harita, footer, chat) kendi issue'larında.
   ========================================================================= */

/* ---------- tokens (tema-bağımsız marka) ---------- */
:root {
  --gold: #d85a17;          /* primary = sıcak turuncu */
  --gold-soft: #e76a22;
  --gold-deep: #ab420b;
  --amber: #ffb02e;          /* vurgu (metin dışı) */
  --green: #1f9d57;          /* secondary = parlak yeşil */
  --green-soft: #2cb968;
  --green-deep: #0e5e36;
  --green-ink: #082c1b;
  --cream: #fff3df;
  --on-accent: #ffffff;
  --on-green: #04240f;

  --font-display: "Peralta", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;

  --maxw: 1240px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);

  --ticker-speed: 38s;
  --rates-speed: 44s;
}

/* dark (varsayılan) — derin orman yeşili */
[data-theme="dark"] {
  --bg: #07140d;
  --bg-2: #0b1f15;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-2: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 244, 223, 0.14);
  --border-strong: rgba(255, 244, 223, 0.26);
  --ink: #02110a;
  --text: #f4efe2;
  --text-soft: #b7c2b4;
  --text-faint: #7f8c7e;
  --glass: rgba(9, 26, 18, 0.6);
  --glass-strong: rgba(9, 26, 18, 0.84);
  --shadow: 0 26px 60px -22px rgba(0, 0, 0, 0.75);
  --hard: 6px 6px 0 var(--ink);
  --hero-glow: radial-gradient(1100px 620px at 80% -10%, rgba(239,90,19,0.30), transparent 58%),
               radial-gradient(950px 560px at 4% 16%, rgba(31,157,87,0.26), transparent 56%);
  --dot: rgba(255,255,255,0.05);
  --map-filter: none;
  color-scheme: dark;
}

/* light — hafif yeşil tonlu temiz beyaz */
[data-theme="light"] {
  --bg: #f4f7f2;
  --bg-2: #eaf1e7;
  --surface: rgba(8, 44, 27, 0.04);
  --surface-2: rgba(8, 44, 27, 0.07);
  --border: rgba(8, 44, 27, 0.14);
  --border-strong: rgba(8, 44, 27, 0.26);
  --ink: #0a2c1b;
  --text: #0f2419;
  --text-soft: #46594d;
  --text-faint: #6f8377;
  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.88);
  --shadow: 0 24px 56px -24px rgba(10, 44, 27, 0.32);
  --hard: 6px 6px 0 var(--ink);
  --hero-glow: radial-gradient(1100px 620px at 80% -10%, rgba(239,90,19,0.20), transparent 58%),
               radial-gradient(950px 560px at 4% 16%, rgba(31,157,87,0.18), transparent 56%);
  --dot: rgba(10,44,27,0.05);
  --map-filter: none;
  color-scheme: light;
}

/* ---------- foundation base ----------
   Not: tema gövdesi `.ds` sınıfıyla kapsanır; böylece eski (Tailwind/jager) sayfalar
   etkilenmeden yeni tasarıma geçen sayfalar `<body class="ds">` kullanır. */
.ds {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  /* `overflow-x: hidden` tarayıcıda overflow-y'yi auto'ya çevirip scroll-container
     oluşturur ve sticky header'ı kırar. `clip` yatay taşmayı keser ama scroll-container
     oluşturmaz → sticky korunur. */
  overflow-x: clip;
  transition: background .5s var(--ease-soft), color .5s var(--ease-soft);
}
.ds *, .ds *::before, .ds *::after { box-sizing: border-box; }

/* grain + ambient glow (yalnızca .ds gövdesinde) */
.ds::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: var(--hero-glow);
  transition: background .5s var(--ease-soft);
}
.ds::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(var(--dot) 1.4px, transparent 1.5px);
  background-size: 16px 16px;
}
.ds main, .ds header, .ds footer, .ds .ticker { position: relative; z-index: 1; }

.ds a:not(.btn) { color: inherit; text-decoration: none; }
/* .btn varyantları kendi yazı rengini korur (turuncu/yeşil zeminde beyaz okunur) */
.ds a.btn { text-decoration: none; }
.ds img { max-width: 100%; display: block; }

.ds h1, .ds h2, .ds h3, .ds .display {
  font-family: var(--font-display); font-weight: 400; line-height: 1.04; letter-spacing: .2px;
  margin: 0;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }

.kicker {
  font-family: var(--font-body);
  font-weight: 700; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-soft);
  display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--gold); opacity: .7; }
.gold-text { color: var(--gold-soft); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--gold); color: #fff; font-weight: 800; font-family: var(--font-body);
  padding: 10px 18px; border-radius: 0 0 12px 12px; border: 2px solid var(--ink);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; outline: 3px solid #fff; outline-offset: 2px; }

/* ---------- primitives: pill (dil/tema seçici) ---------- */
.pill-group {
  display: flex; align-items: center; gap: 2px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 3px; backdrop-filter: blur(8px);
}
.pill {
  border: 0; cursor: pointer; font-family: var(--font-body);
  font-weight: 700; font-size: .78rem; color: var(--text-soft);
  padding: 7px 12px; border-radius: 999px; background: transparent;
  transition: color .25s, background .25s; line-height: 1;
  display: inline-flex; align-items: center; gap: 6px;
}
.pill.is-active { background: var(--glass-strong); color: var(--text); box-shadow: 0 2px 8px -3px rgba(0,0,0,.4); }
.pill svg { width: 15px; height: 15px; }
.pill--flag { padding: 5px 9px; opacity: .55; filter: saturate(.85); transition: opacity .25s, transform .2s, filter .25s; }
.pill--flag svg { width: 27px; height: 18px; border-radius: 4px; display: block; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.pill--flag.is-active { opacity: 1; filter: none; background: var(--glass-strong); box-shadow: 0 2px 8px -3px rgba(0,0,0,.4); }
.pill--flag:hover { opacity: 1; transform: translateY(-1px); }

/* ---------- primitives: btn (neo-brutalist) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 700; font-size: .92rem;
  border: 0; cursor: pointer; border-radius: 999px; padding: 13px 22px;
  transition: transform .2s var(--ease), box-shadow .25s, background .25s, filter .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: linear-gradient(140deg, var(--gold-soft), var(--gold-deep));
  color: var(--on-accent); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
}
.btn--primary:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.btn--ghost { background: var(--surface-2); color: var(--text); border: 2px solid var(--border-strong); }
.btn--ghost:hover { transform: translate(-2px,-2px); background: var(--surface); box-shadow: 4px 4px 0 var(--ink); }
.btn--wa { background: #25D366; color: #04321a; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn--wa:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
/* Mağaza kapalıyken sipariş (data-order) butonu devre dışı görünür (tıklayınca uyarı çıkar) */
.btn.is-disabled { opacity: .5; filter: grayscale(.45); cursor: not-allowed; }
.btn.is-disabled:hover { transform: none; box-shadow: 4px 4px 0 var(--ink); }
/* Mağaza kapalı uyarı toast'ı (order.js) */
.order-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(150%);
  z-index: 200; max-width: min(92vw, 460px); display: flex; align-items: center; gap: 11px;
  background: var(--glass-strong); color: var(--text); border: 2px solid var(--ink);
  border-radius: 14px; box-shadow: var(--hard); backdrop-filter: blur(14px);
  padding: 13px 18px; font-weight: 700; font-size: .92rem; line-height: 1.4;
  opacity: 0; pointer-events: none; transition: transform .32s var(--ease), opacity .3s;
}
.order-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: auto; }
.order-toast svg { width: 22px; height: 22px; flex: none; color: var(--gold-soft); }
.btn:active { transform: translate(0,0) scale(.98); box-shadow: 2px 2px 0 var(--ink); }
.btn--lg { padding: 17px 30px; font-size: 1.02rem; }

/* ---------- primitive: card (neo-brutalist) ---------- */
.card {
  background: var(--surface); border: 2px solid var(--ink);
  border-radius: var(--r-md); box-shadow: var(--hard);
}

/* ============================ TICKER (üst & alt) — TECH-5720 ============================ */
.ticker {
  background: linear-gradient(90deg, var(--gold-deep), var(--gold) 50%, var(--gold-deep));
  color: var(--on-accent);
  overflow: hidden;
  border-block: 2px solid var(--ink);
  position: relative;
}
.ticker--top { position: sticky; top: 0; z-index: 60; }
.ticker__track {
  display: flex; width: max-content; gap: 0;
  animation: marquee var(--ticker-speed) linear infinite;
  will-change: transform;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  font-weight: 800; font-size: .8rem; letter-spacing: .04em;
  padding: 9px 0; white-space: nowrap; display: inline-flex; align-items: center;
}
.ticker__item::after { content: "•"; margin: 0 26px; opacity: .55; font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================ HEADER — TECH-5720 ============================ */
.site-header { position: sticky; top: 36px; z-index: 55; padding-top: 16px; }
.headbar {
  position: relative; /* mini-clock'un (navbar ortası) konum referansı */
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 12px 16px 12px 22px;
  background: var(--glass);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand__mark {
  width: 46px; height: 46px; flex: none; border-radius: 13px;
  display: block; overflow: visible; box-shadow: 3px 3px 0 var(--ink);
}
.brand__mark svg { width: 100%; height: 100%; display: block; }
.brand__text { min-width: 0; }
.brand__name { font-family: var(--font-display); font-size: 1.45rem; letter-spacing: .5px; line-height: 1; }
.brand__name .gold-text { color: var(--gold-soft); }
.brand__status { display: flex; align-items: center; gap: 8px; margin-top: 5px; font-size: .76rem; color: var(--text-soft); font-weight: 600; }

.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; position: relative; background: #7a7a7a; }
.dot--open { background: #46c46a; box-shadow: 0 0 0 0 rgba(70,196,106,.6); animation: pulse 2.2s infinite; }
.dot--closed { background: #e0584f; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(70,196,106,.55); }
  70% { box-shadow: 0 0 0 9px rgba(70,196,106,0); }
  100% { box-shadow: 0 0 0 0 rgba(70,196,106,0); }
}

.head-actions { display: flex; align-items: center; gap: 10px; }
.pill--flag img { width: 27px; height: 18px; border-radius: 4px; display: block; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.head-order { /* btn--primary varyantı */ }

@media (max-width: 720px) {
  .head-order__label { display: none; }
  .head-order { padding: 13px 15px; }
}
/* `.ds header { position:relative; z-index:1 }` (foundation) hem z-index'i hem de
   `.site-header`'ın `position: sticky`'sini override ediyordu (specificity 0,1,1 > 0,1,0);
   daha spesifik kuralla header'ı yapışkan (scroll'da üstte) ve içeriğin üstünde tut. */
.ds .site-header { position: sticky; top: 36px; z-index: 56; }

/* Mobil dil+tema dropdown — masaüstünde gizli, mobilde tek dokunuşla açılır menü */
.head-menu { display: none; position: relative; }
.head-menu > summary { list-style: none; cursor: pointer; }
.head-menu > summary::-webkit-details-marker { display: none; }
.head-menu__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-soft);
  backdrop-filter: blur(8px); transition: color .2s, background .2s;
}
.head-menu__btn svg { width: 19px; height: 19px; }
.head-menu[open] .head-menu__btn { color: var(--text); background: var(--glass-strong); }
.head-menu__panel {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 60;
  padding: 10px; display: flex; flex-direction: column; gap: 8px;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 20px 44px -14px rgba(0,0,0,.55); backdrop-filter: blur(16px);
  animation: headMenuIn .18s var(--ease);
}
@keyframes headMenuIn { from { opacity: 0; transform: translateY(-6px); } }
/* Mobil panel: yalnızca bayraklar + tema ikonları (metin etiketi yok) */
.head-menu__panel .pill-group { justify-content: center; }
.head-menu__panel .pill--flag { opacity: 1; filter: none; }

@media (max-width: 560px) {
  .headbar { padding: 10px 14px; gap: 12px; }
  .brand__name { font-size: 1.18rem; }
  /* Mobilde marka durumu tamamen gizlenir → marka tek satır, header belirgin ferahlar
     (açık/kapalı bilgisi gövdedeki hero/oran bandında zaten gösterilir) */
  .brand__status { display: none; }
  .head-actions { gap: 10px; }
  /* Masaüstü pill grupları gizlenir, tek menü butonu gösterilir */
  .pill-group--desktop { display: none; }
  .head-menu { display: block; }
}

/* ============================ SECTIONS ============================ */
section.block { padding: clamp(56px, 9vh, 104px) 0; }
.block__head { max-width: 720px; margin-bottom: 40px; }
.block__title { font-size: clamp(2rem, 4vw, 3rem); margin: 14px 0 0; }
.block__sub { color: var(--text-soft); font-size: 1.08rem; margin: 14px 0 0; }

/* ============================ HERO — TECH-5721 ============================ */
.hero { padding: clamp(48px, 8vh, 96px) 0 clamp(40px, 6vh, 72px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__title { font-size: clamp(2.6rem, 6vw, 4.6rem); margin: 18px 0 0; white-space: pre-line; }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--text-soft); max-width: 30ch; margin: 22px 0 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__meta { display: flex; gap: 26px; margin-top: 30px; flex-wrap: wrap; }
.hero__meta-item { display: flex; flex-direction: column; gap: 2px; }
.hero__meta-item b { font-family: var(--font-display); font-size: 1.5rem; color: var(--text); }
.hero__meta-item span { font-size: .82rem; color: var(--text-faint); }

/* canlı saat kartı */
.hero__clock {
  margin-top: 28px; display: inline-flex; flex-direction: column; gap: 4px;
  padding: 16px 22px; border-radius: var(--r-md);
  background: var(--glass-strong); border: 2px solid var(--ink); box-shadow: var(--hard);
  backdrop-filter: blur(12px);
}
.hero__clock-time { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 3.4rem); line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.hero__clock-time #hcTime { color: var(--gold-soft); }
.hero__clock-meta { display: flex; align-items: center; gap: 12px; font-size: .82rem; color: var(--text-soft); font-weight: 700; }
.hero__clock-status { display: inline-flex; align-items: center; gap: 6px; }
.hero__clock-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--text-faint); }
.hero__clock-status.is-open::before { background: #2cb968; box-shadow: 0 0 0 0 rgba(44,185,104,.6); animation: pulse 2.2s infinite; }
.hero__clock-status.is-closed::before { background: #e0584f; }

/* sticky mini saat — SiteHeader içinde, navbar'ın (headbar) tam ortasında.
   Eskiden Hero içindeydi; `.ds main { z-index:1 }` stacking context'i yüzünden
   header'ın (z-index 56) arkasında kalıp hiç görünmüyordu. */
.mini-clock {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) translateY(-180%);
  z-index: 5; display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px; border-radius: 999px;
  background: var(--glass-strong); border: 2px solid var(--ink); box-shadow: var(--hard);
  backdrop-filter: blur(14px); font-weight: 800; font-size: .92rem;
  opacity: 0; pointer-events: none; transition: transform .35s var(--ease), opacity .3s;
}
.mini-clock.show { transform: translate(-50%, -50%) !important; opacity: 1 !important; pointer-events: auto; }
.mini-clock__time { font-variant-numeric: tabular-nums; color: var(--gold-soft); letter-spacing: .5px; }
.mini-clock__status { font-size: .78rem; color: var(--text-soft); }
.mini-clock__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--text-faint); flex: none; }
.mini-clock__dot.is-open { background: #2cb968; box-shadow: 0 0 0 0 rgba(44,185,104,.6); animation: pulse 2.2s infinite; }
.mini-clock__dot.is-closed { background: #e0584f; }

/* floating ürün kolajı */
.hero__art { position: relative; aspect-ratio: 1 / 1.02; }
.collage-card {
  position: absolute; border-radius: var(--r-md); overflow: hidden;
  border: 2px solid var(--ink); background: var(--surface-2); box-shadow: var(--hard);
  animation: float 7s var(--ease-soft) infinite;
}
.collage-card .ph { width: 100%; height: 100%; position: absolute; inset: 0; }
.collage-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.cc1 { width: 54%; height: 60%; left: 0; top: 6%; animation-delay: 0s; z-index: 2; }
.cc2 { width: 46%; height: 50%; right: 0; top: 0; animation-delay: -2.3s; z-index: 3; }
.cc3 { width: 50%; height: 46%; right: 4%; bottom: 0; animation-delay: -4.6s; z-index: 2; }
.cc4 { width: 38%; height: 34%; left: 8%; bottom: 4%; animation-delay: -1.2s; z-index: 4; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero__badge {
  position: absolute; z-index: 5; left: -8px; top: 42%;
  background: var(--glass-strong); backdrop-filter: blur(14px);
  border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 12px 16px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px;
}
.hero__badge b { font-family: var(--font-display); font-size: 1.3rem; color: var(--gold-soft); }
.hero__badge span { font-size: .78rem; color: var(--text-soft); }

/* striped placeholder görseller */
.ph {
  background:
    repeating-linear-gradient(135deg, rgba(239,90,19,.16) 0 13px, rgba(31,157,87,.13) 13px 26px),
    linear-gradient(160deg, var(--surface-2), var(--surface));
  display: grid; place-items: center; position: relative;
}
.ph__label {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-faint); background: var(--glass);
  padding: 5px 9px; border-radius: 6px; border: 1px solid var(--border);
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 460px; margin: 8px auto 0; width: 100%; }
}
@media (max-width: 560px) {
  .hero__meta { gap: 18px; }
  .hero__clock { width: 100%; }
  .hero__clock-time { font-size: clamp(2.2rem, 11vw, 3rem); }
  /* mobil: navbar ortasında yalnızca saat + durum noktası (yazı sığmaz) */
  .mini-clock { font-size: .82rem; padding: 7px 11px; gap: 7px; }
  .mini-clock__status { display: none; }
}

/* ============== MESAİ DURUMU GÖRÜNÜRLÜK ANAHTARLARI ==============
   body.store-closed → [data-when-open] gizlenir, [data-when-closed] görünür.
   SSR ilk durumu App.razor'da basar; clock.js flip anında canlı değiştirir. */
.ds [data-when-closed] { display: none; }
body.store-closed .ds [data-when-closed] { display: flex; }
body.store-closed .ds [data-when-open] { display: none !important; }

/* hero mesai dışı uyarısı (CTA butonlarının yerine geçer) */
.hero__closed {
  align-items: center; gap: 14px; margin-top: 26px;
  padding: 16px 20px; border-radius: var(--r-md); max-width: 560px;
  background: rgba(224,88,79,.10); border: 2px solid #e0584f; box-shadow: var(--hard);
}
.hero__closed svg { width: 30px; height: 30px; flex: none; color: #e0584f; }
.hero__closed > div { display: flex; flex-direction: column; gap: 3px; }
.hero__closed b { font-size: 1rem; color: var(--text); }
.hero__closed span { font-size: .88rem; color: var(--text-soft); line-height: 1.5; }

/* footer mesai dışı uyarısı (tel/WhatsApp linklerinin yerine geçer) */
.foot-closed {
  flex-direction: column; gap: 9px; align-items: flex-start;
  padding: 13px 15px; border-radius: var(--r-sm);
  background: rgba(224,88,79,.08); border: 1.5px solid rgba(224,88,79,.5);
}
.foot-closed svg { width: 20px; height: 20px; color: #e0584f; }
.foot-closed p { margin: 0; font-size: .85rem; color: var(--text-soft); line-height: 1.5; }
.foot-closed a { color: var(--gold-soft); font-weight: 700; font-size: .85rem; }

/* ============================ REYONLAR / ÜRÜNLER — TECH-5722 ============================ */
.menu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.prod {
  position: relative; border-radius: var(--r-md); overflow: hidden;
  border: 2px solid var(--ink); background: var(--surface);
  transition: transform .3s var(--ease), box-shadow .3s;
  aspect-ratio: 1 / 1.12;
}
.prod:hover { transform: translate(-4px,-4px); box-shadow: var(--hard); }
.prod__img { position: absolute; inset: 0; }
.prod__img > * { position: absolute; inset: 0; }
.prod__img img { width: 100%; height: 100%; object-fit: cover; }
.prod__glow { position: absolute; inset: 0; opacity: .5; mix-blend-mode: screen; pointer-events: none; }
.prod__body {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px;
  background: linear-gradient(to top, rgba(8,7,5,.92), rgba(8,7,5,.55) 55%, transparent);
}
[data-theme="light"] .prod__body { background: linear-gradient(to top, rgba(20,16,8,.86), rgba(20,16,8,.4) 55%, transparent); }
.prod__name { font-family: var(--font-display); font-size: 1.18rem; color: #fff; }
.prod__desc { font-size: .82rem; color: rgba(255,255,255,.78); margin-top: 3px; }
.prod__tag {
  position: absolute; top: 12px; left: 12px; width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center;
  color: var(--ink); border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink);
}
.prod__tag svg { width: 22px; height: 22px; }
.menu-note { margin-top: 22px; font-size: .82rem; color: var(--text-faint); }

@media (max-width: 960px) { .menu-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .menu-grid { grid-template-columns: 1fr 1fr; gap: 12px; } }

/* ============================ TESLİMAT HARİTASI — TECH-5723 ============================ */
.map-shell { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; align-items: stretch; }
#map {
  height: 460px; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border-strong); box-shadow: var(--shadow); background: var(--surface);
}
.leaflet-popup-content-wrapper {
  border-radius: 12px !important;
  background: var(--glass-strong) !important; color: var(--text) !important;
  border: 2px solid var(--ink); box-shadow: var(--hard); backdrop-filter: blur(12px);
}
.leaflet-popup-tip { background: var(--glass-strong) !important; border: 2px solid var(--ink); }
.leaflet-popup-close-button { color: var(--text-soft) !important; }
.leaflet-popup-content { margin: 0 !important; }

.sedir-tip.leaflet-tooltip {
  background: var(--glass-strong); color: var(--text); border: 2px solid var(--ink);
  border-radius: 14px; box-shadow: var(--hard); padding: 0;
  font-family: var(--font-body); backdrop-filter: blur(12px);
}
.sedir-tip.leaflet-tooltip::before { display: none; }
.sedir-tip .tip { padding: 12px 14px; min-width: 150px; }
.tip__title { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.1; margin-bottom: 8px; color: var(--text); }
.tip__row { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--text-soft); }
.tip__row svg { width: 16px; height: 16px; color: var(--gold-soft); flex: none; }
.tip__row b { color: var(--gold-soft); font-size: 1rem; font-family: var(--font-display); margin-right: 2px; }
.tip__row--shop svg { color: var(--green-soft); }
.leaflet-popup-content .tip { min-width: 150px; }

.region-list { display: flex; flex-direction: column; gap: 10px; max-height: 460px; overflow-y: auto; }
.region {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 15px 18px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .25s var(--ease), border-color .25s, background .25s; cursor: pointer;
}
.region:hover { transform: translateX(4px); border-color: var(--green); background: var(--surface-2); box-shadow: -3px 3px 0 var(--ink); }
.region__name { font-weight: 700; }
.region__time { display: flex; align-items: baseline; gap: 4px; }
.region__time b { font-family: var(--font-display); font-size: 1.5rem; color: var(--green-soft); }
.region__time span { font-size: .78rem; color: var(--text-faint); }

@media (max-width: 960px) { .map-shell { grid-template-columns: 1fr; } .region-list { max-height: none; } }

/* ============================ ÖDEME YÖNTEMLERİ — TECH-5724 ============================ */
.pay-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.pay-card {
  flex: 1 1 140px; min-width: 130px; height: 78px; border-radius: var(--r-md);
  border: 2px solid var(--ink); background: #fff;
  display: grid; place-items: center; padding: 14px;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.pay-card:hover { transform: translate(-3px,-3px); box-shadow: 5px 5px 0 var(--ink); }
.pay-card svg, .pay-card img { height: 38px; width: auto; max-width: 100%; }
.pay-card__name { font-weight: 800; font-size: 1rem; letter-spacing: .02em; color: #15233a; }
.pay-card--cash { gap: 6px; flex-direction: column; }
.pay-card--cash svg { color: #15814f; height: 26px; }
.pay-card--cash span { font-weight: 800; font-size: .82rem; color: #0f2419; }

/* ============================ DÖVİZ / ALTIN BANDI — TECH-5724 ============================ */
.rates { background: var(--bg-2); border-block: 1px solid var(--border); overflow: hidden; position: relative; }
.rates__label {
  position: absolute; left: 0; top: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; gap: 8px; padding: 0 20px;
  background: var(--bg-2); border-right: 1px solid var(--border);
  font-weight: 800; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-soft);
}
.rates__track { display: flex; width: max-content; gap: 0; padding: 14px 0; animation: marquee var(--rates-speed) linear infinite; }
.rates:hover .rates__track { animation-play-state: paused; }
.rate { display: inline-flex; align-items: baseline; gap: 9px; padding: 0 32px; white-space: nowrap; border-right: 1px solid var(--border); }
.rate__pair { font-weight: 700; color: var(--text-soft); font-size: .9rem; }
.rate__val { font-family: var(--font-display); font-size: 1.05rem; color: var(--text); }
.rate__cur { font-size: .78rem; color: var(--text-faint); }
.rate__tr { display: inline-flex; align-items: center; margin-left: 4px; }
.rate__tr svg { width: 15px; height: 15px; }
.rate__tr--up { color: #2cb968; }
.rate__tr--down { color: #e0584f; }
.rate__tr--stable { color: var(--text-faint); }

/* ============================ FOOTER — TECH-5725 ============================ */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 64px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.foot-brand .brand__name { font-size: 1.8rem; font-family: var(--font-display); line-height: 1; }
.foot-brand .brand__name .gold-text { color: var(--gold-soft); }
.foot-lockup { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.foot-lockup .brand__mark { width: 44px; height: 44px; flex: none; border-radius: 13px; box-shadow: 3px 3px 0 var(--ink); }
.foot-lockup .brand__mark svg { width: 100%; height: 100%; display: block; }
.foot-brand p { color: var(--text-soft); margin: 16px 0 0; max-width: 32ch; }
.foot-col h4 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); margin: 0 0 16px; font-family: var(--font-body); font-weight: 800; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.foot-col li { color: var(--text-soft); font-size: .92rem; display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.foot-col li .d { color: var(--text-faint); }
.foot-col li b { font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.foot-col li.now b { color: var(--gold-soft); }
.foot-contact a { color: var(--text); font-weight: 700; }
.foot-legal { font-size: .82rem; color: var(--text-faint); line-height: 1.7; }
.foot-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center;
  font-size: .82rem; color: var(--text-faint);
}
.foot-credit { display: inline-flex; align-items: center; gap: 9px; color: var(--text-faint); transition: opacity .2s; }
.foot-credit:hover { opacity: .75; }
.foot-credit__logo { height: 40px; width: auto; display: block; }
[data-theme="light"] .foot-credit__logo { filter: invert(1) brightness(.4); }

@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* ============================ CANLI DESTEK CHAT — TECH-5726 ============================ */
.chat-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px 14px 16px; border: 2px solid var(--ink); cursor: pointer;
  border-radius: 999px; font-family: var(--font-body); font-weight: 800;
  background: linear-gradient(140deg, var(--gold-soft), var(--gold-deep)); color: var(--on-accent);
  box-shadow: 4px 4px 0 var(--ink); transition: transform .25s var(--ease), box-shadow .25s;
}
.chat-fab:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.chat-fab svg { width: 22px; height: 22px; }
.chat-fab.is-hidden { transform: scale(.6); opacity: 0; pointer-events: none; }
.chat-fab.has-unread::after { content: ""; position: absolute; top: -3px; right: -3px; width: 16px; height: 16px; border-radius: 50%; background: #e0584f; border: 2px solid var(--bg); box-shadow: 0 0 0 0 rgba(224,88,79,.6); animation: pulse 1.8s infinite; }

.chat-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 71;
  width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 100px));
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid var(--border);
  background: var(--glass-strong); backdrop-filter: blur(26px) saturate(160%);
  -webkit-backdrop-filter: blur(26px) saturate(160%);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.6);
  transform: translateY(20px) scale(.96); opacity: 0; pointer-events: none;
  transform-origin: bottom right; transition: transform .35s var(--ease), opacity .3s;
}
.chat-panel.is-open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border); background: var(--surface); }
.chat-head .brand__mark { width: 38px; height: 38px; flex: none; border-radius: 11px; box-shadow: 3px 3px 0 var(--ink); }
.chat-head .brand__mark svg { width: 100%; height: 100%; display: block; }
.chat-head h5 { margin: 0; font-family: var(--font-display); font-size: 1.02rem; }
.chat-head p { margin: 2px 0 0; font-size: .72rem; color: var(--text-soft); }
.chat-head .chat-close { margin-left: auto; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); border-radius: 9px; width: 32px; height: 32px; cursor: pointer; font-size: 1.1rem; line-height: 1; }
.chat-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 82%; padding: 11px 14px; border-radius: 16px; font-size: .9rem; line-height: 1.45; }
.msg--bot { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--border); border-bottom-left-radius: 5px; }
.msg--me { align-self: flex-end; background: linear-gradient(140deg, var(--gold-soft), var(--gold-deep)); color: var(--on-accent); border-bottom-right-radius: 5px; font-weight: 600; }
.msg--admin { align-self: stretch; background: rgba(31,157,87,.16); border: 1px solid var(--green-soft); border-bottom-left-radius: 5px; color: var(--text); }
.msg-lab { font-size: .64rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--green-soft); padding-left: 4px; display: inline-flex; align-items: center; gap: 5px; margin-bottom: 3px; }
.msg-lab::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green-soft); box-shadow: 0 0 0 0 rgba(44,185,104,.6); animation: pulse 2.2s infinite; }
.msg--typing { display: inline-flex; gap: 4px; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-faint); animation: blink 1.2s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .2s; }
.msg--typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,60%,100% { opacity: .3; } 30% { opacity: 1; } }
.chat-foot { padding: 12px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }

/* ön-form (KVKK / onay) */
.chat-form { display: flex; flex-direction: column; gap: 11px; padding: 16px; overflow-y: auto; }
.chat-form__intro { margin: 0 0 2px; font-size: .88rem; color: var(--text-soft); }
.chat-field { display: flex; flex-direction: column; gap: 5px; }
.chat-field > span { font-size: .76rem; font-weight: 700; color: var(--text-soft); }
.chat-field input, .chat-field textarea {
  background: var(--surface-2); border: 2px solid var(--border); color: var(--text);
  border-radius: var(--r-sm); padding: 10px 12px; font-family: var(--font-body); font-size: .92rem; outline: none;
  transition: border-color .2s; resize: vertical;
}
.chat-field input:focus, .chat-field textarea:focus { border-color: var(--gold); }
.chat-field textarea { min-height: 44px; max-height: 160px; }
.chat-consent { display: flex; align-items: flex-start; gap: 9px; font-size: .76rem; color: var(--text-soft); line-height: 1.45; cursor: pointer; }
.chat-consent input { width: 18px; height: 18px; flex: none; margin-top: 1px; accent-color: var(--gold); cursor: pointer; }
.chat-legal { font-size: .74rem; color: var(--text-faint); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 0 12px; }
.chat-legal summary { cursor: pointer; padding: 9px 0; font-weight: 700; color: var(--text-soft); }
.chat-legal[open] summary { border-bottom: 1px solid var(--border); }
.chat-legal p { margin: 10px 0; line-height: 1.55; }
.chat-connect { margin-top: 4px; width: 100%; }
.chat-form__err { margin: 0; font-size: .8rem; font-weight: 700; color: #ff6b6b; }

/* thread giriş + araçlar */
.chat-input { display: flex; gap: 8px; align-items: center; }
.chat-input input { flex: 1; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); border-radius: 999px; padding: 11px 16px; font-family: var(--font-body); font-size: .9rem; outline: none; }
.chat-input input:focus { border-color: var(--gold); }
.chat-input button { width: 42px; height: 42px; flex: none; border-radius: 50%; border: 0; cursor: pointer; background: var(--gold-soft); color: #1a1407; display: grid; place-items: center; }
.chat-input button svg { width: 18px; height: 18px; }
.chat-input .chat-tool { width: 38px; height: 38px; background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
.chat-input .chat-tool:hover { border-color: var(--gold); color: var(--gold-soft); }
.msg--rich { padding: 6px; background: var(--surface-2); }
.msg--me.msg--rich { background: linear-gradient(140deg, var(--gold-soft), var(--gold-deep)); }
.msg-loc { display: flex; align-items: center; gap: 10px; padding: 6px 8px; text-decoration: none; color: inherit; }
.msg-loc__pin { width: 38px; height: 38px; flex: none; border-radius: 9px; background: rgba(255,255,255,.2); display: grid; place-items: center; }
.msg-loc__pin svg { width: 20px; height: 20px; }
.msg-loc__txt { display: flex; flex-direction: column; line-height: 1.2; }
.msg-loc__txt small { opacity: .8; font-size: .72rem; font-variant-numeric: tabular-nums; }
.msg-imgs { display: flex; gap: 5px; flex-wrap: wrap; }
.msg-imgs img { width: 110px; height: 110px; object-fit: cover; border-radius: 9px; display: block; }
.chat-wa { font-size: .8rem; }

/* Sohbet içi "Sipariş Ver" (bilgiler kurye+iletişim için paylaşılır) */
.chat-order { font-size: .82rem; justify-content: center; }
.chat-order:disabled { opacity: .6; cursor: default; box-shadow: 2px 2px 0 var(--ink); transform: none; }

/* Mağaza kapalı / canlı destek devre dışı */
.chat-closed { text-align: center; padding: 22px 10px 8px; color: var(--text-soft); }
.chat-closed svg { width: 44px; height: 44px; color: var(--gold-soft); margin-bottom: 8px; }
.chat-closed h6 { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; margin: 0 0 8px; color: var(--text); }
.chat-closed p { margin: 0 0 6px; font-size: .88rem; line-height: 1.5; }
.chat-closed__next { font-weight: 700; color: var(--gold-soft); }

/* ============================ COUNTRY-CODE PICKER + KONUM MODALI — TECH-5727 ============================ */
.phone-group { position: relative; display: flex; gap: 8px; }
.cc-btn {
  display: flex; align-items: center; gap: 6px; flex: none; cursor: pointer;
  background: var(--surface-2); border: 2px solid var(--border); color: var(--text);
  border-radius: var(--r-sm); padding: 0 10px; font-family: var(--font-body); font-weight: 700; font-size: .9rem;
  transition: border-color .2s;
}
.cc-btn:hover { border-color: var(--gold); }
.cc-flag { width: 26px; height: 17px; border-radius: 4px; overflow: hidden; display: block; box-shadow: 0 0 0 1px rgba(0,0,0,.12); flex: none; }
.cc-flag img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-dial { font-variant-numeric: tabular-nums; }
.cc-caret { width: 14px; height: 14px; color: var(--text-faint); }
.phone-group > .cc-num {
  flex: 1; min-width: 0;
  background: var(--surface-2); border: 2px solid var(--border); color: var(--text);
  border-radius: var(--r-sm); padding: 10px 12px; font-family: var(--font-body); font-size: .92rem; outline: none;
  transition: border-color .2s;
}
.phone-group > .cc-num:focus { border-color: var(--gold); }
.cc-pop {
  position: absolute; left: 0; top: calc(100% + 6px); z-index: 30; width: min(320px, 100%);
  background: var(--glass-strong); backdrop-filter: blur(20px);
  border: 2px solid var(--ink); border-radius: var(--r-md); box-shadow: var(--hard); overflow: hidden;
}
.cc-pop[hidden] { display: none; }
.cc-search { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.cc-search svg { width: 15px; height: 15px; color: var(--text-faint); flex: none; }
.cc-search input { flex: 1; border: 0; background: transparent; color: var(--text); font-size: .88rem; outline: none; padding: 0; }
.cc-list { max-height: 220px; overflow-y: auto; padding: 6px; display: flex; flex-direction: column; gap: 2px; }
.cc-opt { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; cursor: pointer;
  background: transparent; border: 0; border-radius: 8px; padding: 8px 10px; color: var(--text); font-family: var(--font-body); font-size: .88rem; transition: background .15s; }
.cc-opt:hover { background: var(--surface-2); }
.cc-opt.is-sel { background: rgba(216,90,23,.14); }
.cc-name { flex: 1; font-weight: 600; }
.cc-code { color: var(--text-faint); font-weight: 700; font-variant-numeric: tabular-nums; }
.cc-empty { padding: 18px; text-align: center; color: var(--text-faint); font-size: .85rem; }

/* konum modalı */
.modal-back {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px;
  background: rgba(6,5,3,.55); backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.modal-back.is-open { opacity: 1; pointer-events: auto; }
.modal {
  width: min(440px, 100%); border-radius: var(--r-lg); padding: 30px;
  background: var(--glass-strong); backdrop-filter: blur(26px) saturate(160%);
  -webkit-backdrop-filter: blur(26px) saturate(160%);
  border: 1px solid var(--border-strong); box-shadow: 0 40px 90px -20px rgba(0,0,0,.7);
  transform: translateY(18px) scale(.96); transition: transform .35s var(--ease); text-align: center;
}
.modal-back.is-open .modal { transform: translateY(0) scale(1); }
.modal__icon { width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 18px; display: grid; place-items: center; background: linear-gradient(140deg, var(--gold-soft), var(--gold-deep)); color: #1a1407; }
.modal__icon svg { width: 32px; height: 32px; }
.modal h3 { font-size: 1.5rem; margin: 0 0 10px; font-family: var(--font-display); }
.modal p { color: var(--text-soft); margin: 0 0 22px; }
.modal__actions { display: flex; flex-direction: column; gap: 10px; }
.modal__status { font-size: .85rem; color: var(--gold-soft); min-height: 1.2em; margin-top: 12px; }

/* ---------- çerez izin bannerı (KVKK + Consent Mode) ---------- */
.cookie-banner {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%);
  z-index: 95; width: min(880px, calc(100vw - 24px));
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 16px 20px; border-radius: var(--r-lg);
  background: var(--glass-strong); border: 2px solid var(--ink); box-shadow: var(--hard);
  backdrop-filter: blur(16px);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__text { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cookie-banner__text b { font-size: .98rem; color: var(--text); }
.cookie-banner__text span { font-size: .82rem; color: var(--text-soft); line-height: 1.5; }
.cookie-banner__text a { color: var(--gold-soft); font-weight: 700; text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; flex: none; }
.cookie-banner__actions .btn { min-width: 96px; justify-content: center; }
@media (max-width: 560px) {
  .cookie-banner { bottom: 10px; padding: 14px; gap: 12px; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1; }
}

/* ---------- reveal animasyonu (JS html.anim ekleyince aktif) ---------- */
.reveal { opacity: 1; transform: none; }
html.anim .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.anim .reveal.is-in { opacity: 1; transform: none; }
html.anim .reveal[data-delay="1"] { transition-delay: .08s; }
html.anim .reveal[data-delay="2"] { transition-delay: .16s; }
html.anim .reveal[data-delay="3"] { transition-delay: .24s; }
html.anim .reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .ds { transition: none; }
}
