/* Yazi tipleri sunucudan gelir (Google Fonts'a istek yok: KVKK + hiz). Degisken font: 400-800. */
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/nunito-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/nunito-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/themes/inter-400-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/themes/inter-400-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* dino.order — restoran siparis sitesi
   Yerlesim: tam genislik web sitesi. Ust cubuk + tam genislik kapak + (kategori kenar cubugu | urun kartlari | sepet)
   + bilgiler + alt bilgi. Telefonda tek sutun, yatay kategori cubugu ve alttan sepet cubugu.
   Marka rengi restorandan gelir (--brand, JS ile set edilir); notrler ona hafifce egilir. */

:root {
  --brand: #A61E2C;
  --brand-ink: #FFFFFF;
  --brand-soft: color-mix(in srgb, var(--brand) 10%, transparent);
  --brand-line: color-mix(in srgb, var(--brand) 28%, transparent);

  --bg: #F4F5F6;
  --surface: #FFFFFF;
  --surface-2: #EEF0F2;
  --ink: #16181B;
  --muted: #5D636B;
  --faint: #8A9098;
  --line: #E2E5E9;
  --footer: #16181B;
  --footer-ink: #C9CDD2;
  --ok: #1E7A46;
  --ok-soft: #E3F3E9;
  --warn: #A15C00;
  --warn-soft: #FDF1DC;
  --danger: #B42318;
  --danger-soft: #FCE8E6;
  --shadow: 0 1px 2px rgb(16 18 21 / 6%), 0 8px 24px rgb(16 18 21 / 8%);
  --shadow-sm: 0 1px 2px rgb(16 18 21 / 5%), 0 2px 8px rgb(16 18 21 / 5%);
  --scrim: rgb(12 14 16 / 48%);

  --font-display: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --gutter: 16px;
  --container: 1240px;
  --topbar: 64px;
  --catbar: 58px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1012;
    --surface: #171A1D;
    --surface-2: #1F2327;
    --ink: #ECEEF0;
    --muted: #A2A8AF;
    --faint: #7C838B;
    --line: #2A2F34;
    --footer: #08090A;
    --footer-ink: #A2A8AF;
    --ok: #4CC07E;
    --ok-soft: #13291C;
    --warn: #E3A33B;
    --warn-soft: #2C2210;
    --danger: #F0776B;
    --danger-soft: #2E1513;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 10px 30px rgb(0 0 0 / 35%);
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 35%);
    --scrim: rgb(0 0 0 / 62%);
    --brand-soft: color-mix(in srgb, var(--brand) 22%, transparent);
    --brand-line: color-mix(in srgb, var(--brand) 45%, transparent);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0E1012;
  --surface: #171A1D;
  --surface-2: #1F2327;
  --ink: #ECEEF0;
  --muted: #A2A8AF;
  --faint: #7C838B;
  --line: #2A2F34;
  --footer: #08090A;
  --footer-ink: #A2A8AF;
  --ok: #4CC07E;
  --ok-soft: #13291C;
  --warn: #E3A33B;
  --warn-soft: #2C2210;
  --danger: #F0776B;
  --danger-soft: #2E1513;
  --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 10px 30px rgb(0 0 0 / 35%);
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 35%);
  --scrim: rgb(0 0 0 / 62%);
  --brand-soft: color-mix(in srgb, var(--brand) 22%, transparent);
  --brand-line: color-mix(in srgb, var(--brand) 45%, transparent);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

.num { font-variant-numeric: tabular-nums; }

/* Kisa sayfada (siparis takibi, bos sepet …) alt bilgi ekranin altina oturur; altta bos gri alan kalmaz. */
#app { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
#app > * { flex-shrink: 0; }
#app > .site-foot { margin-top: auto; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding-inline: var(--gutter);
}

@media (min-width: 760px) { :root { --gutter: 24px; } }
@media (min-width: 1200px) { :root { --gutter: 32px; } }

/* ------------------------------------------------------------------ ust cubuk */

