:root {
  --bg: #f6efe3;
  --card: #fffaf2;
  --green: #1f6b3a;
  --gold: #b98a1e;
  --ink: #2d2a24;
  --muted: #8a7f6d;
  --dots: #cbbfa8;
  --line: #e3d8c4;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.45 var(--sans); }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

.page { max-width: 560px; margin: 0 auto; min-height: 100vh; background: var(--bg); }

/* Giriş */
.hero { position: relative; height: 220px; overflow: hidden; }
.hero-bg { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(rgba(20,16,10,.15) 20%, rgba(20,16,10,.55) 62%, var(--bg) 100%);
}
.hero-brand {
  position: absolute; inset: auto 0 18px; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.logo { height: 54px; width: auto; filter: drop-shadow(0 2px 8px rgba(255,255,255,.9)) drop-shadow(0 0 2px #fff); }
.hero-brand span { font: 600 11px var(--sans); letter-spacing: 3px; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.reserve {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: var(--green); color: #fff; text-decoration: none;
  font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}

/* Sekmeler */
.tabs {
  position: sticky; top: 0; z-index: 5;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding: 10px 14px; background: var(--bg);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs.stuck { border-color: var(--line); box-shadow: 0 4px 12px rgba(45,42,36,.06); }
.tab {
  flex: 0 0 auto; padding: 8px 14px; min-height: 36px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-size: 13.5px; font-weight: 500; white-space: nowrap;
}
.tab.active { background: var(--green); border-color: var(--green); color: #fff; }

/* Kategoriler */
main { padding: 4px 0 24px; }
.cat { padding: 14px 16px 6px; scroll-margin-top: 60px; }
.cat h2 { font: 700 24px/1.2 var(--serif); color: var(--green); margin: 0; }
.cat-sub { margin: 2px 0 8px; color: var(--muted); font-size: 13px; font-style: italic; }

/* Liste satırları */
.row { display: flex; align-items: center; gap: 12px; padding: 9px 0; }
.row + .row { border-top: 1px solid rgba(203,191,168,.35); }
.row-main { flex: 1; min-width: 0; }
.row-line { display: flex; align-items: baseline; }
.name { font-size: 15.5px; font-weight: 500; }
.dots { flex: 1; min-width: 14px; border-bottom: 1.5px dotted var(--dots); margin: 0 6px; transform: translateY(-4px); }
.price { font-weight: 700; color: var(--gold); white-space: nowrap; font-variant-numeric: tabular-nums; }
.desc { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.thumb { flex: 0 0 auto; width: 58px; height: 58px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Serpme kartları */
.featured-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin: 12px 0; box-shadow: 0 2px 10px rgba(45,42,36,.05); }
.fc-photo { display: block; width: 100%; aspect-ratio: 16/9; padding: 0; border: 0; cursor: zoom-in; background: var(--line); }
.fc-photo img { width: 100%; height: 100%; object-fit: cover; }
.fc-body { padding: 14px 16px 16px; }
.fc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.fc-head h3 { margin: 0; font: 700 19px/1.25 var(--serif); }
.fc-head .price { font-size: 19px; }
.contents { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.contents li { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: #f0e6d3; }
.note { margin: 10px 0 0; font-size: 12px; font-weight: 600; letter-spacing: .3px; color: var(--green); }

/* Yükleniyor / hata */
.skeleton { padding: 16px; display: grid; gap: 14px; }
.skeleton i { display: block; height: 18px; border-radius: 6px; background: linear-gradient(90deg, #ece2cf, #f6efe3, #ece2cf); background-size: 200% 100%; animation: sk 1.2s infinite; }
.skeleton i:first-child { height: 26px; width: 50%; }
@keyframes sk { to { background-position: -200% 0; } }
.error { margin: 24px 16px; padding: 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); text-align: center; }
.error button { margin-top: 10px; padding: 10px 18px; border: 0; border-radius: 999px; background: var(--green); color: #fff; font-weight: 600; }

/* Alt bilgi */
.foot { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 16px 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.foot a { color: var(--green); font-weight: 600; }
.foot img { opacity: .8; }

/* Fotoğraf büyütme */
#zoom { padding: 0; border: 0; background: transparent; max-width: 94vw; max-height: 90vh; }
#zoom::backdrop { background: rgba(20,16,10,.85); }
#zoom img { max-width: 94vw; max-height: 86vh; border-radius: 14px; }
.zoom-close { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .skeleton i { animation: none; } }
