/* =========================================================================
   Müşteri arayüzü
   Kimlik: koyu yeşil kadife, amber sarkıt lamba, pirinç detay.
   Yazı: Fraunces (başlık, fiyat) + Instrument Sans (arayüz)
   ========================================================================= */
@font-face { font-family: "Fraunces"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/fraunces-latin-ext-full-normal.8cbcebfaaf43.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/fraunces-latin-full-normal.9a1814381455.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: "Fraunces"; font-style: italic; font-display: swap; font-weight: 100 900;
  src: url("../fonts/fraunces-latin-ext-full-italic.38175383d878.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: italic; font-display: swap; font-weight: 100 900;
  src: url("../fonts/fraunces-latin-full-italic.7c1d820d2597.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: "Instrument Sans"; font-style: normal; font-display: swap; font-weight: 400 700; font-stretch: 75% 100%;
  src: url("../fonts/instrument-sans-latin-ext-standard-normal.d4cef444daae.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-display: swap; font-weight: 400 700; font-stretch: 75% 100%;
  src: url("../fonts/instrument-sans-latin-standard-normal.d4be1b605ba7.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; }

:root {
  --night: #0E1A15;
  --leaf: #15251E;
  --moss: #1E3329;
  --moss-2: #26402F;
  --line: rgba(242, 235, 221, 0.10);
  --line-2: rgba(242, 235, 221, 0.18);
  --brass: #C9A24A;
  --brass-2: #E3C57A;
  --brass-ink: #1C1608;
  --lamp: #F2B45A;
  --cream: #F2EBDD;
  --sage: #A9B5AB;
  --mute: #6F7D73;
  --ok: #6CC08F;
  --danger: #E0775B;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: 20px;
  --header-h: 60px;
  --rail-h: 52px;
  --dock-h: 76px;
  --r-sheet: 28px;
  --r-card: 18px;
  --r-thumb: 14px;
  --shadow-lift: 0 18px 50px -18px rgba(0, 0, 0, 0.75);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--rail-h) + 12px); }
body {
  margin: 0; min-height: 100vh; background: var(--night); color: var(--cream);
  font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased;
  /* lamba ışığı + kadife dokusu */
  background-image:
    radial-gradient(1200px 520px at 85% -120px, rgba(242, 180, 90, 0.10), transparent 60%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .035 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-attachment: fixed, scroll;
}
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brass-2); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon.sm { width: 18px; height: 18px; }
.icon.lg { width: 28px; height: 28px; }

/* ---------------------------------------------------------------- header */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--header-h);
  display: flex; align-items: center; gap: 10px; padding: 0 max(var(--gutter), env(safe-area-inset-left));
  transition: background .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.topbar.solid { background: rgba(14, 26, 21, 0.97); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand-mark { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--brass); display: grid; place-items: center;
  font: 600 20px/1 var(--serif); color: var(--brass); background: radial-gradient(circle at 50% 35%, #3a3520, #17140a 75%); }
.brand-mark img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.brand-name { font: 600 18px/1 var(--serif); letter-spacing: -.01em; opacity: 0; transform: translateY(4px); transition: .3s var(--ease); white-space: nowrap; }
.topbar.solid .brand-name { opacity: 1; transform: none; }
@media (max-width: 520px) { .topbar .table-chip ~ .icon-btn.lang-btn { padding: 0 10px; } .has-table .brand-name { display: none; } }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line-2); background: rgba(14, 26, 21, 0.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  text-decoration: none; position: relative; transition: background .2s, border-color .2s;
}
.icon-btn:hover { background: rgba(30, 51, 41, .8); border-color: var(--line-2); }
.icon-btn .dot { position: absolute; top: 7px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 0 2px var(--night); }
.lang-btn { width: auto; padding: 0 14px; gap: 6px; display: inline-flex; align-items: center; border-radius: 999px; font-weight: 600; font-size: 13px; letter-spacing: .02em; }
.table-chip {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px 0 10px; border-radius: 999px;
  background: rgba(201, 162, 74, 0.16); border: 1px solid rgba(201, 162, 74, 0.45); color: var(--brass-2);
  font-weight: 600; font-size: 14px; white-space: nowrap; cursor: pointer;
}
.table-chip .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(108, 192, 143, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(108, 192, 143, 0); } 100% { box-shadow: 0 0 0 0 rgba(108, 192, 143, 0); } }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: min(78vh, 620px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-img { position: absolute; inset: 0; z-index: -2; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.04); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(14, 26, 21, .55) 0%, rgba(14, 26, 21, 0) 26%),
    linear-gradient(0deg, var(--night) 4%, rgba(14, 26, 21, .78) 34%, rgba(14, 26, 21, .05) 72%); }
.hero-inner { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter) 34px; }
.hero h1 {
  margin: 0; font-family: var(--serif); font-weight: 560; font-size: clamp(52px, 14vw, 104px); line-height: .92;
  letter-spacing: -.035em; font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 1; color: var(--cream);
  text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
}
.hero p.tagline { margin: 14px 0 0; max-width: 34ch; font-size: 17px; line-height: 1.5; color: rgba(242, 235, 221, .86); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; color: var(--sage); font-size: 14px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .open { color: var(--ok); }

.seat-card {
  margin-top: 22px; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-card);
  background: linear-gradient(135deg, rgba(201, 162, 74, .18), rgba(30, 51, 41, .6)); border: 1px solid rgba(201, 162, 74, .35);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); max-width: 520px;
}
.seat-card .seat-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brass); color: var(--brass-ink); flex: none; }
.seat-card strong { display: block; font: 600 18px/1.2 var(--serif); }
.seat-card span { font-size: 14px; color: var(--sage); }
.seat-card.idle { background: rgba(21, 37, 30, .7); border-color: var(--line-2); }
.seat-card.idle .seat-icon { background: var(--moss-2); color: var(--brass-2); }

