/* ── BİSTRO ŞABLONU (views/menu/bistro.ejs) ──
   Ortak bileşenler ve renk değişkenleri public/menu.css'te; burada sadece bu şablonun düzeni var. */
:root {
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;
}

/* ── ÜST ÇUBUK (para birimi) ── */
.bs-topbar {
  display: flex;
  justify-content: flex-end;
  max-width: 680px;
  margin: 0 auto;
  padding: 1rem 16px 0;
}

.bs-topbar:not(:has(.currency-picker)) {
  display: none;
}

/* ── BAŞLIK ── */
.bs-header {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 16px 1.5rem;
  text-align: center;
}

.bs-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--orange);
}

.bs-name {
  margin-top: 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 9vw, 3.6rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--dark);
  overflow-wrap: anywhere;
}

.bs-meta {
  margin-top: 0.6rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--muted);
}

.bs-sep {
  margin: 0 0.4rem;
}

.bs-ornament {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: 220px;
  margin: 1.5rem auto 0;
  color: var(--orange);
  font-size: 0.6rem;
}

.bs-ornament::before,
.bs-ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border2);
}

/* ── KATEGORİ SEKMELERİ: küçük harfli, ortalı, gerekirse yatay kayar ── */
.bs-tabs {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: safe center;
  gap: 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.85rem 16px;
  background: rgba(var(--bg-rgb), 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.bs-tab {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--muted);
  transition: color 0.2s;
}

.bs-tab:hover,
.bs-tab.active {
  color: var(--orange);
}

/* ── GÖVDE ── */
.bs-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 1rem 16px 4rem;
}

body:has(.call-bar) .bs-body {
  padding-bottom: 8rem;
}

.bs-empty {
  text-align: center;
  padding: 3rem 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--muted);
}

.bs-section {
  padding-top: 2.5rem;
  scroll-margin-top: 40px;
}

.bs-section-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  margin-bottom: 0.4rem;
}

.bs-section-title::before,
.bs-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border2);
}

.bs-section-desc {
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

/* ── ÜRÜN: ad ......... fiyat ── */
.bs-item {
  padding: 0.9rem 0;
  cursor: pointer;
}

.bs-line {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.bs-item-name {
  min-width: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark);
  transition: color 0.2s;
}

.bs-item:hover .bs-item-name {
  color: var(--orange);
}

.bs-photo-hint {
  display: inline-block;
  margin-left: 0.2rem;
  font-size: 0.8rem;
  color: var(--muted2);
  vertical-align: 0.1em;
}

.bs-dots {
  flex: 1;
  min-width: 1.5rem;
  border-bottom: 1.5px dotted var(--border2);
  transform: translateY(-0.25em);
}

.bs-item-price {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--orange);
}

.bs-item-desc {
  margin-top: 0.2rem;
  padding-right: 4.5rem;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--muted);
}

.bs-item-notes {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.bs-note {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

.bs-note-soldout {
  color: var(--red);
}

/* Tükenen ürün */
.bs-item.sold-out .bs-item-name,
.bs-item.sold-out .bs-item-desc {
  opacity: 0.55;
}

.bs-item.sold-out .bs-item-price {
  text-decoration: line-through;
  color: var(--muted2);
}

/* Lightbox ve alt panel başlıkları bu şablonun serif yazısıyla biraz büyük dursun */
.lightbox-name,
.fb-title {
  font-weight: 700;
  font-size: 1.6rem;
}

@media (max-width: 480px) {
  .bs-item-desc {
    padding-right: 0;
  }

  .bs-item-name,
  .bs-item-price {
    font-size: 1.18rem;
  }
}
