/* Guest PWA — Canva-inspired entrance, Scandi-clean */

:root {
  --sage: #8B6E6E;
  --sage-dark: #3D342F;
  --sand: #C4A0A4;
  --cream: #FAFAFA;
  --ink: #1A1816;
  --white: #FFFFFF;
  --muted: #6B6560;
  --border: rgba(26, 24, 22, 0.14);
  --wine: #C4A0A4;
  --wine-soft: rgba(196, 160, 164, 0.28);
  --peach: #F0E0D4;
  --header-h: 2.75rem;
  --nav-h: 4.35rem;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --font-hand: "Caveat", "Segoe Script", cursive;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --focus-ring: #8B6E6E;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .font-display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* Header — logo ortada, masa sağda */
#site-header {
  height: auto;
  min-height: calc(2.6rem + env(safe-area-inset-top, 0px));
  justify-content: center;
  align-items: center;
  background: rgba(250, 250, 250, 0.92);
  border-bottom: 1px solid var(--border);
  padding: max(0.45rem, env(safe-area-inset-top, 0px)) 0.85rem 0.45rem;
  pointer-events: auto;
  z-index: 200;
  isolation: isolate;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#site-header.visible {
  display: flex !important;
}

#site-header a.logo {
  display: inline-flex !important;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  text-decoration: none;
  color: var(--ink);
  max-width: min(58%, 220px);
  z-index: 1;
}

#site-header a.logo img {
  display: block;
  height: 40px;
  width: auto;
  max-width: min(220px, 62vw);
  object-fit: contain;
}

#site-header a.logo img[hidden] {
  display: none !important;
}

#site-header .brand-wordmark {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

#site-header .brand-wordmark[hidden] {
  display: none !important;
}

#site-header .room-badge {
  position: relative;
  margin-left: auto;
  top: auto;
  right: auto;
  transform: none;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  pointer-events: auto;
  box-shadow: 0 2px 10px rgba(26, 24, 22, 0.06);
  z-index: 55;
  flex-shrink: 0;
}

#main-scroll.with-header {
  padding-top: calc(4.15rem + env(safe-area-inset-top, 0px));
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px));
}

.screen.active.scandi-enter {
  animation: scandiFadeUp 0.55s var(--ease-out) both;
}

@keyframes scandiFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* —— Main entrance (Canva layout) —— */
#scr-main.screen.active {
  padding: 0;
  width: 100%;
  max-width: none;
}

/* Tek "tuval" mimarisi — arka plan ve tüm butonlar aynı kapsayıcıya göre % ile
   konumlanır. background-size:100% 100% görseli kutunun tam genişlik VE tam
   yüksekliğine gerdirir (kırpma yok); butonlar da aynı kutunun % değerlerini
   kullandığından hizalama kutunun en-boy oranından bağımsız korunur. Bu sayede
   tuval hem her zaman tam genişlikte (pillarbox yok) hem de mevcut dikey alana
   (viewport - alt nav) tam oturur (kaydırma gerekmez). Beyaz üst header bu
   ekranda kullanılmaz. (#scr-main .scandi-stage kuralı bunu !important ile de
   uygular.) */
.scandi-stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
  height: calc(100% - var(--nav-h, 4.35rem) - env(safe-area-inset-bottom, 0px));
  min-height: 0;
  max-height: 100%;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  background-image: url("/assets/illustrations/wallpaper/menu-bg-v3.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  background-color: #fff4e2;
}

#scr-main .menu-stage-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  object-fit: fill;
  z-index: 0;
  pointer-events: none;
  display: block;
  user-select: none;
}

.scandi-art {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.38;
  user-select: none;
  animation: artFloat 9s ease-in-out infinite;
}

/* Canva düzeninde arka fonu tek görsel bas; SVG ikon katmanını kapat */
#scr-main .scandi-art {
  display: none;
}

/* menu-bg-v3.png kategori pill'lerini kendi içinde barındırıyor.
   Üstte gülen balık, altta yazı logosu tuval üzerine basılır. */
#scr-main .menu-corner-art,
#scr-main .menu-art-top-right,
#scr-main .menu-art-ara-corner,
#scr-main .menu-art-12,
#scr-main .menu-art-14,
#scr-main .menu-art-bottom,
#scr-main .menu-hero,
#scr-main .main-quick-actions,
#scr-main .canvas-room-badge {
  display: none !important;
}

