/* Boice Coffee — Stiller */

:root {
  --color-bg: #12100e;
  --color-page-bg: #08070a;
  --color-cream: #f5efe6;
  --color-gold: #c9a15b;

  /* Menü paleti — kırık beyaz zemin, nötr koyu metin */
  --color-menu-bg: #faf9f7;
  --color-surface: #ffffff;
  --color-border: rgba(36, 28, 21, 0.09);
  --color-ink: #241c15;
  --color-ink-muted: rgba(36, 28, 21, 0.56);
  --color-gold-soft: rgba(201, 161, 91, 0.14);

  --overlay-dark: rgba(0, 0, 0, 0.6);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  background: var(--color-page-bg);
  font-family: "Segoe UI", Roboto, -apple-system, sans-serif;
}

/* ---------- Telefon çerçevesi ---------- */
/* Mobilde tam ekran; masaüstünde (600px+) ortada dar bir telefon
   sütunu olur, yanlarda boşluk kalır. */

.app {
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  background: var(--color-bg);
}

@media (min-width: 600px) {
  body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
  }

  .app {
    width: 100%;
    max-width: 430px;
    height: min(calc(100dvh - 64px), 860px);
    border-radius: 32px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06);
  }
}

/* ---------- Splash ---------- */

.splash {
  position: absolute;
  inset: 0;
  z-index: 100; /* geçiş sırasında altta beliren menünün üstünde kalır */
  overflow: hidden;
  cursor: pointer;
  border-radius: inherit;
  transition: opacity 0.8s ease, filter 0.8s ease, transform 0.8s ease;
}

/* Dokununca: splash bulanıklaşıp silinirken menü altından netleşerek belirir (bkz. .menu--visible) */
.splash--leaving {
  opacity: 0;
  filter: blur(24px);
  transform: scale(1.08);
  pointer-events: none;
}

.splash__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Videoyu istenen şekilde koyulaştırmak için */
.splash__overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-dark);
}

.splash--leaving .splash__content {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.splash__content {
  position: relative;
  z-index: 1;
  height: 100%;
}

/* ---- Logo ---- */

.splash__logo {
  position: absolute;
  top: 2vh;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  padding: 0 24px;
  transform: translateX(-8px);
}

.splash__logo-img {
  width: min(82vw, 340px);
  height: auto;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.45));
  animation: logoFadeIn 1.2s ease both;
}

@keyframes logoFadeIn {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Dokunma ikonu ---- */

.tap-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 108px;
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tap-hint__icon {
  position: relative;
  z-index: 2;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(245, 239, 230, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  /* daire sabit — animasyon yok */
}

.tap-hint__icon i {
  color: var(--color-cream);
  font-size: 2.1rem;
  animation: tapPulse 2.1s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

@keyframes tapPulse {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 0 rgba(201, 161, 91, 0));
  }
  35% {
    transform: translateY(7px) scale(0.9);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35)) drop-shadow(0 0 16px rgba(201, 161, 91, 0.75));
  }
  65% {
    transform: translateY(0) scale(1.08);
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 6px rgba(201, 161, 91, 0.3));
  }
}

/* ---- Alt kısım: dokunma yazısı + çizgi + yol tarifi/instagram ---- */

.splash__footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(4vh + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
}

.splash__footer-tap {
  margin: 0;
  color: var(--color-cream);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}

.splash__footer-divider {
  display: block;
  width: 64px;
  height: 1px;
  background: rgba(245, 239, 230, 0.35);
}

.splash__footer-links {
  display: flex;
  align-items: center;
}

.splash__footer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  gap: 6px;
  color: var(--color-cream);
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.splash__footer-link i {
  font-size: 0.82rem;
  color: var(--color-gold);
}

@media (hover: hover) {
  .splash__footer-link:hover {
    opacity: 1;
  }
}

.splash__footer-sep {
  width: 1px;
  height: 14px;
  margin: 0 14px;
  background: rgba(245, 239, 230, 0.25);
}

