
  /* ================= Tasarım sistemi ================= */
  :root {
    --bg: #f6f4ef; --surface: #ffffff; --surface-2: #f2efe9; --surface-3: #ebe7df; --ink: #1b1c1a; --ink-2: #3d3e3a; --muted: #8b8880; --line: #ece8e1;
    --primary-2: color-mix(in srgb, var(--primary) 78%, #fff); --primary-soft: color-mix(in srgb, var(--primary) 12%, #fff);
    --accent-soft: color-mix(in srgb, var(--accent) 18%, #fff); --accent-ink: color-mix(in srgb, var(--accent) 55%, #000); --danger: #c2410c; --ok: #15803d;
    --wifi-bg: var(--ink); --ind-bg: var(--ink); --ind-text: #fff; --glass: rgb(255 255 255 / .9); --bar: rgb(246 244 239 / .9);
    --r-xl: 28px; --r-lg: 22px; --r-md: 16px; --r-sm: 12px;
    --sh-1: 0 1px 2px rgb(27 28 26 / .04), 0 2px 8px -2px rgb(27 28 26 / .06);
    --sh-2: 0 1px 2px rgb(27 28 26 / .04), 0 12px 32px -14px rgb(27 28 26 / .18);
    --sh-3: 0 24px 60px -20px rgb(27 28 26 / .35);
    --ease: cubic-bezier(.2, .8, .2, 1);
    --text: var(--ink); --sheet-bg: var(--surface); --chip-bg: var(--surface-2); --img-bg: #e9e5dd; --btn-bg: var(--primary); --btn-text: #fff;
    --toast-bg: var(--ink); --display-font: var(--font); --sheet-radius: 32px;
  }
  * { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; }
  body { margin: 0; background: var(--bg); color: var(--ink); font: 500 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
  img { display: block; max-width: 100%; }
  button, input, a { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
  button { cursor: pointer; }
  a { text-decoration: none; }
  .ic { flex-shrink: 0; }
  :focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
  .press { transition: transform .18s var(--ease); }
  .press:active { transform: scale(.97); }

  /* ================= İskelet ================= */
  .rail { display: none; }
  .main { max-width: 1120px; margin: 0 auto; padding: 0 20px calc(116px + env(safe-area-inset-bottom)); }

  /* Üst */
  .top { display: flex; align-items: center; gap: 12px; padding-top: calc(16px + env(safe-area-inset-top)); }
  .mark { width: 46px; height: 46px; border-radius: 15px; flex-shrink: 0; display: grid; place-items: center; color: #f3ead8; font-weight: 800; font-size: 16px; letter-spacing: -.02em;
    background: linear-gradient(145deg, var(--primary-2), var(--primary)); box-shadow: 0 8px 18px -10px var(--primary), inset 0 1px 0 rgb(255 255 255 / .15); }
  .who { flex: 1; min-width: 0; }
  .who small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
  .who b { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .round { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--surface); box-shadow: var(--sh-1); display: grid; place-items: center; flex-shrink: 0; position: relative; }
  .round .tag { position: absolute; top: -3px; right: -5px; height: 19px; padding: 0 6px; border-radius: 99px; background: var(--primary); color: #fff; font-size: 10px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--bg); }

  .status { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 10px; border-radius: 99px; background: var(--surface); box-shadow: var(--sh-1); font-size: 13px; font-weight: 700; color: var(--ink-2); }
  .status .live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgb(21 128 61 / .15); }
  .status .sep { width: 1px; height: 14px; background: var(--line); }
  .hello { margin: 12px 0 0; font-size: 31px; font-weight: 800; letter-spacing: -.035em; line-height: 1.08; }
  .hello span { color: var(--muted); }

  .search { margin-top: 20px; display: flex; gap: 10px; }
  .field { flex: 1; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 18px; border-radius: 99px; background: var(--surface); box-shadow: var(--sh-1); color: var(--muted); border: 1.5px solid transparent; transition: border-color .2s; }
  .field:focus-within { border-color: var(--primary); color: var(--ink); }
  .field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 15.5px; font-weight: 600; color: var(--ink); }
  .field input::placeholder { color: var(--muted); font-weight: 500; }
  .field input::-webkit-search-cancel-button { display: none; }
  .field .x { display: none; width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--surface-2); place-items: center; }
  .field.has .x { display: grid; }
  .filter { width: 56px; height: 56px; border-radius: 20px; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 22px -12px var(--accent); flex-shrink: 0; }

  /* Vitrin */
  .promo { margin-top: 24px; position: relative; border-radius: var(--r-xl); background: var(--primary); color: #fff; overflow: hidden; isolation: isolate; }
  .promo::before { content: ''; position: absolute; z-index: -1; width: 380px; height: 380px; right: -120px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgb(255 255 255 / .13), transparent 62%); }
  .promo::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(115deg, transparent 55%, rgb(0 0 0 / .12)); }
  .slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .slides::-webkit-scrollbar { display: none; }
  .slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: 1fr 46%; align-items: center; padding: 24px 0 42px 24px; min-height: 206px; cursor: pointer; }
  .eyebrow { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 99px; background: rgb(255 255 255 / .14); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; }
  .eyebrow .ic { color: #f4c879; }
  .slide h2 { margin: 12px 0 0; font-size: 27px; font-weight: 800; letter-spacing: -.035em; line-height: 1.06; }
  .slide p { margin: 6px 0 0; font-size: 13px; color: rgb(255 255 255 / .72); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .cta { margin-top: 16px; display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 6px 0 18px; border-radius: 99px; background: #fff; color: #1b1c1a; font-size: 14px; font-weight: 800; }
  .cta i { width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; }
  .plate { justify-self: end; width: 118%; aspect-ratio: 1; margin-right: -26%; border-radius: 50%; overflow: hidden; box-shadow: 0 26px 44px -18px rgb(0 0 0 / .7), 0 0 0 6px rgb(255 255 255 / .07), 0 0 0 14px rgb(255 255 255 / .04); }
  .plate img { width: 100%; height: 100%; object-fit: cover; }
  .dots { position: absolute; left: 24px; bottom: 18px; display: flex; gap: 6px; }
  .dots i { width: 6px; height: 6px; border-radius: 99px; background: rgb(255 255 255 / .35); transition: width .35s var(--ease), background .3s; }
  .dots i.on { width: 20px; background: #fff; }

  /* Başlıklar */
  .h { display: flex; align-items: baseline; justify-content: space-between; margin: 32px 0 14px; }
  .h h2 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.03em; }
  .h .more { border: 0; background: none; color: var(--primary); font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 2px; padding: 0; }
  .h small { color: var(--muted); font-size: 13.5px; font-weight: 600; }

  /* ---------- Kategoriler: fotoğraflı kutular ---------- */
  .ctiles { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 2px 20px 6px; scroll-snap-type: x proximity; scroll-padding: 0 20px; }
  .ctiles::-webkit-scrollbar { display: none; }
  .ctile { flex-shrink: 0; width: 80px; text-align: center; scroll-snap-align: start; }
  .ctile .im { width: 80px; height: 80px; border-radius: 24px; overflow: hidden; background: var(--surface); box-shadow: var(--sh-2); display: grid; place-items: center; color: var(--primary); position: relative; }
  .ctile .im img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), opacity .5s; }
  .ctile .im::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .05); }
  .ctile b { display: block; margin-top: 9px; font-size: 13px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
  .ctile small { display: block; color: var(--muted); font-size: 11.5px; font-weight: 600; margin-top: 1px; }

  /* ---------- Yapışkan çubuk: kompakt başlık + kayan sekmeler ---------- */
  .sticky { position: sticky; top: 0; z-index: 50; margin: 0 -20px; padding: 0 20px; background: var(--bar); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); transition: box-shadow .3s; }
  .sticky.stuck { box-shadow: 0 1px 0 var(--line), 0 14px 24px -22px rgb(27 28 26 / .45); }
  .compact { height: 0; overflow: hidden; display: flex; align-items: center; gap: 10px; opacity: 0; transition: height .35s var(--ease), opacity .25s; padding-top: env(safe-area-inset-top); }
  .sticky.stuck .compact { height: calc(60px + env(safe-area-inset-top)); opacity: 1; }
  .compact .mark { width: 36px; height: 36px; border-radius: 12px; font-size: 13px; box-shadow: none; }
  .compact b { flex: 1; font-size: 16px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .compact .round { width: 38px; height: 38px; box-shadow: none; background: var(--surface); }
  .tabs { position: relative; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; padding: 10px 0 12px; scroll-behavior: smooth; }
  .tabs::-webkit-scrollbar { display: none; }
  .ind { position: absolute; left: 0; top: 10px; height: 40px; border-radius: 99px; background: var(--ind-bg); transition: transform .4s var(--ease), width .4s var(--ease); pointer-events: none; }
  .tab { position: relative; z-index: 1; flex-shrink: 0; height: 40px; padding: 0 16px; border-radius: 99px; display: inline-flex; align-items: center; font-size: 14.5px; font-weight: 700; color: var(--muted); white-space: nowrap; transition: color .3s; }
  .tab.active { color: var(--ind-text); }

  /* Popüler kartlar */
  .cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .card { background: var(--surface); border-radius: var(--r-xl); padding: 8px 8px 14px; box-shadow: var(--sh-2); cursor: pointer; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
  .card .ph { position: relative; aspect-ratio: 1 / .9; border-radius: var(--r-lg); overflow: hidden; background: var(--img-bg); }
  .card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .5s; }
  .card .ph.empty { display: grid; place-items: center; color: #b5afa3; background: var(--surface-2); }
  .card .pill { position: absolute; top: 8px; left: 8px; height: 26px; padding: 0 9px; border-radius: 99px; background: var(--glass); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--ink); display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 800; box-shadow: 0 4px 10px -4px rgb(0 0 0 / .25); }
  .card .pill .ic { color: var(--accent); }
  .card .bd { padding: 12px 6px 0; display: flex; flex-direction: column; flex: 1; }
  .card h3 { margin: 0; font-size: 16px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
  .card .sub { margin-top: 2px; color: var(--muted); font-size: 12.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .card .row { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; }
  .price { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
  .price small { font-size: .74em; font-weight: 700; margin-left: 2px; color: var(--muted); }
  .add { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 16px -8px var(--primary); }

  /* Tam menü */
  .group { scroll-margin-top: 130px; }
  .group + .group { margin-top: 30px; }
  .gh { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
  .gh .gi { width: 44px; height: 44px; border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: var(--sh-1); display: grid; place-items: center; color: var(--primary); flex-shrink: 0; }
  .gh .gi img { width: 100%; height: 100%; object-fit: cover; }
  .gh h2 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
  .gh small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 600; }
  .list { background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--sh-1); padding: 4px 16px; }
  .line { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); cursor: pointer; }
  .line:first-child { border-top: 0; }
  .line .tx { flex: 1; min-width: 0; }
  .line h3 { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: -.015em; transition: color .2s; }
  .line p { margin: 2px 0 0; color: var(--muted); font-size: 13px; font-weight: 500; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .line .meta { margin-top: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
  .line .price { font-size: 15.5px; }
  .line .kcal { color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
  .line .th { width: 88px; height: 88px; border-radius: 20px; overflow: hidden; flex-shrink: 0; background: var(--img-bg); }
  .line .th img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .5s; }
  .line .go { width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; color: var(--ink-2); flex-shrink: 0; }

  .mc-badge { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-ink); font-size: 11.5px; font-weight: 700; }
  .mc-badge--veg { background: var(--primary-soft); color: var(--primary); }
  .mc-badge--spicy { background: #fdece6; color: var(--danger); }
  .mc-badge--new { background: #e9f0fb; color: #2453a6; }

  .results-head { margin: 26px 0 12px; color: var(--muted); font-weight: 600; }
  .empty { text-align: center; padding: 64px 20px; color: var(--muted); }
  .empty b { display: block; margin-top: 12px; color: var(--ink); font-size: 18px; }

  .foot { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
  .foot .mark { width: 40px; height: 40px; font-size: 14px; border-radius: 13px; }

  /* Alt menü */
  .nav { position: fixed; z-index: 70; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); max-width: 440px; margin: 0 auto; height: 72px; padding: 8px;
    border-radius: 999px; background: var(--glass); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5);
    box-shadow: 0 1px 0 rgb(255 255 255 / .8) inset, var(--sh-3); display: flex; align-items: center; justify-content: space-between; }
  .nav button { height: 56px; border: 0; background: none; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; color: var(--muted); font-size: 14px; font-weight: 700; transition: background .35s var(--ease), color .3s, flex .35s var(--ease); flex: 0 0 56px; }
  .nav button span { display: none; }
  .nav button.on { background: var(--primary); color: #fff; flex: 1 0 auto; }
  .nav button.on span { display: inline; }

  /* ================= Pencereler (detay, restoran, kategoriler) ================= */
  .mc-sheet.mc-sheet--app { height: 94dvh; max-height: 94dvh; border-radius: 32px 32px 0 0; overflow: hidden; }
  .mc-sheet--app .mc-close, .mc-sheet--venue .mc-close, .mc-sheet--cats .mc-close { display: none; }
  .mc-sheet--app .mc-grab span { background: rgb(255 255 255 / .75); }
  .mc-sheet--app .mc-sheet-body { height: 100%; overflow: hidden; }
  .mc-sheet--venue .mc-sheet-body { max-height: 94dvh; }

  /* Ürün detayı */
  .dt { display: flex; flex-direction: column; height: 100%; }
  .dt-media { position: relative; height: 42dvh; min-height: 260px; flex-shrink: 0; background: var(--img-bg); }
  .dt-media img { width: 100%; height: 100%; object-fit: cover; }
  .dt-media.empty { display: grid; place-items: center; color: #b5afa3; }
  .dt-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / .3), transparent 30%); pointer-events: none; }
  .dt-bar { position: absolute; z-index: 3; top: 18px; left: 18px; right: 18px; display: flex; justify-content: space-between; }
  .glassbtn { width: 44px; height: 44px; border-radius: 50%; border: 0; color: #1b1c1a; background: rgb(255 255 255 / .95); display: grid; place-items: center; box-shadow: var(--sh-1); }
  .dt-panel { position: relative; z-index: 2; margin-top: -34px; flex: 1; min-height: 0; display: flex; flex-direction: column; background: var(--surface); border-radius: 32px 32px 0 0; }
  .dt-scroll { flex: 1; overflow-y: auto; padding: 26px 22px 12px; overscroll-behavior: contain; }
  .dt-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
  .dt-title h2 { margin: 0; font-size: 27px; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
  .dt-title .cat { margin-top: 4px; color: var(--muted); font-size: 14px; font-weight: 600; }
  .rate { flex-shrink: 0; height: 32px; padding: 0 11px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-ink); display: inline-flex; align-items: center; gap: 5px; font-weight: 800; font-size: 13px; }
  .facts { margin-top: 18px; display: flex; align-items: center; justify-content: space-around; height: 52px; border-radius: 99px; background: var(--surface-2); padding: 0 8px; }
  .facts span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
  .facts span .ic { color: var(--accent); }
  .facts i { width: 1px; height: 18px; background: #dcd7ce; }
  .dt h3 { margin: 24px 0 10px; font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
  .seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .seg button { height: 48px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 700; font-size: 14.5px; transition: .25s var(--ease); }
  .seg button.on { background: var(--primary); border-color: var(--primary); color: #fff; }
  .seg button small { font-weight: 600; opacity: .7; margin-left: 4px; }
  .about { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; font-weight: 500; }
  .allergens { display: flex; flex-wrap: wrap; gap: 8px; }
  .allergens span { height: 34px; padding: 0 14px; border-radius: 99px; border: 1.5px solid var(--line); display: inline-flex; align-items: center; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
  .note { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }
  .dt-foot { flex-shrink: 0; display: flex; align-items: center; gap: 16px; padding: 14px 22px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
  .dt-foot .tot small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 600; }
  .dt-foot .tot b { font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
  .bigbtn { flex: 1; height: 60px; border-radius: 99px; border: 0; background: var(--primary); color: #fff; font-size: 16px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 14px 26px -14px var(--primary); }

  /* Restoran bilgisi (sade) */
  .vn { padding: 30px 20px calc(24px + env(safe-area-inset-bottom)); }
  .vn-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
  .vn-head .mark { width: 56px; height: 56px; border-radius: 18px; font-size: 19px; }
  .vn-t { flex: 1; min-width: 0; }
  .vn-t h2 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
  .vn-t p { margin: 3px 0 0; display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13.5px; font-weight: 600; }
  .vn-t .live { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgb(21 128 61 / .15); }
  .vn-x { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--surface-2); display: grid; place-items: center; flex-shrink: 0; align-self: flex-start; }
  .wifi { position: relative; overflow: hidden; border-radius: 24px; background: var(--wifi-bg); color: #fff; padding: 18px; display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: center; isolation: isolate; }
  .wifi::before { content: ''; position: absolute; z-index: -1; right: -60px; top: -80px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgb(201 154 91 / .3), transparent 65%); }
  .wifi .wi { grid-row: 1 / 3; width: 46px; height: 46px; border-radius: 15px; background: rgb(255 255 255 / .1); display: grid; place-items: center; color: #f4c879; }
  .wifi small { color: rgb(255 255 255 / .6); font-size: 12px; font-weight: 600; }
  .wifi b { font-size: 15px; font-weight: 700; }
  .wifi .pass { grid-column: 1 / -1; margin-top: 14px; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 6px 0 16px; border-radius: 99px; background: rgb(255 255 255 / .1); }
  .wifi .pass code { flex: 1; font: 700 16px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }
  .wifi .pass button { height: 40px; padding: 0 16px; border: 0; border-radius: 99px; background: #fff; color: #1b1c1a; font-weight: 800; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; }
  .acts { margin-top: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .act { height: 82px; border-radius: 22px; background: var(--surface-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
  .act i { width: 36px; height: 36px; border-radius: 12px; background: var(--surface); display: grid; place-items: center; color: var(--primary); box-shadow: var(--sh-1); }
  .addr { margin-top: 12px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 22px; background: var(--surface-2); }
  .addr i { width: 38px; height: 38px; border-radius: 12px; background: var(--surface); display: grid; place-items: center; color: var(--primary); flex-shrink: 0; box-shadow: var(--sh-1); }
  .addr span { flex: 1; font-size: 14px; font-weight: 600; color: var(--ink-2); line-height: 1.4; }

  /* Kategori penceresi */
  .ct { padding: 30px 20px calc(24px + env(safe-area-inset-bottom)); }
  .ct-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
  .ct-head h2 { margin: 0; font-size: 23px; font-weight: 800; letter-spacing: -.035em; }
  .ct-head button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--surface-2); display: grid; place-items: center; }
  .ct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .cbox { position: relative; height: 112px; border-radius: 22px; overflow: hidden; background: var(--surface-2); text-align: left; border: 0; padding: 0; isolation: isolate; color: #fff; }
  .cbox img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
  .cbox::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgb(0 0 0 / .62)); }
  .cbox.noimg { color: var(--ink); } .cbox.noimg::after { display: none; }
  .cbox .ci { position: absolute; top: 12px; left: 12px; width: 34px; height: 34px; border-radius: 11px; background: var(--surface); color: var(--primary); display: grid; place-items: center; }
  .cbox span { position: absolute; left: 14px; right: 12px; bottom: 11px; }
  .cbox b { display: block; font-size: 15px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
  .cbox small { font-size: 12px; font-weight: 600; opacity: .8; }

  @media (hover: hover) {
    .card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgb(27 28 26 / .04), 0 24px 40px -20px rgb(27 28 26 / .3); }
    .card:hover .ph img, .line:hover .th img, .ctile:hover .im img { transform: scale(1.07); }
    .line:hover h3 { color: var(--primary); }
    .tab:not(.active):hover { color: var(--ink); }
  }

  /* ================= Tablet ================= */
  @media (min-width: 640px) {
    .main { padding-left: 32px; padding-right: 32px; }
    .ctiles { margin: 0 -32px; padding-left: 32px; padding-right: 32px; gap: 18px; scroll-padding: 0 32px; }
    .ctile, .ctile .im { width: 92px; } .ctile .im { height: 92px; }
    .sticky { margin-left: -32px; margin-right: -32px; padding-left: 32px; padding-right: 32px; }
    .hello { font-size: 40px; }
    .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
    .slide { grid-template-columns: 1fr 38%; padding: 34px 0 50px 34px; min-height: 260px; }
    .slide h2 { font-size: 36px; }
    .plate { width: 100%; margin-right: -12%; }
    .menu { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 20px; align-items: start; }
    .group + .group { margin-top: 0; }
    .mc-sheet.mc-sheet--app { height: auto; max-height: 90dvh; }
    .mc-sheet--app .dt { height: min(820px, 90dvh); }
    .mc-sheet.mc-sheet--venue, .mc-sheet.mc-sheet--cats { width: min(560px, 92vw); }
  }

  /* ================= Masaüstü: web uygulaması ================= */
  @media (min-width: 1024px) {
    body { padding-left: 104px; }
    .rail { display: flex; position: fixed; z-index: 60; left: 16px; top: 16px; bottom: 16px; width: 72px; flex-direction: column; align-items: center; gap: 8px; padding: 14px 0;
      border-radius: 28px; background: var(--surface); box-shadow: var(--sh-2); }
    .rail .mark { width: 44px; height: 44px; font-size: 15px; margin-bottom: 14px; }
    .rail button { width: 52px; height: 52px; border-radius: 18px; border: 0; background: none; display: grid; place-items: center; color: var(--muted); position: relative; transition: background .2s, color .2s; }
    .rail button:hover { background: var(--surface-2); color: var(--ink); }
    .rail button.on { background: var(--primary); color: #fff; }
    .rail button[data-tip]:hover::after { content: attr(data-tip); position: absolute; left: 62px; top: 50%; transform: translateY(-50%); white-space: nowrap; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 700; padding: 6px 10px; border-radius: 8px; pointer-events: none; }
    .rail .sp { flex: 1; }
    .rail .lang { font-size: 13px; font-weight: 800; }
    .nav { display: none; }
    .main { padding: 0 40px 48px; max-width: 1180px; }
    .top { padding-top: 32px; }
    .top .mark, .top .round { display: none; }
    .head-grid { display: grid; grid-template-columns: 1fr 460px; gap: 24px; align-items: end; }
    .hello { font-size: 46px; }
    .search { margin-top: 0; }
    .promo { margin-top: 32px; }
    .slide { grid-template-columns: 1fr 340px; padding: 44px 56px 58px; min-height: 320px; gap: 30px; }
    .slide h2 { font-size: 48px; }
    .slide p { font-size: 15px; max-width: 460px; }
    .plate { width: 100%; margin-right: 0; }
    .dots { left: 56px; bottom: 26px; }
    .ctiles { margin: 0; padding: 2px 0 6px; flex-wrap: wrap; gap: 22px; overflow: visible; }
    .ctile, .ctile .im { width: 100px; } .ctile .im { height: 100px; border-radius: 28px; }
    .sticky { margin: 4px 0 0; padding: 0; top: 16px; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none !important; }
    .compact { display: none; }
    .tabs { background: rgb(255 255 255 / .86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: 99px; padding: 6px; box-shadow: var(--sh-2); }
    .ind { top: 6px; }
    .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
    .h { margin-top: 40px; }
    .group { scroll-margin-top: 90px; }
    /* Pencereler: sağdan kayan panel */
    .mc-sheet.mc-sheet--app, .mc-sheet.mc-sheet--cats { left: auto !important; right: 16px; top: 16px !important; bottom: 16px; width: 460px; height: auto; max-height: none; border-radius: 32px;
      transform: translateX(calc(100% + 24px)) !important; opacity: 1 !important; pointer-events: auto; transition: transform .5s var(--ease); }
    .mc-sheet.mc-sheet--app.on, .mc-sheet.mc-sheet--cats.on { transform: translateX(0) !important; }
    .mc-sheet--app .dt { height: 100%; }
    .mc-sheet--app .dt-media { height: 46%; }
    .mc-sheet--cats .mc-sheet-body { max-height: none; height: 100%; }
  }

  /* ================= Menyu eklemeleri ================= */
  .mark img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
  .mark.has-logo { background: none; box-shadow: none; padding: 0; overflow: visible; }
  .so { position: absolute; inset: 0; display: grid; place-items: center; background: rgb(255 255 255 / .55); backdrop-filter: grayscale(1); -webkit-backdrop-filter: grayscale(1); }
  .so span { height: 28px; padding: 0 12px; border-radius: 99px; background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; }
  .is-sold h3 { text-decoration: line-through; text-decoration-thickness: 1.5px; color: var(--muted); }
  .is-sold .th img, .is-sold .ph img { filter: grayscale(1); opacity: .6; }
  .sold-tag { height: 24px; padding: 0 9px; border-radius: 99px; background: var(--surface-2); color: var(--muted); font-size: 11.5px; font-weight: 800; display: inline-flex; align-items: center; }
  .seg.multi { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
  .banner-img { position: absolute; inset: 0; z-index: -1; }
  .banner-img img { width: 100%; height: 100%; object-fit: cover; }
  .banner-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--primary) 92%, #000) 0%, color-mix(in srgb, var(--primary) 70%, transparent) 55%, transparent); }
  .slide.has-bg { position: relative; isolation: isolate; grid-template-columns: 1fr; padding-right: 24px; }
  .slide.has-bg > div:not(.banner-img) { max-width: 62%; }
  .empty-menu { text-align: center; padding: 80px 20px; color: var(--muted); }
  .empty-menu b { display: block; color: var(--ink); font-size: 20px; margin: 14px 0 4px; }
  .vn-cover { height: 150px; margin: -30px -20px 20px; overflow: hidden; }
  .vn-cover img { width: 100%; height: 100%; object-fit: cover; }
  .hero-cover { margin-top: 22px; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 8; background: var(--img-bg); }
  .hero-cover img { width: 100%; height: 100%; object-fit: cover; }
  .status .closed { width: 8px; height: 8px; border-radius: 50%; background: #b91c1c; }

  /* Şablon: Sade (vitrin ve popüler yok, kapak görseli varsa üstte) */
  [data-template="sade"] .promo, [data-template="sade"] #populer, [data-template="sade"] .tab[data-cat="populer"] { display: none !important; }
  [data-template="sade"] .ctiles .im { border-radius: 50%; }

  /* Şablon: Gece (koyu) */
  [data-template="gece"] { color-scheme: dark;
    --bg: #0f0f0e; --surface: #1a1a18; --surface-2: #242421; --surface-3: #2c2c29; --ink: #f4f2ec; --ink-2: #d2cfc7; --muted: #8f8c84; --line: #2a2a27; --img-bg: #262623;
    --primary-soft: color-mix(in srgb, var(--primary) 35%, #1a1a18); --accent-soft: color-mix(in srgb, var(--accent) 22%, #1a1a18); --accent-ink: color-mix(in srgb, var(--accent) 70%, #fff);
    --sh-1: 0 0 0 1px #242421; --sh-2: 0 0 0 1px #242421, 0 18px 30px -22px rgb(0 0 0 / .9); --sh-3: 0 24px 60px -20px rgb(0 0 0 / .9);
    --wifi-bg: #262623; --ind-bg: var(--accent); --ind-text: #111; --glass: rgb(26 26 24 / .88); --bar: rgb(15 15 14 / .9); --toast-bg: #f4f2ec; --toast-text: #111; }
  [data-template="gece"] .mc-badge--veg { color: #86efac; } [data-template="gece"] .mc-badge--spicy { background: #3a2018; color: #fdba74; }
  [data-template="gece"] .so { background: rgb(0 0 0 / .45); }
  [data-template="gece"] .status .live { box-shadow: 0 0 0 3px rgb(34 197 94 / .2); }
