:root {
    --accent: #1b2330;       /* otel laciverti (tenant temasından override edilir) */
    --gold: #b8923f;         /* otel altın vurgusu */
    --gold-soft: #f3e9d2;
    --bg: #f5f1ea;           /* krem zemin */
    --card: #fffdfa;
    --text: #20242e;
    --muted: #7a7468;
    --line: #e8e0d2;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: "Lora", Georgia, "Times New Roman", serif;
    background: var(--bg);
    color: var(--text);
    -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, .sec-title, .brand, .cat-card .name, .detail-card h1 {
    font-family: "Cormorant Garamond", "Lora", Georgia, serif;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 0 14px 90px; }

/* Header — açık/krem, logo görünür, altın alt çizgi */
.m-header {
    position: sticky; top: 0; z-index: 20;
    background: var(--card); color: var(--accent);
    padding: 8px 14px;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 1px 8px rgba(0,0,0,.05);
}
.m-header .hrow { position: relative; width: 100%; display: flex; align-items: center; justify-content: center; min-height: 58px; }
.m-header .brand { font-weight: 700; font-size: 1.1rem; line-height: 1.1; letter-spacing: .2px; display: flex; align-items: center; color: var(--accent); }
.m-header .brand img { height: 60px; width: auto; max-width: 78vw; flex: 0 0 auto; display: block; }
.lang-switch { display: flex; gap: 6px; }
.lang-switch a { padding: 3px 11px; font-size: .72rem; }
.m-header .spacer { flex: 1; }
.lang-switch { display: flex; gap: 5px; }
.lang-switch a {
    font-family: "Lora", serif;
    font-size: .72rem; font-weight: 600; padding: 4px 9px; border-radius: 20px;
    background: transparent; color: var(--accent); border: 1px solid var(--line);
}
.lang-switch a.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Hamburger + kayan menü (bilgi sayfaları) */
.m-burger { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); background: transparent; border: none; color: var(--accent); font-size: 1.5rem; line-height: 1; padding: 4px 8px; cursor: pointer; }
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); opacity: 0; visibility: hidden; transition: opacity .2s; z-index: 40; }
body.drawer-open .drawer-overlay { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; left: 0; bottom: 0; width: 82%; max-width: 320px; background: var(--card); z-index: 50; transform: translateX(-100%); transition: transform .25s ease; box-shadow: 2px 0 16px rgba(0,0,0,.2); overflow-y: auto; }
body.drawer-open .drawer { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 2px solid var(--gold); font-family: "Cormorant Garamond", serif; font-size: 1.25rem; font-weight: 600; color: var(--accent); }
.drawer-head button { background: transparent; border: none; font-size: 1.2rem; color: var(--muted); cursor: pointer; }
.drawer-link { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--accent); }
.drawer-link .ic { font-size: 1.5rem; width: 28px; text-align: center; }
.drawer-link:active { background: var(--gold-soft); }

/* Search */
.m-search { margin: 14px 0; position: relative; }
.m-search input {
    width: 100%; padding: 12px 52px 12px 14px; border: 1px solid var(--line); border-radius: 12px;
    font-size: 1rem; background: #fff; font-family: "Lora", serif;
}
.m-search-btn {
    position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
    width: 42px; height: calc(100% - 10px); border: none; border-radius: 9px;
    background: var(--accent); color: #fff; font-size: 1.05rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}

/* Section title */
.sec-title { font-size: 1.7rem; font-weight: 600; margin: 16px 2px 12px; color: var(--accent); }
.crumb { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-weight: 600; font-size: .9rem; margin: 12px 0; }

/* Category grid */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 560px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
/* Eşit kare döşemeler: isim + adet görselin üstüne gradyanla bindirilir */
.cat-card {
    position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden;
    border-radius: 14px; box-shadow: 0 1px 6px rgba(0,0,0,.10); border: 1px solid var(--line);
}
.cat-card .thumb { position: absolute; inset: 0; background: linear-gradient(135deg, var(--accent), var(--gold)); }
.cat-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-card .body {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 10px;
    background: linear-gradient(to top, rgba(20,22,30,.85) 0%, rgba(20,22,30,.45) 55%, rgba(20,22,30,0) 100%);
}
.cat-card .name {
    font-weight: 600; font-size: 1.12rem; line-height: 1.15; color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,.45);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cat-card .count { color: rgba(255,255,255,.9); font-size: .75rem; margin-top: 2px; text-shadow: 0 1px 3px rgba(0,0,0,.45); }

/* Item list */
.item { display: flex; gap: 12px; align-items: center; background: var(--card); border-radius: 14px; padding: 10px; margin-bottom: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.05); border: 1px solid var(--line); }
.item .thumb { width: 84px; height: 84px; flex: 0 0 84px; border-radius: 10px; object-fit: cover; object-position: center; display: block; background: #f1ece1; }
.item .thumb-ph { display: flex; align-items: center; justify-content: center; font-size: 1.7rem; color: #cebf9c; }
.item .info { flex: 1 1 auto; min-width: 0; align-self: center; }
.item .name { font-weight: 600; font-size: 1.05rem; color: var(--accent); }
.item .desc { color: var(--muted); font-size: .82rem; margin-top: 2px; }
.item .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; align-items: center; }
.item .price { color: var(--gold); font-weight: 700; white-space: nowrap; font-size: 1.05rem; }
.item .right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }

/* Badges & chips */
.chip { font-size: .68rem; padding: 2px 8px; border-radius: 20px; background: #f1ece2; color: #6a6354; white-space: nowrap; }
.chip.kcal { background: #eef3f6; color: #355a72; }
.chip.alcohol { background: #f7ecec; color: #9b3b3b; }
.chip.veg { background: #edf4ec; color: #3a6b43; }
.badge-feat { font-size: .66rem; background: var(--gold); color: #fff; padding: 2px 8px; border-radius: 20px; }
.allergen-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.allergen-chips .a { font-size: .72rem; background: var(--gold-soft); color: #7a5a16; border: 1px solid #e6d3a6; padding: 2px 8px; border-radius: 20px; }

/* Detail */
.detail-card { background: var(--card); border-radius: 16px; padding: 16px; box-shadow: 0 1px 5px rgba(0,0,0,.07); border: 1px solid var(--line); }
.detail-card h1 { font-size: 1.9rem; margin: 0 0 4px; color: var(--accent); font-weight: 600; }
.detail-hero { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 14px; margin-bottom: 14px; background: #eee; }
.kv { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.kv .k { color: var(--muted); }
.kv .v { font-weight: 600; text-align: right; }
.kv .v.price { color: var(--gold); }
.allergen-box { background: var(--gold-soft); border: 1px solid #e6d3a6; border-radius: 12px; padding: 12px; margin-top: 12px; }
.allergen-box .title { color: #7a5a16; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }

/* Footer / notice */
.m-footer { margin-top: 24px; padding: 16px 14px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; line-height: 1.5; }
.notice { background: #fbf6ec; border: 1px solid #ecdcbb; border-radius: 12px; padding: 12px; color: #6f5a2c; font-size: .8rem; line-height: 1.5; }

/* Floating call button */
.fab {
    position: fixed; bottom: 18px; right: 18px; z-index: 30;
    background: var(--accent); color: #fff; border: none;
    padding: 12px 18px; border-radius: 30px; font-weight: 600; font-size: .9rem;
    box-shadow: 0 4px 14px rgba(0,0,0,.25);
    display: inline-flex; align-items: center; gap: 8px; font-family: "Lora", serif;
}

/* Öne çıkanlar (yatay kaydırma) */
.featured-row { display: flex; gap: 10px; overflow-x: auto; padding: 2px 0 8px; -webkit-overflow-scrolling: touch; }
.feat-card { flex: 0 0 144px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.feat-thumb { height: 92px; background: linear-gradient(135deg, var(--accent), var(--gold)); display: flex; align-items: center; justify-content: center; font-size: 1.7rem; color: #fff; }
.feat-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feat-name { padding: 7px 9px 0; font-weight: 600; font-size: .9rem; line-height: 1.15; color: var(--accent); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.2em; }
.feat-price { padding: 2px 9px 9px; color: var(--gold); font-weight: 700; font-size: .9rem; }

/* Filter pills */
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 8px; -webkit-overflow-scrolling: touch; }
.filters .pill { flex: 0 0 auto; font-size: .8rem; padding: 6px 12px; border-radius: 20px; background: #fff; border: 1px solid var(--line); color: #444; }
.filters .pill.active { background: var(--accent); color: #fff; border-color: var(--accent); }