#scr-main .canvas-fish {
  position: absolute;
  top: 2.4%;
  left: 50%;
  transform: translateX(-50%);
  width: 16%;
  height: 8.2%;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  text-decoration: none;
}
#scr-main .canvas-fish img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#scr-main .canvas-logo {
  position: absolute;
  top: auto;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  width: 68%;
  height: 10.4%;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  text-decoration: none;
}
#scr-main .canvas-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.scandi-art:nth-child(2n) { animation-duration: 11s; animation-delay: -2s; }
.scandi-art:nth-child(3n) { animation-duration: 13s; animation-delay: -4s; }

@keyframes artFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.scandi-art img { display: block; width: 100%; height: auto; }

/*
  Duvar kağıdı yerleşimi — kategori pill boşluklarına göre.
  art-1 sabit; 2/3 alta hizalı; 5 ekranda kalsın; 6/9/10 büyütülmüş.
*/
/* art-1 — yer değiştirilmez */
.scandi-art.art-1  { width: 118px; top: 0; left: -36px; right: auto; opacity: 0.46; }

/* MENU solundaki boşluk */
.scandi-art.art-17 { width: 36px; top: 2.5%; left: 12%; right: auto; opacity: 0.34; }

/* Sağ üst — yatayda taşmasın (sola çekildi) */
.scandi-art.art-5  { width: 92px; top: 1%; left: auto; right: 2px; opacity: 0.4; }
.scandi-art.art-11 { width: 38px; top: 7%; left: auto; right: 16%; opacity: 0.3; }

/* Ara Sıcaklar (2. pill, sağa yaslı) — sol boşluk + alt boşluk */
.scandi-art.art-7  { width: 74px; top: 19%; left: -4px; right: auto; opacity: 0.38; }
.scandi-art.art-12 { width: 52px; top: 27%; left: auto; right: 6%; opacity: 0.34; }

/* Orta sol / sağ boşluklar */
.scandi-art.art-13 { width: 40px; top: 33%; left: 1%; right: auto; opacity: 0.3; }
.scandi-art.art-14 { width: 42px; top: 36%; left: auto; right: -4px; opacity: 0.3; }
.scandi-art.art-4  { width: 64px; top: 38%; left: -26px; right: auto; opacity: 0.34; }

/* Tatlı & Meyve (5. pill, sağa yaslı) — sol boşluk, x3 */
.scandi-art.art-9  { width: 138px; top: 46%; left: -40px; right: auto; opacity: 0.36; }

/* Alt-orta dağılım */
.scandi-art.art-8  { width: 58px; top: 55%; left: auto; right: -14px; opacity: 0.32; }
.scandi-art.art-15 { width: 36px; top: 58%; left: 6%; right: auto; opacity: 0.28; }
.scandi-art.art-10 { width: 102px; top: 64%; left: auto; right: -8px; opacity: 0.34; } /* x3 */
.scandi-art.art-16 { width: 48px; top: 72%; left: auto; right: 18%; opacity: 0.28; }

/* Sağ alt köşe yönünde x2 — 2/3’ün üstünde kalsın */
.scandi-art.art-6  { width: 136px; top: auto; bottom: 9.5rem; left: auto; right: -30px; opacity: 0.38; }

/*
  3: dikeyde kendi boyutu kadar aşağı (padding + bottom:0 → görünür).
  2: aynı alt sınır.
*/
.scandi-art.art-2  { width: 112px; top: auto; bottom: 0; left: -18px; right: auto; opacity: 0.42; }
.scandi-art.art-3  { width: 128px; top: auto; bottom: 0; left: auto; right: -22px; opacity: 0.42; }

.scandi-stage > *:not(.scandi-art):not(.menu-stage-bg) {
  position: relative;
  z-index: 1;
}

/* Brand lives in header only */
.main-brand { display: none !important; }

/* "MENU" başlığı — kesin koordinat tablosu (tuval yüzdesi) */
#scr-main .menu-hero {
  position: absolute;
  top: 14.2%;
  left: 43.5%;
  right: auto;
  bottom: auto;
  width: 13.3%;
  height: 1.2%;
  transform: none;
  z-index: 3;
  margin: 0;
  text-align: center;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-hero {
  text-align: center;
  margin: 0.15rem 0 0.55rem;
  position: relative;
  z-index: 2;
}

