/* Sushi Dotto — Dijital menü · Tasarım & Geliştirme: Zetuya Software */

:root {
    --bg: #07070a;
    --primary: var(--brand, #dc2626);
    --accent: var(--brand-light, #ef4444);
    --rose: #fb7185;
    --amber: #f59e0b;
    --muted: #a1a1aa;
    --dim: #71717a;
    --line: rgba(255, 255, 255, 0.09);
    --panel: linear-gradient(165deg, rgba(26, 26, 32, 0.92), rgba(10, 10, 13, 0.96));
    --font-sans: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Space Grotesk', 'Outfit', system-ui, sans-serif;
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --safe-t: env(safe-area-inset-top, 0px);
    --safe-b: env(safe-area-inset-bottom, 0px);
    --safe-l: env(safe-area-inset-left, 0px);
    --safe-r: env(safe-area-inset-right, 0px);
    --bar-h: 56px;
}
[x-cloak] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--bg); color: #fff; font-family: var(--font-sans); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; padding-bottom: calc(96px + var(--safe-b)); }
body.locked { overflow: hidden; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; touch-action: manipulation; }
img, svg, canvas { display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.wrap { width: 100%; max-width: 76rem; margin-inline: auto; padding-left: max(16px, var(--safe-l)); padding-right: max(16px, var(--safe-r)); }
.num { font-variant-numeric: tabular-nums; }

.bg { position: fixed; inset: 0; z-index: -2; pointer-events: none;
    background: radial-gradient(60% 50% at 50% -5%, rgba(var(--brand-rgb, 220, 38, 38), 0.2), transparent 70%), radial-gradient(50% 55% at 100% 40%, rgba(245, 158, 11, 0.07), transparent 70%), radial-gradient(50% 45% at 0% 100%, rgba(var(--brand-rgb, 220, 38, 38), 0.08), transparent 70%), var(--bg); }
.bg::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px); background-size: 52px 52px; -webkit-mask-image: radial-gradient(ellipse at 50% 15%, #000 5%, transparent 65%); mask-image: radial-gradient(ellipse at 50% 15%, #000 5%, transparent 65%); }
#gl-bg { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.gl-on #gl-bg { opacity: 1; }

/* ---------- Üst çubuk ---------- */
.top { position: sticky; top: 0; z-index: 40; padding-top: var(--safe-t); background: rgba(7, 7, 10, 0.72); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--line); transition: background-color 0.3s ease; }
.scrolled .top { background: rgba(7, 7, 10, 0.9); }
.top-row { display: flex; align-items: center; gap: 10px; height: var(--bar-h); }
.brand { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -0.02em; white-space: nowrap; min-width: 0; }
/* Uzun işletme adı dil düğmelerini ekran dışına itmesin: kısalt (…) */
.brand span { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.brand img { flex: 0 0 auto; width: 30px; height: 30px; object-fit: contain; border-radius: 8px; filter: drop-shadow(0 0 10px rgba(var(--brand-rgb, 220, 38, 38), 0.6)); }
.brand-mono { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(160deg, var(--brand-light, #ef4444), var(--brand-dark, #b91c1c)); box-shadow: 0 0 14px rgba(var(--brand-rgb, 220, 38, 38), 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25); font: 700 13px/1 var(--font-display); font-style: normal; letter-spacing: -0.02em; color: #fff; }
.brand em { font-style: normal; background: linear-gradient(90deg, var(--brand-light, #ef4444), var(--brand-lighter, #fb7185)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.top-search { position: relative; flex: 1; min-width: 0; display: none; }
.top-search .ico { position: absolute; left: 12px; top: 50%; margin-top: -8px; font-size: 16px; color: var(--dim); pointer-events: none; }
.top-search input { width: 100%; height: 38px; padding: 0 34px 0 36px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); color: #fff; font: inherit; font-size: 14px; outline: none; transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.top-search input::placeholder { color: #52525b; }
.top-search input:focus { border-color: rgba(var(--brand-light-rgb, 239, 68, 68), 0.7); box-shadow: 0 0 0 3px rgba(var(--brand-rgb, 220, 38, 38), 0.15); }
.top-search .clear { position: absolute; right: 4px; top: 50%; width: 30px; height: 30px; margin-top: -15px; display: grid; place-items: center; border-radius: 8px; color: var(--muted); }
.lang { display: inline-flex; padding: 3px; border-radius: 11px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); }
.lang button { min-width: 34px; min-height: 32px; padding: 5px 8px; border-radius: 8px; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; color: var(--dim); transition: color 0.2s ease, background-color 0.2s ease; }
.lang button[aria-pressed='true'] { background: var(--primary); color: #fff; box-shadow: 0 0 14px rgba(var(--brand-rgb, 220, 38, 38), 0.5); }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: var(--muted); font-size: 17px; transition: color 0.2s ease, border-color 0.2s ease, transform 0.3s var(--ease); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn.amber { color: var(--amber); border-color: rgba(245, 158, 11, 0.35); background: rgba(245, 158, 11, 0.08); }
/* Üst çubukta arama yalnızca geniş ekranda (tablette uzun işletme adıyla sıkışmasın; altta tam genişlik arama var) */
@media (min-width: 1024px) { .top-search { display: block; max-width: 380px; } }

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; gap: 8px; padding: 18px 0 8px; }
.hero-copy { position: relative; z-index: 2; text-align: center; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(10, 10, 13, 0.7); font-size: 11px; font-weight: 600; color: var(--muted); }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: #10b981; box-shadow: 0 0 8px #10b981; animation: blink 1.8s ease-in-out infinite; }
.chip b { color: #34d399; }
.chip.busy i { background-color: var(--amber); box-shadow: 0 0 8px var(--amber); }
.chip.busy b { color: #fbbf24; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.chip.table b { color: #fff; }
@media (min-width: 900px) { .chips { justify-content: flex-start; } }
@keyframes blink { 50% { opacity: 0.3; } }
.hero h1 { margin-top: 10px; font-family: var(--font-display); font-size: clamp(1.7rem, 6vw, 2.8rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--brand-light, #ef4444), var(--brand-lighter, #fb7185) 45%, #f59e0b); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 7s linear infinite; }
@keyframes sheen { to { background-position: -200% 0; } }
.hero h1.long { font-size: clamp(1.45rem, 5.2vw, 2.35rem); }
.hero p { margin-top: 8px; font-size: 13.5px; color: var(--muted); text-wrap: pretty; }
.hero-stage { position: relative; width: 100%; height: clamp(290px, 74vw, 360px); margin-inline: auto; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; outline: none; -webkit-tap-highlight-color: transparent; }
.hero-stage:focus-visible { box-shadow: inset 0 0 0 2px rgba(var(--brand-light-rgb, 239, 68, 68), 0.5); border-radius: 18px; }
.hero-stage:active { cursor: grabbing; }
.hero-stage canvas { -webkit-mask-image: radial-gradient(58% 62% at 50% 50%, #000 42%, transparent 96%); mask-image: radial-gradient(58% 62% at 50% 50%, #000 42%, transparent 96%); }
.hero-fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.hero-fallback svg { width: 46%; height: auto; image-rendering: pixelated; filter: drop-shadow(0 0 28px rgba(var(--brand-rgb, 220, 38, 38), 0.5)); animation: bob 3s ease-in-out infinite; }
.gl-on .hero-fallback { display: none; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.stage-hint { position: absolute; right: 0; top: 4px; display: none; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: rgba(10, 10, 12, 0.6); font-size: 10px; color: var(--dim); white-space: nowrap; }
.gl-on .stage-hint { display: inline-flex; }
.stage-hint i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); animation: blink 1.6s ease-in-out infinite; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 10px 16px; border-radius: 13px; border: 1px solid var(--line); background: rgba(14, 14, 18, 0.85); font-size: 12px; font-weight: 700; color: #fff; white-space: nowrap; transition: transform 0.35s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease; }
.btn .ico { font-size: 15px; color: var(--muted); }
.btn:active { transform: scale(0.96); }
.btn.primary { border-color: transparent; background: linear-gradient(180deg, var(--brand-light, #ef3b3b), var(--brand-dark, #c81e1e)); box-shadow: 0 0 24px rgba(var(--brand-rgb, 220, 38, 38), 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn.primary .ico { color: #fff; }
.btn.amber { border-color: rgba(245, 158, 11, 0.4); background: rgba(245, 158, 11, 0.1); color: #fbbf24; }
.btn.amber .ico { color: #fbbf24; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
@media (hover: hover) { .btn:hover:not(:disabled) { transform: translateY(-2px); border-color: rgba(var(--brand-light-rgb, 239, 68, 68), 0.45); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45); } }
@media (min-width: 900px) {
    .hero { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 24px; padding: 26px 0 12px; }
    .hero-copy { text-align: left; }
    .hero-actions { justify-content: flex-start; }
    .hero-stage { width: 100%; height: clamp(320px, 30vw, 420px); }
}

/* ---------- Kategori çubuğu ---------- */
.cats { position: sticky; top: calc(var(--bar-h) + var(--safe-t)); z-index: 30; margin-top: 6px; padding: 8px 0; background: rgba(7, 7, 10, 0.85); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.cats-row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.cats-row::-webkit-scrollbar { display: none; }
.cat { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; min-height: 40px; padding: 8px 13px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.04); font-size: 12px; font-weight: 700; color: var(--muted); scroll-snap-align: start; transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.3s var(--ease); }
.cat .ico { font-size: 14px; }
.cat b { padding: 1px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); font-size: 10px; color: #d4d4d8; }
.cat[aria-current='true'] { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 0 16px rgba(var(--brand-rgb, 220, 38, 38), 0.45); }
.cat[aria-current='true'] b { background: rgba(0, 0, 0, 0.25); color: #fff; }
.cat.fav .ico { color: var(--rose); }
.cat:disabled { opacity: 0.4; cursor: default; }
.cats-row.filters { margin-top: 6px; }
.flt { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; min-height: 36px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.03); font-size: 11px; font-weight: 700; color: var(--dim); transition: all 0.2s ease; }
.flt[aria-pressed='true'] { color: #fff; border-color: rgba(var(--c), 0.6); background: rgba(var(--c), 0.18); }
.flt.spicy { --c: 239, 68, 68; } .flt.veg { --c: 16, 185, 129; } .flt.gf { --c: 245, 158, 11; } .flt.raw { --c: 56, 189, 248; }
.search-mobile { position: relative; margin: 10px 0 2px; }
.search-mobile .ico { position: absolute; left: 12px; top: 50%; margin-top: -8px; font-size: 16px; color: var(--dim); pointer-events: none; }
.search-mobile input { width: 100%; height: 44px; padding: 0 40px 0 38px; border-radius: 13px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); color: #fff; font: inherit; font-size: 16px; outline: none; }
.search-mobile input:focus { border-color: rgba(var(--brand-light-rgb, 239, 68, 68), 0.7); }
.search-mobile .clear { position: absolute; right: 4px; top: 50%; width: 36px; height: 36px; margin-top: -18px; display: grid; place-items: center; border-radius: 9px; color: var(--muted); }
@media (min-width: 1024px) { .search-mobile { display: none; } }

/* ---------- Bölümler & kartlar ---------- */
.section { padding: 22px 0 6px; scroll-margin-top: calc(var(--bar-h) + var(--safe-t) + 118px); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section-head h2 { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: clamp(1.15rem, 3.4vw, 1.5rem); font-weight: 700; letter-spacing: -0.02em; }
.section-head h2 .ico { font-size: 20px; color: var(--accent); }
.section-head span { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.grid { display: grid; gap: 10px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.card {
    --rx: 0deg; --ry: 0deg;
    position: relative; display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 10px; border-radius: 20px; border: 1px solid var(--line);
    background: var(--panel); box-shadow: 0 12px 34px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05); cursor: pointer;
    transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; content-visibility: auto; contain-intrinsic-size: 124px;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
.card.is-active { border-color: rgba(var(--brand-rgb, 220, 38, 38), 0.4); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(var(--brand-rgb, 220, 38, 38), 0.14); }
.card .glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(320px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.1), transparent 55%); opacity: 0; transition: opacity 0.35s ease; }
.card.is-active .glare { opacity: 1; }
.card.rv { opacity: 0; transform: perspective(900px) translate3d(0, 24px, -60px) rotateX(-8deg); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease; }
.card.rv.in { opacity: 1; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); }
.card-img { position: relative; width: 104px; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: rgba(255, 255, 255, 0.04); transform: translateZ(18px); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card.is-active .card-img img { transform: scale(1.06); }
.card-img .ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 34px; }
.card-img .ph svg { width: 56%; height: 56%; image-rendering: pixelated; filter: drop-shadow(0 0 12px rgba(var(--brand-rgb, 220, 38, 38), 0.45)); }
.card-main { display: flex; flex-direction: column; min-width: 0; transform: translateZ(12px); }
.card-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 4px; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 6px; font-size: 9px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.tag.chef { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.tag.pop { background: rgba(var(--brand-rgb, 220, 38, 38), 0.16); color: var(--brand-lighter, #f87171); }
.card h3 { font-size: 15px; font-weight: 700; line-height: 1.25; color: #fff; }
.card .desc { margin-top: 3px; font-size: 12px; line-height: 1.4; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
/* Fiyat bloğu daralabilir (kampanya rozeti kısalır), +/− adımlayıcı hep sığar */
.card-foot > div:first-child { flex: 1 1 auto; min-width: 0; }
.card-foot .step { flex: none; }
.price { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: #fff; }
.price small { margin-left: 4px; font-size: 11px; font-weight: 600; color: var(--dim); }
.portion { font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.half-price { display: block; margin-top: 2px; font-size: 11px; font-weight: 700; color: var(--muted); }
.flags { display: inline-flex; gap: 4px; margin-left: 6px; }
.flag { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; font-size: 11px; background: rgba(255, 255, 255, 0.06); }
.add { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(180deg, var(--brand-light, #ef3b3b), var(--brand-dark, #c81e1e)); color: #fff; font-size: 18px; box-shadow: 0 0 18px rgba(var(--brand-rgb, 220, 38, 38), 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25); transition: transform 0.3s var(--ease); }
.add:active { transform: scale(0.9); }
.add.on { background: linear-gradient(180deg, #34d399, #059669); box-shadow: 0 0 18px rgba(16, 185, 129, 0.4); }
.fav-btn { position: absolute; left: 6px; top: 6px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: rgba(8, 8, 11, 0.7); color: #fff; font-size: 14px; }
.fav-btn.on { color: var(--rose); }
.empty { padding: 34px 16px; border-radius: 18px; border: 1px dashed rgba(255, 255, 255, 0.12); text-align: center; font-size: 13px; color: var(--dim); }
@media (min-width: 640px) {
    .card { grid-template-columns: 1fr; padding: 12px; contain-intrinsic-size: 330px; }
    .card-img { width: 100%; aspect-ratio: 4 / 3; border-radius: 15px; }
    .card h3 { font-size: 16px; }
    .card .desc { -webkit-line-clamp: 2; }
}

/* ---------- Yüzen sepet ---------- */
.cart-bar { position: fixed; left: 12px; right: 12px; bottom: calc(14px + var(--safe-b)); z-index: 45; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; border-radius: 18px; border: 1px solid rgba(var(--brand-rgb, 220, 38, 38), 0.4); background: rgba(10, 10, 13, 0.96); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(var(--brand-rgb, 220, 38, 38), 0.2); transform: translateY(0); transition: transform 0.4s var(--ease), opacity 0.3s ease; }
.cart-bar.hide { transform: translateY(140%); opacity: 0; pointer-events: none; }
.cart-bar .count.live { background: #10b981; box-shadow: 0 0 16px rgba(16, 185, 129, 0.5); }
.cart-bar .count { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 9px; background: var(--primary); font-family: var(--font-display); font-size: 13px; font-weight: 700; }
.cart-bar .sum { flex: 1; min-width: 0; line-height: 1.15; }
.cart-bar .sum b { display: block; font-family: var(--font-display); font-size: 15px; }
.cart-bar .sum span { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
@media (min-width: 900px) { .cart-bar { left: auto; right: 24px; width: 380px; } }

/* ---------- Kaplamalar (sheet / modal) ---------- */
.overlay { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; background: rgba(0, 0, 0, 0.65); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet { position: relative; width: 100%; max-height: calc(100dvh - 24px - var(--safe-t)); overflow-y: auto; overscroll-behavior: contain; padding: 0 18px calc(20px + var(--safe-b)); border-radius: 26px 26px 0 0; border: 1px solid rgba(255, 255, 255, 0.12); border-bottom: 0; background: linear-gradient(165deg, #16161b, #09090c); box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.6); }
.sheet::before { content: ''; position: sticky; top: 8px; display: block; width: 44px; height: 5px; margin: 10px auto 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.2); }
.sheet-close { position: absolute; right: 12px; top: 12px; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(8, 8, 11, 0.8); color: #fff; font-size: 17px; }
.sheet-img { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: rgba(255, 255, 255, 0.04); }
.sheet-img img { width: 100%; height: 100%; object-fit: cover; }
.sheet-img .ph { position: absolute; inset: 0; display: grid; place-items: center; }
.sheet-img .ph svg { width: 34%; height: 34%; image-rendering: pixelated; filter: drop-shadow(0 0 22px rgba(var(--brand-rgb, 220, 38, 38), 0.45)); }
.sheet h2 { margin-top: 14px; font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.sheet .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.sheet .desc { margin-top: 10px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.lbl { display: block; margin: 16px 0 8px; font-size: 10px; font-weight: 900; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }
.ings { display: flex; flex-wrap: wrap; gap: 6px; }
.ing { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.04); font-size: 12px; font-weight: 600; color: #e4e4e7; transition: all 0.2s ease; }
.ing.out { text-decoration: line-through; color: #fb7185; border-color: rgba(244, 63, 94, 0.45); background: rgba(244, 63, 94, 0.1); }
.seg { display: inline-flex; padding: 3px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); }
.seg button { padding: 8px 14px; border-radius: 9px; font-size: 12px; font-weight: 800; color: var(--dim); transition: all 0.2s ease; }
.seg button[aria-pressed='true'] { background: var(--primary); color: #fff; box-shadow: 0 0 14px rgba(var(--brand-rgb, 220, 38, 38), 0.45); }
.note { width: 100%; min-height: 64px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: #fff; font: inherit; font-size: 14px; resize: vertical; outline: none; }
.note:focus { border-color: rgba(var(--brand-light-rgb, 239, 68, 68), 0.7); }
.sheet-foot { position: sticky; bottom: 0; display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-top: 12px; background: linear-gradient(180deg, transparent, #0a0a0d 30%); }
.qty { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(0, 0, 0, 0.4); }
.qty button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; color: #fff; font-size: 16px; }
.qty button:hover { background: rgba(255, 255, 255, 0.08); }
.qty b { min-width: 30px; text-align: center; font-family: var(--font-display); font-size: 16px; }
.sheet-foot .btn { flex: 1; min-height: 48px; font-size: 13px; }
@media (min-width: 720px) {
    .overlay { align-items: center; padding: 20px; }
    .sheet { max-width: 560px; max-height: calc(100dvh - 40px); border-radius: 26px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); padding-top: 18px; }
    .sheet::before { display: none; }
}

/* Sepet çekmecesi */
.cart-lines { display: grid; gap: 8px; margin-top: 12px; }
.cl { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.07); background: rgba(255, 255, 255, 0.035); }
.cl b { display: block; font-size: 13px; }
.cl small { display: block; margin-top: 2px; font-size: 11px; color: var(--dim); }
.cl .num { font-family: var(--font-display); font-size: 14px; }
.cart-total { display: flex; align-items: baseline; justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 1px dashed rgba(255, 255, 255, 0.15); }
.cart-total span { font-size: 10px; font-weight: 900; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }
.cart-total b { font-family: var(--font-display); font-size: 26px; }
.code { margin-top: 12px; padding: 14px; border-radius: 16px; border: 1px solid rgba(245, 158, 11, 0.35); background: rgba(245, 158, 11, 0.08); text-align: center; }
.code span { display: block; font-size: 10px; font-weight: 900; letter-spacing: 0.2em; text-transform: uppercase; color: #fbbf24; }
.code b { display: block; margin-top: 4px; font-family: var(--font-display); font-size: 30px; letter-spacing: 0.18em; }
.code p { margin-top: 4px; font-size: 11px; color: var(--muted); }

/* Kasaya göster */

/* Toast + sürpriz */
.toast { position: fixed; left: 50%; top: calc(var(--bar-h) + var(--safe-t) + 10px); z-index: 80; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 32px); padding: 10px 14px; border-radius: 14px; border: 1px solid rgba(var(--brand-rgb, 220, 38, 38), 0.45); background: rgba(10, 10, 13, 0.96); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6); font-size: 13px; font-weight: 600; line-height: 1.35; width: max-content; }
.toast span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.toast i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.spin-card { position: relative; margin-top: 8px; padding: 14px; border-radius: 18px; border: 1px solid rgba(245, 158, 11, 0.35); background: rgba(245, 158, 11, 0.06); display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: center; }
.spin-card .card-img { width: 96px; }
.spin-card.spin .card-img { animation: flip 0.55s var(--ease); }
@keyframes flip { 0% { transform: rotateY(0) scale(0.9); } 50% { transform: rotateY(90deg) scale(0.85); } 100% { transform: rotateY(0) scale(1); } }

.foot { margin-top: 34px; padding-bottom: 8px; text-align: center; }
.foot small { display: block; font-size: 11px; color: var(--dim); }
.credit { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 6px 14px 6px 8px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.03); font-size: 11px; color: var(--muted); }
.credit i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(135deg, var(--brand, #dc2626), #f59e0b); font-style: normal; font-size: 11px; font-weight: 900; color: #fff; }
.credit b { color: #e4e4e7; }

.fade-enter { animation: fade-up 0.35s var(--ease); }
.sheet-enter { animation: sheet-up 0.45s var(--ease); }
@keyframes fade-up { from { opacity: 0; transform: translate(-50%, -8px); } }
@keyframes sheet-up { from { opacity: 0; transform: translateY(40px); } }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .card.rv { opacity: 1; transform: none; }
}

/* ---------- Öne çıkanlar bandı ---------- */
.rail-wrap { padding-top: 22px; }
.rail { display: flex; gap: 12px; margin: 0 -16px; padding: 4px 16px 10px; scroll-padding-inline: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rail::-webkit-scrollbar { display: none; }
.rcard { display: block; flex: 0 0 min(72vw, 250px); min-width: 0; max-width: min(72vw, 250px); padding: 8px; scroll-snap-align: start; contain-intrinsic-size: 250px; }
.rcard-img { position: relative; aspect-ratio: 4 / 3; border-radius: 15px; overflow: hidden; background: rgba(255, 255, 255, 0.04); transform: translateZ(18px); }
.rcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.rcard.is-active .rcard-img img { transform: scale(1.06); }
.rcard-img .ph { position: absolute; inset: 0; display: grid; place-items: center; }
.rcard-img .ph svg { width: 40%; height: 40%; image-rendering: pixelated; filter: drop-shadow(0 0 16px rgba(var(--brand-rgb, 220, 38, 38), 0.45)); }
.rcard-tag { position: absolute; left: 8px; top: 8px; padding: 4px 8px; border-radius: 8px; background: rgba(245, 158, 11, 0.92); color: #1a1000; font-size: 9px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.rcard-tag.pop { background: rgba(var(--brand-rgb, 220, 38, 38), 0.92); color: #fff; }
.rcard-body { padding: 10px 6px 4px; transform: translateZ(12px); }
.rcard-body h3 { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 900px) { .rail { margin: 0; padding-inline: 0; scroll-padding-inline: 0; } .rcard { flex-basis: 260px; max-width: 260px; } }

/* ---------- Eşleştirme ---------- */
.pairs { display: grid; gap: 6px; }
.pair { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 6px 10px 6px 6px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.035); text-align: left; transition: border-color 0.25s ease, background-color 0.25s ease; }
.pair:hover { border-color: rgba(var(--brand-light-rgb, 239, 68, 68), 0.4); background: rgba(255, 255, 255, 0.06); }
.pair-img { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; overflow: hidden; background: rgba(255, 255, 255, 0.05); font-size: 20px; }
.pair-img img { width: 100%; height: 100%; object-fit: cover; }
.pair-main b { display: block; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pair-main small { font-size: 11px; color: var(--muted); }
.pair .ico { font-size: 16px; color: var(--accent); }
.sheet-ambient { position: absolute; left: 0; right: 0; top: 0; height: 60%; background-size: cover; background-position: center; filter: blur(40px) saturate(1.4); opacity: 0.35; pointer-events: none; -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); }
.sheet { overflow-x: hidden; }
.sheet > div { position: relative; }

/* ---------- Sipariş durumu ---------- */
/* ---------- Kasaya göster ekranı ---------- */
.show { position: fixed; inset: 0; z-index: 70; display: grid; place-items: start center; overflow-y: auto; overscroll-behavior: contain; padding: calc(16px + var(--safe-t)) 16px calc(16px + var(--safe-b)); background: #060608; color: #f4f4f5; }
.show-bg { position: fixed; inset: 0; pointer-events: none; background: radial-gradient(60% 45% at 50% 0%, rgba(var(--brand-rgb, 220, 38, 38), 0.22), transparent 70%), radial-gradient(50% 40% at 50% 100%, rgba(16, 185, 129, 0.1), transparent 70%); }
.show-card { position: relative; width: min(520px, 100%); display: flex; flex-direction: column; gap: 14px; animation: show-in 0.6s var(--ease) backwards; }
@keyframes show-in { from { opacity: 0; transform: perspective(900px) translate3d(0, 24px, -60px) rotateX(-8deg); } }
.show-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.show-brand { display: flex; align-items: center; gap: 10px; }
.show-brand svg { width: 34px; height: 34px; image-rendering: pixelated; filter: drop-shadow(0 0 12px rgba(var(--brand-rgb, 220, 38, 38), 0.5)); animation: show-bob 3.6s ease-in-out infinite; }
.show-brand b { font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.show-brand b em { font-style: normal; color: var(--brand-light, #ef4444); }
@keyframes show-bob { 50% { transform: translateY(-4px) rotate(-3deg); } }
.show-code {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 18px 22px; border-radius: 26px; text-align: center; overflow: hidden;
    border: 1px solid rgba(var(--brand-light-rgb, 239, 68, 68), 0.35); background: radial-gradient(90% 80% at 50% 0%, rgba(var(--brand-rgb, 220, 38, 38), 0.28), transparent 70%), linear-gradient(165deg, rgba(26, 26, 32, 0.95), rgba(10, 10, 13, 0.98));
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 60px rgba(var(--brand-rgb, 220, 38, 38), 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.show-code::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.07) 50%, transparent 65%); transform: translateX(-100%); animation: show-sheen 4.5s ease-in-out infinite; pointer-events: none; }
@keyframes show-sheen { 60%, 100% { transform: translateX(100%); } }
.show-code .lbl { font-size: 11px; font-weight: 800; letter-spacing: 0.3em; text-transform: uppercase; color: #fbbf24; }
.show-code b { font-family: var(--font-display); font-size: clamp(40px, 13vw, 64px); font-weight: 700; letter-spacing: 0.08em; line-height: 1.05; color: #fff; text-shadow: 0 0 30px rgba(var(--brand-light-rgb, 239, 68, 68), 0.55); user-select: all; -webkit-user-select: all; }
.show-code small { font-size: 12.5px; color: var(--muted); }
.show-table { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(245, 158, 11, 0.4); background: rgba(245, 158, 11, 0.12); color: #fcd34d; font-size: 12.5px; font-weight: 700; }
.show .status { padding: 16px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.status .steps { display: flex; gap: 6px; }
.status .steps i { flex: 1; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); transition: background-color 0.4s ease, box-shadow 0.4s ease; }
.status.s1 .steps i:nth-child(1), .status.s2 .steps i:nth-child(-n+2), .status.s3 .steps i { background: #10b981; box-shadow: 0 0 10px rgba(16, 185, 129, 0.5); }
.status.s0 .steps i:nth-child(1) { background: #f59e0b; animation: pulse-bar 1.4s ease-in-out infinite; }
@keyframes pulse-bar { 50% { opacity: 0.35; } }
.step-lbls { display: grid; grid-template-columns: repeat(3, 1fr); margin: 6px 0 10px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.step-lbls span:nth-child(2) { text-align: center; }
.step-lbls span:nth-child(3) { text-align: right; }
.status b { display: block; font-family: var(--font-display); font-size: 18px; color: #fff; }
.status p { margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.status .track { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 9px 13px; border-radius: 11px; border: 1px solid rgba(16, 185, 129, 0.4); background: rgba(16, 185, 129, 0.12); color: #6ee7b7; font-size: 12.5px; font-weight: 700; }
.show .list { display: flex; flex-direction: column; padding: 4px 16px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
.show .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.show .row:last-child { border-bottom: 0; }
.show .row .q { display: inline-block; min-width: 26px; color: #fbbf24; }
.show .row small { display: block; margin-top: 2px; font-size: 12px; color: #fb7185; }
.show .tot { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 4px 0; font-family: var(--font-display); font-size: 26px; font-weight: 700; }
.show .tot .num { color: #fff; text-shadow: 0 0 22px rgba(var(--brand-light-rgb, 239, 68, 68), 0.35); }
.show-foot { display: flex; gap: 8px; }
.show-foot .btn { flex: 1; }
@media (prefers-reduced-motion: reduce) { .show-card, .show-brand svg, .show-code::after { animation: none; } }
@media print {
    body * { visibility: hidden; }
    .show, .show * { visibility: visible; }
    .show { position: absolute; inset: 0; display: block; background: #fff; color: #000; padding: 0; }
    .show-bg, .show .btn, .show-foot, .status .track { display: none !important; }
    .show-code { border: 2px solid #000; background: #fff; box-shadow: none; }
    .show-code::after { display: none; }
    .show-code b, .show .tot .num, .status b { color: #000; text-shadow: none; }
    .show .list, .show .status { border-color: #999; background: #fff; }
    .show .row { color: #000; border-color: #ccc; }
}

/* ---------- Vitrin etiketi ---------- */
.hlabel { position: absolute; left: 50%; bottom: 14px; z-index: 3; display: none; flex-direction: column; align-items: center; gap: 2px; padding: 8px 16px; border-radius: 14px; transform: translateX(-50%); cursor: pointer; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(10, 10, 13, 0.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55); text-align: center; white-space: nowrap; }
.hlabel.on { display: flex; }
@media (max-width: 767px) { .hlabel { bottom: 6px; padding: 6px 12px; gap: 1px; } .hlabel b { font-size: 13px; } }
.hlabel em { font-style: normal; font-size: 9px; font-weight: 900; letter-spacing: 0.18em; text-transform: uppercase; color: #fbbf24; }
.hlabel b { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: #fff; }
.hlabel span { font-size: 12px; font-weight: 700; color: var(--brand-lighter, #f87171); }
@media (hover: hover) { .hlabel:hover { border-color: rgba(var(--brand-light-rgb, 239, 68, 68), 0.5); } }

@supports (-webkit-touch-callout: none) {
    input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]), select, textarea { font-size: 16px !important; }
}

/* Fotoğrafsız ürünler için kategori illüstrasyonları */
.ph.food { --tint: rgba(var(--brand-rgb, 220, 38, 38), 0.24); background: radial-gradient(75% 70% at 50% 62%, var(--tint), transparent 72%), linear-gradient(160deg, #17171c, #0b0b0e); }
.ph.food svg { width: 78%; height: 78%; image-rendering: auto; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.55)); transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.card:hover .ph.food svg, .rcard:hover .ph.food svg { transform: translateY(-4px) scale(1.04) rotate(-2deg); }
.sheet-img .ph.food svg { width: 58%; height: 58%; }
.pair-img { position: relative; }
.pair-img .ph.food { position: absolute; inset: 0; display: grid; place-items: center; border-radius: inherit; }
.pair-img .ph.food svg { width: 86%; height: 86%; }
.ph.food.k-roll { --tint: rgba(var(--brand-light-rgb, 239, 68, 68), 0.26); }
.ph.food.k-nigiri { --tint: rgba(249, 115, 22, 0.26); }
.ph.food.k-soup { --tint: rgba(245, 158, 11, 0.26); }
.ph.food.k-salad { --tint: rgba(34, 197, 94, 0.24); }
.ph.food.k-starter { --tint: rgba(234, 179, 8, 0.24); }
.ph.food.k-bowl { --tint: rgba(var(--brand-rgb, 244, 63, 94), 0.22); }
.ph.food.k-dessert { --tint: rgba(236, 72, 153, 0.24); }
.ph.food.k-drink { --tint: rgba(56, 189, 248, 0.22); }
/* Sektöre özel yer tutucular (App\Support\MenuSector::kind) */
.ph.food.k-plate { --tint: rgba(var(--brand-rgb, 244, 63, 94), 0.24); }
.ph.food.k-bites { --tint: rgba(234, 179, 8, 0.24); }
.ph.food.k-broth { --tint: rgba(245, 158, 11, 0.26); }
.ph.food.k-cake { --tint: rgba(236, 72, 153, 0.24); }
.ph.food.k-coffee { --tint: rgba(180, 120, 70, 0.3); }
.ph.food.k-croissant { --tint: rgba(234, 160, 60, 0.26); }
.ph.food.k-tea { --tint: rgba(220, 90, 40, 0.26); }
.ph.food.k-burger { --tint: rgba(245, 140, 40, 0.26); }
.ph.food.k-fries { --tint: rgba(250, 190, 50, 0.24); }
@media (prefers-reduced-motion: reduce) { .ph.food svg { transition: none; } }
.cl .rm { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid transparent; border-radius: 11px; background: rgba(255, 255, 255, 0.04); color: var(--dim); cursor: pointer; transition: color 0.2s, background-color 0.2s, border-color 0.2s; }
.cl .rm:hover, .cl .rm:focus-visible { color: #fb7185; background: rgba(244, 63, 94, 0.12); border-color: rgba(244, 63, 94, 0.35); }
.step { display: inline-flex; align-items: center; gap: 4px; padding: 0; border-radius: 14px; transition: background-color 0.25s, padding 0.25s; }
.step.on { padding: 3px; background: rgba(16, 185, 129, 0.12); box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.35); }
.step .minus { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 16px; transition: transform 0.25s var(--ease), background-color 0.2s; }
.step .minus:active { transform: scale(0.9); }
.step .minus:hover { background: rgba(244, 63, 94, 0.2); }
.step > b.num { min-width: 20px; text-align: center; font-family: var(--font-display); font-size: 15px; font-weight: 700; color: #fff; }
.step.on .add { width: 34px; height: 34px; border-radius: 11px; }

/* ---------- Masadan çağrı (garson çağır / hesap iste) — yalnızca masaya özel karekodla ---------- */
body.has-callbar { padding-bottom: calc(170px + var(--safe-b)); }
body.has-callbar .cart-bar { bottom: calc(86px + var(--safe-b)); }
.callbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + var(--safe-b)); z-index: 46; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.callbar > * { pointer-events: auto; }
.callbar-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(10, 10, 13, 0.97); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.7); }
.cb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 8px 10px; border-radius: 14px; border: 1px solid rgba(245, 158, 11, 0.45); background: linear-gradient(180deg, rgba(245, 158, 11, 0.22), rgba(245, 158, 11, 0.1)); color: #fde68a; font: 700 14px/1.15 var(--font-sans); text-align: center; transition: transform 0.3s var(--ease), opacity 0.2s, border-color 0.2s; }
.cb-btn .ico { font-size: 18px; }
@media (max-width: 420px) { .cb-btn { gap: 6px; padding: 8px 8px; font-size: 13.5px; } .cb-btn .ico { font-size: 17px; } }
.cb-cd { flex: none; padding: 3px 7px; border-radius: 999px; background: rgba(0, 0, 0, 0.35); font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.cb-btn.bill { border-color: rgba(16, 185, 129, 0.45); background: linear-gradient(180deg, rgba(16, 185, 129, 0.22), rgba(16, 185, 129, 0.1)); color: #a7f3d0; }
.cb-btn:active:not(:disabled) { transform: scale(0.96); }
.cb-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.cb-btn.wait:disabled { opacity: 0.8; }
.callbar-off { margin: 0; padding: 12px 14px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(10, 10, 13, 0.96); color: var(--muted); font-size: 12.5px; line-height: 1.45; text-align: center; }
.callstats { display: flex; flex-direction: column; gap: 6px; }
.callstat { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 16px; border: 1px solid rgba(245, 158, 11, 0.4); background: rgba(24, 18, 6, 0.97); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6); animation: cs-in 0.45s var(--ease) both; }
.callstat.s-ack { border-color: rgba(16, 185, 129, 0.5); background: rgba(6, 24, 17, 0.97); }
.callstat.s-done, .callstat.s-expired { border-color: rgba(255, 255, 255, 0.14); background: rgba(14, 14, 18, 0.97); }
.cs-ico { position: relative; display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; background: rgba(245, 158, 11, 0.18); color: #fbbf24; font-size: 18px; }
.s-ack .cs-ico { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.s-done .cs-ico, .s-expired .cs-ico { background: rgba(255, 255, 255, 0.08); color: var(--muted); }
.cs-ico i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid currentColor; opacity: 0; }
.s-open .cs-ico i { animation: cs-ring 2.2s ease-out infinite; }
.s-open .cs-ico i + i { animation-delay: 1.1s; }
.s-open .cs-ico .ico { animation: cs-bell 2.2s ease-in-out infinite; transform-origin: 50% 10%; }
.cs-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.cs-txt b { font-family: var(--font-display); font-size: 15px; }
.cs-txt small { color: var(--muted); font-size: 12px; }
@keyframes cs-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } }
@keyframes cs-ring { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes cs-bell { 0%, 60%, 100% { transform: rotate(0); } 10% { transform: rotate(14deg); } 20% { transform: rotate(-12deg); } 30% { transform: rotate(8deg); } 40% { transform: rotate(-5deg); } }
.pay-sheet h2 { padding-right: 40px; }
.pay-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.pay-opt { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 10px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: #fff; font-size: 15px; transition: transform 0.3s var(--ease), border-color 0.2s; }
.pay-opt:active { transform: scale(0.96); }
.pay-opt:hover { border-color: rgba(16, 185, 129, 0.5); }
.po-ico { font-size: 30px; line-height: 1; }
.pay-any { width: 100%; margin-top: 10px; }
@media (min-width: 900px) {
    .callbar { left: 24px; right: auto; width: 420px; }
    body.has-callbar { padding-bottom: calc(110px + var(--safe-b)); }
    body.has-callbar .cart-bar { bottom: calc(14px + var(--safe-b)); }
}
@media (prefers-reduced-motion: reduce) {
    .callstat, .s-open .cs-ico i, .s-open .cs-ico .ico { animation: none; }
    .cb-btn, .pay-opt { transition: none; }
}
@media print { .callbar { display: none; } }

/* ---------- Alerjenler + yaklaşık kalori (işletme sağlar) ---------- */
.flt.al { --c: 251, 191, 36; color: #fcd34d; border-color: rgba(251, 191, 36, 0.3); }
.flt.al .ico { font-size: 13px; }
.flt.al b { min-width: 18px; padding: 0 5px; border-radius: 6px; background: rgba(251, 191, 36, 0.25); font-size: 10px; color: #fff; text-align: center; }
.al-ic { --c: 161, 161, 170; display: inline-grid; place-items: center; flex-shrink: 0; width: 22px; height: 22px; border-radius: 7px; border: 1px solid rgba(var(--c), 0.55); background: rgba(var(--c), 0.16); color: rgb(var(--c)); }
.al-ic svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.al-ic.m { border-style: dashed; background: transparent; }
.al-ic.s { opacity: 0.55; }
.al-ic.hit { box-shadow: 0 0 0 2px rgba(244, 63, 94, 0.85); }
.al-ic.unk { --c: 161, 161, 170; border-style: dotted; background: transparent; }
.al-ic.unk .ico { font-size: 13px; }
.al-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 6px; }
.al-row .kc { margin-left: 2px; padding: 2px 7px; border-radius: 7px; background: rgba(255, 255, 255, 0.06); font-size: 10.5px; font-weight: 700; color: #d4d4d8; white-space: nowrap; }
.al-note { margin-top: 6px; padding: 4px 8px; border-radius: 8px; font-size: 11px; font-weight: 700; line-height: 1.35; color: #fcd34d; background: rgba(245, 158, 11, 0.1); }
.card.al-dim { opacity: 0.38; filter: grayscale(0.8); }
.card.al-dim .al-note { color: #fda4af; background: rgba(244, 63, 94, 0.12); }
.card.al-warn { border-color: rgba(245, 158, 11, 0.45); }
.card.al-unk .al-note { color: #d4d4d8; background: rgba(255, 255, 255, 0.06); }
.al-banner { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; padding: 10px 10px 10px 14px; border-radius: 16px; border: 1px solid rgba(245, 158, 11, 0.35); background: linear-gradient(160deg, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0.03)); }
.al-banner > .ico { font-size: 20px; color: #fbbf24; }
.al-banner-txt { flex: 1; min-width: 0; }
.al-banner-txt b { display: block; font-size: 13px; line-height: 1.3; overflow-wrap: anywhere; }
.al-banner-txt small { display: block; margin-top: 2px; font-size: 11.5px; color: var(--muted); }
.al-banner .btn { min-height: 36px; padding: 6px 12px; }
.al-banner .icon-btn { width: 36px; height: 36px; }
.al-detail { margin-top: 4px; }
.al-list { display: flex; flex-wrap: wrap; gap: 6px; }
.al-chip { --c: 161, 161, 170; display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px 5px 5px; border-radius: 12px; border: 1px solid rgba(var(--c), 0.35); background: rgba(var(--c), 0.08); }
.al-chip b { font-size: 12.5px; font-weight: 700; }
.al-chip small { font-size: 11px; color: var(--muted); }
.al-chip.m { border-style: dashed; background: transparent; }
.al-chip.s { opacity: 0.7; }
.al-chip.hit { border-color: rgba(244, 63, 94, 0.8); }
.al-state { margin-top: 8px; font-size: 12.5px; line-height: 1.5; color: #a7f3d0; }
.al-state.warn { color: #fcd34d; }
.al-kcal { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.al-kcal b { color: #fff; font-size: 14px; }
.al-disc { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; padding: 9px 11px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); font-size: 11.5px; line-height: 1.5; color: var(--muted); }
.al-disc .ico { margin-top: 2px; font-size: 14px; color: #fbbf24; }
.al-foot { display: flex; align-items: center; justify-content: center; gap: 7px; max-width: 34rem; margin: 0 auto 10px; font-size: 11.5px; line-height: 1.5; color: var(--muted); }
.al-foot .ico { font-size: 14px; color: #fbbf24; }
.al-sheet h2 { padding-right: 40px; }
.al-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; margin-top: 14px; }
.al-opt { --c: 161, 161, 170; position: relative; display: flex; align-items: center; gap: 9px; min-height: 52px; padding: 7px 28px 7px 8px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); text-align: left; transition: border-color 0.2s ease, background-color 0.2s ease; }
.al-opt .al-ic { width: 32px; height: 32px; border-radius: 10px; }
.al-opt .al-ic svg { width: 19px; height: 19px; }
.al-opt-txt { min-width: 0; }
.al-opt-txt b { display: block; font-size: 13px; font-weight: 700; line-height: 1.2; }
.al-opt-txt small { display: -webkit-box; margin-top: 2px; font-size: 10px; line-height: 1.3; color: var(--dim); -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.al-tick { position: absolute; right: 9px; top: 50%; margin-top: -7px; font-size: 14px; color: #fff; opacity: 0; }
.al-opt[aria-pressed='true'] { border-color: rgba(244, 63, 94, 0.7); background: rgba(244, 63, 94, 0.12); }
.al-opt[aria-pressed='true'] .al-tick { opacity: 1; }
.al-legend { display: grid; gap: 7px; font-size: 12px; color: var(--muted); }
.al-legend > span { display: flex; align-items: center; gap: 9px; }
@media (min-width: 640px) { .al-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media print { .al-banner { display: none; } }

/* ---------- Seçenekler / menü (kombo) seçimi ---------- */
.opt-wrap { display: grid; gap: 10px; margin-top: 16px; }
.opt-group { min-width: 0; margin: 0; padding: 12px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); transition: border-color 0.2s ease, background-color 0.2s ease; }
.opt-group.bad, .opt-sub.bad { border-color: rgba(244, 63, 94, 0.6); background: rgba(244, 63, 94, 0.06); }
.opt-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; width: 100%; padding: 0; margin-bottom: 8px; }
.opt-head b { font-size: 14px; font-weight: 700; color: #fff; overflow-wrap: anywhere; }
.opt-rule { font-size: 10.5px; font-weight: 700; color: var(--dim); white-space: nowrap; }
.opt-rule.req { color: #fbbf24; }
.opt-list { display: grid; gap: 6px; }
.opt { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; padding: 8px 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.03); color: #e4e4e7; font-size: 14px; font-weight: 600; text-align: left; transition: border-color 0.2s ease, background-color 0.2s ease; }
.opt-mark { display: grid; place-items: center; flex-shrink: 0; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid rgba(255, 255, 255, 0.28); color: transparent; font-size: 13px; transition: all 0.2s ease; }
.opt.radio .opt-mark { border-radius: 50%; }
.opt-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.opt em { flex-shrink: 0; font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--dim); }
.opt.on { border-color: rgba(var(--brand-light-rgb, 239, 68, 68), 0.65); background: rgba(var(--brand-rgb, 220, 38, 38), 0.12); color: #fff; }
.opt.on .opt-mark { border-color: transparent; background: var(--primary); color: #fff; box-shadow: 0 0 12px rgba(var(--brand-rgb, 220, 38, 38), 0.5); }
.opt.on em { color: #fecaca; }
.opt:focus-visible { outline: 2px solid rgba(var(--brand-light-rgb, 239, 68, 68), 0.8); outline-offset: 2px; }
.opt-sub { margin-top: 10px; padding: 10px; border-radius: 12px; border: 1px dashed rgba(255, 255, 255, 0.12); }
.opt-sub .opt-head b { font-size: 13px; }
.opt-missing { margin: 12px 0 0; font-size: 12px; font-weight: 700; color: #fbbf24; }
.btn.primary.is-incomplete { filter: saturate(0.55); opacity: 0.8; }
.cl small.cl-opts, .show .row small.cl-opts { color: #d4d4d8; }
.cl.bad { border-color: rgba(244, 63, 94, 0.6); background: rgba(244, 63, 94, 0.08); }
@media print { .show .row small.cl-opts { color: #000; } }

/* ---------- Cila (misafir telefonu: dar ekran, eski cihaz, hafif mod) ---------- */
/* Hafif modda (3B vitrin yüklenmez) telefonda vitrin alanı kısalır: menü ilk ekranda görünür */
html[data-perf='lite'] .hero-stage { height: clamp(130px, 36vw, 170px); cursor: default; }
html[data-perf='lite'] .hero-fallback svg { width: auto; height: 78%; }
@media (min-width: 900px) { html[data-perf='lite'] .hero-stage { height: clamp(220px, 22vw, 300px); } }
.lbl-hint { color: var(--dim); letter-spacing: 0; text-transform: none; font-weight: 600; }
.icon-btn.speak { margin-left: auto; }
.icon-btn.danger { width: 48px; height: 48px; color: #fb7185; border-color: rgba(244, 63, 94, 0.3); }
.btn-sum::before { content: '·'; margin-right: 8px; opacity: 0.7; }
.qty button:disabled { opacity: 0.35; cursor: default; }
.btn:disabled .ico { opacity: 0.7; }
/* Boş durum: Dotto + öneri + süzgeçleri temizle */
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 30px 18px; }
.empty-state b { font-size: 15px; color: #e4e4e7; }
.empty-state span { font-size: 12.5px; color: var(--muted); }
.empty-state .btn { margin-top: 8px; }
.empty-dotto { width: 54px; height: 54px; image-rendering: pixelated; opacity: 0.9; filter: drop-shadow(0 0 16px rgba(var(--brand-rgb, 220, 38, 38), 0.35)); }
.cart-lines .empty { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.empty-ico { font-size: 26px; color: var(--dim); }
/* Sepet satırı: telefonda ad + seçimler tam genişlik, adet / tutar / sil alt satırda */
.cl-main { min-width: 0; }
.cl-main b { overflow-wrap: anywhere; }
.cl-note { color: #fda4af !important; }
.cl-sum { white-space: nowrap; }
@media (max-width: 520px) {
    .cl { grid-template-columns: auto minmax(0, 1fr) auto; row-gap: 8px; }
    .cl > .cl-main { grid-column: 1 / -1; }
    .cl > .cl-sum { justify-self: end; }
}
/* Kasaya göster: uzun işletme adı iki satır, tutar bölünmesin */
.show-brand { min-width: 0; }
.show-brand svg { flex: none; }
.show-brand b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.2; }
.show-head .btn { flex: none; }
.row-sum { white-space: nowrap; }
.spin-main { min-width: 0; }
.spin-main h3 { font-size: 17px; line-height: 1.25; }
.spin-main .desc { margin-top: 4px; font-size: 12.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.spin-main .price { margin-top: 6px; }
/* Masadan çağrı: geri sayım düğmenin köşesinde rozet; sepet çubuğu, ölçülen alt çubuğun hemen üstünde */
.cb-btn { position: relative; }
.cb-txt { min-width: 0; }
.cb-cd { position: absolute; top: -8px; right: -4px; background: #18181b; border: 1px solid rgba(255, 255, 255, 0.18); color: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); }
body.has-callbar .cart-bar { bottom: calc(var(--callbar-h, 72px) + 20px + var(--safe-b)); }
body.has-callbar { padding-bottom: calc(var(--callbar-h, 72px) + 104px + var(--safe-b)); }
@media (min-width: 900px) {
    body.has-callbar .cart-bar { bottom: calc(14px + var(--safe-b)); }
    body.has-callbar { padding-bottom: calc(var(--callbar-h, 72px) + 40px + var(--safe-b)); }
}
/* Çok dar ekran (320): başlık çubuğu ve kartlar sığsın */
@media (max-width: 359px) {
    .top-row { gap: 6px; }
    .brand { font-size: 14px; gap: 7px; }
    .lang button { min-width: 30px; padding: 5px 5px; }
    .icon-btn { width: 36px; height: 36px; }
    .card { grid-template-columns: 88px minmax(0, 1fr); gap: 10px; }
    .card-img { width: 88px; }
    .hero-actions .btn { padding: 10px 12px; }
    .callbar-row { gap: 6px; padding: 6px; }
    .cb-btn { font-size: 12.5px; gap: 5px; padding: 8px 6px; }
}
/* Fotoğrafsız ürün detayı: çizim alanı daha alçak (seçenekler ilk ekranda görünür) */
.sheet-img.noimg { aspect-ratio: 16 / 8; }
@media (max-width: 719px) { .sheet-img.noimg { aspect-ratio: 16 / 9; } }
/* Yana kayan şeritler: devamı olduğunu kenarda solma ile göster (menu.js data-more ekler) */
.cats-row[data-more~='r'], .lyq-strip[data-more~='r'], .rail[data-more~='r'] { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); }
.cats-row[data-more~='l'], .lyq-strip[data-more~='l'], .rail[data-more~='l'] { -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px); mask-image: linear-gradient(90deg, transparent, #000 36px); }
.cats-row[data-more='l r'], .lyq-strip[data-more='l r'], .rail[data-more='l r'] { -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); }
/* Geniş ekran (1500+): içerik genişliği kullanılır, ızgara dört sütun */
@media (min-width: 1500px) {
    .wrap { max-width: 92rem; }
    .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.cats-row { position: relative; }

/* ---------- iPhone / iPad (dengeli mod) ve hafif mod: bulanıklık kapalıyken üst çubuk ve kategori şeridi opak ----------
   perf.js iOS'ta <html data-perf="balanced"> verir; perf.css arka plan bulanıklığını kaldırır. Yarı saydam zemin tek
   başına kalınca kaydırılan menü yazıları çubuğun altından okunuyordu. */
html:not([data-perf="full"]) .top { background: rgba(7, 7, 10, 0.96); }
html:not([data-perf="full"]) .cats { background: rgba(7, 7, 10, 0.97); }
html:not([data-perf="full"]) .hlabel { background: rgba(10, 10, 13, 0.94); }
html:not([data-perf="full"]) .overlay { background: rgba(0, 0, 0, 0.78); }
/* Ekran klavyesi (not, telefon, adres alanı): alt sayfa klavyenin üstüne oturur ve görünen alana sığar
   (perf.js → --kb, --vvh; iOS'ta klavye sabit katmanları küçültmez, sayfanın yarısı klavyenin arkasında kalıyordu) */
@media (max-width: 719.98px) {
    .overlay { bottom: var(--kb, 0px); }
    .sheet { max-height: calc(var(--vvh, 100dvh) - 24px - var(--safe-t)); }
}
/* Dokunmatik telefonda kart eğimi yok (yalnızca fare ile, menu.js): kartların sürekli 3B dönüşümü (perspective +
   preserve-3d) her kartı ayrı bir 3B katman yapıyor, iPhone'da kaydırmada bellek ve kare kaybı demekti. Açılış
   kayması düz (2B) kalır, bittiğinde dönüşüm tamamen kalkar. */
@media (hover: none) {
    .card, .card.rv.in { transform: none; transform-style: flat; }
    .card.rv:not(.in) { transform: translate3d(0, 24px, 0); }
}
