/* ==========================================================================
   hangilokanta · site stilleri
   Mobil öncelikli: temel kurallar telefon içindir, geniş ekranlar
   min-width medya sorgularıyla eklenir.
   ========================================================================== */

:root {
  --bg: #FBF8F3;
  --surface: #FFFFFF;
  --surface-2: #F5EFE6;
  --surface-3: #EFE7DB;
  --ink: #1C1917;
  --ink-2: #44403C;
  --muted: #78716C;
  --line: #E9E1D5;
  --line-2: #D9CEBF;

  --brand: #C2410C;
  --brand-600: #A2370B;
  --brand-700: #7C2D12;
  --brand-50: #FFF5ED;
  --brand-100: #FFE7D5;

  --ok: #15803D;
  --ok-bg: #E7F6EC;
  --warn: #B45309;
  --warn-bg: #FEF3C7;
  --danger: #B91C1C;
  --danger-bg: #FEE2E2;
  --dark: #1F1A17;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(28, 25, 23, .06);
  --shadow: 0 1px 2px rgba(28, 25, 23, .04), 0 6px 20px -6px rgba(28, 25, 23, .12);
  --shadow-lg: 0 2px 6px rgba(28, 25, 23, .05), 0 24px 48px -16px rgba(28, 25, 23, .22);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --header-h: 64px;
  --gutter: 16px;

  /* Yarı saydam katmanlar ve durum metinleri (koyu temada değişir) */
  --pill-bg: rgba(255, 255, 255, .94);
  --bar-bg: rgba(255, 255, 255, .96);
  --panel-bg: #F7F4EF;
  --row-hover: #FCFAF7;
  --glow-1: rgba(253, 186, 116, .28);
  --glow-2: rgba(194, 65, 12, .08);
  --ok-text: #14532D;   --ok-line: #BBE5C8;
  --warn-text: #78350F; --warn-line: #F7DD8C;
  --danger-text: #7F1D1D; --danger-line: #FBC9C9;
  --info-bg: #EFF6FF;   --info-text: #1E3A8A; --info-line: #CFE0FB;
  color-scheme: light;
}

/* Koyu tema: theme.js, kullanıcının seçimine ya da cihaz ayarına göre data-theme="dark" ekler. */
[data-theme="dark"] {
  --bg: #131110;
  --surface: #1C1917;
  --surface-2: #262120;
  --surface-3: #312A27;
  --ink: #F5F0EB;
  --ink-2: #D7CFC7;
  --muted: #A1978F;
  --line: #2D2724;
  --line-2: #3E3632;

  --brand: #DD5512;
  --brand-600: #C2410C;
  --brand-700: #FDBA74;
  --brand-50: #2A1B13;
  --brand-100: #432817;

  --ok: #4ADE80;
  --ok-bg: #12301E;
  --warn: #FBBF24;
  --warn-bg: #33270C;
  --danger: #F87171;
  --danger-bg: #3A1716;
  --dark: #0C0A09;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -8px rgba(0, 0, 0, .55);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .35), 0 24px 48px -16px rgba(0, 0, 0, .7);

  --pill-bg: rgba(20, 17, 16, .88);
  --bar-bg: rgba(28, 25, 23, .95);
  --panel-bg: #100E0D;
  --row-hover: #221D1B;
  --glow-1: rgba(234, 88, 12, .16);
  --glow-2: rgba(234, 88, 12, .07);
  --ok-text: #BBF7D0;   --ok-line: #1F5131;
  --warn-text: #FDE68A; --warn-line: #5A4512;
  --danger-text: #FECACA; --danger-line: #5B2423;
  --info-bg: #132235;   --info-text: #BFDBFE; --info-line: #1E3A5F;
  color-scheme: dark;
}

/* Tema düğmesi: açık temada ay, koyu temada güneş gösterir */
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: inline-block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -.2em; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 800px; }
.center { text-align: center; }
.muted { color: var(--muted); }

.display { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; }