/* ---------- Menü ---------- */
/* Zemin kırık beyaz (--color-menu-bg), yazılar koyu nötr (--color-ink) */

.menu {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--color-menu-bg);
  color: var(--color-ink);
  opacity: 0;
  filter: blur(14px);
  transform: scale(1.03);
  transition: opacity 0.8s ease, filter 0.8s ease, transform 0.8s ease;
}

.menu--visible {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

.menu[hidden] {
  display: none;
}

/* ---- Üst banner ---- */
/* Sticky: scroll'da üstte sabit kalır, garson çağır butonu da ona asılı olduğu için hep görünür. */

.menu-banner {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px 8px;
  background: linear-gradient(135deg, #2b1c14, #4a3221);
}

.menu-banner__bgwrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.menu-banner__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
}

.menu-banner__logo {
  position: relative;
  z-index: 1;
  width: min(60vw, 218px);
  height: auto;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
  transform: translateX(-8px);
}

.menu-banner__search-btn {
  appearance: none;
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.85rem;
  cursor: pointer;
}

/* Garson çağır: sağ altta yüzer, kaydırırken hep görünür */

.call-waiter-btn {
  appearance: none;
  position: absolute;
  z-index: 30;
  right: 16px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: 999px;
  border: none;
  background: var(--color-gold);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(36, 28, 21, 0.28), 0 0 0 4px rgba(250, 249, 247, 0.9);
}

.call-waiter-btn i {
  font-size: 0.85rem;
}

.call-waiter-btn[hidden] {
  display: none;
}

.call-waiter-btn:active {
  transform: scale(0.96);
}

/* ---- Kaydırılabilir içerik ---- */

.menu__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.menu__inner {
  min-height: calc(100% - var(--banner-h, 0px)); /* Aralby Digital yazısı ekranın en altında kalsın */
  padding: 22px 18px calc(16px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* ---- Kategori sekmeleri: kaydırınca banner'ın altına yapışır ---- */

.cat-tabs {
  position: sticky;
  top: var(--banner-h, 0px); /* banner yüksekliği catalog.js'ten */
  z-index: 4;
  display: flex;
  gap: 22px;
  margin: 0 -18px;
  padding: 0 18px;
  overflow-x: auto;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 -1px 0 var(--color-border);
  scrollbar-width: none;
}

.cat-tabs::-webkit-scrollbar {
  display: none;
}

.cat-tabs[hidden] {
  display: none;
}

.cat-tab {
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  flex: 0 0 auto;
  padding: 15px 0 13px;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--color-ink-muted);
  cursor: pointer;
  transition: color 0.25s ease;
}

/* Bulunulan kategori: altında ince altın çizgi */
.cat-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--color-gold);
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-tab--active::after {
  transform: scaleX(1);
}

.cat-tab--active {
  color: var(--color-ink);
  font-weight: 600;
}

/* ---- Kategori sayfası: her seferinde tek kategori, değişince sayfa geçişi ---- */

.menu-sections {
  overflow: hidden; /* geçişte kayan sayfa taşmasın */
  margin: 0 -18px;
  padding: 0 18px;
}

.cat-page {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cat-page--from-right {
  animation: catPageFromRight 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-page--from-left {
  animation: catPageFromLeft 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes catPageFromRight {
  from {
    opacity: 0;
    transform: translateX(42px);
  }
}

@keyframes catPageFromLeft {
  from {
    opacity: 0;
    transform: translateX(-42px);
  }
}

.cat-page__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0 2px;
}

.cat-page__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--color-ink);
}

.cat-page__count {
  flex: 0 0 auto;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--color-ink-muted);
}

/* Listenin sonunda sıradaki kategoriye geçiş kartı */
.next-cat {
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 18px 2px;
  border: none;
  border-top: 1px solid var(--color-border);
  background: none;
  color: var(--color-ink);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.next-cat:active {
  opacity: 0.6;
}

.next-cat__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.next-cat__label {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-ink-muted);
}