.topbar {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 15;
  height: var(--topbar);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-in { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand {
  display: flex; align-items: center; gap: 10px;
  min-width: 0;
  border: 0; background: none; padding: 0;
  text-decoration: none;
}
.brand-mark {
  width: 36px; height: 36px; flex: none;
  border-radius: 10px;
  background: var(--brand); color: var(--brand-ink);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.topnav { display: none; gap: 4px; margin-inline-start: auto; }
.topnav button {
  border: 0; background: none;
  padding: 8px 12px; border-radius: 10px;
  font-weight: 600; color: var(--muted);
}
.topnav button:hover { color: var(--ink); background: var(--surface-2); }

.cart-btn {
  margin-inline-start: auto;
  display: inline-flex; align-items: center; gap: 10px;
  height: 42px; padding: 0 14px 0 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 700;
}
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn .badge {
  min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px;
  background: var(--brand); color: var(--brand-ink);
  font-size: 12.5px; display: grid; place-items: center;
}
.cart-btn .sum { display: none; }

@media (min-width: 760px) {
  .topnav { display: flex; }
  .cart-btn { margin-inline-start: 8px; }
  .cart-btn .sum { display: inline; }
}

/* ---------------------------------------------------------------------- kapak */

.hero {
  position: relative;
  isolation: isolate;
  color: #FFFFFF;
  background: var(--brand);
  overflow: hidden;
}
.hero-img { position: absolute; inset: 0; z-index: -2; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero.has-img::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgb(0 0 0 / 52%);
}

.hero-in { padding-block: 32px 28px; display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 900px) { .hero-in { padding-block: 48px 36px; } }

.hero-text { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

.hero-logo {
  width: 72px; height: 72px;
  border-radius: 18px;
  background: #FFFFFF;
  overflow: hidden;
  display: grid; place-items: center;
  color: var(--brand);
  font-family: var(--font-display); font-weight: 700; font-size: 30px;
  box-shadow: 0 6px 20px rgb(0 0 0 / 25%);
}
.hero-logo img { width: 100%; height: 100%; object-fit: cover; }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
  max-width: 16ch;
}
.hero .sub { margin: -6px 0 0; font-size: 15.5px; color: rgb(255 255 255 / 85%); max-width: 60ch; }
.hero-row { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }

.status {
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
  font-size: 13px; font-weight: 600;
  padding: 4px 11px 4px 9px;
  border-radius: 999px;
  background: var(--ok-soft); color: var(--ok);
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.closed { background: var(--danger-soft); color: var(--danger); }
.hero .status { background: none; padding: 0; color: rgb(255 255 255 / 92%); }
.hero .status::before { background: #5BE08F; box-shadow: 0 0 0 3px rgb(91 224 143 / 25%); }
.hero .status.closed::before { background: #FF8A80; box-shadow: 0 0 0 3px rgb(255 138 128 / 25%); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.hero-cta .btn { width: auto; min-width: 180px; background: #FFFFFF; color: #16181B; box-shadow: 0 8px 24px rgb(0 0 0 / 25%); }
.hero-cta .btn-line {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 20px;
  border-radius: 16px;
  border: 1px solid rgb(255 255 255 / 45%);
  background: transparent; color: #FFFFFF;
  font-weight: 600;
}
.hero-cta .btn-line:hover { background: rgb(255 255 255 / 10%); }

.facts {
  display: flex; flex-wrap: wrap;
  gap: 4px 0;
  margin: 0; padding: 0; list-style: none;
  font-size: 14.5px;
  color: rgb(255 255 255 / 92%);
}
.facts li { display: inline-flex; align-items: center; }
.facts { column-gap: 18px; }
@media (min-width: 640px) {
  .facts { column-gap: 0; }
  .facts li + li::before { content: ""; width: 1px; height: 14px; margin: 0 14px; background: rgb(255 255 255 / 35%); }
}
.facts .k { color: rgb(255 255 255 / 72%); margin-inline-end: 6px; }
.facts .v { font-weight: 700; }

.welcome {
  display: flex; gap: 10px; align-items: center;
  margin-top: 2px;
  padding: 0;
  max-width: 520px;
  font-size: 14px;
}
.welcome .who { font-weight: 650; }
.welcome .where { color: rgb(255 255 255 / 78%); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.welcome > div { min-width: 0; }
.welcome svg { width: 22px; height: 22px; flex: none; }

.notice-bar { background: var(--danger-soft); color: var(--danger); font-weight: 600; font-size: 14px; }
.notice-bar .container { padding-block: 12px; display: flex; gap: 10px; align-items: flex-start; }
.notice-bar.info { background: var(--brand-soft); color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--brand-line); }
.notice-bar.info svg { width: 20px; height: 20px; flex: none; color: var(--brand); margin-top: 1px; }

/* teslimat sekli secici */
.mode {
  display: inline-grid; grid-template-columns: 1fr 1fr;
  padding: 4px; gap: 4px;
  border-radius: 14px;
  background: var(--surface-2);
  align-self: flex-start;
  max-width: 100%;
}
.mode button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 16px;
  border: 0; border-radius: 10px;
  background: transparent; color: var(--muted);
  font-weight: 650; white-space: nowrap;
}
.mode button svg { width: 18px; height: 18px; }
.mode button[aria-checked="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.mode.on-hero { background: rgb(0 0 0 / 22%); }
.mode.on-hero button { color: rgb(255 255 255 / 82%); }
.mode.on-hero button[aria-checked="true"] { background: #FFFFFF; color: #16181B; }

/* --------------------------------------------------------------- menu duzeni */

.menu-wrap { padding-block: 28px 48px; }

.menu-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
@media (min-width: 900px) { .menu-grid { grid-template-columns: 210px minmax(0, 1fr); } }
@media (min-width: 1200px) { .menu-grid { grid-template-columns: 210px minmax(0, 1fr) 340px; } }

.menu-main { min-width: 0; }

.menu-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 4px; }
.menu-head h2 { font-family: var(--font-display); font-size: clamp(26px, 4vw, 34px); letter-spacing: -0.02em; margin: 0; }

.search-box { position: relative; flex: 0 1 300px; min-width: 0; display: none; }
.search-box svg { position: absolute; inset-inline-start: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--faint); }
.search-box input {
  width: 100%; height: 42px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface);
  padding-block: 0; padding-inline: 38px 14px; outline: none;
}
.search-box input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
@media (min-width: 900px) { .search-box { display: block; } }

/* kategori kenar cubugu (masaustu) */
.catside { display: none; position: sticky; top: calc(var(--topbar) + 24px); }
@media (min-width: 900px) { .catside { display: block; } }
.catside h3 { font-size: 15px; font-weight: 800; color: var(--ink); margin: 6px 0 10px; margin-inline-start: 12px; }
/* Cok kategoride kenar cubugu ekrandan tasmasin: liste kendi icinde kayar. */
.catside nav {
  position: relative; display: flex; flex-direction: column; gap: 2px;
  max-height: calc(100vh - var(--topbar) - 90px); overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: none;
}
.catside nav::-webkit-scrollbar { display: none; }
/* Kaydirma cubugu yok; devami oldugu kenarin hafif solmasindan anlasilir (sona gelince kalkar). */
.catside nav.more-below { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 48px), transparent); }
.catside nav.more-above { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 48px); mask-image: linear-gradient(to bottom, transparent, #000 48px); }
.catside nav.more-above.more-below { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 48px, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(to bottom, transparent, #000 48px, #000 calc(100% - 48px), transparent); }
.catside .cat {
  text-align: start;
  border: 0; background: none;
  padding: 9px 12px; border-radius: 10px;
  font-weight: 600; color: var(--muted);
  display: flex; justify-content: space-between; gap: 8px;
}
.catside .cat:hover { background: var(--surface-2); color: var(--ink); }
.catside .cat[aria-current="true"] { background: var(--brand-soft); color: var(--brand); }
.catside .cat small { color: var(--faint); font-weight: 500; }

/* kategori cubugu (telefon/tablet) */
.catbar {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + var(--topbar));
  z-index: 5;
  height: var(--catbar);
  margin-inline: calc(-1 * var(--gutter));
  padding: 10px var(--gutter);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  display: flex; gap: 8px; align-items: center;
}
@media (min-width: 900px) { .catbar { display: none; } }

.search-btn {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid; place-items: center;
}
.search-btn svg { width: 18px; height: 18px; }

.cats {
  display: flex; gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  min-width: 0;
}
.cats::-webkit-scrollbar { display: none; }
.cats .cat {
  flex: none;
  border: 0; background: transparent;
  color: var(--muted);
  font-weight: 600; font-size: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.cats .cat[aria-current="true"] { background: var(--ink); color: var(--bg); }

.search { flex: 1; min-width: 0; display: flex; gap: 8px; align-items: center; }
.search input {
  flex: 1; min-width: 0; height: 38px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); padding: 0 14px; outline: none;
}
.search input:focus { border-color: var(--brand); }
.link-btn { border: 0; background: none; color: var(--brand); font-weight: 600; padding: 6px; }

/* ---------------------------------------------------------------- urunler */

.section { padding-top: 28px; scroll-margin-top: calc(var(--topbar) + var(--catbar) + 8px); }
@media (min-width: 900px) { .section { scroll-margin-top: calc(var(--topbar) + 16px); } }
.section h2 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  display: flex; align-items: baseline; gap: 10px;
}
.section h2 small { font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--faint); letter-spacing: 0; }

/* alt kategoriler (POS'taki gibi: ustte alt kategori butonlari, altta kategorinin kendi urunleri) */
.subpath { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; min-width: 0; }
.subpath b { font-size: 16px; font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sub-back {
  flex: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font-weight: 600; font-size: 14px; padding: 7px 14px; border-radius: 999px;
}
.subcats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.subcat {
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font-weight: 600; font-size: 14px; padding: 10px 16px; border-radius: var(--r-md);
}
.subcat:hover, .sub-back:hover { background: var(--surface-2); }
.subcat small { color: var(--faint); font-weight: 500; margin-inline-start: 4px; }

.items { display: flex; flex-direction: column; }

/* Yatay kart: yazi solda, fotograf (varsa) sagda. Fotografsiz urunde bos yer birakilmaz. */
.item {
  display: flex; gap: 14px; align-items: stretch;
  width: 100%;
  padding: 14px 0;
  border: 0; border-bottom: 1px solid var(--line);
  background: none;
  text-align: start;
  position: relative;
}
.items .item:last-child { border-bottom: 0; }
.item-body { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.item .thumb { order: 2; flex: none; }

@media (min-width: 640px) {
  /* Liste: her satirda bir urun (izgaradan ayrissin; fotografsiz menude de fark gorunsun). */
  .items { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .item {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--surface);
    transition: border-color .15s ease;
  }
  .items .item:last-child { border-bottom: 1px solid var(--line); }
  .item:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
  .item.off:hover { border-color: var(--line); }
}

.item-name { font-weight: 650; font-size: 16px; line-height: 1.3; margin: 0; }
.item-desc {
  color: var(--muted);
  font-size: 13.5px;
  margin: 4px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.item-price { margin-top: auto; padding-top: 8px; font-weight: 800; font-size: 15.5px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.add-text {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--brand-soft); color: var(--brand);
  font-weight: 800; font-size: 14px;
}
.add-text svg { width: 16px; height: 16px; }
.add-text.has { background: var(--brand); color: var(--brand-ink); }
.item.off .add-text { display: none; }
.item-price small { color: var(--faint); font-weight: 500; font-size: 12.5px; }

.thumb {
  position: relative;
  width: 104px; height: 104px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface-2);
  max-width: 100%;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.ph {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 25%, var(--brand-soft), transparent 62%),
    var(--surface-2);
  color: color-mix(in srgb, var(--brand) 55%, var(--faint));
}
.ph svg { width: 34%; height: 34%; max-width: 64px; max-height: 64px; opacity: .8; }

.add {
  position: absolute; inset-inline-end: 6px; bottom: 6px;
  width: 32px; height: 32px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--brand);
  box-shadow: 0 2px 8px rgb(0 0 0 / 18%);
  display: grid; place-items: center;
}
.add svg { width: 18px; height: 18px; }
.add.has { background: var(--brand); color: var(--brand-ink); font-weight: 700; font-size: 14px; }

.item.off { opacity: .55; cursor: default; }
.item.off .add { display: none; }
.soldout {
  display: inline-block; margin-inline-start: 8px;
  font-size: 12.5px; font-weight: 700;
  color: var(--muted);
  vertical-align: 2px;
}

.empty-search { padding: 48px 0; text-align: center; color: var(--muted); }

/* ------------------------------------------------------------- yan sepet */

.side-cart {
  display: none;
  position: sticky; top: calc(var(--topbar) + 24px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 1200px) { .side-cart { display: block; } }
.side-cart h3 { font-family: var(--font-display); margin: 0 0 14px; font-size: 20px; }
.side-empty { color: var(--muted); font-size: 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 0 8px; text-align: center; }
.side-empty svg { width: 36px; height: 36px; color: var(--faint); }
.side-scroll { max-height: calc(100vh - 360px); overflow-y: auto; margin-inline: -4px; padding-inline: 4px; }

/* ---------------------------------------------------------------- bilgiler */

.info { background: var(--surface); border-top: 1px solid var(--line); scroll-margin-top: var(--topbar); }
.info-in { padding-block: 48px; }
.info h2 { font-family: var(--font-display); font-size: clamp(26px, 4vw, 34px); letter-spacing: -0.02em; margin: 0 0 24px; }
.info-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 760px) { .info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.info-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.info-card h3 { margin: 0; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.info-card h3 svg { width: 18px; height: 18px; color: var(--brand); }

.hours { width: 100%; border-collapse: collapse; font-size: 14px; }
.hours td { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.hours tr:last-child td { border-bottom: 0; }
.hours td:last-child { text-align: end; }
.hours tr.today td { font-weight: 700; color: var(--brand); }

.zone-list { display: flex; flex-direction: column; font-size: 14px; }
.zone-list div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.zone-list div:last-child { border-bottom: 0; }
.zone-list span:last-child { color: var(--muted); text-align: end; white-space: nowrap; }

.contact { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.contact div { display: flex; gap: 10px; align-items: flex-start; }
.contact svg { width: 18px; height: 18px; flex: none; color: var(--faint); margin-top: 2px; }
.contact a { text-decoration: none; font-weight: 600; }

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

.site-foot { background: var(--footer); color: var(--footer-ink); font-size: 13.5px; }
.site-foot .container { padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; }
.site-foot b { color: #FFFFFF; font-family: var(--font-display); font-size: 16px; }
.foot-brand { display: inline-flex; align-items: center; gap: 14px; }
.foot-brand a { color: var(--footer-ink); display: inline-grid; }
.foot-brand a:hover { color: #FFFFFF; }
.foot-brand svg { width: 20px; height: 20px; }
.site-foot button { border: 0; background: none; color: inherit; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1199px) { .has-cartbar .site-foot .container:last-child { padding-bottom: 104px; } }
.site-foot .container + .container { border-top: 1px solid rgb(255 255 255 / 8%); padding-top: 18px; }
.site-foot .container:first-child { padding-bottom: 18px; }
.foot-actions { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.site-foot .foot-actions button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 18%);
  text-decoration: none; color: #FFFFFF; font-weight: 600;
}
.site-foot .foot-actions button:hover { border-color: rgb(255 255 255 / 40%); }
.foot-actions svg { width: 15px; height: 15px; }
.foot-fine { flex-direction: column; align-items: flex-start !important; gap: 6px !important; font-size: 12.5px; }

/* ------------------------------------------------------------ sepet cubugu */

.cartbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 10;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to top, var(--bg) 55%, transparent);
  pointer-events: none;
}
.cartbar .btn { pointer-events: auto; max-width: 560px; margin: 0 auto; }
@media (min-width: 1200px) { .cartbar { display: none; } }

.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 0;
  border-radius: 16px;
  background: var(--brand);
  color: var(--brand-ink);
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--brand) 32%, transparent);
  transition: transform .12s ease, filter .12s ease;
  text-decoration: none;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: scale(.985); }
.btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }
.btn .count {
  min-width: 26px; height: 26px; padding: 0 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand-ink) 22%, transparent);
  display: grid; place-items: center;
  font-size: 13.5px;
}
.btn .spacer { flex: 1; text-align: start; }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}
.btn-ghost svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------ pencere (sheet) */