/* ---------------------------------------------------------------- layout */
.page { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter) calc(var(--dock-h) + 40px); }
.menu-layout { display: block; }
@media (min-width: 1024px) {
  .menu-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
}

/* ---------------------------------------------------------------- campaign */
.campaign {
  position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; margin: 8px 0 28px;
  padding: 12px; border-radius: 22px; background: var(--leaf); border: 1px solid var(--line); overflow: hidden; cursor: pointer;
}
.campaign::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(360px 140px at 100% 0%, rgba(242, 180, 90, .16), transparent 70%); }
.campaign img { width: 112px; height: 112px; border-radius: 14px; object-fit: cover; }
.campaign .kicker { font-size: 13px; color: var(--lamp); font-weight: 600; }
.campaign h2 { margin: 2px 0 4px; font: 600 21px/1.15 var(--serif); letter-spacing: -.01em; }
.campaign p { margin: 0; color: var(--sage); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.campaign .price { margin-top: 6px; font: 600 22px/1 var(--serif); color: var(--brass-2); }
.campaign .close { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border: 0; background: transparent; color: var(--mute); cursor: pointer; border-radius: 50%; }

/* ---------------------------------------------------------------- category rail */
.rail {
  position: sticky; top: var(--header-h); z-index: 30; height: var(--rail-h); margin: 0 calc(-1 * var(--gutter));
  background: rgba(14, 26, 21, .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.rail-scroll { height: 100%; display: flex; gap: 6px; align-items: center; overflow-x: auto; scrollbar-width: none; padding: 0 var(--gutter); position: relative; }
.rail-scroll::-webkit-scrollbar { display: none; }
.rail a { flex: none; position: relative; text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--sage); transition: color .2s; white-space: nowrap; }
.rail a.active { color: var(--cream); }
.rail-ink { position: absolute; bottom: 0; height: 2px; background: var(--brass); border-radius: 2px; transition: transform .35s var(--ease), width .35s var(--ease); left: 0; }
@media (min-width: 1024px) {
  .rail { position: sticky; top: calc(var(--header-h) + 24px); height: auto; margin: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; }
  .rail-scroll { flex-direction: column; align-items: stretch; overflow: visible; padding: 0; gap: 2px; }
  .rail a { padding: 9px 14px; border-radius: 10px; font-size: 15px; }
  .rail a:hover { color: var(--cream); background: rgba(242, 235, 221, .04); }
  .rail a.active { background: var(--leaf); }
  .rail a.active::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; background: var(--brass); border-radius: 2px; }
  .rail-ink { display: none; }
  .rail-title { font: 600 14px/1 var(--sans); color: var(--mute); padding: 0 14px 10px; }
}
.rail-title { display: none; }
@media (min-width: 1024px) { .rail-title { display: block; } }

/* ---------------------------------------------------------------- sections & items */
.menu-section { padding-top: 34px; }
.menu-section > header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.menu-section h2 { margin: 0; font: 600 32px/1.05 var(--serif); letter-spacing: -.02em; font-variation-settings: "opsz" 72, "SOFT" 40; }
.menu-section .count { color: var(--mute); font-size: 14px; }
.menu-section .desc { margin: 6px 0 0; color: var(--sage); font-size: 15px; max-width: 60ch; }
.group-title { margin: 22px 0 2px; font: 600 15px/1.3 var(--sans); color: var(--brass-2); display: flex; align-items: center; gap: 10px; }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.items { list-style: none; margin: 0; padding: 0; }
.item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line);
  cursor: pointer; position: relative; -webkit-tap-highlight-color: transparent;
}
.item:last-child { border-bottom: 0; }
.item:hover .item-name { color: var(--brass-2); }
.item-name { font: 600 17px/1.3 var(--sans); letter-spacing: -.005em; transition: color .2s; }
.item-desc { margin-top: 4px; color: var(--sage); font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item-foot { margin-top: 10px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.price { font: 600 19px/1 var(--serif); color: var(--brass-2); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.01em; }
.price small { font-size: .78em; margin-left: 2px; }
.badge { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.badge.popular { background: rgba(242, 180, 90, .14); color: var(--lamp); }
.badge.soldout { background: rgba(224, 119, 91, .14); color: var(--danger); }
.item.soldout { cursor: default; }
.item.soldout .item-name, .item.soldout .price, .item.soldout .thumb { opacity: .45; }
.item.in-cart .thumb { box-shadow: 0 0 0 2px var(--brass); }

.thumb { position: relative; width: 96px; height: 96px; border-radius: var(--r-thumb); overflow: hidden; background: var(--moss); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.art { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(227, 197, 122, .78);
  background: radial-gradient(120% 90% at 30% 20%, var(--moss-2), var(--leaf) 70%); }
.art .icon { width: 34px; height: 34px; stroke-width: 1.2; }
.add {
  margin-left: auto; width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; padding: 0;
  display: grid; place-items: center; background: var(--brass); color: var(--brass-ink); cursor: pointer;
  box-shadow: 0 4px 14px rgba(201, 162, 74, .25); transition: transform .15s var(--ease), background .2s;
}
.add:hover { background: var(--brass-2); }
.add:active { transform: scale(.92); }
.add .add-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.item.configuring .add { background: rgba(242, 235, 221, .12); color: var(--cream); box-shadow: none; }
.item.configuring .add .icon { transform: rotate(45deg); }
.add .icon { width: 20px; height: 20px; stroke-width: 2.4; transition: transform .2s var(--ease); }
.qty-pill { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(108, 192, 143, .14); color: var(--ok); font: 700 13px/1 var(--sans); }
.thumb-wrap { position: relative; width: 96px; height: 96px; }

/* ---------------------------------------------------------------- desktop cart panel */
.side-cart { display: none; }
@media (min-width: 1024px) {
  .side-cart { display: block; position: sticky; top: calc(var(--header-h) + 24px); }
  .dock { display: none !important; }
}
.panel { background: var(--leaf); border: 1px solid var(--line); border-radius: 22px; padding: 20px; }
.panel h3 { margin: 0 0 4px; font: 600 22px/1.1 var(--serif); }
.panel .sub { color: var(--sage); font-size: 14px; margin: 0 0 14px; }
.panel-actions { display: grid; gap: 8px; margin-top: 14px; }

/* ---------------------------------------------------------------- dock */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(180deg, rgba(14, 26, 21, 0), rgba(14, 26, 21, .92) 30%);
}
.dock .icon-btn { width: 52px; height: 52px; background: rgba(21, 37, 30, .9); }
.dock-btn { height: 52px; min-width: 60px; padding: 4px 10px; border-radius: 16px; border: 1px solid var(--line-2); cursor: pointer;
  background: rgba(21, 37, 30, .92); color: var(--cream); display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font: 600 11.5px/1 var(--sans); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.dock-btn .icon { width: 20px; height: 20px; }
.cart-btn {
  margin-left: auto; height: 52px; padding: 0 8px 0 18px; border-radius: 999px; border: 1px solid var(--line-2); cursor: pointer;
  background: rgba(21, 37, 30, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: inline-flex; align-items: center; gap: 12px; font-weight: 600; transition: background .25s, color .25s, border-color .25s;
}
.cart-btn .total { height: 38px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; background: rgba(242, 235, 221, .07); font: 600 16px/1 var(--serif); }
.cart-btn.full { background: var(--brass); color: var(--brass-ink); border-color: var(--brass); }
.cart-btn.full .total { background: rgba(28, 22, 8, .14); }
.cart-btn.pop { animation: pop .5s var(--ease); }
@keyframes pop { 0% { transform: scale(1); } 30% { transform: scale(1.08); } 60% { transform: scale(.97); } 100% { transform: scale(1); } }
.track-pill {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--dock-h) + env(safe-area-inset-bottom) + 6px); z-index: 44;
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; cursor: pointer;
  background: var(--moss); border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lift); white-space: nowrap;
}
.track-pill .spark { width: 10px; height: 10px; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 12px var(--lamp); animation: breathe 1.8s infinite ease-in-out; }
@keyframes breathe { 50% { opacity: .35; } }
@media (min-width: 1024px) { .track-pill { bottom: 24px; } }

/* ---------------------------------------------------------------- buttons, inputs */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 54px; padding: 0 22px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; font-weight: 600; font-size: 16px; text-decoration: none; transition: background .2s, transform .1s, opacity .2s;
}
.btn:active { transform: scale(.985); }
.btn.primary { background: var(--brass); color: var(--brass-ink); }
.btn.primary:hover { background: var(--brass-2); }
.btn.ghost { background: transparent; border-color: var(--line-2); color: var(--cream); }
.btn.ghost:hover { background: rgba(242, 235, 221, .05); }
.btn.quiet { background: rgba(242, 235, 221, .06); color: var(--cream); }
.btn.danger-text { background: none; color: var(--danger); height: 44px; }
.btn.block { width: 100%; }
.btn[disabled], .btn.disabled { opacity: .45; pointer-events: none; }
.btn .sep { opacity: .5; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, .field .label { font-size: 14px; color: var(--sage); font-weight: 500; }
.input, textarea.input, select.input {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(242, 235, 221, .04);
  color: var(--cream); font: 400 16px/1.4 var(--sans); transition: border-color .2s, background .2s;
}
textarea.input { min-height: 84px; resize: vertical; }
.input::placeholder { color: var(--mute); }
.input:focus { outline: none; border-color: var(--brass); background: rgba(242, 235, 221, .06); }
.hint { font-size: 13px; color: var(--mute); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--sage); margin: 10px 0; cursor: pointer; }
.check input { appearance: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2); flex: none; margin: 0; display: grid; place-items: center; background: rgba(242, 235, 221, .03); cursor: pointer; }
.check input:checked { background: var(--brass); border-color: var(--brass); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--brass-ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check a { color: var(--brass-2); }

.stepper { display: inline-flex; align-items: center; height: 48px; border-radius: 999px; border: 1px solid var(--line-2); }
.stepper button { width: 46px; height: 46px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; border-radius: 50%; }
.stepper button:hover { background: rgba(242, 235, 221, .06); }
.stepper output { min-width: 28px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.stepper.sm { height: 38px; } .stepper.sm button { width: 36px; height: 36px; }

/* ---------------------------------------------------------------- sheets */
.sheet-root { position: fixed; inset: 0; z-index: 100; display: none; }
.sheet-root.open { display: block; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(5, 10, 8, .62); opacity: 0; transition: opacity .3s var(--ease); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.sheet-root.shown .sheet-backdrop { opacity: 1; }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 92vh; display: flex; flex-direction: column;
  background: var(--leaf); border-radius: var(--r-sheet) var(--r-sheet) 0 0; border-top: 1px solid rgba(201, 162, 74, .35);
  transform: translateY(100%); transition: transform .38s var(--ease); box-shadow: 0 -30px 80px -20px rgba(0, 0, 0, .7);
  padding-bottom: env(safe-area-inset-bottom);
}
.sheet-root.shown .sheet { transform: translateY(0); }
@media (min-width: 720px) {
  .sheet { left: 50%; right: auto; bottom: auto; top: 50%; width: min(540px, calc(100vw - 48px)); max-height: 86vh;
    border-radius: var(--r-sheet); border: 1px solid rgba(201, 162, 74, .3); transform: translate(-50%, -46%) scale(.98); opacity: 0;
    transition: transform .3s var(--ease), opacity .25s; }
  .sheet-root.shown .sheet { transform: translate(-50%, -50%); opacity: 1; }
}
.sheet-handle { width: 42px; height: 5px; border-radius: 3px; background: var(--line-2); margin: 10px auto 0; flex: none; }
@media (min-width: 720px) { .sheet-handle { display: none; } }
.sheet-head { display: flex; align-items: flex-start; gap: 12px; padding: 16px 22px 14px; flex: none; }
.sheet-head h3 { margin: 0; font: 600 25px/1.1 var(--serif); letter-spacing: -.015em; }
.sheet-head p { margin: 4px 0 0; color: var(--sage); font-size: 14px; }
.sheet-head .grow { flex: 1; min-width: 0; }
.sheet-close { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: none; cursor: pointer; display: grid; place-items: center; flex: none; }
.sheet-body { padding: 4px 22px 18px; overflow-y: auto; overscroll-behavior: contain; flex: 1; }
.sheet-foot { padding: 14px 22px 18px; border-top: 1px solid var(--line); flex: none; display: grid; gap: 10px; background: var(--leaf); border-radius: 0 0 var(--r-sheet) var(--r-sheet); }
.foot-total { display: flex; justify-content: space-between; align-items: baseline; }
.foot-total span { color: var(--sage); }
.foot-total strong { font: 600 26px/1 var(--serif); color: var(--brass-2); }

/* steps */
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 22px 6px; }
.steps i { height: 3px; border-radius: 3px; background: var(--line-2); }
.steps i.on { background: var(--brass); }

/* product sheet */
.p-hero { margin: 0 -22px 18px; height: 240px; background: var(--moss); position: relative; overflow: hidden; }
.p-hero img { width: 100%; height: 100%; object-fit: cover; }
.p-hero .art .icon { width: 64px; height: 64px; stroke-width: 1; }
.p-name { margin: 0; font: 600 28px/1.1 var(--serif); letter-spacing: -.02em; }
.p-desc { margin: 8px 0 0; color: var(--sage); }
.p-row { display: flex; justify-content: space-between; align-items: center; margin: 22px 0 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.p-row .price { font-size: 30px; }

/* cart lines */
.line { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line .thumb { width: 56px; height: 56px; border-radius: 12px; }
.line.no-thumb { grid-template-columns: 1fr auto; }
.line .thumb .icon { width: 22px; height: 22px; }
.line-name { font-weight: 600; }
.line-meta { color: var(--sage); font-size: 14px; }
.line-note { color: var(--lamp); font-size: 13px; }

/* tab (adisyon) box */
.tabbox { border: 1px solid rgba(201, 162, 74, .32); border-radius: var(--r-card); overflow: hidden; margin: 6px 0 18px; background: rgba(201, 162, 74, .05); }
.tabbox-head { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px; }
.tabbox-head span { color: var(--sage); font-size: 14px; }
.tabbox-head strong { font: 600 22px/1 var(--serif); color: var(--brass-2); }
.tabrow { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 11px 16px; border-top: 1px solid var(--line); font-size: 14px; }
.tabrow .n { width: 26px; height: 26px; border-radius: 8px; background: rgba(242, 235, 221, .07); display: grid; place-items: center; font-weight: 600; font-size: 13px; }
.tabrow .what { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.status.pending, .status.accepted { background: rgba(242, 180, 90, .16); color: var(--lamp); }
.status.preparing { background: rgba(120, 170, 230, .15); color: #9CC3F0; }
.status.ready { background: rgba(108, 192, 143, .18); color: var(--ok); }
.status.served, .status.paid { background: rgba(242, 235, 221, .08); color: var(--sage); }
.status.cancelled { background: rgba(224, 119, 91, .15); color: var(--danger); }

/* tracker */
.done-mark { width: 76px; height: 76px; margin: 8px auto 14px; border-radius: 50%; display: grid; place-items: center; color: var(--ok);
  background: radial-gradient(circle, rgba(108, 192, 143, .22), rgba(108, 192, 143, .04)); border: 1px solid rgba(108, 192, 143, .45); }
.done-mark .icon { width: 34px; height: 34px; stroke-width: 2; }
.center { text-align: center; }
.order-no { display: inline-flex; height: 34px; align-items: center; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(201, 162, 74, .45); color: var(--brass-2); font-weight: 600; margin: 10px 0 18px; }
.tracker { display: grid; grid-template-columns: repeat(4, 1fr); margin: 20px 0 6px; position: relative; }
.tracker::before { content: ""; position: absolute; top: 9px; left: 12.5%; right: 12.5%; height: 2px; background: var(--line-2); }
.tracker .fill { position: absolute; top: 9px; left: 12.5%; height: 2px; background: var(--brass); transition: width .6s var(--ease); }
.tstep { text-align: center; position: relative; font-size: 13px; color: var(--mute); }
.tstep i { display: block; width: 20px; height: 20px; margin: 0 auto 8px; border-radius: 50%; background: var(--leaf); border: 2px solid var(--line-2); position: relative; z-index: 1; }
.tstep.done i { background: var(--brass); border-color: var(--brass); }
.tstep.now i { background: var(--lamp); border-color: var(--lamp); box-shadow: 0 0 0 6px rgba(242, 180, 90, .18); }
.tstep.done, .tstep.now { color: var(--cream); }

/* options (waiter) */
.opts { display: grid; gap: 10px; margin-bottom: 16px; }
.opt { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 0 18px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(242, 235, 221, .03); cursor: pointer; text-align: left; font-size: 16px; }
.opt .icon { color: var(--sage); }
.opt.on { border-color: var(--brass); background: rgba(201, 162, 74, .12); }
.opt.on .icon { color: var(--brass-2); }

/* chat */
.chat { display: flex; flex-direction: column; gap: 12px; min-height: 260px; }
.bubble { max-width: 86%; padding: 12px 16px; border-radius: 20px; line-height: 1.45; font-size: 15px; }
.bubble.bot { background: var(--moss); border-top-left-radius: 6px; }
.bubble.me { align-self: flex-end; background: rgba(201, 162, 74, .2); border: 1px solid rgba(201, 162, 74, .4); border-top-right-radius: 6px; }
.bubble.typing { color: var(--mute); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(201, 162, 74, .45); background: none; color: var(--brass-2); cursor: pointer; font-size: 14px; }
.chip:hover { background: rgba(201, 162, 74, .1); }
.sugg { display: grid; gap: 8px; }
.sugg .line { border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; background: rgba(14, 26, 21, .4); }
.chat-input { display: flex; gap: 10px; }
.chat-input .input { border-radius: 999px; }
.send { width: 52px; height: 52px; flex: none; border-radius: 50%; border: 0; background: var(--brass); color: var(--brass-ink); display: grid; place-items: center; cursor: pointer; }

/* search */
.search-head { display: flex; gap: 10px; align-items: center; }
.search-head .input { padding-left: 46px; }
.search-wrap { position: relative; flex: 1; }
.search-wrap .icon { position: absolute; left: 16px; top: 15px; color: var(--mute); }
.empty { text-align: center; color: var(--sage); padding: 40px 10px; }
.empty strong { display: block; color: var(--cream); font: 600 20px/1.2 var(--serif); margin-bottom: 4px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(var(--dock-h) + 30px); transform: translate(-50%, 20px); opacity: 0; z-index: 200;
  background: var(--cream); color: var(--night); padding: 12px 18px; border-radius: 14px; font-weight: 600; font-size: 15px; box-shadow: var(--shadow-lift);
  transition: .3s var(--ease); pointer-events: none; max-width: calc(100vw - 40px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
body:has(.sheet-root.open) .toast { bottom: auto; top: calc(14px + env(safe-area-inset-top)); transform: translate(-50%, -20px); }
body:has(.sheet-root.open) .toast.show { transform: translate(-50%, 0); }
.toast.err { background: var(--danger); color: #fff; }

/* footer */
.foot { border-top: 1px solid var(--line); margin-top: 56px; padding: 36px 0 0; color: var(--sage); font-size: 14px; display: grid; gap: 22px; }
.foot h4 { margin: 0 0 8px; font: 600 26px/1.1 var(--serif); color: var(--cream); }
.foot .cols { display: grid; gap: 18px; }
@media (min-width: 720px) { .foot .cols { grid-template-columns: 1.2fr 1fr 1fr; } }
.foot a { color: var(--sage); text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.foot a:hover { color: var(--cream); }
.foot .social { display: flex; gap: 10px; }
.foot .legal { font-size: 13px; color: var(--mute); display: flex; gap: 16px; flex-wrap: wrap; }

/* ===================================================================== account */
.acc { max-width: 1080px; margin: 0 auto; padding: calc(var(--header-h) + 24px) var(--gutter) 60px; }
.acc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.acc-head h1 { margin: 0; font: 600 clamp(34px, 7vw, 52px)/1 var(--serif); letter-spacing: -.03em; font-variation-settings: "opsz" 144, "SOFT" 60; }
.acc-head p { margin: 8px 0 0; color: var(--sage); }
.acc-grid { display: grid; gap: 22px; }
@media (min-width: 900px) { .acc-grid { grid-template-columns: 340px minmax(0, 1fr); align-items: start; } }
.box { background: var(--leaf); border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.box + .box { margin-top: 22px; }
@media (max-width: 899px) {
  .acc-grid { display: flex; flex-direction: column; gap: 22px; }
  .acc-grid > div { display: contents; }
  .acc-grid .box + .box { margin-top: 0; }
  .acc-grid .o-member { order: 1; } .acc-grid .o-stamps { order: 2; } .acc-grid .o-notes { order: 3; }
  .acc-grid .o-orders { order: 4; } .acc-grid .o-app { order: 5; } .acc-grid .o-prefs { order: 6; }
}
.box h2 { margin: 0 0 4px; font: 600 22px/1.15 var(--serif); }
.box .sub { margin: 0 0 16px; color: var(--sage); font-size: 14px; }

.member { text-align: center; position: relative; overflow: hidden; }
.member::before { content: ""; position: absolute; inset: -40% -20% auto; height: 70%; background: radial-gradient(closest-side, rgba(242, 180, 90, .14), transparent); pointer-events: none; }
.member .qr { display: inline-block; padding: 14px; border-radius: 18px; background: #fff; margin: 6px 0 14px; box-shadow: 0 12px 40px -12px rgba(0, 0, 0, .6); }
.member .qr svg { display: block; width: 200px !important; height: 200px !important; }
.member .code { font: 600 26px/1 var(--serif); letter-spacing: .28em; padding-left: .28em; color: var(--brass-2); }
.member p { color: var(--sage); font-size: 14px; margin: 12px auto 0; max-width: 28ch; }

/* --- imza öğesi: damga kartı --- */
.stamp-card {
  position: relative; border-radius: 22px; padding: 22px 22px 20px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(420px 220px at 105% -10%, rgba(242, 180, 90, .22), transparent 60%),
    radial-gradient(300px 200px at -10% 120%, rgba(201, 162, 74, .10), transparent 60%),
    linear-gradient(160deg, #1d3529, #13241c 55%, #0f1d17);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), var(--shadow-lift);
}
.stamp-card::before { /* pirinç varak çerçeve */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1;
  background: linear-gradient(135deg, #f0d48a, #8c6a24 30%, #e3c57a 55%, #6b501a 80%, #d9b864);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.stamp-card::after { /* ince gravür çizgileri */
  content: ""; position: absolute; inset: 10px; border-radius: 16px; border: 1px solid rgba(227, 197, 122, .12); pointer-events: none;
}
.stamp-card + .stamp-card { margin-top: 16px; }
.sc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sc-title { margin: 0; font: italic 600 26px/1.05 var(--serif); letter-spacing: -.02em; color: var(--cream); font-variation-settings: "opsz" 96, "SOFT" 80, "WONK" 1; }
.sc-desc { margin: 4px 0 0; color: var(--sage); font-size: 14px; }
.sc-count { font: 600 15px/1 var(--sans); color: var(--brass-2); white-space: nowrap; padding-top: 6px; }
.sc-count b { font: 600 30px/1 var(--serif); }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 18px 0 14px; }

.st { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; position: relative; }
.st.empty { border: 1.5px dashed rgba(242, 235, 221, .22); }
.st.full { color: #3b2c0b;
  background: radial-gradient(circle at 35% 30%, #f6dc95, #c9a24a 45%, #8e6b22 100%);
  box-shadow: inset 0 -2px 4px rgba(0, 0, 0, .35), inset 0 2px 2px rgba(255, 255, 255, .45), 0 4px 10px -2px rgba(0, 0, 0, .5); }
.st.full .icon { width: 52%; height: 52%; stroke-width: 1.7; }
.st.gift { border: 1.5px solid rgba(242, 180, 90, .55); color: var(--lamp); background: radial-gradient(circle, rgba(242, 180, 90, .18), transparent 70%); }
.st.gift .icon { width: 46%; height: 46%; }
.st.gift.ready { background: radial-gradient(circle at 35% 30%, #ffe2a6, #f2b45a 50%, #b4782a); color: #3b2508; border: 0; box-shadow: 0 0 22px rgba(242, 180, 90, .55); animation: glow 2.6s infinite ease-in-out; }
@keyframes glow { 50% { box-shadow: 0 0 34px rgba(242, 180, 90, .8); } }
.st.just { animation: stampIn .7s var(--ease) both; }
@keyframes stampIn { 0% { transform: scale(1.6) rotate(-14deg); opacity: 0; } 60% { transform: scale(.92) rotate(3deg); opacity: 1; } 100% { transform: none; } }
.sc-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; color: var(--sage); }
.sc-reward { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--lamp); color: #2a1b05; font-weight: 700; font-size: 14px; }

.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; justify-content: space-between; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.list li:first-child { border-top: 0; }
.list .t { font-weight: 600; }
.list .m { color: var(--sage); font-size: 14px; }
.list .r { text-align: right; flex: none; display: grid; gap: 6px; justify-items: end; }
.unread { width: 8px; height: 8px; border-radius: 50%; background: var(--lamp); display: inline-block; margin-right: 6px; vertical-align: middle; }

.install { display: flex; gap: 14px; align-items: center; }
.install .app-ico { width: 56px; height: 56px; border-radius: 14px; flex: none; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .6); }

/* auth pages */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 90px var(--gutter) 40px; position: relative; isolation: isolate; }
.auth::before { content: ""; position: fixed; inset: 0; z-index: -1; background: url("../img/hero-900.be02cfa45cce.jpg") center/cover; filter: blur(18px) brightness(.32) saturate(1.1); transform: scale(1.1); }
.auth-card { width: min(440px, 100%); background: rgba(21, 37, 30, .9); border: 1px solid var(--line-2); border-radius: 26px; padding: 30px 26px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow-lift); }
.auth-card h1 { margin: 0; font: 600 34px/1.05 var(--serif); letter-spacing: -.02em; }
.auth-card .lead { color: var(--sage); margin: 8px 0 22px; }
.auth-card .alt { text-align: center; margin-top: 18px; color: var(--sage); font-size: 15px; }
.auth-card .alt a { color: var(--brass-2); }
.flash { padding: 12px 14px; border-radius: 12px; margin-bottom: 16px; font-size: 14px; }
.flash.error { background: rgba(224, 119, 91, .14); color: #f3b2a1; border: 1px solid rgba(224, 119, 91, .35); }
.flash.success { background: rgba(108, 192, 143, .12); color: #a9e3c1; border: 1px solid rgba(108, 192, 143, .3); }

.prose { max-width: 70ch; color: var(--sage); }
.prose h1 { color: var(--cream); font: 600 40px/1.05 var(--serif); }
.prose strong { color: var(--cream); }

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

/* ===================================================================== cüzdan */
.wallet {
  position: relative; border-radius: 24px; padding: 22px; margin-bottom: 22px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(380px 200px at 110% -20%, rgba(242, 180, 90, .30), transparent 60%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 9px),
    linear-gradient(150deg, #24402f, #15281f 50%, #0f1d17);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), var(--shadow-lift);
}
.wallet::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1;
  background: linear-gradient(135deg, #f0d48a, #8c6a24 30%, #e3c57a 55%, #6b501a 80%, #d9b864);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.w-top { display: flex; justify-content: space-between; align-items: flex-start; }
.w-label { color: var(--brass-2); font-size: 14px; font-weight: 600; }
.w-amount { font: 600 52px/1 var(--serif); letter-spacing: -.03em; margin-top: 6px; font-variant-numeric: lining-nums; font-variation-settings: "opsz" 144, "SOFT" 40; }
.w-amount small { font-size: .5em; margin-left: 4px; color: var(--brass-2); }
.w-mark { width: 40px; height: 40px; font-size: 20px; }
.w-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.w-actions .btn { height: 50px; }
.w-actions .btn:only-child { grid-column: span 2; }
.w-hint { margin: 12px 0 0; font-size: 13.5px; color: var(--sage); }
.paycode .qr { display: inline-block; padding: 14px; border-radius: 20px; background: #fff; min-width: 248px; min-height: 248px; }
.paycode .qr svg { width: 220px !important; height: 220px !important; display: block; }
.pc-digits { font: 600 40px/1 var(--serif); letter-spacing: .14em; margin: 18px 0 12px; font-variant-numeric: lining-nums tabular-nums; color: var(--brass-2); }
.pc-timer { display: flex; align-items: center; gap: 12px; justify-content: center; color: var(--sage); font-variant-numeric: tabular-nums; font-size: 14px; }
.pc-bar { width: 180px; height: 6px; border-radius: 3px; background: rgba(242, 235, 221, .1); overflow: hidden; }
.pc-bar i { display: block; height: 100%; width: 100%; background: var(--brass); transition: width 1s linear; }
.pkgs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.pkg { min-height: 86px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(242, 235, 221, .03); cursor: pointer; display: grid; gap: 6px; place-content: center; justify-items: center; padding: 12px; }
.pkg b { font: 600 24px/1 var(--serif); }
.pkg.on { border-color: var(--brass); background: rgba(201, 162, 74, .12); }
.gift-chip { display: inline-flex; height: 24px; padding: 0 10px; align-items: center; border-radius: 999px; background: rgba(242, 180, 90, .18); color: var(--lamp); font-size: 12.5px; font-weight: 700; }
.sum-line { color: var(--cream); font-weight: 600; margin: 0; }
@media (max-width: 899px) { .acc-grid .o-wallet { order: 0; } .acc-grid .o-wtx { order: 3; } }
.w-actions .btn { white-space: nowrap; padding: 0 14px; }

/* Hesap silme */
.danger-zone summary { cursor: pointer; color: var(--sage); font-size: 14px; list-style: none; }
.danger-zone summary::-webkit-details-marker { display: none; }
.danger-zone summary::before { content: "›"; display: inline-block; margin-right: 8px; transition: transform .2s; }
.danger-zone[open] summary::before { transform: rotate(90deg); }
.danger-zone[open] summary { margin-bottom: 10px; color: var(--cream); }
.btn.danger { background: rgba(224, 119, 91, .16); color: #f3b2a1; border: 1px solid rgba(224, 119, 91, .45); }
.btn.danger:hover { background: rgba(224, 119, 91, .26); }

/* Fatura bilgisi formu */
.seg2 { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(242, 235, 221, .05); border: 1px solid var(--line); margin-bottom: 14px; }
.seg2 label { cursor: pointer; }
.seg2 input { position: absolute; opacity: 0; pointer-events: none; }
.seg2 span { display: block; padding: 8px 16px; border-radius: 999px; font-size: 14px; color: var(--sage); }
.seg2 input:checked + span { background: var(--brass); color: var(--brass-ink); font-weight: 600; }
.seg2 input:focus-visible + span { outline: 2px solid var(--brass-2); outline-offset: 2px; }
.tab-invoice { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 10px; padding: 10px 12px; border-radius: 12px;
  border: 1px dashed var(--line-2); background: none; color: var(--brass-2); font: inherit; font-size: 14px; cursor: pointer; text-align: left; }
.tab-invoice:hover { background: rgba(201, 162, 74, .08); }

/* ürün seçenekleri */
.opt-group { border: 0; padding: 0; margin: 4px 0 18px; }
.opt-group legend { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--cream, #f2ebdd); margin-bottom: 10px; padding: 0; }
.opt-group .req { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--brass-ink, #1b1712); background: var(--brass, #c9a24a); border-radius: 999px; padding: 2px 8px; }
.opt-group .opt-hint { font-size: 12px; font-weight: 400; color: var(--sage, #a9b0a0); }
.opt-group.missing legend { color: var(--danger, #e06b5b); }
.opt-group.missing .ochip span { border-color: var(--danger, #e06b5b); }
.opt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ochip { position: relative; cursor: pointer; }
.ochip input { position: absolute; opacity: 0; pointer-events: none; }
.ochip span { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2, rgba(242,235,221,.18)); color: var(--cream, #f2ebdd); font-size: 14px; transition: background .15s, border-color .15s; }
.ochip em { font-style: normal; color: var(--brass-2, #e0c27a); font-size: 13px; }
.ochip input:checked + span { background: var(--brass, #c9a24a); border-color: var(--brass, #c9a24a); color: var(--brass-ink, #1b1712); font-weight: 600; }
.ochip input:checked + span em { color: inherit; }
.opt-chips.remove .ochip input:checked + span { background: rgba(224, 107, 91, .16); border-color: var(--danger, #e06b5b); color: var(--danger, #e06b5b); font-weight: 600; }
.ochip input:focus-visible + span { outline: 2px solid var(--brass-2, #e0c27a); outline-offset: 2px; }
.ochip.off { opacity: .4; cursor: not-allowed; }
.line-opts { color: var(--brass-2, #e0c27a); font-size: 13px; margin-top: 2px; }

/* "+" ile ürünün altında açılan "nasıl olsun?" alanı */
.item.configuring { border-bottom-color: transparent; }

.item-config { list-style: none; margin: 0 0 14px; padding: 16px; border: 1px solid rgba(201, 162, 74, .45); border-radius: 18px; background: rgba(201, 162, 74, .06); animation: icIn .22s ease-out; }
.item-config .ic-title { font: 600 16px/1.2 var(--serif); color: var(--brass-2); margin-bottom: 12px; }
.item-config .field { margin-bottom: 12px; }
.ic-foot { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ic-foot .grow { flex: 1 1 160px; }
@keyframes icIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .item-config { animation: none; } }

/* ---------------------------------------------------------------- kafeler (ana sayfa) */
.vd { max-width: 760px; margin: 0 auto; padding: calc(var(--header-h) + 28px) var(--gutter) 60px; }
.vd-head h1 { font: 500 clamp(38px, 9vw, 60px)/1 var(--serif); letter-spacing: -.02em; margin: 0 0 18px; }
.vd-qr { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; margin: 0 0 18px;
  background: rgba(201, 162, 74, .1); border: 1px solid rgba(201, 162, 74, .3); }
.vd-qr-art { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brass); color: var(--brass-ink); }
.vd-qr-art .icon { width: 26px; height: 26px; }
.vd-qr p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--cream); }
.vd-search { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 18px; border-radius: 16px;
  background: rgba(242, 235, 221, .06); border: 1px solid var(--line-2); color: var(--sage); }
.vd-search:focus-within { border-color: var(--brass); color: var(--brass-2); }
.vd-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: var(--cream); font: 400 17px/1 var(--sans); outline: none; }
.vd-search input::placeholder { color: var(--mute); }
.vd-count { font: 500 14px/1 var(--sans); color: var(--sage); margin: 28px 0 10px; }
.vd-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.vd-list li { border-bottom: 1px solid var(--line); }
.vd-row { display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; align-items: center; padding: 16px 4px; text-decoration: none; color: inherit; border-radius: 14px; }
.vd-row:hover .vd-name { color: var(--brass-2); }
.vd-row:focus-visible { outline: 2px solid var(--brass-2); outline-offset: 2px; }
.vd-pic { width: 88px; height: 88px; border-radius: 18px; overflow: hidden; display: grid; place-items: center;
  background: color-mix(in srgb, var(--tint) 22%, var(--leaf)); border: 1px solid color-mix(in srgb, var(--tint) 35%, transparent); }
.vd-pic img { width: 100%; height: 100%; object-fit: cover; }
.vd-pic b { font: 500 40px/1 var(--serif); color: var(--tint); }
.vd-body { display: grid; gap: 5px; min-width: 0; }
.vd-name { font: 600 20px/1.2 var(--sans); letter-spacing: -.01em; transition: color .2s; }
.vd-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--sage); font-size: 14px; }
.vd-meta > span { display: inline-flex; align-items: center; gap: 5px; }
.vd-meta .icon { width: 15px; height: 15px; }
.vd-desc { color: var(--sage); font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.vd-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.vd-tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.vd-tag i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.vd-tag.ok { color: var(--ok); background: rgba(108, 192, 143, .12); }
.vd-tag.off { color: var(--sage); background: rgba(242, 235, 221, .06); }
.vd-tag.bal { color: var(--brass-2); background: rgba(201, 162, 74, .12); }
.vd-tag .icon { width: 14px; height: 14px; }
.vd-go { display: inline-flex; align-items: center; gap: 2px; height: 44px; padding: 0 14px; border-radius: 999px; background: var(--brass); color: var(--brass-ink); font-weight: 700; font-size: 15px; white-space: nowrap; }
.vd-empty { color: var(--sage); padding: 22px 4px; font-size: 15px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 560px) {
  .vd-row { grid-template-columns: 72px 1fr; gap: 14px; }
  .vd-pic { width: 72px; height: 72px; border-radius: 16px; }
  .vd-go { grid-column: 1 / -1; justify-content: center; height: 48px; }
  .vd-desc { display: none; }
}
.venues-back { margin-right: 2px; }
.elsewhere { position: fixed; z-index: 60; left: 50%; transform: translateX(-50%); top: calc(var(--header-h) + 8px); max-width: calc(100% - 32px);
  display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--brass); color: var(--brass-ink);
  font-size: 13.5px; text-decoration: none; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); white-space: nowrap; }
.elsewhere span { overflow: hidden; text-overflow: ellipsis; }
.elsewhere b { font-weight: 700; }

.wl-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.wl-list a { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(242,235,221,.04);
  border: 1px solid var(--line); color: inherit; text-decoration: none; }
.wl-list a:hover { border-color: rgba(201,162,74,.5); }
.wl-list b { color: var(--brass-2); font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- ödeme */
.pay-card { max-width: 440px; }
.test-ribbon { margin: -6px 0 16px; padding: 7px 10px; border-radius: 8px; background: rgba(242,180,90,.16); color: var(--lamp); font: 700 11.5px/1.2 var(--sans); letter-spacing: .06em; text-align: center; }
.pay-sum { margin: 0 0 18px; display: grid; gap: 8px; }
.pay-sum div { display: flex; justify-content: space-between; color: var(--sage); }
.pay-sum dt, .pay-sum dd { margin: 0; }
.pay-sum dd { font-variant-numeric: tabular-nums; color: var(--cream); }
.pay-sum .tot { padding-top: 10px; border-top: 1px solid var(--line); font-weight: 700; }
.pay-sum .tot dd { font: 600 22px/1 var(--serif); color: var(--brass-2); }
.fake-card { border-radius: 16px; padding: 18px; background: linear-gradient(135deg, #2c4636, #13241c); border: 1px solid var(--line-2); display: grid; gap: 14px; }
.fc-chip { width: 38px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #d9bd76, #9c7d36); }
.fc-num { font: 600 19px/1 var(--sans); letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.fc-row { display: flex; justify-content: space-between; color: var(--sage); font-size: 12.5px; letter-spacing: .08em; }
.done-mark.ok { color: var(--ok); }
.done-mark.err { color: var(--danger); }
.bill-lines { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.bill-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.bill-lines small { display: block; color: var(--brass-2); font-size: 12.5px; }
.bill-lines .q { color: var(--sage); margin-right: 6px; }
.bill-tot { display: grid; gap: 6px; padding: 12px 0; border-top: 1px solid var(--line); margin-bottom: 14px; }
.bill-tot div { display: flex; justify-content: space-between; color: var(--sage); font-size: 14px; }
.bill-tot .big { color: var(--cream); font-weight: 700; font-size: 16px; }
.bill-tot .big b { font: 600 22px/1 var(--serif); color: var(--brass-2); }
.tip-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 14px; }
.pay-methods { display: grid; gap: 8px; margin: 6px 0 14px; }
.pay-note { font-size: 12.5px; color: var(--mute); margin-top: 10px; text-align: center; }
.bill-lines li > span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }

.line-note-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 6px 10px; border-radius: 999px; border: 1px dashed var(--line-2);
  background: none; color: var(--brass-2); font: 600 13px/1.2 var(--sans); cursor: pointer; text-align: left; max-width: 100%; }
.line-note-btn .line-note { color: var(--lamp); font-weight: 500; }
.line-note-btn .icon { width: 14px; height: 14px; flex: none; }
.line-note-edit { display: flex; gap: 6px; margin-top: 6px; }
.line-note-edit .input { height: 40px; font-size: 15px; }
.step-text { margin: 0 0 14px; color: var(--sage); font-size: 13.5px; line-height: 1.45; }