.next-cat__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-ink);
}

.next-cat__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-gold);
  font-size: 0.8rem;
}

/* ---- Öne çıkanlar (kaydırmalı kartlar) ---- */
/* Günün İkilisi, Serinleten Seçim, Instagram. Koyu espresso zemin, düz ve sade yazılar. */

.promo__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 -18px;
  padding: 0 18px;
  scrollbar-width: none;
}

.promo__track::-webkit-scrollbar {
  display: none;
}

.promo-card {
  flex: 0 0 100%;
  scroll-snap-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  height: 196px;
  display: flex;
  border-radius: 24px;
  background: #1f1712;
  color: #f5efe6;
  font-family: "Manrope", "Segoe UI", Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

button.promo-card,
a.promo-card {
  appearance: none;
  border: none;
  font-family: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

/* Kartın köşesinden yayılan sıcak ışık */
.promo-card__glow {
  position: absolute;
  z-index: -1;
  right: -80px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 161, 91, 0.1), transparent 65%);
  pointer-events: none;
}

.promo-card__eyebrow {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.5);
}

.promo-card__text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* -- Günün İkilisi -- */

.promo-card--pair {
  align-items: center;
  gap: 18px;
  padding: 0 20px 0 14px;
}

.pair-visual {
  position: relative;
  flex: 0 0 136px;
  height: 160px;
}

