/* Klasik — kâğıt menü: çerçeveli sayfa, serif yazı, içindekiler ve noktalı fiyat çizgileri */
.theme-klasik {
  --bg: #efe8da; --paper: #fbf7ee; --surface: #fffdf7; --surface-2: #f3ecdd; --text: #2b2117; --muted: #746452; --faint: #a8998a;
  --line: rgba(43, 33, 23, .12); --line-strong: rgba(43, 33, 23, .3); --radius: 4px; --price: var(--text);
}
body.theme-klasik { background: var(--bg) radial-gradient(120% 60% at 50% 0%, #f6f0e3, transparent 70%); }
.theme-klasik [data-section] { scroll-margin-top: 58px; }
.theme-klasik h1, .theme-klasik h2, .theme-klasik h3 { font-weight: 600; }

.topline { height: 6px; background: repeating-linear-gradient(90deg, var(--primary) 0 10px, transparent 10px 14px); opacity: .55; }

/* İnce üst çubuk: kaydırınca belirir */
.minibar { position: fixed; top: 0; inset-inline: 0; z-index: 40; height: 50px; display: flex; align-items: center; gap: 8px; padding: 0 10px; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); transform: translateY(-100%); transition: transform .35s var(--ease); }
.scrolled .minibar { transform: none; }
.mb-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 13px; font-weight: 600; }
.mb-btn.round { width: 34px; padding: 0; justify-content: center; }
.mb-btn .icon { width: 16px; height: 16px; }
.mb-cur { flex: 1; min-width: 0; text-align: center; font-family: var(--font-head); font-style: italic; font-size: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Kâğıt sayfa */
.paper { position: relative; max-width: 680px; margin: 14px auto 0; padding: 0 18px 30px; background: var(--paper); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 30px 60px -40px rgba(60, 40, 10, .45); }
.paper::before { content: ''; position: absolute; inset: 8px; border: 1px solid var(--line-strong); pointer-events: none; }
.paper::after { content: ''; position: absolute; inset: 12px; border: .5px solid var(--line); pointer-events: none; }
@media (max-width: 700px) { .paper { margin: 10px 8px 0; } }

.mast { position: relative; text-align: center; padding: 34px 6px 28px; }
.mast-tools { display: flex; justify-content: flex-end; margin: -14px -4px 10px; position: relative; z-index: 2; }
.mast .tool { height: 34px; background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); backdrop-filter: none; -webkit-backdrop-filter: none; }
.mast .tool.round { width: 34px; }
.arch { width: min(78%, 360px); aspect-ratio: 4 / 4.6; margin: 0 auto -44px; border-radius: 999px 999px 6px 6px; overflow: hidden; border: 6px solid var(--surface); box-shadow: 0 0 0 1px var(--line-strong), 0 24px 40px -26px rgba(60, 40, 10, .6); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.crest { position: relative; width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px var(--line-strong), 0 0 0 5px var(--paper), 0 0 0 6px var(--line-strong); }
.crest img { width: 100%; height: 100%; object-fit: cover; }
.crest span { font-family: var(--font-head); font-size: 42px; font-weight: 600; font-style: italic; color: var(--primary); }
.eyebrow { font-size: 11px; letter-spacing: .38em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding-inline-start: .38em; }
.mast h1 { font-size: clamp(34px, 9.5vw, 50px); font-weight: 600; letter-spacing: .01em; line-height: 1.02; margin-top: 6px; text-wrap: balance; }
.orn { display: block; width: 120px; height: 12px; margin: 14px auto; color: var(--primary); }
.tagline { font-family: var(--font-head); font-style: italic; font-size: 19px; color: var(--muted); max-width: 420px; margin: 0 auto; text-wrap: balance; line-height: 1.35; }
.meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.meta .status-pill, .meta .table-pill { box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 12px; }
.meta .table-pill { background: var(--text); color: var(--paper); box-shadow: none; }

/* İşlemler: zarif yazı bağlantıları */
.acts { justify-content: center; flex-wrap: wrap; gap: 4px 2px; padding: 12px 0; margin: 0 6px; border-block: 1px solid var(--line); }
.act { gap: 6px; padding: 6px 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.act-ic { color: var(--primary); }
.act-ic .icon { width: 16px; height: 16px; }
.banner { margin: 16px 6px 0; border-radius: 4px; background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); font-family: var(--font-head); font-style: italic; font-size: 17px; font-weight: 500; }

/* İçindekiler */
.toc { margin: 26px 6px 6px; padding: 22px 18px; border: 1px solid var(--line-strong); outline: 1px solid var(--line); outline-offset: 3px; }
.toc h2 { text-align: center; font-size: 13px; letter-spacing: .32em; text-transform: uppercase; font-family: var(--font-body); font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; }
.toc-n { width: 30px; flex-shrink: 0; font-family: var(--font-head); font-size: 15px; color: var(--primary-ink); font-weight: 600; }
.toc-t { font-family: var(--font-head); font-size: 21px; font-weight: 600; line-height: 1.2; }
.toc-c { font-family: var(--font-head); font-style: italic; color: var(--muted); font-size: 16px; }
.dots { flex: 1; min-width: 14px; border-bottom: 1.5px dotted var(--line-strong); transform: translateY(-5px); }

/* Bölümler */
.chapter { padding: 40px 6px 4px; }
.ch-head { text-align: center; }
.ch-n { display: block; font-family: var(--font-head); font-size: 15px; letter-spacing: .3em; color: var(--primary-ink); font-weight: 600; padding-inline-start: .3em; }
.ch-head h2 { font-size: clamp(30px, 8vw, 38px); font-weight: 600; font-style: italic; line-height: 1.1; margin-top: 2px; }
.ch-head .orn { margin: 10px auto 6px; width: 96px; }
.ch-desc { font-family: var(--font-head); font-style: italic; font-size: 17px; color: var(--muted); max-width: 440px; margin: 0 auto; }
.ch-head .sec-closed { margin-top: 10px; }
.plate { margin: 18px 0 8px; padding: 6px; background: var(--surface); box-shadow: 0 0 0 1px var(--line-strong), 0 14px 30px -24px rgba(60, 40, 10, .7); }
.plate img { width: 100%; aspect-ratio: 2.4 / 1; object-fit: cover; filter: sepia(.12) saturate(1.05); }

.items { margin-top: 10px; }
.dish { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.dish:last-child { border-bottom: 0; }
.dish:active { background: color-mix(in srgb, var(--primary) 6%, transparent); }
.dish-img { width: 66px; height: 66px; border-radius: 50%; overflow: hidden; flex-shrink: 0; box-shadow: 0 0 0 1px var(--line-strong), 0 0 0 3px var(--paper), 0 0 0 4px var(--line); margin: 2px 4px 0 2px; }
.dish-img img { width: 100%; height: 100%; object-fit: cover; }
.dish-body { flex: 1; min-width: 0; }
.dish-line { display: flex; align-items: baseline; gap: 8px; }
.dish h3 { font-size: 21px; font-weight: 600; line-height: 1.15; min-width: 0; }
.dish .price { font-family: var(--font-head); font-size: 20px; font-weight: 600; color: var(--price); }
.dish .price small { font-size: 15px; }
/* İndirimli fiyat: eski fiyat yeni fiyatın altında (uzun adlar noktalı çizgiyle birlikte sıkışmaz) */
.dish .price:has(s) { display: inline-grid; grid-template-columns: auto auto; justify-items: end; align-items: baseline; line-height: 1.05; }
.dish .price:has(s) s { grid-row: 2; grid-column: 1 / -1; margin: 2px 0 0; font-size: 14px; }
.dish .desc { font-family: var(--font-head); font-style: italic; font-size: 16.5px; color: var(--muted); line-height: 1.35; margin-top: 3px; }
.dish-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.dish-foot:has(.tags:empty):not(:has(.add)) { display: none; }
.tag { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--muted); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; }
.add { width: 32px; height: 32px; margin-inline-start: auto; background: transparent; color: var(--primary); box-shadow: inset 0 0 0 1px currentColor; }
.add .icon { width: 16px; height: 16px; }
.fin { padding: 20px 0 6px; }

/* Pencereler */
.sheet-panel { border-radius: 10px 10px 0 0; background: var(--paper); }
@media (min-width: 640px) { .sheet-panel { border-radius: 10px; } }
.sheet-body > h2, .p-body h2 { font-weight: 600; font-style: italic; font-size: 30px; letter-spacing: 0; }
.p-price { font-family: var(--font-head); font-size: 24px; color: var(--text); }
.cta { border-radius: 6px; background: var(--text); color: var(--paper); box-shadow: none; }
.cta span + b { border-color: rgba(255,255,255,.25); }
.cart-bar { border-radius: 8px; background: var(--text); }
.cart-count { border-radius: 4px; background: var(--paper); color: var(--text); }
.inp, .search-box, .stepper, .segmented { border-radius: 6px; }
.cl-n { font-size: 20px; font-weight: 600; }
.cl-img { border-radius: 50%; }

/* Kampanyalar: sayfadaki duyuru gibi ince çerçeveli, italik serif */
.camps { padding-inline: 6px; }
.camp { border-radius: 4px; background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); }
.camp-ic { border-radius: 50%; background: transparent; color: var(--primary-ink); box-shadow: inset 0 0 0 1px currentColor; }
.camp-t b { font-family: var(--font-head); font-style: italic; font-size: 18px; font-weight: 600; }

body.dm-on { --paper: #1a1916; }
body.dm-on .cta, body.dm-on .cart-bar { background: var(--primary); color: var(--on-primary); }
@media (prefers-color-scheme: dark) {
  body.dm-auto { --paper: #1a1916; }
  body.dm-auto .cta, body.dm-auto .cart-bar { background: var(--primary); color: var(--on-primary); }
}
