:root {
  --brown-deep: #2A1F1B;
  --brown-mid: #4A3728;
  --brown-light: #6B5344;
  --gold: #C19A5B;
  --gold-dim: #A68348;
  --gold-bright: #D4AD6E;
  --cream: #FAF6F0;
  --cream-warm: #F3ECE0;
  --text-dark: #1E1612;
  --text-mid: #5C4A3E;
  --text-light: #8A7A6E;
  --border-soft: rgba(193,154,91,0.2);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  /* Sayfa sadece kaydırılabilir; çift dokunuş ve iki parmakla yakınlaştırma kapalı */
  touch-action: pan-x pan-y;
}

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.header {
  background: var(--brown-deep);
  text-align: center;
  padding: 2.5rem 1rem 1.8rem;
  position: relative;
}

.header-logo {
  display: block;
  max-width: 200px;
  height: auto;
  margin: 0 auto;
}

.cat-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--brown-deep);
  border-bottom: 1px solid rgba(193,154,91,0.15);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 0.5rem;
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav-inner {
  display: flex;
  gap: 0;
  min-width: max-content;
  padding: 0 0.25rem;
}
.cat-btn {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(193,154,91,0.6);
  background: none;
  border: none;
  padding: 0.75rem 0.75rem;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s;
  letter-spacing: 0.01em;
  position: relative;
}
.cat-btn.active, .cat-btn:hover { color: var(--gold); }
.cat-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.content {
  max-width: 540px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

.section { margin-bottom: 2.5rem; }
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-soft);
}

.item {
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.item:last-child { border-bottom: none; }

.item-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 10px;
  background: var(--cream-warm);
  margin-bottom: 0.75rem;
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.15rem;
}
.item-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
}
.item-price {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gold-dim);
  white-space: nowrap;
  flex-shrink: 0;
}
.item-dots {
  flex: 1;
  border-bottom: 1px dotted rgba(0,0,0,0.12);
  min-width: 20px;
  margin-bottom: 4px;
}
.item-desc {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-top: 0.2rem;
}

/* Gramajlı ürünlerin fiyat satırı */
.price-row {
  display: flex;
  justify-content: flex-end;
  gap: 0;
  margin-top: 0.45rem;
}
.price-col {
  text-align: center;
  min-width: 72px;
  padding: 0.3rem 0.1rem;
  position: relative;
}
.price-col + .price-col::before {
  content: '';
  position: absolute;
  left: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: rgba(0,0,0,0.08);
}
.price-weight {
  font-size: 0.68rem;
  color: var(--text-light);
  font-weight: 500;
  display: block;
  margin-top: 1px;
}
.price-amount {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-dim);
  display: block;
}

.info-note {
  font-size: 0.72rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: 0.35rem;
}

.footer {
  background: var(--brown-deep);
  text-align: center;
  padding: 2rem 1rem;
  padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
}
.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(193,154,91,0.15);
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
}
.contact-link:hover, .contact-link:focus-visible { color: var(--gold-bright); }
.contact-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.contact-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.footer-text {
  font-size: 0.75rem;
  color: rgba(193,154,91,0.5);
  line-height: 1.8;
}
.footer-text strong {
  color: var(--gold-dim);
  font-weight: 500;
}

.diamond-sep {
  text-align: center;
  margin: 0.5rem 0 1.5rem;
  color: var(--gold);
  font-size: 0.5rem;
  letter-spacing: 8px;
  opacity: 0.4;
}

@media (min-width: 600px) {
  .content { padding: 2.5rem 1.5rem 4rem; }
  .cat-btn { font-size: 0.78rem; padding: 0.85rem 1rem; }
  .price-col { min-width: 82px; }
}

/* Menü yüklenirken / yüklenemezse */
.menu-status {
  text-align: center;
  padding: 3rem 1rem;
  font-size: 0.9rem;
  color: var(--text-mid);
}
.menu-status p { margin-bottom: 1rem; }
.menu-retry {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cream);
  background: var(--brown-deep);
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
}