.pair-visual__main,
.pair-visual__side {
  appearance: none;
  position: absolute;
  padding: 0;
  border: none;
  border-radius: 50%;
  overflow: hidden;
  background: #2a1d15;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pair-visual__main {
  left: 0;
  top: 8px;
  width: 118px;
  height: 118px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.pair-visual__side {
  right: 0;
  bottom: 6px;
  width: 78px;
  height: 78px;
  box-shadow: 0 0 0 4px #1f1712, 0 10px 22px rgba(0, 0, 0, 0.45);
}

.pair-visual__main:active,
.pair-visual__side:active {
  transform: scale(0.95);
}

.pair-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pair-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pair-text__names {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.pair-text__name {
  appearance: none;
  max-width: 100%;
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.pair-text__amp {
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1;
  color: rgba(245, 239, 230, 0.35);
}

.pair-text__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
}

.pair-text__total {
  font-size: 0.86rem;
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.pair-text__total small {
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(245, 239, 230, 0.5);
}

.pair-text__shuffle {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border: 1px solid rgba(245, 239, 230, 0.16);
  border-radius: 50%;
  background: none;
  color: rgba(245, 239, 230, 0.8);
  font-size: 0.72rem;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
}

.pair-text__shuffle:active {
  transform: rotate(180deg);
  background: rgba(245, 239, 230, 0.08);
}

/* Yeni ikili gelirken fotoğraflar ve isimler süzülerek girer */
.is-swapping .pair-visual__main {
  animation: pairPop 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.is-swapping .pair-visual__side {
  animation: pairPop 0.6s 0.08s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.is-swapping .pair-text__names,
.is-swapping .pair-text__foot {
  animation: pairRise 0.6s 0.05s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes pairPop {
  from {
    opacity: 0;
    transform: scale(0.82) rotate(-6deg);
  }
}

@keyframes pairRise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* -- Serinleten Seçim -- */

.promo-card--feature {
  align-items: flex-end;
  padding: 22px;
}

.promo-card__img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.promo-card--feature:active .promo-card__img {
  transform: scale(1.1);
}

.promo-card__scrim {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(to top, rgba(18, 12, 8, 0.92) 0%, rgba(18, 12, 8, 0.45) 50%, rgba(18, 12, 8, 0) 80%),
    linear-gradient(to right, rgba(18, 12, 8, 0.45), transparent 60%);
}

.promo-card__title {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
}

.promo-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(245, 239, 230, 0.85);
}

.promo-card__cta {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border: 1px solid rgba(245, 239, 230, 0.3);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 500;
  color: #fff;
}

/* -- Instagram -- */

.promo-card--insta {
  align-items: center;
  padding: 0 0 0 22px;
}

.promo-card--insta .promo-card__text {
  flex: 1;
  min-width: 0;
  gap: 5px;
}

.insta-handle {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
}

.insta-sub {
  max-width: 15em;
  font-size: 0.74rem;
  line-height: 1.45;
  color: rgba(245, 239, 230, 0.6);
}

.insta-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: #f5efe6;
  color: #1f1712;
  font-size: 0.72rem;
  font-weight: 600;
}

.insta-collage {
  position: relative;
  flex: 0 0 132px;
  height: 100%;
}

.insta-collage__img {
  position: absolute;
  width: 84px;
  height: 104px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
}

.insta-collage__img:nth-child(1) {
  top: 18px;
  right: -10px;
  transform: rotate(9deg);
}

.insta-collage__img:nth-child(2) {
  top: 54px;
  right: 34px;
  transform: rotate(-7deg);
}

.insta-collage__img:nth-child(3) {
  top: 104px;
  right: -4px;
  transform: rotate(4deg);
}

.promo__dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 12px;
}

.promo__dot {
  appearance: none;
  width: 18px;
  height: 14px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* Görünen nokta: dokunma alanı geniş, çizgisi ince */
.promo__dot::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  margin: 0 auto;
  border-radius: 3px;
  background: rgba(36, 28, 21, 0.18);
  transition: width 0.3s ease, background-color 0.3s ease;
}

.promo__dot--active::before {
  width: 16px;
  background: var(--color-gold);
}

/* ---------- Bildirim (garson çağırınca) ---------- */

.toast {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--color-ink);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast i {
  color: var(--color-gold);
}

/* ---- Ürün listesi ---- */

/* Ürün satırları (.dish) Boz Lounge yerleşimini kullanır: solda görsel, ortada ad/açıklama/süre-kalori,
   sağda fiyat. Ortak .dish kuralları dosyanın sonunda; buradaki değişkenler açık (Boice) renkleri verir.
   Arama katmanı (.search) aynı değişkenleri kendi koyu renkleriyle ezer. */
.menu {
  --lux-surface: var(--color-surface);
  --lux-line: var(--color-border);
  --lux-line-strong: rgba(36, 28, 21, 0.18);
  --lux-text: var(--color-ink);
  --lux-muted: var(--color-ink-muted);
  --lux-faint: rgba(36, 28, 21, 0.42);
  --color-gold-light: #a67c3a; /* açık zeminde okunur fiyat tonu */
  --serif: "Segoe UI", Roboto, -apple-system, sans-serif;
  --sans: "Segoe UI", Roboto, -apple-system, sans-serif;
  --gutter: 0px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

.dish-list[hidden] {
  display: none;
}

/* Liste ağırlıkları Boice yazı tipine göre */
.cat-page .dish__name {
  font-weight: 700;
  font-size: 0.95rem;
}

.cat-page .dish__price {
  font-weight: 700;
}

.cat-page .dish__price small {
  font-weight: 600;
}

/* ---- Boş durum (ürünler eklenene kadar) ---- */

.menu-credit {
  margin: auto 0 0; /* içerik kısaysa da en alta iner */
  padding-top: 28px;
  text-align: center;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.menu-credit a {
  color: var(--color-ink-muted);
  opacity: 0.55;
  text-decoration: none;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 36px 20px;
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
  border-radius: 18px;
}

.empty-state[hidden] {
  display: none;
}

.empty-state__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: var(--color-gold-soft);
  color: var(--color-gold);
}

.empty-state__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.empty-state__text {
  margin: 0;
  max-width: 280px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--color-ink-muted);
}

/* ---------- Masa numarası modalı (garson çağır) ---------- */

.modal {
  position: absolute;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 10, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal.is-open .modal__backdrop {
  opacity: 1;
}

.modal__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 22px 22px;
  background: var(--color-surface);
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  color: var(--color-ink);
  opacity: 0;
  transform: scale(0.92) translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.modal.is-open .modal__card {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.modal__close {
  appearance: none;
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-menu-bg);
  border: 1px solid var(--color-border);
  color: var(--color-ink-muted);
  font-size: 0.8rem;
  cursor: pointer;
}

.modal__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gold-soft);
  color: var(--color-gold);
  font-size: 1.3rem;
}

.modal__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.modal__subtitle {
  margin: -8px 0 0;
  font-size: 0.82rem;
  color: var(--color-ink-muted);
  text-align: center;
}

.table-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
  /* Çok masa olursa modal taşmasın: liste kendi içinde kayar */
  max-height: 240px;
  overflow-y: auto;
  padding: 2px;
}

.table-chip {
  appearance: none;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  background: var(--color-menu-bg);
  color: var(--color-ink);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 4px;
  line-height: 1.1;
  text-align: center;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.table-chip--selected {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(201, 161, 91, 0.35);
}

.modal__status {
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--color-gold-soft);
  color: var(--color-ink);
  font-size: 0.8rem;
  line-height: 1.4;
  text-align: center;
}

.modal__status[hidden] {
  display: none;
}

.modal__status--error {
  background: rgba(200, 60, 50, 0.1);
  color: #a3352b;
}

.modal__note {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.4;
  color: var(--color-ink-muted);
  text-align: center;
}

.modal__confirm {
  appearance: none;
  width: 100%;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px;
  border: none;
  border-radius: 14px;
  background: var(--color-ink);
  color: #ffffff;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  opacity: 0.4;
  pointer-events: none;
  transition: background 0.2s ease, opacity 0.2s ease, transform 0.15s ease;
}

.modal__confirm.is-ready {
  background: var(--color-gold);
  opacity: 1;
  pointer-events: auto;
}

.modal__confirm.is-ready:active {
  transform: scale(0.97);
}

/* ---------- Ürün detay çekmecesi (drawer) ---------- */
/* Yerleşim Boz Lounge ile aynı: tam genişlik görsel (alta doğru zemine erir), başlık + fiyat görselin
   üstüne biner, altında açıklama, 2 sütunlu süre/kalori ızgarası ve alerjenler. Renkler Boice'a ait. */

.drawer {
  position: absolute;
  inset: 0;
  z-index: 400;
  color: var(--color-ink);
}

.drawer[hidden] {
  display: none;
}

.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 10, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.drawer.is-open .drawer__backdrop {
  opacity: 1;
}

.drawer__sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90%;
  display: flex;
  flex-direction: column;
  background: var(--color-menu-bg);
  border-radius: 30px 30px 0 0;
  box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1);
}