#scr-main .menu-hero-fish,
.menu-hero .menu-hero-fish {
  display: none;
}

.menu-hero .menu-kicker {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(0.78rem, 3.6vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.42em;
  color: #2a2521;
  text-transform: uppercase;
  margin: 0;
  white-space: nowrap;
}

/*
  Illüstrasyon kompozisyonu: stage ile aynı kutu (inset 0).
  Buton merkezleri image_1 ölçümü — C R L C R L R L
*/
#scr-main .category-list {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  z-index: 20;
  pointer-events: auto;
  box-sizing: border-box;
}

/* Fildişi mine plaka — çizimin üstünde duran, statik, zarif hacim. */
#scr-main .category-row {
  appearance: none;
  background:
    radial-gradient(88% 130% at 50% -18%, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0) 56%),
    linear-gradient(168deg, #fbf6ea 0%, #f1dfc4 36%, #e6cbaa 74%, #d9b894 100%);
  border: 1px solid rgba(46, 36, 26, 0.72);
  border-radius: 9999px;
  padding: 0 0.75rem;
  margin: 0;
  max-width: 100%;
  box-sizing: border-box;
  position: absolute;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  font-family: var(--font-hand), "Caveat", cursive;
  font-size: clamp(0.98rem, 4.5vw, 1.48rem);
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1;
  color: #2a2218;
  white-space: nowrap;
  opacity: 1;
  visibility: visible;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -2px 4px rgba(86, 54, 26, 0.12),
    inset 1px 0 0 rgba(255, 255, 255, 0.18),
    0 1px 0 rgba(255, 248, 232, 0.45),
    0 2px 3px rgba(52, 36, 22, 0.16),
    0 8px 16px rgba(42, 30, 18, 0.14);
  translate: none;
  overflow: hidden;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: box-shadow 0.18s ease, filter 0.18s ease;
}

/* menu-bg-v3.png (472×1024) piksel ölçümü — transform yok.
   JS applyMenuButtonLayout() esas kaynak, bunlar sadece yedek. */
#scr-main .category-row:nth-child(1),
#scr-main .category-row.cat-mezeler {
  top: 17.5%; left: 31.8%; right: auto; bottom: auto;
  width: 30.1%; height: 4.1%; transform: none;
}
#scr-main .category-row:nth-child(2),
#scr-main .category-row.cat-salatalar {
  top: 23.5%; left: 41.1%; right: auto; bottom: auto;
  width: 33.1%; height: 4.0%; transform: none;
}
#scr-main .category-row:nth-child(3),
#scr-main .category-row.cat-ara_sicaklar {
  top: 31.2%; left: 25.0%; right: auto; bottom: auto;
  width: 41.1%; height: 4.0%; transform: none;
}
#scr-main .category-row:nth-child(4),
#scr-main .category-row.cat-baliklar {
  top: 39.3%; left: 31.6%; right: auto; bottom: auto;
  width: 27.5%; height: 3.9%; transform: none;
}
#scr-main .category-row:nth-child(5),
#scr-main .category-row.cat-raki_sarap {
  top: 46.1%; left: 35.0%; right: auto; bottom: auto;
  width: 42.2%; height: 3.9%; transform: none;
}
#scr-main .category-row:nth-child(6),
#scr-main .category-row.cat-tatli_meyve {
  top: 53.7%; left: 25.0%; right: auto; bottom: auto;
  width: 47.2%; height: 4.2%; transform: none;
}
#scr-main .category-row:nth-child(7),
#scr-main .category-row.cat-cay_kahve {
  top: 62.2%; left: 34.5%; right: auto; bottom: auto;
  width: 46.2%; height: 4.0%; transform: none;
}
#scr-main .category-row:nth-child(8),
#scr-main .category-row.cat-bira {
  top: 69.2%; left: 47.0%; right: auto; bottom: auto;
  width: 20.1%; height: 4.1%; transform: none;
}
#scr-main .category-row:nth-child(9),
#scr-main .category-row.cat-diger_icecekler {
  top: 75.7%; left: 27.1%; right: auto; bottom: auto;
  width: 47.5%; height: 4.4%; transform: none;
}