.scrim { position: fixed; inset: 0; background: var(--scrim); z-index: 20; animation: fade .18s ease; }

.sheet {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 21;
  max-height: 92vh;
  display: flex; flex-direction: column;
  background: var(--surface);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  box-shadow: var(--shadow);
  animation: rise .24s cubic-bezier(.2, .8, .2, 1);
  overflow: hidden;
}
@media (min-width: 760px) {
  .sheet {
    left: 50%; bottom: auto; top: 50%;
    width: min(600px, calc(100% - 48px));
    max-height: 88vh;
    transform: translate(-50%, -50%);
    border-radius: var(--r-lg);
    animation: pop .2s ease;
  }
}

.sheet-body { overflow-y: auto; overscroll-behavior: contain; }
.sheet-pad { padding: 20px 22px; }
.sheet-close {
  position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2;
  width: 36px; height: 36px;
  border-radius: 999px; border: 0;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  box-shadow: 0 1px 6px rgb(0 0 0 / 18%);
  display: grid; place-items: center;
}
.sheet-close svg { width: 18px; height: 18px; }

.sheet-img { aspect-ratio: 16 / 9; max-width: 100%; background: var(--surface-2); }
.sheet-img img { width: 100%; height: 100%; object-fit: cover; }

.sheet h2 { font-family: var(--font-display); font-size: 26px; letter-spacing: -0.015em; margin: 0; line-height: 1.15; text-wrap: balance; }
.sheet .lead { color: var(--muted); margin: 6px 0 0; }
.sheet p { max-width: 65ch; }

.group { margin-top: 22px; }
.group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.group-head h4 { margin: 0; font-size: 15px; }
.tag {
  font-size: 12px; font-weight: 700;
  padding: 3px 8px; border-radius: 999px;
  background: var(--surface-2); color: var(--muted);
  white-space: nowrap;
}
.tag.req { background: var(--brand-soft); color: var(--brand); }
.tag.done { background: var(--ok-soft); color: var(--ok); }

.choice {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.choice:last-child { border-bottom: 0; }
.choice input { width: 20px; height: 20px; accent-color: var(--brand); margin: 0; flex: none; }
.choice .label { flex: 1; min-width: 0; }
.choice .extra { color: var(--muted); font-size: 14px; white-space: nowrap; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .lbl { font-size: 13.5px; font-weight: 600; }
.field .hint { font-size: 12.5px; color: var(--faint); font-weight: 400; }
.input, .select, .textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 12px 14px;
  outline: none;
  min-height: 48px;
}
.textarea { resize: vertical; min-height: 76px; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.input.bad { border-color: var(--danger); }

.sheet-foot {
  display: flex; gap: 12px; align-items: center;
  padding: 14px 22px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.stepper {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  height: 54px; flex: none;
  background: var(--surface);
}
.stepper button { width: 44px; height: 100%; border: 0; background: none; display: grid; place-items: center; color: var(--ink); }
.stepper button svg { width: 18px; height: 18px; }
.stepper button[disabled] { color: var(--faint); cursor: default; }
.stepper span { min-width: 26px; text-align: center; font-weight: 700; }
.stepper.sm { height: 36px; border-radius: 10px; }
.stepper.sm button { width: 32px; }

/* ------------------------------------------------------------- odeme sayfasi */

.co-wrap { padding-block: 28px 64px; }
.co-title { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.co-title h1 { font-family: var(--font-display); font-size: clamp(26px, 4vw, 36px); letter-spacing: -0.02em; margin: 0; }
.icon-btn { width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; flex: none; }
.icon-btn svg { width: 20px; height: 20px; }

.co-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
@media (min-width: 960px) { .co-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; } }

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  display: flex; flex-direction: column; gap: 16px;
  min-width: 0;
}
.panel h3 { margin: 0; font-size: 17px; font-family: var(--font-display); letter-spacing: -0.005em; display: flex; align-items: center; gap: 10px; }
.panel h3 .n {
  width: 26px; height: 26px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand);
  font-family: var(--font-body); font-size: 13px; font-weight: 700;
  display: grid; place-items: center;
}
.co-forms { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.co-summary { position: sticky; top: calc(var(--topbar) + 24px); }

.line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.lines { display: flex; flex-direction: column; gap: 14px; }
.lines .line:last-child { border-bottom: 0; padding-bottom: 0; }
.line-name { font-weight: 600; min-width: 0; }
.line-sub { color: var(--muted); font-size: 13px; grid-column: 1; }
.line-price { font-weight: 650; text-align: end; }
.line .stepper { grid-column: 2; grid-row: 2 / span 2; justify-self: end; }

.cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card-opt {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  cursor: pointer;
  background: var(--surface);
}
.card-opt:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.card-opt input { margin: 2px 0 0; width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.card-opt .t { font-weight: 650; }
.card-opt .s { color: var(--muted); font-size: 13.5px; }
.card-opt > div { min-width: 0; flex: 1; }
.card-opt .del { border: 0; background: none; color: var(--faint); padding: 2px; }
.card-opt .del svg { width: 18px; height: 18px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600; font-size: 14px;
  background: var(--surface);
}
.chip:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }

.grid2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 560px) { .grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.totals { display: flex; flex-direction: column; gap: 8px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.totals .grand { color: var(--ink); font-weight: 700; font-size: 19px; padding-top: 10px; border-top: 1px dashed var(--line); }

.alert { padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 500; }
.alert.warn { background: var(--warn-soft); color: var(--warn); }
.alert.err { background: var(--danger-soft); color: var(--danger); }

.fine { color: var(--faint); font-size: 12.5px; margin: 0; }

/* ------------------------------------------------------------------ takip */

.track-wrap { padding-block: 32px 64px; }
.track-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
@media (min-width: 960px) { .track-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; } }
.track-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

.track-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 22px; }
.track-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.code-label { font-size: 13px; color: var(--faint); }
.code { font-family: var(--font-display); font-size: 36px; font-weight: 700; letter-spacing: .06em; line-height: 1.1; }
.track-card h2 { font-family: var(--font-display); font-size: clamp(24px, 3.4vw, 32px); margin: 18px 0 4px; letter-spacing: -0.02em; }
.track-card .lead { color: var(--muted); margin: 0; }

.steps { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; }
@media (min-width: 760px) {
  .steps { flex-direction: row; }
  .steps .step { flex: 1; grid-template-columns: 1fr; padding-bottom: 0; padding-inline-end: 8px; }
  .steps .step::before { inset-inline: 28px 0; top: 13px; bottom: auto; width: auto; height: 2px; }
}
.step { display: grid; grid-template-columns: 28px 1fr; gap: 12px; position: relative; padding-bottom: 18px; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; inset-inline-start: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.step:last-child::before { display: none; }
.step.done::before { background: var(--brand); }
.dot {
  width: 28px; height: 28px; border-radius: 999px;
  border: 2px solid var(--line); background: var(--surface);
  display: grid; place-items: center;
  position: relative; z-index: 1;
}
.dot svg { width: 14px; height: 14px; }
.step.done .dot { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.step.now .dot { border-color: var(--brand); }
.step.now .dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); animation: pulse 1.6s ease-in-out infinite; }
.step .st { font-weight: 650; padding-top: 3px; }
.step .tm { color: var(--faint); font-size: 13px; }
.step.todo .st { color: var(--faint); font-weight: 500; }

.track-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.track-actions > * { flex: 1 1 200px; }

.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.summary-row > span:first-child { color: var(--muted); min-width: 0; }
.summary-row small { color: var(--faint); }

/* ------------------------------------------------------------------ diger */

.toast {
  position: fixed;
  left: 50%; bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 30;
  background: var(--ink); color: var(--bg);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600; font-size: 14px;
  box-shadow: var(--shadow);
  animation: toastin .2s ease;
  max-width: calc(100% - 32px);
}
@media (min-width: 1200px) { .toast { bottom: 32px; } }

.loading { padding: 140px 16px; text-align: center; color: var(--muted); }
.spinner {
  width: 28px; height: 28px; margin: 0 auto 12px;
  border-radius: 50%;
  border: 3px solid var(--line); border-top-color: var(--brand);
  animation: spin .8s linear infinite;
}

@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } }
@keyframes pop { from { transform: translate(-50%, -48%) scale(.98); opacity: 0; } }
@keyframes toastin { from { transform: translate(-50%, 16px); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: scale(.6); opacity: .6; } }

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