.drawer.is-open .drawer__sheet {
  transform: translateY(0);
}

/* Görselin üstünde duran sürükleme çizgisi */
.drawer__handle {
  position: absolute;
  z-index: 4;
  top: 10px;
  left: 50%;
  display: block;
  touch-action: none; /* çizgiden aşağı sürükleyerek kapatma (drawer.js) */
  cursor: grab;
  width: 40px;
  height: 4px;
  margin-left: -20px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

/* Çizgiyi tutmak kolay olsun diye görünmez geniş dokunma alanı */
.drawer__handle::before {
  content: "";
  position: absolute;
  inset: -12px -60px -16px;
}

/* Görselin üstünde: solda kategori, sağda kapat (buzlu cam) */
.drawer__category {
  position: absolute;
  z-index: 3;
  top: 26px;
  left: 20px;
  height: 32px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: rgba(250, 249, 247, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--color-gold);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.drawer__close {
  appearance: none;
  position: absolute;
  z-index: 3;
  top: 26px;
  right: 18px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: rgba(250, 249, 247, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0;
  color: var(--color-ink);
  font-size: 0.95rem;
  cursor: pointer;
}

/* Ürünler arası yatay kaydırma: her ürün tam genişlikte bir panel,
   panel içi kendi dikey scroll'una sahip. */

.drawer__track {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* Önceki / sonraki ürün okları: görselin iki yanında, yarı saydam */

.drawer__nav {
  appearance: none;
  position: absolute;
  z-index: 3;
  top: 160px; /* görselin (320px) ortası */
  width: 34px;
  height: 34px;
  margin-top: -17px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: rgba(250, 249, 247, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--color-ink);
  font-size: 0.72rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.drawer__nav[hidden] {
  display: none;
}

.drawer__nav:hover {
  background: rgba(250, 249, 247, 0.95);
}

.drawer__nav:active {
  transform: scale(0.92);
}

.drawer__nav--prev {
  left: 16px;
}

.drawer__nav--next {
  right: 16px;
}

.drawer__panel {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  /* Hızlı/sert kaydırmada bile bir sonraki ürünü atlamadan, sırayla tek tek geçsin */
  scroll-snap-stop: always;
  height: 100%;
}

.drawer__panel-scroll {
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Görsel tam genişlik, alta doğru zemine erir */
.drawer__img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  /* Alta doğru yumuşakça zemine erir; başlık erimiş kısma biner */
  -webkit-mask: linear-gradient(to bottom, #000 55%, rgba(0, 0, 0, 0.55) 78%, transparent);
  mask: linear-gradient(to bottom, #000 55%, rgba(0, 0, 0, 0.55) 78%, transparent);
}

.drawer__img--empty {
  height: 220px;
  -webkit-mask: none;
  mask: none;
  background: var(--color-gold-soft);
}

.drawer__body {
  position: relative;
  margin-top: -44px;
  padding: 0 22px calc(34px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.drawer__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.drawer__title {
  margin: 0;
  color: var(--color-ink);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-shadow: 0 0 12px rgba(250, 249, 247, 0.8);
}

.drawer__price {
  /* Rozetsiz: koyu altın yazı + zemin renginde hafif ışıma, fotoğrafın üstünde de okunur */
  flex: 0 0 auto;
  margin: 0 0 4px;
  color: #8a6a33;
  white-space: nowrap;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums lining-nums;
  text-shadow: 0 0 10px rgba(250, 249, 247, 0.95), 0 0 2px rgba(250, 249, 247, 0.9);
}

.drawer__desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--color-ink-muted);
}

/* Hazırlanış süresi + kalori: 2 sütunlu ızgara */

.drawer__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.drawer__stat {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-ink);
}

.drawer__stat + .drawer__stat {
  padding-left: 16px;
  border-left: 1px solid var(--color-border);
}

.drawer__stat i {
  font-size: 0.78rem;
  color: var(--color-gold);
  opacity: 0.85;
}

/* Alerjenler */

.drawer__section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer__section-label {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--color-ink-muted);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.drawer__section-label i {
  color: var(--color-gold);
  font-size: 0.72rem;
}

.drawer__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.drawer__tag {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--color-ink);
}

.drawer__soldout {
  margin: 0;
  color: #b42318;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.drawer__hint {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--color-ink-muted);
}

/* ---------- Kaydırma çubukları gizli (içerik yine kaydırılabilir) ---------- */

.app * {
  scrollbar-width: none;
}

.app *::-webkit-scrollbar {
  display: none;
}

/* ---------- Arama (Boz Lounge ile aynı tasarım) ---------- */
/* Tam ekran koyu cam katman; sonuçlar "dish" satırları olarak listelenir. Renkler bu katmana özel. */

.search {
  --lux-surface: #16130f;
  --lux-line: rgba(228, 207, 159, 0.12);
  --lux-line-strong: rgba(228, 207, 159, 0.24);
  --lux-text: #efe7da;
  --lux-muted: rgba(239, 231, 218, 0.58);
  --lux-faint: rgba(239, 231, 218, 0.34);
  --color-gold-light: #e4cf9f;
  --serif: "Manrope", "Segoe UI", Roboto, sans-serif;
  --sans: "Manrope", "Segoe UI", Roboto, sans-serif;
  --gutter: 20px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--lux-text);
  font-family: var(--sans);
}


.search {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  background: rgba(9, 8, 7, 0.9);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.search[hidden] {
  display: none;
}

.search.is-open {
  opacity: 1;
}

.search__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: calc(18px + env(safe-area-inset-top)) var(--gutter) 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--lux-line-strong);
  transform: translateY(-10px);
  transition: transform 0.45s var(--ease-out);
}

.search.is-open .search__bar {
  transform: translateY(0);
}

.search__icon {
  color: var(--color-gold);
  font-size: 0.9rem;
}

.search__input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: none;
  color: var(--lux-text);
  font-family: var(--serif);
  font-weight: 200;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.search__input::placeholder {
  color: var(--lux-faint);
}

.search__input::-webkit-search-cancel-button {
  display: none;
}

.search__close {
  appearance: none;
  border: none;
  background: none;
  padding: 6px 0;
  color: var(--lux-muted);
  font-family: var(--sans);
  text-transform: uppercase;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
}

.search__body {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 40px;
}

.search__hint {
  margin: 0;
  padding: 26px var(--gutter) 10px;
  font-family: var(--serif);
  color: var(--lux-muted);
  font-weight: 300;
  font-size: 0.88rem;
}

.dish-list {
  display: flex;
  flex-direction: column;
  padding: 0 var(--gutter);
}

.dish {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--lux-line);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  opacity: 0;
  transform: translateY(14px);
  animation: dishIn 0.7s var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 45ms + 120ms);
}

.dish:last-child {
  border-bottom: none;
}

.dish:active .dish__media img {
  transform: scale(1.08);
}

@keyframes dishIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dish__media {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--lux-surface);
  border: 1px solid var(--lux-line);
}

