/* =========================================================
   QR menü — masada, tek elle, birkaç saniyede kullanılır.
   Kart yok: gerçek menü gibi satırlar. Hareket sadece
   dokunuşa cevap olarak (sekme çizgisi, arama, detay paneli).
   ========================================================= */

/* Küçük ufuk başlığı */
.mh { position: relative; overflow: hidden; padding: calc(20px + env(safe-area-inset-top)) 0 0; background: linear-gradient(180deg, #0b2a55 0%, #1b4f92 70%, #5d8fcf 100%); }
.mh-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mh-home { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 15px; color: rgba(234, 241, 248, 0.86); min-height: 44px; }
.mh-home img { width: 36px; height: 36px; }
.mh h1 { margin: 28px 0 0; font-weight: 800; font-stretch: 88%; font-size: clamp(52px, 16vw, 88px); line-height: 0.9; letter-spacing: -0.02em; padding-bottom: 28px; position: relative; z-index: 2; }
.mh-sun { position: absolute; right: 12%; bottom: 0; width: 96px; height: 48px; border-radius: 96px 96px 0 0; background: radial-gradient(circle at 50% 100%, #ffe3a3, var(--sun) 70%); box-shadow: 0 0 60px rgba(240, 185, 85, 0.45); animation: peek 1.2s var(--ease-out) both; }
@keyframes peek { from { transform: translateY(100%); } to { transform: none; } }
.mh::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(234, 241, 248, 0.4); }

/* Yapışkan kategori çubuğu */
.bar { position: sticky; top: 0; z-index: 30; background: var(--night); border-bottom: 1px solid var(--line); }
.bar-inner { display: flex; align-items: stretch; height: 56px; max-width: 760px; margin: 0 auto; }
.tabs { position: relative; flex: 1; display: flex; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; padding: 0 var(--gutter); gap: 4px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; border: 0; background: none; padding: 0 12px; font-size: 15px; font-weight: 500; color: var(--mist); cursor: pointer; white-space: nowrap; transition: color 0.2s ease-out; -webkit-tap-highlight-color: transparent; }
.tab[aria-current="true"] { color: var(--foam); font-weight: 600; }
.tab:hover { color: var(--foam); }
.tab-ink { position: absolute; bottom: 0; left: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--sun); width: 0; transition: transform 0.35s var(--ease-out), width 0.35s var(--ease-out); pointer-events: none; }
.search-btn { flex: none; width: 56px; border: 0; border-left: 1px solid var(--line); background: none; cursor: pointer; display: grid; place-items: center; color: var(--foam); }
.search-btn svg { width: 22px; height: 22px; }

/* Arama: çubuğun yerine açılır */
.search { position: absolute; inset: 0; display: flex; align-items: center; gap: 8px; padding: 0 8px 0 var(--gutter); background: var(--night); clip-path: inset(0 0 0 100%); transition: clip-path 0.3s var(--ease-out); visibility: hidden; }
.bar.searching .search { clip-path: inset(0 0 0 0); visibility: visible; }
.search svg { width: 20px; height: 20px; color: var(--mist); flex: none; }
.search input { flex: 1; min-width: 0; height: 44px; border: 0; background: none; color: var(--foam); font: inherit; font-size: 17px; outline: none; }
.search input::placeholder { color: var(--mist); }
.search input::-webkit-search-cancel-button { display: none; }
.search button { border: 0; background: none; color: var(--foam); font-weight: 600; font-size: 15px; padding: 0 12px; min-height: 44px; cursor: pointer; }

/* Liste */
.list { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter) 64px; }
.cat { scroll-margin-top: 64px; padding-top: 40px; }
.cat h2 { margin: 0; font-weight: 700; font-stretch: 88%; font-size: 34px; line-height: 1.05; letter-spacing: -0.02em; }
.cat-note { margin: 6px 0 0; color: var(--mist); font-size: 14px; }
.rows { list-style: none; margin: 12px 0 0; padding: 0; }
.row {
  display: block; width: 100%; text-align: left; cursor: pointer;
  background: none; border: 0; border-bottom: 1px solid var(--line);
  padding: 16px 0; -webkit-tap-highlight-color: transparent;
  transition: background-color 0.15s ease-out;
}
.row:active { background-color: rgba(59, 125, 221, 0.12); }
@media (hover: hover) { .row:hover .row-name { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; } }
.row-top { display: flex; gap: 16px; align-items: baseline; justify-content: space-between; }
.row-name { font-weight: 600; font-size: 17px; line-height: 1.35; }
.row-price { flex: none; color: var(--sun); font-weight: 600; font-variant-numeric: tabular-nums; }
.row-desc { margin: 4px 0 0; color: var(--mist); font-size: 14.5px; line-height: 1.5; max-width: 52ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row-tags { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: 13px; color: var(--mist); }
.row-tags span { display: inline-flex; align-items: center; gap: 6px; }
.row-tags span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.t-new { color: #8cc0ff; }
.t-chef { color: var(--sun); }
.t-hot { color: #ff9b8a; }
.t-veg { color: #7fdca0; }
.row:has(.row-sizes) .row-img { width: 64px; height: 64px; }
.row-with-img:has(.row-sizes) { grid-template-columns: 1fr 64px; }
.row-sizes { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: -2px; max-width: 420px; }
.row-sizes span, .s-sizes span { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 10px; }
.row-sizes small, .s-sizes small { color: var(--mist); font-size: 11.5px; }
.row-sizes b { color: var(--sun); font-weight: 600; font-size: 13.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.s-sizes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 20px; }
.s-sizes span { padding: 10px 14px; border-radius: 12px; }
.s-sizes small { font-size: 13px; }
.s-sizes b { color: var(--sun); font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.row-with-img { display: grid; grid-template-columns: 1fr 88px; gap: 16px; align-items: start; }
.row-img { width: 88px; height: 88px; object-fit: cover; border-radius: 14px; background: var(--deep); }
@media (min-width: 600px) { .row-with-img { grid-template-columns: 1fr 104px; } .row-img { width: 104px; height: 104px; } }
.s-credit { display: block; margin: -12px 0 16px; font-size: 11.5px; color: var(--mist); opacity: 0.8; }
.sheet img { background: var(--night); }
mark { background: rgba(240, 185, 85, 0.28); color: inherit; border-radius: 2px; }

.empty { display: none; padding: 56px 0; max-width: 40ch; }
.empty.show { display: block; }
.empty strong { display: block; font-size: 20px; margin-bottom: 6px; }
.empty p { margin: 0 0 16px; color: var(--mist); }

.mfoot { max-width: 760px; margin: 0 auto; padding: 24px var(--gutter) 0; color: var(--mist); font-size: 13.5px; }
.mfoot .signature { margin-top: 28px; border-top: 1px solid var(--line); }
.mfoot a { color: var(--foam); }

/* Ürün detayı */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(3, 10, 22, 0.6); opacity: 0; pointer-events: none; transition: opacity 0.25s ease-out; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 61;
  max-width: 560px; margin: 0 auto; max-height: 86vh; overflow-y: auto;
  background: var(--deep); border-radius: 24px 24px 0 0;
  padding: 12px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  transform: translateY(100%); transition: transform 0.35s var(--ease-out);
  visibility: hidden;
}
.sheet-open .scrim { opacity: 1; pointer-events: auto; }
.sheet-open .sheet { transform: none; visibility: visible; }
.sheet-open { overflow: hidden; }
.grab { width: 40px; height: 4px; border-radius: 4px; background: var(--line-strong); margin: 0 auto 20px; }
.sheet img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; margin-bottom: 20px; }
.sheet .s-cat { color: var(--mist); font-size: 14px; }
.sheet h3 { margin: 4px 0 10px; font-weight: 700; font-stretch: 88%; font-size: 32px; line-height: 1.05; letter-spacing: -0.02em; }
.sheet p { margin: 0; color: var(--mist); }
.sheet .s-price { display: block; margin-top: 20px; font-size: 26px; font-weight: 700; color: var(--sun); font-variant-numeric: tabular-nums; }
.sheet .btn { width: 100%; margin-top: 24px; }