#scr-main.tiles-locked,
#scr-main.tiles-locked .category-row {
  pointer-events: none !important;
}

#scr-main .category-row:hover {
  filter: brightness(1.03);
  background:
    radial-gradient(88% 130% at 50% -18%, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0) 56%),
    linear-gradient(168deg, #fffaf0 0%, #f4e4ca 36%, #ebd2b2 74%, #e0c09c 100%);
}

#scr-main .category-row:focus-visible {
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -2px 4px rgba(86, 54, 26, 0.12),
    0 1px 0 rgba(255, 248, 232, 0.45),
    0 2px 3px rgba(52, 36, 22, 0.16),
    0 8px 16px rgba(42, 30, 18, 0.14),
    0 0 0 2px rgba(42, 34, 26, 0.38);
}

#scr-main .category-row:active {
  filter: brightness(0.97);
  box-shadow:
    inset 0 2px 5px rgba(62, 42, 24, 0.2),
    0 1px 2px rgba(42, 30, 18, 0.12);
}

#scr-main .category-row .cat-label {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  font-weight: 700;
  color: #2a2218;
  text-shadow: 0 0.5px 0 rgba(255, 250, 240, 0.55);
}
#scr-main .category-row .cat-chevron { display: none; }

.menu-grid { display: none !important; }
.main-quick-actions { display: none !important; }

/* Canva-style bottom action cluster */
.entrance-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin: 1.25rem auto 0.35rem;
  width: 100%;
  max-width: 280px;
}

.assistant-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.75rem 1.6rem;
  border: none;
  border-radius: 999px;
  background: var(--peach);
  color: var(--sage-dark);
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  width: auto;
  min-width: 9rem;
  box-shadow: 0 4px 16px rgba(196, 160, 164, 0.25);
}

.assistant-pill.visible { display: inline-flex; }

.assistant-pill i,
.assistant-pill svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.25;
}

.entrance-action-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
}

.entrance-action {
  appearance: none;
  background: #fff;
  border: 1px solid rgba(26, 24, 22, 0.45);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 0;
  flex: 1 1 0;
  max-width: 10rem;
  box-shadow: 0 3px 10px rgba(26, 24, 22, 0.05);
  line-height: 1.2;
  text-align: center;
}

.entrance-action i,
.entrance-action svg {
  width: 15px;
  height: 15px;
  color: #C47A3A;
  stroke-width: 1.25;
  flex-shrink: 0;
}

.review-pill {
  appearance: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  width: 100%;
  max-width: 240px;
  margin: 0.15rem auto 0;
  padding: 0.7rem 1.25rem;
  border: 1px solid rgba(26, 24, 22, 0.2);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(26, 24, 22, 0.06);
}

.review-pill-stars {
  color: #C47A3A;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  line-height: 1;
}

.review-pill .review-cta-text {
  font-weight: 500;
}

.review-cta { display: none !important; }

/* Classic menu sheet */
#scr-food.screen.active,
#scr-category.screen.active {
  padding: 0.75rem 1rem 1rem;
}

#scr-food .category-chip,
#scr-food .menu-sheet-title,
#scr-food .menu-sheet-rule {
  display: none;
}

#scr-food .back-bar,
#scr-category .back-bar {
  display: none;
}

#hdr-back-strip {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 7.5rem;
  height: calc(3.6rem + env(safe-area-inset-top, 0px));
  z-index: 2147483646;
  pointer-events: auto;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
#hdr-back-strip.is-on {
  display: block;
}
#hdr-back {
  position: absolute;
  left: 0.15rem;
  top: max(0.2rem, env(safe-area-inset-top, 0px));
  z-index: 1;
  pointer-events: auto;
  touch-action: manipulation;
}

#scr-main.screen,
#scr-food.screen,
#scr-category.screen {
  transition: none;
}
#scr-main.screen.active,
#scr-food.screen.active,
#scr-category.screen.active {
  opacity: 1;
  transform: none;
}

#scr-food .menu-sheet {
  margin-top: 0;
  padding-top: 0.85rem;
}

#scr-category #cat-title {
  display: none;
}

#scr-category #cat-cards.sub-grid,
#scr-category #cat-cards {
  margin-top: 0;
}