.mode-off { margin-inline-start: 6px; font-size: 11.5px; font-weight: 700; opacity: .75; }
.hours th { text-align: start; font-size: 12.5px; color: var(--muted); font-weight: 700; padding-bottom: 4px; }
.hours td + td { padding-inline-start: 10px; }

/* ------------------------------------------------- etiketler, kalori, alerjen */

.item-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.badge-tag {
  font-size: 11.5px; font-weight: 700; line-height: 1;
  padding: 5px 8px; border-radius: 999px;
  background: var(--ok-soft); color: var(--ok);
}
.badge-tag.kcal { background: var(--surface-2); color: var(--muted); }

.nutrition { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; gap: 8px; }
.nutrition .item-badges { margin: 0; }
.nutrition dl { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.nutrition dl div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px; font-size: 14px; }
.nutrition dt { color: var(--muted); }
.nutrition dd { margin: 0; font-weight: 600; }
@media (max-width: 480px) { .nutrition dl div { grid-template-columns: minmax(0, 1fr); gap: 0; } }

/* ------------------------------------------------- zaman, konum, havale */

.card-opt.off { opacity: .55; cursor: not-allowed; }
.alert.info { background: var(--brand-soft); color: var(--ink); display: flex; gap: 10px; align-items: flex-start; }
.alert.info svg { width: 18px; height: 18px; flex: none; color: var(--brand); margin-top: 1px; }
.btn-ghost.sm { min-height: 34px; padding: 0 12px; border-radius: 10px; font-size: 13.5px; }

.loc-btn { align-self: flex-start; }
.loc-set { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 600; color: var(--ok); }
.loc-set svg { width: 18px; height: 18px; }
.loc-mini { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 600; color: var(--ok); }
.loc-mini svg { width: 13px; height: 13px; }

.map-sheet .sheet-pad { padding-inline-end: 60px; }
.map-wrap { position: relative; height: min(58vh, 460px); background: var(--surface-2); }
.map { position: absolute; inset: 0; }
.map .loading { height: 100%; }
.map-pin {
  position: absolute; left: 50%; top: 50%; z-index: 500;
  width: 40px; height: 40px; transform: translate(-50%, -100%);
  color: var(--brand); pointer-events: none;
  filter: drop-shadow(0 2px 3px rgb(0 0 0 / 35%));
}
.map-pin svg { width: 100%; height: 100%; fill: var(--surface); }
.map-locate { position: absolute; inset-inline-end: 12px; bottom: 28px; z-index: 500; min-height: 40px; box-shadow: var(--shadow-sm); }