/* --- Butonlar ------------------------------------------------------------ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px;
  border: 1px solid transparent; border-radius: 12px;
  font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap;
  cursor: pointer; transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .05s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 4px 12px -4px rgba(194, 65, 12, .5); }
.btn-primary:hover { background: var(--brand-600); }
.btn-outline { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink-2); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-light { background: #fff; color: #1C1917; }
.btn-light:hover { background: var(--brand-50); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn-ghost-light:hover { background: rgba(255,255,255,.08); }

.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px;
  border: 0; border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn .icon { width: 22px; height: 22px; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand); white-space: nowrap; }
.link-arrow:hover { color: var(--brand-600); }
.link-arrow .icon { transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* --- Etiketler ----------------------------------------------------------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--brand-50); color: var(--brand-700);
  font-size: 13px; font-weight: 700; letter-spacing: .01em;
  border: 1px solid var(--brand-100);
}
.eyebrow.light { background: rgba(255,255,255,.1); color: #FED7AA; border-color: rgba(255,255,255,.15); }

.tag {
  display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px;
  background: var(--surface-2); color: var(--ink-2); font-size: 12.5px; font-weight: 600; white-space: nowrap;
}
a.tag:hover { background: var(--surface-3); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-2); font-size: 14px; font-weight: 600;
}
.chip-remove .icon { width: 14px; height: 14px; color: var(--muted); }
.chip-remove:hover { border-color: var(--ink-2); }

.price-level { font-weight: 700; color: var(--ink-2); letter-spacing: .04em; font-size: 14px; }

.status-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  background: var(--pill-bg); color: var(--ink); box-shadow: var(--shadow-sm);
}
.status-pill i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-pill.static { box-shadow: none; }
.status-open { color: var(--ok); }
.status-open.static { background: var(--ok-bg); }
.status-closing { color: var(--warn); }
.status-closing.static { background: var(--warn-bg); }
.status-closed { color: var(--danger); }
.status-closed.static { background: var(--danger-bg); }
.status-open i { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 20%, transparent); }

/* --- Üst menü ------------------------------------------------------------ */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(28,25,23,.3); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; letter-spacing: -.02em; }
.logo-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--brand); color: #fff; box-shadow: 0 4px 10px -4px rgba(194,65,12,.6);
}
.logo-mark svg { width: 19px; height: 19px; }
.logo-text { font-weight: 600; color: var(--ink); }
.logo-text b { font-weight: 800; color: var(--brand); }
.logo-light .logo-text { color: #fff; }
.logo-light .logo-text b { color: #FDBA74; }

.main-nav { display: none; gap: 4px; }
.main-nav a { padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.main-nav a:hover { background: var(--surface-2); color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--brand); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.header-login { display: none; }


@keyframes fade { from { opacity: 0; } }
@keyframes slide-in { from { transform: translateX(100%); } }

/* --- Ana sayfa: hero ----------------------------------------------------- */

.hero {
  position: relative; overflow: hidden;
  padding: 28px 0 48px;
  background:
    radial-gradient(900px 420px at 85% 0%, var(--glow-1), transparent 60%),
    radial-gradient(700px 380px at 0% 100%, var(--glow-2), transparent 60%);
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-copy .display { font-size: clamp(34px, 8.5vw, 60px); line-height: 1.05; margin: 18px 0 16px; }
.lead { font-size: 17px; color: var(--ink-2); max-width: 560px; }

.search-box {
  margin-top: 28px; display: grid; gap: 8px;
  background: var(--surface); padding: 8px; border-radius: 18px;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.search-field, .search-city {
  display: flex; align-items: center; gap: 10px; padding: 0 14px;
  min-height: 50px; border-radius: 12px; background: var(--surface-2);
}
.search-field .icon, .search-city .icon { color: var(--muted); }
.search-field input, .search-city select {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 16px; height: 50px;
}
.search-city select { appearance: none; cursor: pointer; font-weight: 600; }
.search-box .btn { width: 100%; }

.hero-quick { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); }
.hero-quick a { padding: 5px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; }
.hero-quick a:hover { border-color: var(--brand); color: var(--brand); }

.hero-visual { position: relative; display: none; justify-self: center; padding: 20px 40px; }
.phone {
  position: relative; width: 300px; padding: 12px; border-radius: 44px;
  background: #1C1917; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,.2);
  transform: rotate(2deg);
}
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; border-radius: 20px; background: #000; z-index: 2; }
.phone-screen { background: var(--bg); border-radius: 34px; padding: 56px 18px 22px; min-height: 540px; }
.mock-head { display: flex; align-items: center; gap: 12px; }
.mock-head strong { display: block; font-size: 16px; }
.mock-head small { color: var(--muted); font-size: 12.5px; }
.mock-avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--brand); color: #fff; font-weight: 800; font-size: 15px; }
.phone-screen .status-pill { margin: 14px 0 16px; }
.mock-tabs { display: flex; gap: 6px; margin-bottom: 10px; overflow: hidden; }
.mock-tabs span { padding: 6px 12px; border-radius: 999px; background: var(--surface-2); font-size: 12px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.mock-tabs span.on { background: var(--ink); color: var(--bg); }
.mock-menu li { display: flex; justify-content: space-between; gap: 8px; padding: 12px 2px; border-bottom: 1px dashed var(--line-2); font-size: 14px; }
.mock-menu li span { font-weight: 600; }
.mock-menu li b { color: var(--brand-700); }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: var(--surface); border-radius: 16px; padding: 12px 16px 12px 12px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.float-card strong { display: block; font-size: 14px; }
.float-card small { color: var(--muted); font-size: 12.5px; }
.float-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ok-bg); color: var(--ok); }
.float-icon.dark { background: var(--ink); color: var(--bg); }
.float-a { top: 236px; left: -120px; transform: rotate(-3deg); }
.float-b { bottom: 44px; right: -96px; transform: rotate(2deg); }

/* --- Bölümler ------------------------------------------------------------ */

.section { padding: 56px 0; }
.section-tight { padding: 40px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(26px, 5vw, 36px); font-weight: 700; letter-spacing: -.02em; }
.section-head p { color: var(--muted); margin-top: 6px; }
.section-head.center { justify-content: center; text-align: center; }

.stats-band { background: var(--dark); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 22px var(--gutter); text-align: center; }
.stats-grid strong { display: block; font-family: var(--font-display); font-size: clamp(24px, 6vw, 34px); line-height: 1.1; }
.stats-grid span { font-size: 13px; color: #D6D3D1; }

.cuisine-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cuisine-tile {
  display: flex; align-items: center; gap: 10px;
  padding: 10px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.cuisine-tile:hover { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-2px); }
.cuisine-emoji { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: var(--brand-50); font-size: 22px; }
.cuisine-text { display: grid; min-width: 0; }
.cuisine-name { font-weight: 700; line-height: 1.25; font-size: 14.5px; }
.cuisine-count { font-size: 12.5px; color: var(--muted); }

.value-grid { display: grid; gap: 16px; }
.value-card { padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.value-card h3 { font-size: 18px; margin: 16px 0 8px; }
.value-card p { color: var(--ink-2); font-size: 15px; }
.value-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand); color: #fff; }
.value-icon .icon { width: 22px; height: 22px; }

.city-list { display: flex; flex-wrap: wrap; gap: 10px; }
.city-chip { display: inline-flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
.city-chip:hover { border-color: var(--brand); }
.city-chip .icon { color: var(--brand); }
.city-chip b { min-width: 28px; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); font-size: 13px; text-align: center; }

.cta-band {
  display: grid; gap: 32px; align-items: center; overflow: hidden; position: relative;
  padding: 36px 24px; border-radius: 28px; color: #fff;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(234, 88, 12, .45), transparent 60%),
    linear-gradient(135deg, #292524, #1C1917);
}
.cta-copy h2 { font-family: var(--font-display); font-size: clamp(28px, 6vw, 40px); margin: 16px 0 12px; letter-spacing: -.02em; }
.cta-copy p { color: #D6D3D1; max-width: 520px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.cta-visual { display: flex; justify-content: center; }
.qr-tent {
  width: 220px; padding: 22px; border-radius: 20px; background: #fff; color: #1C1917;
  display: grid; justify-items: center; gap: 12px; text-align: center;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); transform: rotate(-3deg);
}
.qr-tent-title { font-weight: 800; font-size: 15px; }
.qr-box { display: block; width: 150px; }
.qr-box svg { width: 100%; height: auto; display: block; }
.qr-tent-brand { font-weight: 600; font-size: 14px; }
.qr-tent-brand b { color: var(--brand); font-weight: 800; }

.empty-state { text-align: center; padding: 48px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius-lg); background: var(--surface); }
.empty-state.compact { padding: 32px 20px; }
.empty-state h1, .empty-state h3 { font-size: 20px; margin: 14px 0 6px; }
.empty-state h1 { font-family: var(--font-display); font-size: 30px; }
.empty-state p { color: var(--muted); margin-bottom: 16px; }
.empty-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--brand-50); color: var(--brand); }
.empty-icon .icon { width: 26px; height: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }

/* --- Lokanta kartı ------------------------------------------------------- */

.card-grid { display: grid; gap: 20px; }
.r-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s;
}
.r-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.r-card-media { position: relative; aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; }
.r-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.r-card:hover .r-card-media img { transform: scale(1.04); }
.r-card-media .status-pill { position: absolute; left: 12px; top: 12px; }
.partner-pill {
  position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px; border-radius: 999px; background: rgba(28,25,23,.78); color: #fff;
  font-size: 12px; font-weight: 700; backdrop-filter: blur(6px);
}
.partner-pill .icon { width: 14px; height: 14px; color: #86EFAC; }
.r-card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.r-card-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.r-card-title { font-size: 18px; font-weight: 700; }
.r-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.r-card-loc { display: flex; align-items: flex-start; gap: 6px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.r-card-loc .icon { width: 15px; height: 15px; margin-top: 2px; }
.r-card-tagline { font-size: 14.5px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.r-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.r-card-tags { display: flex; flex-wrap: wrap; gap: 6px; overflow: hidden; max-height: 28px; }
.r-card-count { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }

/* Fotoğrafı olmayan lokantalar için zemin */
.placeholder { display: grid; place-items: center; width: 100%; height: 100%; position: relative; overflow: hidden; }
.placeholder::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.35) 1.2px, transparent 1.2px);
  background-size: 16px 16px;
}
.placeholder span { position: relative; font-family: var(--font-display); font-size: 44px; font-weight: 700; color: rgba(255,255,255,.95); letter-spacing: -.02em; text-shadow: 0 2px 12px rgba(0,0,0,.15); }
.tone-0 { background: linear-gradient(135deg, #B23A0B, #E8590C); }
.tone-1 { background: linear-gradient(135deg, #3F5A1E, #6E8B2E); }
.tone-2 { background: linear-gradient(135deg, #7A2335, #B5374F); }
.tone-3 { background: linear-gradient(135deg, #8A5A10, #C98A1A); }
.tone-4 { background: linear-gradient(135deg, #2F3E46, #52676F); }
.tone-5 { background: linear-gradient(135deg, #5B3A29, #8D5B3F); }

/* --- Sayfa başlığı ve liste --------------------------------------------- */

.page-head { padding: 20px 0 24px; }
.page-head h1 { font-family: var(--font-display); font-size: clamp(28px, 6vw, 40px); font-weight: 700; letter-spacing: -.02em; margin-top: 10px; }
.page-head-lg { padding: 48px 0 24px; }
.page-head-lg .display { font-size: clamp(32px, 7vw, 52px); margin: 18px 0 14px; line-height: 1.08; }
.page-head-lg .lead { margin: 0 auto; }
.page-head-lg.center .lead, .center .lead { margin-left: auto; margin-right: auto; }
.page-sub { color: var(--muted); margin-top: 4px; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 13.5px; color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .icon { width: 14px; height: 14px; }
.breadcrumb span { color: var(--ink-2); font-weight: 600; }

.list-layout { display: grid; gap: 24px; padding-bottom: 64px; }

.filters {
  position: fixed; inset: auto 0 0 0; z-index: 70; max-height: 88vh; overflow-y: auto;
  background: var(--surface); border-radius: 24px 24px 0 0; box-shadow: var(--shadow-lg);
  transform: translateY(105%); visibility: hidden;
  transition: transform .28s cubic-bezier(.2,.8,.2,1), visibility 0s linear .28s;
}
.filters.is-open { transform: none; visibility: visible; transition: transform .28s cubic-bezier(.2,.8,.2,1); }
.filters-backdrop { position: fixed; inset: 0; z-index: 65; background: rgba(28,25,23,.45); }
.filter-form { display: grid; gap: 16px; padding: 20px; }
.filters-head { display: flex; align-items: center; justify-content: space-between; }
.filters-head h2 { font-size: 18px; }
.filters-actions { display: grid; gap: 8px; }

.field { display: grid; gap: 6px; }
.field-label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.field select, .field input[type="search"], .field input[type="text"] {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--surface); outline: none; font-size: 15px;
}
.field select {
  appearance: none; cursor: pointer; padding-right: 40px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2378716C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.field select:focus, .field input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.input-icon { position: relative; display: block; }
.input-icon .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input-icon input { padding-left: 42px !important; }

.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); cursor: pointer; }
.switch-row strong { display: block; font-size: 15px; }
.switch-row small { color: var(--muted); font-size: 13px; }
.switch { appearance: none; position: relative; width: 46px; height: 28px; flex-shrink: 0; border-radius: 999px; background: var(--line-2); cursor: pointer; transition: background .2s; margin: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s; }
.switch:checked { background: var(--ok); }
.switch:checked::after { transform: translateX(18px); }

.results-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 20px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 100%; order: 3; }
.active-filters:not(:has(a)) { display: none; }
.sort-select { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-size: 14px; color: var(--muted); }
.sort-select > span { display: none; }
.sort-select select { height: 38px; max-width: 200px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 600; color: var(--ink); cursor: pointer; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 36px; font-size: 14px; color: var(--muted); }

/* --- Lokanta sayfası ----------------------------------------------------- */

.preview-banner { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; background: var(--warn-bg); color: var(--warn); font-weight: 600; font-size: 14px; text-align: center; }

.r-hero { padding-top: 12px; }
.r-hero .breadcrumb { margin-bottom: 14px; }
.r-cover-wrap { padding: 0; }
.r-cover { position: relative; aspect-ratio: 16 / 9; max-height: 420px; width: 100%; overflow: hidden; background: var(--surface-2); }
.r-cover img { width: 100%; height: 100%; object-fit: cover; }
.r-cover .placeholder span { font-size: 72px; }
.r-cover.no-image { aspect-ratio: auto; height: 140px; }
.r-cover.no-image .placeholder span { font-size: 56px; }
.cover-photos-btn {
  position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.95); color: #1C1917; font-size: 13.5px; font-weight: 700; box-shadow: var(--shadow);
}

.r-head { display: grid; gap: 18px; padding-top: 20px; padding-bottom: 8px; }
.r-head-main { display: flex; gap: 16px; align-items: flex-start; }
.r-logo { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; border: 1px solid var(--line); background: #fff; flex-shrink: 0; }
.r-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.r-title-row h1 { font-size: clamp(30px, 7vw, 46px); line-height: 1.08; }
.verified { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); font-size: 13px; font-weight: 700; }
.verified .icon { width: 15px; height: 15px; }
.r-tagline { margin-top: 8px; font-size: 17px; color: var(--ink-2); }
.r-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 12px; font-size: 14.5px; color: var(--ink-2); }
.r-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.r-meta .icon { color: var(--brand); }
.r-meta .price-level { padding: 2px 10px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; }
.r-status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.r-status-detail { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.r-actions { display: none; flex-wrap: wrap; gap: 10px; }

.r-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 24px; padding-bottom: 56px; }
.r-main, .results { min-width: 0; }
.r-section { padding: 24px 0; border-top: 1px solid var(--line); }
.r-section:first-child { border-top: 0; padding-top: 4px; }
.r-section > h2, .r-section-head h2 { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.r-section > h2 { margin-bottom: 16px; }
.r-section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.updated-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--surface-2); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.updated-badge .icon { width: 15px; height: 15px; color: var(--brand); }
.updated-badge.warn { background: var(--warn-bg); color: var(--warn-text); }
.updated-badge.warn .icon { color: var(--warn); }

.price-notice {
  display: flex; gap: 14px; margin: 4px 0 16px; padding: 16px; border-radius: 16px;
  background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-text);
}
.price-notice-icon { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: var(--surface); color: var(--warn); }
.price-notice-body strong { display: block; font-size: 16px; margin-bottom: 4px; color: var(--ink); }
.price-notice-body p { font-size: 14.5px; line-height: 1.55; }
.price-notice-body .btn { margin-top: 12px; }

.menu-tabs {
  position: sticky; top: var(--header-h); z-index: 20;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1) 8px; padding: 10px var(--gutter);
  background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tabs a { flex-shrink: 0; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); font-size: 14px; font-weight: 700; color: var(--ink-2); transition: all .15s; }
.menu-tabs a:hover { border-color: var(--ink-2); }
.menu-tabs a.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.menu-cat { padding-top: 20px; }
.menu-cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.menu-cat-head h2, .menu-cat-head h3 { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.menu-cat-head span { font-size: 13px; color: var(--muted); font-weight: 600; }
.menu-cat-desc { margin-top: 8px; font-size: 14px; color: var(--muted); font-style: italic; }

.menu-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.menu-item:last-child { border-bottom: 0; }
.mi-img { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; flex-shrink: 0; order: 2; }
.mi-body { flex: 1; min-width: 0; }
.mi-top { display: flex; align-items: baseline; gap: 8px; }
.mi-name { font-weight: 700; font-size: 16px; }
.mi-dots { flex: 1; min-width: 16px; border-bottom: 2px dotted var(--line-2); transform: translateY(-4px); }
.mi-price { font-weight: 800; font-size: 16px; color: var(--brand-700); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mi-desc { margin-top: 4px; font-size: 14px; color: var(--muted); }
.mi-portion { font-weight: 600; color: var(--ink-2); }
.mi-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.mi-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; }
.mi-badge .icon { width: 13px; height: 13px; }
.mi-badge.rec { background: var(--brand-50); color: var(--brand-700); }
.mi-badge.veg { background: var(--ok-bg); color: var(--ok); }
.mi-badge.hot { background: var(--danger-bg); color: var(--danger); }
.mi-badge.out { background: var(--surface-3); color: var(--ink-2); }
.menu-item.is-out .mi-name, .menu-item.is-out .mi-price { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.menu-item.is-out .mi-img { filter: grayscale(1); opacity: .6; }
.menu-note { display: flex; gap: 8px; margin-top: 20px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); font-size: 13.5px; color: var(--ink-2); }
.menu-note .icon { margin-top: 2px; color: var(--muted); }

.prose { color: var(--ink-2); font-size: 16.5px; line-height: 1.75; }
.prose p + p { margin-top: 14px; }
.prose h2 { font-family: var(--font-display); font-size: 26px; color: var(--ink); margin: 36px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; }
.prose a { color: var(--brand); font-weight: 600; }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gallery-item { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.05); }

.r-side { display: grid; gap: 16px; align-content: start; }
.side-card { padding: 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.side-title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; margin-bottom: 14px; }
.side-title .icon { color: var(--brand); }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 8px; font-size: 14.5px; }
.hours li span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; }
.hours li .closed { color: var(--danger); }
.hours li.is-today { background: var(--brand-50); font-weight: 700; }
.hours li em { font-style: normal; font-size: 11px; font-weight: 800; color: var(--brand); text-transform: uppercase; letter-spacing: .04em; margin-left: 4px; }
.map-frame { aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--surface-2); margin-bottom: 14px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.contact-list { display: grid; gap: 12px; margin-bottom: 16px; font-size: 14.5px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .icon { color: var(--muted); margin-top: 3px; }
.contact-list a { font-weight: 600; color: var(--brand-700); word-break: break-word; }
.contact-list small { color: var(--muted); }
.feature-list { display: grid; gap: 8px; font-size: 14.5px; }
.feature-list li { display: flex; align-items: center; gap: 8px; }
.feature-list .icon { width: 16px; height: 16px; color: var(--ok); }

.mobile-actions {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  background: var(--bar-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(28,25,23,.25);
}
.mobile-actions a, .mobile-actions button {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px;
  border: 0; background: none; font-size: 12px; font-weight: 700; color: var(--ink-2); cursor: pointer; border-radius: 10px;
}
.mobile-actions .icon { width: 22px; height: 22px; color: var(--brand); }
.page-restaurant .site-footer { padding-bottom: 80px; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(12,10,9,.9); }
.lightbox img { max-width: 96vw; max-height: 84vh; border-radius: 12px; margin: 0 auto; }
.lightbox-caption { color: #E7E5E4; text-align: center; margin-top: 10px; font-size: 14px; }
.lightbox-close { position: fixed; top: 12px; right: 12px; background: rgba(255,255,255,.12); color: #fff; }
.lightbox-close:hover { background: rgba(255,255,255,.22); }

/* --- QR menü sayfası ----------------------------------------------------- */

.page-qrmenu { background: var(--surface); }
.qm-head { position: relative; text-align: center; padding-bottom: 20px; }
.qm-cover { height: 150px; overflow: hidden; }
.qm-cover img { width: 100%; height: 100%; object-fit: cover; }
.qm-identity { display: grid; justify-items: center; gap: 4px; margin-top: -44px; padding: 0 var(--gutter); position: relative; }
.qm-logo { width: 88px; height: 88px; border-radius: 24px; object-fit: cover; background-color: var(--surface); border: 4px solid var(--surface); box-shadow: var(--shadow); }
.qm-initials { display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-size: 32px; font-weight: 700; }
.qm-identity h1 { font-family: var(--font-display); font-size: 28px; margin-top: 8px; letter-spacing: -.02em; }
.qm-loc { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.qm-tools { position: sticky; top: 0; z-index: 20; background: var(--bar-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding-top: 10px; }
.qm-search { display: flex; align-items: center; gap: 10px; margin: 0 var(--gutter); padding: 0 14px; height: 44px; border-radius: 12px; background: var(--surface-2); }
.qm-search .icon { color: var(--muted); }
.qm-search input { flex: 1; border: 0; background: transparent; outline: none; font-size: 16px; min-width: 0; }
.qm-tabs { position: static; margin: 0; border-bottom: 0; background: transparent; backdrop-filter: none; }
.qm-tools:not(:has(.qm-tabs)) { padding-bottom: 10px; }
.qm-body { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter) 32px; }
.qm-no-results { text-align: center; color: var(--muted); padding: 32px 0; }
.qm-info { margin-top: 28px; padding: 18px; border-radius: 16px; background: var(--surface-2); text-align: center; font-size: 14px; color: var(--ink-2); }
.qm-info p { display: flex; align-items: center; justify-content: center; gap: 6px; }
.qm-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.qm-foot { display: grid; justify-items: center; gap: 6px; padding: 28px 16px 36px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); background: var(--bg); }
.qm-foot .logo { font-size: 17px; }
.qm-foot .logo-mark { width: 28px; height: 28px; }
.qm-foot .logo-mark svg { width: 16px; height: 16px; }
html:has(.page-qrmenu) { scroll-padding-top: 120px; }

/* --- İşletme sayfası ----------------------------------------------------- */

.steps { display: grid; gap: 16px; counter-reset: step; }
.steps li { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius-lg); background: var(--bg); border: 1px solid var(--line); }
.steps li > span { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 800; }
.steps h3 { font-size: 17px; margin-bottom: 4px; }
.steps p { color: var(--ink-2); font-size: 15px; }

/* --- Alt bilgi ----------------------------------------------------------- */

.site-footer { background: var(--dark); color: #D6D3D1; padding: 48px 0 24px; margin-top: 0; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand p { margin: 14px 0; font-size: 14.5px; max-width: 360px; color: #A8A29E; }
.footer-social { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }
.site-footer h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 10px; font-size: 14.5px; }
.site-footer ul a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: #A8A29E; }

/* --- Üst menü: arama düğmesi ------------------------------------------- */

.header-search {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 42px; height: 42px; border-radius: 12px; background: var(--surface-2); color: var(--ink);
  border: 1px solid var(--line); transition: border-color .15s, background .15s;
}
.header-search:hover { border-color: var(--line-2); }
.header-search .icon { width: 20px; height: 20px; }
.header-search-text { display: none; font-size: 14.5px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.header-theme { display: none; }

/* --- Mobil açılır menü --------------------------------------------------- */

.mobile-nav { position: fixed; inset: 0; z-index: 60; }
.mobile-nav-backdrop { position: absolute; inset: 0; background: rgba(28,25,23,.5); animation: fade .2s; }
.mobile-nav-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 380px);
  background: var(--surface); display: flex; flex-direction: column; overflow-y: auto;
  box-shadow: var(--shadow-lg); animation: slide-in .25s cubic-bezier(.2,.8,.2,1);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 20px; padding-top: calc(12px + env(safe-area-inset-top)); }
.mobile-nav-search { position: relative; margin: 4px 16px 8px; }
.mobile-nav-search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.mobile-nav-search input {
  width: 100%; height: 48px; padding: 0 14px 0 44px; border-radius: 14px; border: 1px solid var(--line-2);
  background: var(--surface-2); font-size: 16px; outline: none;
}
.mobile-nav-search input:focus { border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 3px var(--brand-100); }
.mobile-nav-links { padding: 8px 12px; display: grid; gap: 2px; }
.mobile-nav-links a { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 14px; font-weight: 600; font-size: 16px; }
.mobile-nav-links a:hover, .mobile-nav-links a:active { background: var(--surface-2); }
.mobile-nav-links a[aria-current="page"] { background: var(--brand-50); color: var(--brand-700); }
.mn-icon { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 11px; background: var(--surface-2); color: var(--brand); }
.mobile-nav-links a[aria-current="page"] .mn-icon { background: var(--surface); }
.mn-icon .icon { width: 19px; height: 19px; }
.mn-arrow { margin-left: auto; width: 16px; height: 16px; color: var(--muted); }
.mobile-nav-theme {
  display: flex; align-items: center; gap: 14px; margin: 4px 12px; padding: 10px; border-radius: 14px;
  border-top: 1px solid var(--line); border-radius: 0; font-weight: 600; font-size: 16px; cursor: pointer;
  padding-top: 16px;
}
.mobile-nav-theme .switch { margin-left: auto; }
.mobile-nav-foot { margin-top: auto; padding: 16px 20px 20px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.mobile-nav-sub { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--brand-700); }

/* --- Arama ekranı -------------------------------------------------------- */

.search-overlay { position: fixed; inset: 0; z-index: 80; }
.so-backdrop { position: absolute; inset: 0; background: rgba(28,25,23,.55); animation: fade .15s; }
.so-panel {
  position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--bg);
  animation: so-in .2s ease-out;
}
@keyframes so-in { from { opacity: 0; transform: translateY(-10px); } }
.so-form {
  display: grid; gap: 8px; padding: 12px 16px; padding-top: calc(12px + env(safe-area-inset-top));
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.so-row { display: flex; align-items: center; gap: 8px; }
.so-input {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 6px 0 14px;
  border-radius: 14px; background: var(--surface-2); border: 2px solid transparent; cursor: text;
}
.so-input:focus-within { border-color: var(--brand); background: var(--surface); }
.so-input > .icon { color: var(--muted); width: 20px; height: 20px; }
.so-input input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; outline: none; font-size: 17px; }
.so-input input::-webkit-search-cancel-button { display: none; }
.so-clear { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; }
.so-clear:hover { background: var(--surface-3); color: var(--ink); }
.so-clear .icon { width: 18px; height: 18px; }
.so-cancel { flex-shrink: 0; padding: 10px 6px; border: 0; background: none; color: var(--brand-700); font-weight: 700; font-size: 15px; cursor: pointer; }
.so-city { position: relative; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); font-size: 14.5px; }
.so-city > .icon { color: var(--brand); width: 17px; height: 17px; }
.so-city select { flex: 1; min-width: 0; height: 100%; appearance: none; border: 0; background: transparent; font-weight: 600; outline: none; cursor: pointer; }
.so-city .so-city-arrow { color: var(--muted); pointer-events: none; }
.so-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px 16px calc(24px + env(safe-area-inset-bottom)); }
.so-title { margin: 4px 0 10px; font-size: 12.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.so-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.so-chips a { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); font-weight: 600; font-size: 14px; }
.so-chips a:hover { border-color: var(--brand); color: var(--brand-700); }
.so-cuisines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 22px; }
.so-cuisines a { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 14px; line-height: 1.3; }
.so-cuisines a:hover { border-color: var(--brand-100); }
.so-cuisines span { font-size: 20px; flex-shrink: 0; }
.so-open-now { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--ok-bg); color: var(--ok); font-weight: 700; }
.so-open-now .icon:last-child { margin-left: auto; }

.so-group + .so-group { margin-top: 18px; }
.so-result { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 12px; }
.so-result:hover, .so-result.is-active { background: var(--surface-2); }
.so-result-icon { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: var(--surface-2); color: var(--brand); font-size: 20px; }
.so-result.is-active .so-result-icon, .so-result:hover .so-result-icon { background: var(--surface); }
.so-result-icon .icon { width: 19px; height: 19px; }
.so-result-text { min-width: 0; flex: 1; }
.so-result strong { display: block; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.so-result small { display: block; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.so-result > .icon { color: var(--muted); width: 16px; height: 16px; }
.so-all { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; padding: 14px; border-radius: 14px; background: var(--brand); color: #fff; font-weight: 700; }
.so-empty { padding: 28px 0 8px; text-align: center; color: var(--muted); }
.so-empty strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }

/* --- Liste sayfasında görünür arama kutusu (telefon) ---------------------- */

.list-search { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; padding: 6px 6px 6px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); }
.list-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.list-search > .icon { color: var(--muted); }
.list-search input { flex: 1; min-width: 0; height: 40px; border: 0; background: transparent; outline: none; font-size: 16px; }

/* --- Duyuru şeridi ------------------------------------------------------- */

.announce { background: var(--ink); color: var(--bg); text-align: center; font-size: 13.5px; font-weight: 600; padding: 8px 16px; line-height: 1.4; }
.announce a { display: inline-flex; align-items: center; gap: 6px; }
.announce a:hover { text-decoration: underline; }
.announce .icon { width: 15px; height: 15px; }

/* --- Başvuru formu ------------------------------------------------------- */

.apply-card { padding: 24px 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.apply-head h2, .apply-done h2 { font-family: var(--font-display); font-size: clamp(26px, 5vw, 34px); letter-spacing: -.02em; }
.apply-head p { color: var(--muted); margin: 6px 0 20px; }
.apply-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 18px; }
.apply-form .field input, .apply-form .field textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--surface); font-size: 16px; outline: none;
}
.apply-form .field textarea { resize: vertical; }
.apply-form .field input:focus, .apply-form .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 13px; font-weight: 600; }
.req { color: var(--brand); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.apply-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.apply-done { text-align: center; padding: 20px 0; }
.apply-done h2 { margin: 14px 0 6px; }
.apply-done p { color: var(--muted); }
.empty-icon.ok { background: var(--ok-bg); color: var(--ok); }
.form-alert { padding: 12px 14px; border-radius: 12px; background: var(--danger-bg); color: var(--danger-text); margin-bottom: 14px; font-size: 14px; }

/* --- Yasal sayfalar ve künye ------------------------------------------- */

.legal-layout { padding-bottom: 64px; }
.legal-toc { margin-bottom: 28px; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.legal-toc strong { display: block; margin-bottom: 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.legal-toc ol { list-style: decimal; padding-left: 20px; display: grid; gap: 4px; font-size: 15px; }
.legal-toc a { color: var(--brand-700); font-weight: 600; }
.legal-body { font-size: 16px; }
.legal-body h2 { font-size: 22px; margin: 36px 0 12px; scroll-margin-top: calc(var(--header-h) + 16px); }
.legal-body h3 { font-size: 17px; color: var(--ink); margin: 22px 0 8px; }
.legal-body ul { margin: 8px 0 14px; }
.legal-body p { margin-bottom: 12px; }
.legal-body p + p { margin-top: 0; }
.legal-body strong { color: var(--ink); }
.legal-missing { padding: 1px 6px; border-radius: 6px; background: var(--warn-bg); color: var(--warn-text); font-size: .9em; font-weight: 700; }
.legal-other { display: grid; gap: 8px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal-other a { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
.legal-other a:hover { border-color: var(--brand-100); color: var(--brand-700); }
.legal-hint { display: flex; gap: 10px; margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.legal-hint .icon { color: var(--brand); flex-shrink: 0; margin-top: 2px; }
.apply-note span a { color: var(--brand-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 28px; }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.contact-card:hover { border-color: var(--brand-100); box-shadow: var(--shadow); }
.contact-card > .icon { width: 22px; height: 22px; color: var(--brand); }
.contact-card small { display: block; font-size: 12.5px; color: var(--muted); }
.contact-card b { font-size: 15px; word-break: break-word; }
.kunye, .kunye-legal { margin-bottom: 28px; padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.kunye h2, .kunye-legal h2 { font-size: 18px; margin-bottom: 14px; }
.kunye dl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 20px; margin: 0; font-size: 15px; }
.kunye dt { color: var(--muted); font-weight: 600; font-size: 13.5px; margin-top: 8px; }
.kunye dd { margin: 0; word-break: break-word; }
.kunye dd a { color: var(--brand-700); font-weight: 600; }
.kunye-legal ul { display: grid; }
.kunye-legal li + li { border-top: 1px solid var(--line); }
.kunye-legal a { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.kunye-legal a > :first-child { flex: 1; }
.kunye-legal strong { display: block; }
.kunye-legal small { display: block; font-size: 13px; color: var(--muted); }
.kunye-legal .icon { color: var(--muted); width: 16px; height: 16px; }
.kunye-legal a:hover strong { color: var(--brand-700); }

.footer-kunye { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-kunye h3 { margin-bottom: 8px; }
.footer-kunye h3 a { display: inline-flex; align-items: center; gap: 6px; }
.footer-kunye h3 .icon { width: 14px; height: 14px; }
.footer-kunye p { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; color: #A8A29E; }
.footer-kunye a:hover { color: #fff; }
.footer-bottom { margin-top: 20px; }

.cookie-note {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 75;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; max-width: 640px; margin: 0 auto;
  padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg); font-size: 13.5px; color: var(--ink-2); animation: so-in .25s ease-out;
}
.cookie-note p { flex: 1 1 260px; display: flex; gap: 10px; line-height: 1.5; }
.cookie-note p .icon { color: var(--brand); flex-shrink: 0; margin-top: 2px; }
.cookie-note a { color: var(--brand-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cookie-note .btn { flex: 0 0 auto; margin-left: auto; }
.page-restaurant .cookie-note { bottom: calc(84px + env(safe-area-inset-bottom)); }

.map-consent {
  display: grid; place-content: center; justify-items: center; gap: 6px; width: 100%; height: 100%; padding: 16px;
  border: 0; background:
    repeating-linear-gradient(45deg, transparent 0 12px, color-mix(in srgb, var(--line) 50%, transparent) 12px 13px),
    var(--surface-2);
  color: var(--ink); text-align: center; cursor: pointer; font: inherit;
}
.map-consent:hover .map-consent-icon { transform: scale(1.06); }
.map-consent-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand); color: #fff; transition: transform .15s; }
.map-consent strong { font-size: 15px; }
.map-consent small { max-width: 260px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }

.qm-legal { display: flex; gap: 14px; font-size: 13px; }
.qm-legal a:hover { color: var(--brand-700); }

@media (min-width: 640px) {
  .kunye dl { grid-template-columns: 220px minmax(0, 1fr); }
  .kunye dt { margin-top: 0; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .kunye dd { padding: 8px 0; border-bottom: 1px solid var(--line); }
}

@media (min-width: 900px) {
  .page-restaurant .cookie-note { bottom: 16px; }
}

/* --- Koyu tema ince ayarları ------------------------------------------- */

[data-theme="dark"] .phone { box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.1); }
[data-theme="dark"] .cta-band { box-shadow: inset 0 0 0 1px var(--line); }
[data-theme="dark"] .stats-band,
[data-theme="dark"] .site-footer { border-top: 1px solid var(--line); }
[data-theme="dark"] .stats-band { border-bottom: 1px solid var(--line); }
[data-theme="dark"] .r-card:hover { border-color: var(--line-2); }
[data-theme="dark"] .placeholder { filter: brightness(.9) saturate(.95); }
[data-theme="dark"] .qr-tent { box-shadow: 0 30px 60px -20px rgba(0,0,0,.85); }
[data-theme="dark"] .btn-primary { box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 6px 16px -6px rgba(221,85,18,.55); }
[data-theme="dark"] .menu-item.is-out .mi-img { opacity: .4; }

/* ==========================================================================
   Geniş ekranlar
   ========================================================================== */

@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .search-box { grid-template-columns: 1fr auto auto; align-items: center; }
  .search-city { min-width: 180px; }
  .search-box .btn { width: auto; }
  .cuisine-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .cuisine-tile { padding: 14px; gap: 14px; }
  .cuisine-emoji { width: 48px; height: 48px; font-size: 26px; border-radius: 14px; }
  .cuisine-name { font-size: 15.5px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .header-login { display: inline-flex; }
  .header-search { width: auto; padding: 0 16px 0 14px; border-radius: 999px; }
  .header-search-text { display: inline; }
  .so-panel { inset: 72px 0 auto 0; margin: 0 auto; width: min(640px, calc(100vw - 48px)); max-height: calc(100vh - 110px);
    border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
  .so-form { padding-top: 12px; }
  .so-cuisines { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .r-cover-wrap { padding: 0 var(--gutter); }
  .r-cover { border-radius: var(--radius-lg); aspect-ratio: 21 / 9; }
  .cta-band { padding: 48px; }
  .stats-grid span { font-size: 14px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
  .apply-card { padding: 36px; }
  .apply-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apply-grid .span-2 { grid-column: 1 / -1; }
  .qm-cover { height: 200px; }
}

@media (min-width: 900px) {
  :root { --header-h: 72px; }
  .main-nav { display: flex; }
  .nav-toggle, .list-search { display: none; }
  .header-search { width: 42px; padding: 0; border-radius: 12px; }
  .header-search-text { display: none; }
  .header-theme { display: inline-flex; }
  .hero { padding: 56px 0 80px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .hero-visual { display: block; }
  .lead { font-size: 18.5px; }
  .section { padding: 80px 0; }
  .value-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cta-band { grid-template-columns: 1.4fr 1fr; padding: 56px 64px; }

  .list-layout { grid-template-columns: 280px 1fr; align-items: start; gap: 32px; }
  .sort-select > span { display: inline; }
  .filters {
    position: sticky; top: calc(var(--header-h) + 16px); inset: auto; z-index: 1; transform: none; visibility: visible; max-height: none; overflow: visible;
    border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: none;
  }
  .filters-close, .filters-open, .filters-backdrop { display: none !important; }
  .active-filters { flex: 1; order: 0; }

  .r-cover.no-image { height: 180px; }
  .r-head { grid-template-columns: 1fr auto; align-items: end; padding-top: 28px; }
  .r-logo { width: 80px; height: 80px; border-radius: 20px; }
  .r-actions { display: flex; }
  .mobile-actions { display: none; }
  .page-restaurant .site-footer { padding-bottom: 24px; }
  .r-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; padding-top: 32px; }
  .r-side { position: sticky; top: calc(var(--header-h) + 16px); }
  .r-section:first-child { padding-top: 0; }
  .menu-tabs { margin: 0 0 8px; padding: 12px 0; }
  .mi-img { width: 92px; height: 92px; }
  .qm-cover { height: 240px; }
}

@media (min-width: 1100px) {
  .header-search { width: auto; padding: 0 16px 0 14px; border-radius: 999px; }
  .header-search-text { display: inline; }
  .card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cuisine-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .value-grid:has(> :nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 640px) and (max-width: 1099px) {
  .list-layout .card-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer, .mobile-actions, .menu-tabs, .r-actions, .r-side .map-frame { display: none !important; }
}