.menu-sheet {
  background: var(--white);
  border: 1px solid rgba(26, 24, 22, 0.05);
  border-radius: 28px;
  box-shadow: 0 16px 48px rgba(26, 24, 22, 0.045);
  padding: 1.5rem 1.2rem 1.65rem;
  margin-top: 0.35rem;
  animation: sheetIn 0.5s var(--ease-out) both;
}

@keyframes sheetIn {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.menu-sheet-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  color: #5C3D42;
  margin: 0 0 0.75rem;
}

.menu-sheet-rule {
  border: 0;
  border-top: 1px solid rgba(26, 24, 22, 0.1);
  margin: 0 0 1.15rem;
  position: relative;
}

.menu-sheet-rule::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -1px;
  width: 2.5rem;
  height: 1px;
  background: var(--wine);
  transform: translateX(-50%);
}

.classic-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.classic-menu-section {
  margin: 1.15rem 0 0.35rem;
  padding: 0.15rem 0.1rem 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}

.classic-menu-item {
  display: block;
  padding: 0.75rem 0.1rem;
  opacity: 0;
  transform: translateY(10px);
  cursor: pointer;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  border-radius: 16px;
  transition: background 0.25s ease;
}

.classic-menu-item.is-in {
  opacity: 1;
  transform: none;
}

.classic-menu-item:hover:not(.sold-out),
.classic-menu-item:focus-visible:not(.sold-out) {
  background: rgba(240, 224, 212, 0.35);
  outline: none;
}

.classic-menu-item.sold-out { opacity: 0.4; cursor: default; }

.classic-item-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-width: 0;
}

.classic-thumb {
  flex: 0 0 3.35rem;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(145deg, #f3ebe4, #e8ddd4);
  border: 1px solid rgba(26, 24, 22, 0.08);
  position: relative;
}

.classic-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-out);
}

.classic-menu-item:hover .classic-thumb img {
  transform: scale(1.05);
}

.classic-thumb.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
}

.classic-thumb-ph {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 4px;
  border: 1.5px solid rgba(92, 61, 66, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  opacity: 0.7;
  position: relative;
}

.classic-thumb-ph::after {
  content: "";
  position: absolute;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  border: 1.5px solid rgba(92, 61, 66, 0.28);
  top: 0.18rem;
  right: 0.18rem;
}

.classic-item-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.classic-line {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  width: 100%;
  min-width: 0;
}

.classic-name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink);
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.25;
  flex: 0 1 auto;
  max-width: 62%;
  min-width: 0;
}

.classic-dots {
  display: block;
  flex: 1 1 auto;
  min-width: 0.85rem;
  height: 0;
  margin-bottom: 0.28em;
  border-bottom: 1px dotted rgba(26, 24, 22, 0.28);
  opacity: 0.7;
}

.classic-price {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  font-weight: 500;
  color: #5C3D42;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.01em;
}

.classic-chef-badge {
  display: inline-block;
  margin-top: 0.3rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--wine-soft);
  color: #5C3D42;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.classic-item-detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s var(--ease-out), opacity 0.3s ease;
  opacity: 0;
  margin-top: 0;
}

.classic-item-detail-inner {
  overflow: hidden;
  min-height: 0;
  padding-left: calc(3.35rem + 0.75rem);
}

.classic-hero {
  margin: 0.65rem 0 0.35rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(26, 24, 22, 0.06);
  box-shadow: 0 8px 24px rgba(26, 24, 22, 0.06);
  max-height: 0;
  opacity: 0;
  transition: max-height 0.45s var(--ease-out), opacity 0.35s ease;
}

.classic-menu-item.open .classic-hero {
  max-height: 220px;
  opacity: 1;
}