.iban-box { margin-top: 12px; padding: 12px 14px; border: 1px dashed var(--brand-line); border-radius: 12px; background: var(--brand-soft); display: flex; flex-direction: column; gap: 8px; }
.iban-head { font-weight: 700; font-size: 14px; }
.iban-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.iban-row > span { color: var(--muted); min-width: 64px; }
.iban-row b { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.iban { letter-spacing: .02em; }

/* bolgeye gore gruplu teslimat bolgeleri (Bilgiler) */
.zone-list.grouped { gap: 0; }
.zone-list.grouped .zone-group { display: block; padding: 10px 0; }
.zone-list.grouped .zone-group:first-child { padding-top: 0; }
.zone-list.grouped .zone-group > div { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; padding: 0; border-bottom: 0; }
.zone-list.grouped .zone-group > div span { color: var(--muted); font-size: 13px; text-align: start; white-space: normal; }
.zone-list.grouped .zone-group p { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }

/* ------------------------------------------------- izgara gorunum (panel → Görünüm) */
/* Buyuk fotograf ustte, yazi altta. Fotografsiz urun yalniz yazi olarak kalir (bos kutu yok). */
.layout-grid .items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.layout-grid .item {
  flex-direction: column; gap: 0;
  padding: 0;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
}
.layout-grid .items .item:last-child { border-bottom: 1px solid var(--line); }
.layout-grid .item .thumb { order: -1; width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 0; }
.layout-grid .item-body { padding: 10px 12px 12px; }
.layout-grid .item-name { font-size: 15px; }
.layout-grid .item-desc { font-size: 12.5px; }
.layout-grid .item-badges { margin-top: 6px; }
/* Fotografsiz urunde de kart: fiyat altta, kart boyu esit. */
.layout-grid .item-body { flex: 1; }
.layout-grid .item:not(:has(.thumb)) { min-height: 132px; }
@media (min-width: 640px) {
  .layout-grid .items { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
  .layout-grid .item-body { padding: 12px 14px 14px; }
  .layout-grid .item-name { font-size: 16px; }
}

/* Kategori gorseli: bolum basliginin ustunde genis serit. */
.cat-banner { margin: 0 0 12px; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 5; background: var(--surface-2); }
.cat-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 639px) { .cat-banner { aspect-ratio: 16 / 7; } }

/* ------------------------------------------------------------ yorumlar */

.rating-chip {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 6px 0 2px; padding: 5px 12px 5px 9px;
  border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font-size: 14px;
}
.rating-chip svg { width: 16px; height: 16px; color: #F5A524; }
.rating-chip span { color: var(--muted); }
.hero.has-img .rating-chip { background: rgb(0 0 0 / 45%); border-color: rgb(255 255 255 / 25%); color: #FFFFFF; }
.hero.has-img .rating-chip span { color: rgb(255 255 255 / 80%); }

.stars { display: inline-flex; gap: 2px; color: var(--line); }
.stars i { display: inline-grid; width: 16px; height: 16px; }
.stars.lg i { width: 22px; height: 22px; }
.stars i.on { color: #F5A524; }
.stars svg { width: 100%; height: 100%; }

.star-pick { display: flex; gap: 6px; margin: 10px 0; }
.star-pick button { width: 42px; height: 42px; border: 0; background: none; padding: 4px; color: var(--line); cursor: pointer; }
.star-pick button.on { color: #F5A524; }
.star-pick svg { width: 100%; height: 100%; }

.rv-wrap { padding-block: 28px 64px; }
.rv-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
@media (min-width: 900px) { .rv-grid { grid-template-columns: 340px minmax(0, 1fr); gap: 28px; } .rv-sum { position: sticky; top: calc(var(--topbar) + 16px); } }
.rv-sum { display: flex; flex-direction: column; gap: 12px; }
.rv-avg { font-family: var(--font-display); font-size: 48px; font-weight: 800; line-height: 1; }
.rv-dist { display: flex; flex-direction: column; gap: 4px; margin: 4px 0 6px; }
.rv-bar { display: grid; grid-template-columns: 12px 14px 1fr 28px; gap: 6px; align-items: center; font-size: 12.5px; color: var(--muted); }
.rv-bar svg { width: 12px; height: 12px; color: #F5A524; }
.rv-bar i { height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; display: block; }
.rv-bar b { display: block; height: 100%; background: #F5A524; }
.rv-form h3 { margin: 0; }
.rv-list { display: flex; flex-direction: column; gap: 12px; }
.rv-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; }
.rv-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rv-text { margin: 10px 0 0; font-size: 15px; line-height: 1.55; }
.rv-who { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13.5px; }
.rv-reply { margin-top: 12px; padding: 10px 12px; border-inline-start: 3px solid var(--brand); background: var(--surface-2); border-start-end-radius: 10px; border-end-end-radius: 10px; font-size: 13.5px; }
.rv-reply p { margin: 4px 0 0; color: var(--muted); }
.rv-title { margin: 0; font-family: var(--font-display); }
.review-thanks { display: flex; gap: 12px; align-items: center; }
.review-thanks svg { width: 28px; height: 28px; color: var(--ok); flex: none; }
.track-card .textarea { margin-bottom: 10px; }
/* Bot tuzagi: gorunmez, yer kaplamaz; sola itilmez (Arapcada sayfayi yana kaydiriyordu). */
.hp { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); border: 0; opacity: 0; pointer-events: none; }

.dir-list { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.dir-list .btn-ghost { justify-content: flex-start; }
.hero-desc { font-size: 16px; max-width: 60ch; margin-bottom: 2px; }
.hero-img video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* yazi temasi: urun adi/fiyat temanin sectigi yaziyla; "Sokak" temasinda basliklar buyuk harf */
.item-name, .item-price, .sheet h2, .line-name { font-family: var(--font-item, var(--font-body)); }
:root[data-font-upper] .section h2, :root[data-font-upper] .hero h1, :root[data-font-upper] .menu-head h2, :root[data-font-upper] .info h2 { text-transform: uppercase; letter-spacing: 0.01em; }
/* Fiyat ve sayilar her temada duz rakamla (Playfair/Cormorant eski tarz rakamlari "140"i "14o" gibi gosterir). */
.num, .item-price, .line-price, .totals { font-variant-numeric: lining-nums tabular-nums; }

/* ---------------------------------------------------------------------- dil secimi */

.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 42px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); color: var(--ink);
  font-weight: 700; font-size: 13px; letter-spacing: .02em;
  margin-inline-start: 8px;
}
.lang-btn svg { width: 18px; height: 18px; color: var(--muted); }
.lang-btn + .cart-btn { margin-inline-start: 8px; }
/* Telefonda ust menu gizli: dil dugmesi saga yaslanir (sepet hemen yaninda). */
@media (max-width: 759px) { .topnav + .lang-btn { margin-inline-start: auto; } }
.lang-list { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.lang-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 52px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); color: var(--ink);
  font-size: 16px; font-weight: 600; text-align: start;
}
.lang-opt[aria-checked="true"] { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.lang-opt svg { width: 20px; height: 20px; color: var(--brand); }

/* Sagdan sola (Arapca): geri oku ters doner; telefon, IBAN ve kodlar soldan saga kalir. */
[dir="rtl"] .icon-btn svg { transform: scaleX(-1); }
[dir="rtl"] .num, [dir="rtl"] input[type="tel"], [dir="rtl"] .code { unicode-bidi: isolate; }

/* ---------------------------------------------------------------------- duyurular */

.ann-list { display: grid; gap: 10px; margin-top: 16px; }
@media (min-width: 760px) { .ann-list { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); } }
.ann {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.ann > svg { width: 20px; height: 20px; flex: none; color: var(--brand); margin-top: 1px; }
.ann-t { display: block; font-family: var(--font-display); font-size: 15.5px; }
.ann-b { margin: 2px 0 0; color: var(--muted); font-size: 14px; white-space: pre-line; }
.ann-l { display: inline-block; margin-top: 6px; font-size: 13.5px; font-weight: 700; color: var(--brand); text-decoration: none; }
.ann-l:hover { text-decoration: underline; }

/* ---------------------------------------------------------------------- acilis posteri */

.poster-scrim { background: rgb(0 0 0 / 72%); }
.poster {
  position: fixed; z-index: 61; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(92vw, 520px); max-height: 86vh;
  border-radius: 16px; overflow: hidden; background: var(--surface);
  box-shadow: 0 20px 60px rgb(0 0 0 / 45%);
  animation: poster-in .22s ease-out;
}
.poster img { display: block; width: 100%; height: auto; max-height: 86vh; object-fit: contain; }
.poster a { display: block; }
@keyframes poster-in { from { opacity: 0; transform: translate(-50%, -46%); } to { opacity: 1; transform: translate(-50%, -50%); } }
@media (prefers-reduced-motion: reduce) { .poster { animation: none; } }

/* ---------------------------------------------------------------------- rezervasyon */

.rsv-wrap { padding-block: 28px 64px; max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.rsv-wrap .co-title { margin-bottom: 0; }
.rsv-lead { margin: -6px 0 0; color: var(--muted); }
.rsv-last { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding-inline-start: 0; }
.rsv-last svg { width: 18px; height: 18px; }
.rsv-chip svg { color: inherit; }
.hero .rsv-chip { font-weight: 700; }

.rsv-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.rsv-day {
  flex: none; width: 64px; padding: 8px 0;
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink);
}
.rsv-day small { font-size: 11.5px; color: var(--muted); text-transform: capitalize; }
.rsv-day b { font-size: 20px; line-height: 1.2; }
.rsv-day[aria-checked="true"] { border-color: var(--brand); background: var(--brand); color: var(--brand-ink); }
.rsv-day[aria-checked="true"] small { color: inherit; opacity: .85; }
.rsv-day:disabled { opacity: .4; }

.rsv-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.rsv-time {
  min-height: 44px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); color: var(--ink); font-weight: 700; font-size: 15px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1;
}
.rsv-time small { font-size: 10.5px; font-weight: 600; color: var(--muted); }
.rsv-time[aria-checked="true"] { border-color: var(--brand); background: var(--brand); color: var(--brand-ink); }
.rsv-time:disabled { opacity: .45; text-decoration: line-through; }

.rsv-summary { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.rsv-summary > div { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.rsv-summary span { color: var(--brand); flex: none; }
.rsv-summary svg { width: 20px; height: 20px; }
.status.wait { background: var(--brand-soft); color: var(--brand); }
.rsv-cancel { align-self: center; color: var(--danger); }
.btn-ghost.danger { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, var(--line)); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; margin: 4px 0 0; }
.hero-chips .rating-chip { margin: 0; }
.hero:not(.has-img) .rsv-chip { background: rgb(255 255 255 / 14%); border-color: rgb(255 255 255 / 30%); color: #FFFFFF; }
.hero .rsv-chip svg { color: inherit; }
.hero .rsv-chip span { color: inherit; }

/* Tarayici dili onerisi (alt orta; bir kez) */
.lang-suggest {
  position: fixed; z-index: 25; left: 50%; transform: translateX(-50%);
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 4px; padding: 4px;
  background: var(--ink); color: var(--surface); border-radius: 999px; box-shadow: var(--shadow-sm);
}
body.has-cartbar .lang-suggest { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
.lang-suggest button { border: 0; background: none; color: inherit; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; padding: 8px 12px; border-radius: 999px; }
.lang-suggest .ls-x { padding: 8px; opacity: .7; }
.lang-suggest svg { width: 18px; height: 18px; }

/* Yalniz menu (online siparis kapali): sag sepet sutunu yok, menu genisler. */
@media (min-width: 1200px) { body.menu-only .menu-grid { grid-template-columns: 210px minmax(0, 1fr); } }

/* Basa don dugmesi (sag alt) */
.to-top {
  position: fixed; z-index: 14; inset-inline-end: 20px; bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm);
  display: grid; place-items: center;
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.to-top svg { width: 22px; height: 22px; }
.to-top:hover { color: var(--brand); border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
body.has-cartbar .to-top { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 1200px) { body.has-cartbar .to-top { bottom: calc(24px + env(safe-area-inset-bottom, 0px)); } }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }

/* kampanyalar (kapagin altinda yana kayan kartlar) */
.camp-sec { margin-top: 16px; }
.camp-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 8px; scrollbar-width: none; }
.camp-row::-webkit-scrollbar { display: none; }
.camp { position: relative; flex: none; width: min(62vw, 240px); aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--surface-2, #eee); scroll-snap-align: start; padding: 0; border: 0; text-align: start; font: inherit; color: inherit; }
.camp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
button.camp { cursor: pointer; }
button.camp:active { transform: scale(0.98); }
.camp-cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding: 28px 12px 10px; color: #fff; background: linear-gradient(180deg, transparent, rgb(0 0 0 / 72%)); }
.camp-cap b { font-size: 15px; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.camp-cap .num { flex: none; font-size: 14px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--brand); color: var(--brand-ink, #fff); }
@media (min-width: 760px) { .camp { width: 220px; } }

/* Indirimler: odeme ozeti satiri, kupon kutusu, menude otomatik indirim karti */
.totals .disc { color: var(--ok, #15803d); }
.pill-mini { display: inline-block; padding: 1px 6px; border-radius: 6px; background: var(--brand-soft, rgba(0,0,0,.06)); color: var(--ink); font-size: 11.5px; font-weight: 700; letter-spacing: .02em; }
.coupon { display: flex; gap: 8px; margin: 2px 0 12px; }
.coupon .input { flex: 1; min-width: 0; text-transform: uppercase; }
.coupon .btn-ghost { flex: none; }
.coupon + .alert { margin: -4px 0 12px; }
.coupon-on { display: flex; align-items: center; gap: 8px; margin: 2px 0 12px; padding: 8px 12px; border: 1px dashed var(--line); border-radius: 10px; font-size: 14px; }
.coupon-on svg { width: 16px; height: 16px; color: var(--ok, #15803d); flex: none; }
.coupon-on .link-btn { margin-inline-start: auto; }
.ann.promo > svg { color: var(--ok, #15803d); }

/* pazarlama izni kutusu (iletisim bolumu) */
.choice.consent { align-items: flex-start; border-bottom: 0; margin-top: 10px; padding-bottom: 0; }
.choice.consent input { margin-top: 2px; }
.choice.consent .label { font-size: 14px; }
.choice.consent .fine { display: block; margin-top: 2px; }

/* ---------------------------------------------------------------- logo yerlesimi (fitLogo) */
/* Logo kirpilmaz; yatay logoda kutu genisler; zemin JS'te logonun rengine gore secilir. */
.logo-fit img { object-fit: contain; }
.logo-fit.logo-pad img { padding: 12%; }
.logo-fit.logo-wide.logo-pad img { padding: 6% 8%; }
.brand-mark.logo-fit:not(.logo-bare) { box-shadow: inset 0 0 0 1px rgb(0 0 0 / 8%); }
.brand-mark.logo-wide { width: calc(36px * var(--logo-r, 1)); }
.hero-logo.logo-wide { width: calc(72px * var(--logo-r, 1)); }
@media (max-width: 520px) { .brand-mark.logo-wide { max-width: 96px; } }
.logo-fit.logo-bare { background: transparent !important; box-shadow: none !important; border-radius: 0 !important; }
.logo-fit.logo-bare img { padding: 0 !important; }
.hero-logo.logo-bare { height: 64px; width: calc(64px * var(--logo-r, 1)); }
.brand-mark.logo-bare { height: 32px; width: calc(32px * var(--logo-r, 1)); }
@media (max-width: 520px) { .brand-mark.logo-bare { max-width: 104px; } }
/* Ust cubukta yatay logo: ad yazisi yok, logo biraz buyur */
.brand.brand-wordmark .brand-name { display: none; }
.brand.brand-wordmark .brand-mark { height: 40px; width: calc(40px * var(--logo-r, 1)); max-width: 200px; border-radius: 12px; }
.brand.brand-wordmark .brand-mark.logo-bare { height: 36px; width: calc(36px * var(--logo-r, 1)); }
@media (max-width: 520px) { .brand.brand-wordmark .brand-mark { max-width: 150px; } }

/* restoranin yasal metinleri */
.policy-body { font-size: 14px; line-height: 1.6; }
.policy-body h2 { font-size: 18px; margin: 16px 0 8px; } .policy-body h3 { font-size: 15.5px; margin: 14px 0 6px; } .policy-body p { margin: 0 0 10px; }
.policy-body ul, .policy-body ol { padding-inline-start: 20px; margin: 0 0 10px; }
.policy-body table { border-collapse: collapse; width: 100%; margin: 8px 0 14px; font-size: 13px; display: block; overflow-x: auto; }
.policy-body th, .policy-body td { border: 1px solid var(--line); padding: 6px 8px; text-align: start; vertical-align: top; }
.policy-body th { background: var(--surface-2, rgba(0,0,0,.04)); }
.policy-body a { color: var(--brand); }

/* "Kategoriler" basligi da baslik yazisiyla (Standart temada Inter); govde metni Nunito kalir */
.catside h3 { font-family: var(--font-display); font-weight: 700; }

/* ---------------------------------------------------------------- uyelik */
.acct-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 42px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); color: var(--ink);
  font-weight: 700; font-size: 13px;
  margin-inline-start: 8px;
}
.acct-btn svg { width: 18px; height: 18px; color: var(--muted); }
.acct-btn + .cart-btn, .acct-wrap + .cart-btn { margin-inline-start: 8px; }

/* Hesabim menusu (butonun altinda acilir) */
.acct-wrap { position: relative; margin-inline-start: 8px; }
.acct-wrap .acct-btn { margin-inline-start: 0; }
.acct-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 60;
  width: 264px; padding: 8px; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
}
.acct-menu .am-head { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.acct-menu .am-head b { font-size: 14px; overflow-wrap: anywhere; }
.acct-menu .am-head .fine { margin: 0; font-size: 12px; overflow-wrap: anywhere; }
.acct-menu button {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 11px 12px; border: 0; border-radius: 10px; background: none;
  color: var(--ink); font: inherit; font-weight: 600; font-size: 14px; text-align: start; cursor: pointer;
}
.acct-menu button svg { width: 18px; height: 18px; flex: none; color: var(--muted); }
.acct-menu button:hover, .acct-menu button:focus-visible { background: var(--surface-2); outline: none; }
.acct-menu .am-out { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; }

/* Hesabim sayfasi: solda bolumler, sagda icerik (telefonda bolumler ustte yatay) */
.acct-page { padding-top: 24px; padding-bottom: 40px; }
.acct-title { font-family: var(--font-display); font-size: 22px; margin: 0 0 16px; }
.acct-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; }
.acct-nav { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 14px; position: sticky; top: 84px; }
.acct-nav .an-name { font-family: var(--font-display); font-weight: 700; font-size: 16px; padding: 4px 10px 14px; overflow-wrap: anywhere; }
.acct-nav nav { display: flex; flex-direction: column; gap: 2px; }
.acct-nav button {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 10px;
  border: 0; border-radius: 10px; background: none; color: var(--ink);
  font: inherit; font-weight: 600; font-size: 14px; text-align: start; cursor: pointer;
}
.acct-nav button svg { width: 19px; height: 19px; flex: none; color: var(--muted); }
.acct-nav button:hover { background: var(--surface-2); }
.acct-nav button.on { background: var(--surface-2); font-weight: 700; }
.acct-nav button.on svg { color: var(--ink); }
.acct-nav .an-out { margin-top: 8px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; padding-top: 14px; color: var(--muted); }
.acct-sec { font-family: var(--font-display); font-size: 20px; margin: 0 0 12px; }
.acct-count { color: var(--muted); font-weight: 600; }
.acct-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; min-height: 260px; }
.acct-card > .acct-h:first-child { margin-top: 0; }
.acct-card .grid2 { margin: 14px 0; }
.acct-card .points-card { margin-top: 0; }
@media (max-width: 759px) {
  .acct-page { padding-top: 14px; }
  .acct-title { display: none; }
  .acct-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .acct-nav { position: static; padding: 0; border: 0; background: none; }
  .acct-nav .an-name { padding: 0 2px 10px; }
  .acct-nav nav { flex-direction: row; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .acct-nav nav::-webkit-scrollbar { display: none; }
  .acct-nav button { flex: none; width: auto; padding: 0 14px; height: 38px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 13px; }
  .acct-nav button svg { width: 16px; height: 16px; }
  .acct-nav button.on { background: var(--ink); border-color: var(--ink); color: var(--surface); }
  .acct-nav button.on svg { color: var(--surface); }
  .acct-nav .an-out { margin: 0; border: 1px solid var(--line); border-radius: 999px; padding-top: 0; }
  .acct-card { padding: 16px; border-radius: 14px; }
  .acct-sec { font-size: 18px; }
}

/* Favoriler */
.sheet-title-row { display: flex; align-items: flex-start; gap: 12px; }
.sheet-title-row h2 { flex: 1; min-width: 0; }
.fav-btn {
  flex: none; width: 40px; height: 40px; display: inline-grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--muted); cursor: pointer;
}
.fav-btn svg { width: 20px; height: 20px; }
.fav-btn.on { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 30%, transparent); background: var(--danger-soft); }
.badge-tag.hot { display: inline-flex; align-items: center; gap: 4px; background: color-mix(in srgb, #E9A93A 18%, transparent); color: #8A5A00; font-weight: 800; }
.badge-tag.hot svg { width: 11px; height: 11px; color: #E9A93A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .badge-tag.hot { color: #F2C46B; } }
:root[data-theme="dark"] .badge-tag.hot { color: #F2C46B; }
.fav-mark { display: inline-flex; vertical-align: -2px; margin-inline-start: 6px; color: var(--danger); }
.fav-mark svg { width: 14px; height: 14px; }
.fav-list { margin-top: 0; }
.acct-row.fav-row .fav-open { flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; text-align: start; }
.fav-row .fav-open b { font-weight: 700; }
.fav-row .fav-open img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex: none; }
.fav-row .fav-open > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fav-row.off .fav-open { opacity: .55; cursor: default; }
.fav-row .fav-btn { width: 36px; height: 36px; }
.fav-empty { text-align: center; padding: 48px 8px 32px; max-width: 360px; margin: 0 auto; }
.fav-empty-ic { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--surface-2); color: var(--muted); }
.fav-empty-ic svg { width: 24px; height: 24px; }

/* Menunun ustunde uyeye ozel: son siparisi tekrarla + favoriler */
.for-you .reorder-card {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 18px;
  border: 1px solid var(--brand-line); border-radius: 16px; background: var(--brand-soft);
}
.for-you .ro-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--surface); color: var(--brand); }
.for-you .ro-ic svg { width: 22px; height: 22px; }
.for-you .ro-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.for-you .ro-text .fine { margin: 0; }
.for-you .ro-names { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.for-you .ro-btn { width: auto; flex: none; padding: 0 20px; }
.for-you .fy-h { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 16px; margin: 4px 0 12px; }
.for-you .fy-h svg { width: 16px; height: 16px; color: var(--danger); }
@media (max-width: 520px) { .for-you .reorder-card { flex-wrap: wrap; } .for-you .ro-btn { width: 100%; justify-content: center; } .for-you .ro-btn .spacer { flex: none; } }
.fav-empty h3 { font-family: var(--font-display); font-size: 17px; margin: 14px 0 6px; }
.fav-empty .fine { margin: 0 0 18px; }
/* Onay penceresi (tarayici confirm'u yerine) */
#ask-layer { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; }
#ask-layer .ask-scrim { position: absolute; inset: 0; background: var(--scrim); animation: askFade .15s ease-out; }
#ask-layer .ask-box { position: relative; width: min(420px, 100%); background: var(--surface); color: var(--ink); border-radius: 18px; padding: 22px 22px 18px; box-shadow: var(--shadow); animation: askPop .18s ease-out; }
#ask-layer h3 { font-family: var(--font-display); font-size: 19px; margin: 0 0 8px; }
#ask-layer p { margin: 0 0 18px; color: var(--muted); font-size: 15px; line-height: 1.5; }
#ask-layer .ask-acts { display: flex; gap: 10px; justify-content: flex-end; }
#ask-layer .ask-acts .btn, #ask-layer .ask-acts .btn-ghost { width: auto; min-height: 44px; padding: 0 18px; }
#ask-layer .btn.danger { background: var(--danger); box-shadow: none; }
@keyframes askFade { from { opacity: 0; } }
@keyframes askPop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
@media (max-width: 420px) { #ask-layer .ask-acts { flex-direction: column-reverse; } #ask-layer .ask-acts .btn, #ask-layer .ask-acts .btn-ghost { width: 100%; justify-content: center; } }
.fav-empty .fav-cta { width: auto; display: inline-flex; padding: 0 22px; }

/* Kuponlarim: solda indirim (marka rengi, kesik kenar), sagda kosullar + kod + "Sepette kullan" */
.cpn-list { display: flex; flex-direction: column; gap: 12px; }
.cpn { display: grid; grid-template-columns: 170px minmax(0, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
.cpn-deal { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 16px; background: var(--brand); color: var(--brand-ink); }
.cpn-deal::after { content: ""; position: absolute; top: 8px; bottom: 8px; right: -1px; border-right: 2px dashed color-mix(in srgb, var(--surface) 80%, transparent); }
.cpn-deal b { font-family: var(--font-display); font-size: 18px; line-height: 1.2; }
.cpn-deal span { font-size: 12.5px; opacity: .9; }
.cpn-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cpn-body .fine { margin: 0; }
.cpn-cond { color: var(--muted); }
.cpn-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; flex-wrap: wrap; }
.cpn-code { font-size: 15px; font-weight: 700; letter-spacing: .06em; padding: 6px 10px; border: 1px dashed var(--brand-line); border-radius: 8px; background: var(--brand-soft); }
.cpn-use { width: auto; padding: 0 18px; height: 40px; }
@media (max-width: 520px) { .cpn { grid-template-columns: 1fr; } .cpn-deal::after { display: none; } .cpn-use { width: 100%; justify-content: center; } }
@media (max-width: 759px) {
  .topnav + .acct-btn, .topnav + .acct-wrap { margin-inline-start: auto; }
  .acct-btn span { display: none; }
  .acct-btn { padding: 0 11px; }
}
.member-sheet h2 { margin: 0 0 6px; }
.member-sheet .field { margin: 16px 0 14px; }
.member-sheet .grid2 { margin: 16px 0 14px; }
.member-sheet .grid2 .field { margin: 0; }
.member-sheet .alert { margin-top: 14px; }
.member-code { font-size: 26px; letter-spacing: .4em; text-align: center; font-weight: 700; }
.member-links { margin-top: 14px; text-align: center; }
.member-gate { display: flex; flex-direction: column; gap: 14px; max-width: 520px; }
.member-gate h3 { margin: 0; }
.member-invite {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 12px 14px; margin-bottom: 14px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  font-size: 14px;
}
.member-invite svg { width: 20px; height: 20px; color: var(--brand); flex: none; }
.member-invite span { flex: 1 1 220px; }
.acct-h { margin: 22px 0 8px; font-size: 16px; }
.acct-list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.acct-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; background: var(--surface); color: var(--ink);
  border: 0; border-bottom: 1px solid var(--line); text-align: start; font: inherit; width: 100%;
}
.acct-row:last-child { border-bottom: 0; }
.acct-row > span:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.acct-row .fine { margin: 0; overflow-wrap: anywhere; }
button.acct-row { cursor: pointer; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .03em; }
/* Giris penceresinde E-posta / Telefon secimi */
.member-tabs { display: flex; gap: 4px; padding: 4px; margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.member-tabs button {
  flex: 1; height: 38px; border: 0; border-radius: 9px; background: transparent; color: var(--muted);
  font: inherit; font-weight: 700; font-size: 14px; cursor: pointer;
}
.member-tabs button.on { background: var(--brand); color: var(--brand-ink, #fff); }
.review-thanks .review-google { display: inline-flex; margin-top: 10px; }
/* Takip: tarayici bildirimi */
.push-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.push-card > div { flex: 1 1 220px; }
.push-card.on { justify-content: flex-start; color: var(--muted); font-size: 14px; }
.push-card.on svg { width: 20px; height: 20px; color: var(--ok); flex: none; }
/* Uc teslimat sekli (adrese teslim / gel al / gel ye): telefonda dar sigsin */
.mode.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 480px) {
  .mode.three button { padding: 0 8px; gap: 5px; font-size: 13px; }
  .mode.three button svg { width: 16px; height: 16px; }
}
.member-pv { display: flex; flex-direction: column; gap: 10px; margin: -4px 0 14px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.member-pv .field { margin: 0; }
.member-sheet p.fine svg { width: 14px; height: 14px; vertical-align: -2px; color: var(--ok); }
/* Hesabim: siparis satiri (ac + tekrarla) ve puan karti */
.acct-row .acct-open { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; border: 0; background: none; padding: 0; text-align: start; color: inherit; font: inherit; cursor: pointer; }
.acct-row .acct-end { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.acct-row .acct-end .link-btn { padding: 0; font-size: 13px; }
.points-card { margin: 18px 0 4px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); display: flex; flex-direction: column; gap: 8px; }
.points-card > div:first-child { display: flex; align-items: baseline; justify-content: space-between; }
.points-card > div:first-child b { font-size: 22px; }
.points-moves { display: flex; flex-direction: column; gap: 4px; font-size: 13px; border-top: 1px solid var(--line); padding-top: 8px; }
.points-moves > div { display: flex; justify-content: space-between; gap: 10px; }
/* Odeme: puan kullan / kazanilacak puan */
/* Puanlarim: seviye, ilerleme cubugu, Bonus Kulup, odul kodlari, odul katalogu */
.lo-tier { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lo-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 800; font-size: 13px; text-shadow: 0 1px 1px rgba(0,0,0,.25); }
.lo-next { display: flex; flex-direction: column; gap: 4px; }
.lo-bar { height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 14%, var(--line)); overflow: hidden; }
.lo-bar > span { display: block; height: 100%; border-radius: 999px; background: var(--brand); }
.lo-warn { color: #B45309; font-weight: 700; }
.lo-club > div:first-child { gap: 10px; }
.lo-club > div:first-child b { font-size: 17px; white-space: nowrap; }
.lo-club { border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); background: var(--brand-soft); }
.lo-codes { display: flex; flex-direction: column; gap: 8px; }
.lo-code { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1.5px dashed var(--brand); border-radius: 12px; background: var(--surface); }
.lo-code > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lo-code-v { font-size: 20px; font-weight: 800; letter-spacing: 2px; padding: 6px 10px; border-radius: 8px; border: 0; background: var(--brand-soft); color: var(--ink); cursor: pointer; }
.lo-rewards { display: flex; flex-direction: column; gap: 8px; }
.lo-reward { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.lo-rw-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lo-rw-a { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; flex: none; max-width: 45%; }
.lo-rw-a .btn.sm { padding: 7px 12px; font-size: 14px; min-height: 0; }
.points-box { margin: 8px 0 12px; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--line)); border-radius: 12px; background: var(--brand-soft); display: flex; flex-direction: column; gap: 8px; }
.pb-head { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.pb-head svg { width: 16px; height: 16px; color: var(--brand); flex: none; }
.pb-head span { flex: 1; }
.pb-head b { font-size: 16px; }
.pb-use { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; cursor: pointer; padding: 8px 10px; border-radius: 10px; background: var(--surface, #fff); border: 1px solid var(--line); }
.pb-use input { width: 20px; height: 20px; accent-color: var(--brand); margin: 0; flex: none; }
.pb-use span { flex: 1; }
.pb-use b { color: var(--brand); }
.pb-note { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.points-earn { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; font-size: 13.5px; color: var(--muted); }
.points-earn svg { width: 15px; height: 15px; color: var(--brand); flex: none; }
/* Takip: siparisi iptal et */
.btn-ghost.danger-ghost { color: var(--danger, #C62828); }
/* Oda servisi: kapakta oda bandi (mod secimi yerine) */
.room-band { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-radius: 14px; background: var(--surface); color: var(--ink); max-width: 100%; }
.room-band svg { width: 18px; height: 18px; color: var(--brand); flex: none; }
.room-band .link-btn { padding: 0; }
.room-band > span { flex: 1 1 180px; min-width: 0; }
.push-card.on .link-btn { margin-inline-start: auto; }
/* Siparis durumu rengi (Hesabim, ana sayfa bandi) */
.st { font-weight: 600; }
.st.st-ok { color: var(--ok); }
.st.st-wait { color: var(--warn); }
.st.st-bad { color: var(--danger); }
.st.st-done { color: var(--muted); font-weight: 400; }
/* Ana sayfa: devam eden siparis bandi */
#active-band .container { padding-block: 10px; }
.active-band { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; text-align: start; cursor: pointer; }
.active-band .dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; background: var(--warn); box-shadow: 0 0 0 4px var(--warn-soft); }
.active-band.st-ok { border-color: color-mix(in srgb, var(--ok) 35%, var(--line)); background: var(--ok-soft); }
.active-band.st-ok .dot { background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 18%, transparent); }
.active-band.st-wait { border-color: color-mix(in srgb, var(--warn) 35%, var(--line)); background: var(--warn-soft); }
.active-band .ab-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.active-band .ab-text .fine { margin: 0; }
.active-band .ab-go { font-weight: 700; color: var(--brand); white-space: nowrap; }
/* Takip: restoranin onayda sectigi tahmini saat */
.eta-chip { display: inline-flex; align-items: center; gap: 8px; margin: 2px 0 14px; padding: 8px 12px; border-radius: 10px; background: var(--ok-soft); color: var(--ok); font-weight: 600; }
.eta-chip svg { width: 18px; height: 18px; }
.eta-chip b { color: var(--ink); }
.eta-chip .fine { margin: 0; color: var(--muted); font-weight: 400; }
/* Reddedilen / iptal edilen siparis bandi (musteri gorene kadar) */
.active-band.st-bad { border-color: color-mix(in srgb, var(--danger) 40%, var(--line)); background: var(--danger-soft); cursor: default; }
.active-band.st-bad .dot { background: var(--danger); box-shadow: 0 0 0 4px color-mix(in srgb, var(--danger) 18%, transparent); }
.active-band .ab-link { border: 0; background: none; padding: 0; text-align: start; color: inherit; font: inherit; cursor: pointer; }
.active-band .ab-close { border: 0; background: none; color: var(--muted); padding: 4px; cursor: pointer; display: grid; place-items: center; }
.active-band .ab-close svg { width: 18px; height: 18px; }

/* Cerez onayi (restoran olcum kodu girdiyse) */
.ck-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; max-width: 760px; margin: 0 auto; background: var(--surface, #fff); color: var(--ink, #16181C); border: 1px solid var(--line, #E4E6EA); border-radius: 14px; box-shadow: 0 12px 40px rgb(0 0 0 / 18%); padding: 14px 16px; display: flex; gap: 12px 16px; align-items: center; flex-wrap: wrap; }
.ck-bar p { margin: 0; flex: 1 1 320px; font-size: 14px; line-height: 1.5; }
.ck-bar .linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--brand, #2C4BD8); text-decoration: underline; cursor: pointer; }
.ck-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.ck-btns .btn, .ck-btns .btn-ghost { width: auto; padding: 10px 16px; }

/* Oneriler (panel → Kiosk → "Sipariş sitesinde de öner"): urun penceresi + odeme ozeti */
.upsell { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 16px; }
.up-btn { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 12px 14px; border: 1px solid var(--brand-line); background: var(--brand-soft); color: var(--ink); border-radius: 12px; font: inherit; font-weight: 600; text-align: start; cursor: pointer; }
.up-btn svg { width: 18px; height: 18px; flex: none; color: var(--brand); }
[dir="rtl"] .up-btn svg { transform: scaleX(-1); }
.sg-wrap h4 { margin: 8px 0; font-size: 15px; }
.sg { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.sg-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font: inherit; text-align: start; cursor: pointer; min-width: 0; }
.sg-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: var(--surface-2); display: block; }
.sg-card .n { padding-inline-end: 30px; font-size: 13px; font-weight: 600; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sg-card .pr { font-size: 13px; color: var(--muted); }
.sg-card .tick { position: absolute; top: 8px; inset-inline-end: 8px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--brand); box-shadow: 0 1px 4px rgb(0 0 0 / .18); }
.sg-card .tick svg { width: 15px; height: 15px; }
.sg-card.on { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand) inset; }
.sg-card.on .tick { background: var(--brand); color: var(--brand-ink); }
.cart-sg { margin-top: 4px; }
.cart-sg .sg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sg-card img + .n { padding-inline-end: 0; }
.sg-card img ~ .tick { top: 12px; inset-inline-end: 12px; }

/* Kurye takibi (takip sayfasi): kurye adi, konum zamani, istege bagli harita */
.courier-box { margin-top: 16px; padding: 14px; border: 1px solid var(--brand-line); background: var(--brand-soft); border-radius: 14px; display: flex; flex-direction: column; gap: 10px; }
.courier-head { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; }
.courier-head > svg { width: 22px; height: 22px; flex: none; color: var(--brand); margin-top: 1px; }
.courier-head > span { display: flex; flex-direction: column; gap: 2px; }
.courier-head .fine { font-weight: 500; }
.courier-box .btn-ghost { align-self: flex-start; display: inline-flex; gap: 6px; align-items: center; }
.courier-box .btn-ghost svg { width: 16px; height: 16px; }
.cmap { height: 260px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.cmap-pin { border-radius: 50%; border: 3px solid #fff; box-shadow: 0 1px 6px rgb(0 0 0 / .35); }
.cmap-pin.courier { background: var(--brand); }
.cmap-pin.home { background: #1E8A4C; }