.dish__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.dish__media--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  color: var(--color-gold);
  background: linear-gradient(135deg, rgba(200, 164, 102, 0.12), rgba(200, 164, 102, 0.02));
  font-weight: 200;
  font-size: 1.5rem;
}

.dish__body {
  min-width: 0;
}

.dish__tag {
  display: block;
  margin-bottom: 3px;
  color: var(--color-gold);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dish__name {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.02rem;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.dish__desc {
  margin: 4px 0 0;
  line-height: 1.45;
  color: var(--lux-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.76rem;
}

.dish__meta {
  display: flex;
  gap: 10px;
  margin-top: 6px;
  color: var(--lux-faint);
  font-size: 0.68rem;
  letter-spacing: 0.01em;
}

.dish__meta i {
  margin-right: 4px;
  color: var(--color-gold);
  opacity: 0.8;
}

.dish__price {
  align-self: start;
  margin: 2px 0 0;
  font-family: var(--serif);
  color: var(--color-gold-light);
  white-space: nowrap;
  font-weight: 400;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums lining-nums;
}

.dish__price small {
  margin-left: 3px;
  font-family: var(--sans);
  color: var(--color-gold);
  font-size: 0.72rem;
  font-weight: 300;
}

.dish--soldout {
  opacity: 0.5;
}

.dish--soldout .dish__media img {
  filter: grayscale(1);
}

.dish__badge {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  border: 1px solid var(--lux-line-strong);
  border-radius: 999px;
  font-size: 0.56rem;
  text-transform: uppercase;
  color: var(--lux-muted);
  letter-spacing: 0.1em;
}

/* Garson düğmesi görünürken son ürün ve alt yazı düğmenin altında kalmasın */
.menu:has(.call-waiter-btn:not([hidden])) .menu__inner {
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
}