.classic-hero img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.classic-desc {
  margin: 0.45rem 0 0;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.classic-menu-item.open .classic-item-detail {
  grid-template-rows: 1fr;
  opacity: 1;
}

.classic-add {
  margin-top: 0.55rem;
  margin-left: calc(3.35rem + 0.75rem);
  display: none;
  gap: 0.45rem;
  animation: detailReveal 0.35s var(--ease-out) both;
}

.classic-menu-item.open .classic-add {
  display: flex;
  flex-direction: column;
}

.classic-allergens {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.65rem;
  margin: 0.45rem 0 0.2rem;
  align-items: flex-start;
}

.classic-allergen {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  max-width: 3.6rem;
  text-align: center;
}

.classic-allergen img {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
  display: block;
  opacity: 0.92;
}

.classic-allergen-name {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.classic-kcal {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.classic-add-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
}

/* Sipariş butonu — önceki boyuta göre %50 büyütülmüş */
.classic-add-btn.btn.btn-primary {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  padding: 0.33rem 0.82rem;
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.15;
  border-radius: 999px;
  align-self: flex-end;
}

/* Misafir masa adisyonu */
.folio-lines {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.folio-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(26, 24, 22, 0.08);
}

.folio-line-main {
  flex: 1;
  min-width: 0;
}

.folio-line-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}

.folio-line-note {
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.folio-line-status {
  margin-top: 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.folio-line-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  flex-shrink: 0;
}

.folio-line-amt {
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.folio-cancel-btn {
  font-size: 0.72rem !important;
  padding: 0.25rem 0.55rem !important;
}

.folio-total {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(26, 24, 22, 0.12);
  font-weight: 700;
  font-size: 1.05rem;
  text-align: right;
}

.classic-note-panel {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
}

.classic-menu-item.note-open .classic-note-panel {
  display: flex;
}

.classic-note-hint {
  margin: 0;
  font-size: 0.72rem;
  color: var(--muted);
}

@keyframes detailReveal {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.back-bar .btn {
  background: transparent;
  border: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.8rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.55rem 0.85rem;
  box-shadow: none;
  gap: 0.35rem;
  touch-action: manipulation;
  position: relative;
  z-index: 51;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  padding: 0.4rem 1.1rem;
  border: 1px solid rgba(26, 24, 22, 0.35);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  width: fit-content;
}

.category-title {
  color: var(--ink);
  text-align: center;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.btn {
  border-radius: 999px !important;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: none;
}

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-secondary { background: transparent; border: 1px solid var(--border); }
.btn-sand { background: var(--wine-soft); color: var(--sage-dark); }

.btn.pulse-tap { animation: pulseTap 0.38s ease; }

@keyframes pulseTap {
  0% { transform: scale(1); }
  40% { transform: scale(0.96); }
  100% { transform: scale(1); }
}

#scr-main .lang-auto-banner {
  display: none !important;
}

/* Oval overrides against base index.html styles */
.food-item,
.sub-card,
.guide-block,
.menu-tile,
.lang-auto-banner,
.dnd-sheet,
.dnd-option,
#cart-panel,
.order-success-sheet,
.chat-bubble,
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select,
.food-sold-badge,
.tag {
  border-radius: 999px !important;
}

.food-item,
.sub-card,
.guide-block,
.dnd-sheet,
#cart-panel,
.order-success-sheet {
  border-radius: 24px !important;
}

.food-item-img,
.guide-block img,
.check-row img {
  border-radius: 18px !important;
}

textarea,
#chat-messages {
  border-radius: 20px !important;
}

#chat-input,
#chat-input-row button,
.cart-close,
#btn-cart-toggle {
  border-radius: 999px !important;
}

#bottom-nav {
  display: none;
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  transform: none;
  bottom: 0 !important;
  width: 100%;
  max-width: none;
  height: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px));
  padding: 0.35rem 0.35rem calc(0.4rem + env(safe-area-inset-bottom, 0px));
  background: rgba(250, 250, 250, 0.94);
  border-top: 1px solid var(--border);
  border-radius: 22px 22px 0 0;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 45;
  align-items: flex-end;
  justify-content: space-around;
  gap: 0.1rem;
}

#bottom-nav.visible { display: flex; }

#bottom-nav button {
  flex: 1;
  appearance: none;
  border: none;
  background: transparent;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.12rem;
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  padding: 0.2rem 0.1rem 0.15rem;
  line-height: 1.15;
  text-align: center;
  transition: color 0.25s ease, transform 0.25s var(--ease-out);
}

#bottom-nav button.active { color: var(--ink); }
#bottom-nav button:active { transform: scale(0.96); }
#bottom-nav button svg,
#bottom-nav button i {
  width: 19px;
  height: 19px;
  stroke-width: 1.35;
}

#bottom-nav .nav-assistant {
  flex: 1.15;
  color: var(--sage-dark);
  position: relative;
  top: -0.55rem;
  gap: 0.2rem;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

#bottom-nav .nav-assistant-orb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  background: #E85D1C;
  overflow: hidden;
  box-shadow:
    0 6px 18px rgba(232, 93, 28, 0.35),
    0 0 0 4px rgba(250, 250, 250, 0.95);
  color: var(--sage-dark);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
  animation: orbSoft 3.6s ease-in-out infinite;
}

#bottom-nav .nav-assistant:hover .nav-assistant-orb,
#bottom-nav .nav-assistant:focus-visible .nav-assistant-orb {
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    0 10px 24px rgba(232, 93, 28, 0.42),
    0 0 0 4px rgba(250, 250, 250, 0.95);
  outline: none;
}

#bottom-nav .nav-assistant-orb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
}

#bottom-nav .nav-assistant-orb svg,
#bottom-nav .nav-assistant-orb i {
  display: none;
}

@keyframes orbSoft {
  0%, 100% { box-shadow: 0 6px 18px rgba(232, 93, 28, 0.32), 0 0 0 4px rgba(250, 250, 250, 0.95); }
  50% { box-shadow: 0 8px 22px rgba(232, 93, 28, 0.45), 0 0 0 4px rgba(250, 250, 250, 0.95); }
}

#cart-dock {
  bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 0.65rem);
}

#chat-fab { display: none !important; }

#chat-panel {
  bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px));
  background: var(--cream);
  display: flex;
  flex-direction: column;
}

#chat-messages {
  flex: 1 1 auto;
  min-height: 0;
}

.chat-ai-disclaimer {
  flex: 0 0 auto;
  position: sticky;
  bottom: 0;
  margin: 0;
  padding: 0.4rem 0.75rem 0.35rem;
  font-size: 0.62rem;
  line-height: 1.35;
  color: rgba(26, 24, 22, 0.45);
  background: linear-gradient(180deg, rgba(247, 243, 236, 0), var(--cream) 28%);
  border-top: 1px solid rgba(26, 24, 22, 0.06);
  z-index: 2;
}

#chat-input-row {
  flex: 0 0 auto;
}

.chat-bubble-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  margin: 0.35rem 0;
}

.chat-bubble-wrap.user {
  align-items: flex-end;
}

.chat-estimate-badge {
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  color: rgba(26, 24, 22, 0.5);
  border: 1px solid rgba(26, 24, 22, 0.12);
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
  background: rgba(255, 255, 255, 0.55);
}

.classic-ask-btn.btn {
  padding: 0.28rem 0.65rem;
  font-size: 0.78rem;
  border-radius: 999px;
}

.offline-banner {
  display: none;
  position: sticky;
  top: 0;
  z-index: 30;
  margin: 0 -0.25rem 0.75rem;
  padding: 0.45rem 0.75rem;
  background: rgba(196, 160, 164, 0.2);
  color: var(--sage-dark);
  font-size: 0.75rem;
  text-align: center;
}

.offline-banner.visible { display: block; }

#scr-lang.screen.active {
  background:
    radial-gradient(ellipse 80% 50% at 90% 10%, var(--wine-soft), transparent 55%),
    var(--cream);
}

#scr-lang .lang-hotel-name {
  color: var(--ink);
  letter-spacing: 0.08em;
}

@media (max-width: 380px) {
  .classic-name { font-size: 0.92rem; max-width: 58%; }
  .classic-price { font-size: 0.9rem; }
  .classic-thumb { flex-basis: 2.9rem; width: 2.9rem; height: 2.9rem; border-radius: 12px; }
  .classic-item-detail-inner,
  .classic-add { padding-left: 0; margin-left: 0; }
  .category-row { font-size: 1.3rem; padding: 0.68rem 1.2rem; font-weight: 700; }
  #bottom-nav button { font-size: 0.5rem; }
  #bottom-nav .nav-assistant-orb { width: 2.4rem; height: 2.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .scandi-art,
  #bottom-nav .nav-assistant-orb,
  .screen.active.scandi-enter,
  .menu-sheet,
  .classic-add {
    animation: none !important;
  }
  .classic-item-detail,
  .category-row,
  #bottom-nav button {
    transition: none !important;
  }
}
