/* ============================================================
   TOAST ART GASTRO BÜFE — Ön yüz stilleri
   Mobile-first · Premium Glass UX · Sıcak gastronomi atmosferi

   İçindekiler
   01 Değişkenler
   02 Sıfırlama ve temel
   03 Tipografi
   04 Yardımcı sınıflar
   05 Header
   06 Arama paneli
   07 Mobil menü (drawer)
   08 Hero
   09 Kategori şeridi
   10 Ürün ızgarası ve kartlar
   11 Ürün detay modalı
   12 Bölüm başlıkları / boş durum
   13 İletişim
   14 Hakkımızda
   15 Footer
   16 Alt navigasyon
   17 Duyarlı kırılımlar
   18 Hareket tercihleri / yazdırma
   ============================================================ */

/* ---------- 01 Değişkenler --------------------------------- */
:root {
    /* Marka renkleri (admin panelden değiştirilebilir) */
    --bg:          #0E0D0B;
    --bg-alt:      #181511;
    --cream:       #F4EBDD;
    --beige:       #D7B27A;
    --toast:       #9C653A;
    --gold:        #DCA867;

    --text:        #F8F5EF;
    --text-muted:  rgba(248, 245, 239, 0.65);
    --text-faint:  rgba(248, 245, 239, 0.42);

    /* Cam yüzeyler */
    --glass:        rgba(255, 255, 255, 0.06);
    --glass-soft:   rgba(255, 255, 255, 0.035);
    --glass-strong: rgba(255, 255, 255, 0.09);
    --line:         rgba(255, 255, 255, 0.10);
    --line-soft:    rgba(255, 255, 255, 0.06);
    --line-warm:    rgba(215, 178, 122, 0.28);
    --blur:         blur(18px);

    /* Köşe yarıçapları (18–28 px aralığı) */
    --r-xs: 12px;
    --r-sm: 16px;
    --r-md: 20px;
    --r-lg: 24px;
    --r-xl: 28px;
    --r-pill: 999px;

    /* Gölgeler */
    --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.22);
    --shadow-md: 0 18px 50px rgba(0, 0, 0, 0.28);
    --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.42);
    --glow-gold: 0 0 0 1px rgba(220, 168, 103, 0.35), 0 10px 34px rgba(156, 101, 58, 0.28);

    /* Tipografi */
    --font-display: "Playfair Display", "Times New Roman", Georgia, serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 "Helvetica Neue", Arial, sans-serif;

    /* Ölçüler */
    --container: 1240px;
    --gutter: 18px;
    --header-h: 62px;
    --bottomnav-h: 68px;
    --tap: 44px; /* asgari dokunma alanı */

    /* Geçişler */
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --t-fast: 160ms var(--ease);
    --t: 280ms var(--ease);
}

/* ---------- 02 Sıfırlama ve temel --------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

html, body {
    /* Yatay taşmaya karşı kesin önlem */
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0.005em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Alt navigasyonun içeriği kapatmaması için */
    padding-bottom: calc(var(--bottomnav-h) + env(safe-area-inset-bottom, 0px));
}

/* Sıcak zemin dokusu — çok düşük opaklık, CLS oluşturmaz */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(1100px 620px at 78% -6%, rgba(156, 101, 58, 0.30), transparent 62%),
        radial-gradient(760px 520px at 8% 4%, rgba(220, 168, 103, 0.12), transparent 60%),
        linear-gradient(180deg, #14110E 0%, var(--bg) 42%, #0B0A08 100%);
}

body > * { position: relative; z-index: 1; }

img, svg, video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--t-fast);
}

button {
    font: inherit;
    color: inherit;
    border: 0;
    background: none;
    cursor: pointer;
}

input, textarea, select { font: inherit; color: inherit; }

ul, ol { margin: 0; padding: 0; list-style: none; }

hr {
    border: 0;
    border-top: 1px solid var(--line-soft);
    margin: 28px 0;
}

::selection {
    background: var(--gold);
    color: #14110E;
}

/* Odak halkası — klavye erişilebilirliği */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 8px;
}

/* Kaydırma çubuğu */
* { scrollbar-width: thin; scrollbar-color: rgba(215,178,122,.35) transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb {
    background: rgba(215, 178, 122, 0.28);
    border-radius: var(--r-pill);
}

/* ---------- 03 Tipografi ------------------------------------ */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.16;
    letter-spacing: -0.01em;
    margin: 0 0 12px;
    /* Uzun ürün/başlık adlarının kart dışına taşmasını engeller */
    overflow-wrap: anywhere;
    word-break: break-word;
}

h1 { font-size: clamp(1.75rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.35rem, 4.2vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 3.2vw, 1.4rem); }

p { margin: 0 0 14px; overflow-wrap: break-word; }
p:last-child { margin-bottom: 0; }

.eyebrow {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--beige);
    margin: 0 0 10px;
}

.lead {
    font-size: clamp(0.95rem, 2.6vw, 1.075rem);
    color: var(--text-muted);
    line-height: 1.7;
}

/* ---------- 04 Yardımcı sınıflar ---------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section { padding-block: clamp(38px, 8vw, 76px); }
.section--tight { padding-block: clamp(26px, 5vw, 44px); }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 999;
    padding: 10px 16px;
    border-radius: var(--r-xs);
    background: var(--cream);
    color: #14110E;
    font-weight: 600;
    transition: top var(--t-fast);
}
.skip-link:focus { top: 12px; }

/* Cam yüzey temeli */
.glass {
    background: var(--glass);
    border: 1px solid var(--line);
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
    box-shadow: var(--shadow-md);
    border-radius: var(--r-lg);
}

/* Butonlar */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: var(--tap);
    padding: 12px 22px;
    border-radius: var(--r-pill);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform var(--t-fast), box-shadow var(--t), background var(--t), border-color var(--t);
    text-align: center;
}

.btn:active { transform: scale(0.975); }

.btn--primary {
    background: linear-gradient(135deg, var(--beige), var(--gold));
    color: #191307;
    box-shadow: 0 10px 30px rgba(215, 178, 122, 0.22);
}
.btn--primary:hover {
    box-shadow: 0 14px 40px rgba(215, 178, 122, 0.34);
    color: #191307;
}

.btn--ghost {
    background: var(--glass);
    border: 1px solid var(--line);
    color: var(--text);
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
}
.btn--ghost:hover {
    background: var(--glass-strong);
    border-color: var(--line-warm);
}

.btn--block { width: 100%; }

.icon { width: 20px; height: 20px; flex: 0 0 auto; stroke-width: 1.6; }

/* Ikonik dokunma hedefi */
.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--tap);
    height: var(--tap);
    border-radius: var(--r-sm);
    color: var(--text);
    background: var(--glass-soft);
    border: 1px solid var(--line-soft);
    transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.icon-btn:hover,
.icon-btn:focus-visible {
    background: var(--glass-strong);
    border-color: var(--line-warm);
    color: var(--gold);
}

/* ---------- 05 Header --------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(14, 13, 11, 0.72);
    border-bottom: 1px solid var(--line-soft);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    backdrop-filter: blur(20px) saturate(140%);
    transition: background var(--t), border-color var(--t);
}

.site-header.is-scrolled {
    background: rgba(14, 13, 11, 0.92);
    border-bottom-color: var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: var(--header-h);
    padding-block: 8px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin-right: auto;
}

.brand__logo {
    height: 38px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    /* Logo açık zeminli olabilir — arka planı bozma, gölge ekleme */
    border-radius: 8px;
}

.brand__text { min-width: 0; }

.brand__name {
    display: block;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0.02em;
    color: var(--cream);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 46vw;
}

.brand__tag {
    display: block;
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-faint);
    white-space: nowrap;
}

.header-nav { display: none; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}

/* ---------- 06 Arama paneli --------------------------------- */
.search-panel {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
    background: rgba(10, 9, 7, 0.78);
    -webkit-backdrop-filter: blur(22px) saturate(130%);
    backdrop-filter: blur(22px) saturate(130%);
    padding: 0 var(--gutter) 32px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.search-panel.is-open {
    display: block;
    animation: fadeIn 220ms var(--ease);
}

.search-panel__head {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-block: 14px;
    background: linear-gradient(180deg, rgba(10, 9, 7, 0.95) 70%, transparent);
}

.search-field {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}

.search-field__icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-faint);
    pointer-events: none;
}

.search-input {
    width: 100%;
    min-height: 50px;
    padding: 12px 16px 12px 46px;
    border-radius: var(--r-pill);
    background: var(--glass);
    border: 1px solid var(--line);
    color: var(--text);
    font-size: 1rem;
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.search-input::placeholder { color: var(--text-faint); }
.search-input:focus {
    outline: none;
    border-color: var(--line-warm);
    box-shadow: var(--glow-gold);
}

.search-meta {
    font-size: 0.8rem;
    color: var(--text-faint);
    margin: 4px 0 16px;
    letter-spacing: 0.04em;
}

.search-results { display: grid; gap: 10px; }

.search-hint {
    text-align: center;
    padding: 40px 12px;
    color: var(--text-faint);
}

/* ---------- 07 Mobil menü (drawer) -------------------------- */
.drawer {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: none;
}
.drawer.is-open { display: block; }

.drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 7, 6, 0.62);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    animation: fadeIn 200ms var(--ease);
}

.drawer__panel {
    position: absolute;
    inset-block: 0;
    right: 0;
    width: min(320px, 86vw);
    padding: 20px var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px));
    background: rgba(24, 21, 17, 0.92);
    border-left: 1px solid var(--line);
    -webkit-backdrop-filter: blur(26px) saturate(140%);
    backdrop-filter: blur(26px) saturate(140%);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    animation: slideInRight 300ms var(--ease);
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.drawer__title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--cream);
    margin: 0;
}

.drawer__nav { display: grid; gap: 4px; }

.drawer__link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: var(--tap);
    padding: 11px 14px;
    border-radius: var(--r-sm);
    color: var(--text-muted);
    font-weight: 500;
    transition: background var(--t-fast), color var(--t-fast);
}
.drawer__link:hover,
.drawer__link.is-active {
    background: var(--glass);
    color: var(--cream);
}
.drawer__link.is-active { box-shadow: inset 3px 0 0 var(--gold); }

.drawer__contact {
    display: grid;
    gap: 8px;
    padding-top: 18px;
    border-top: 1px solid var(--line-soft);
    font-size: 0.88rem;
    color: var(--text-muted);
}
.drawer__contact a { display: flex; align-items: center; gap: 10px; min-height: 40px; }
.drawer__contact a:hover { color: var(--gold); }

/* ---------- 09 Kategori şeridi ------------------------------ */
.category-bar {
    position: sticky;
    top: var(--header-h);
    z-index: 50;
    padding-block: 12px;
    background: rgba(14, 13, 11, 0.78);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    backdrop-filter: blur(18px) saturate(130%);
    border-bottom: 1px solid var(--line-soft);
}

.category-scroll {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Konteyner kenarlarında nefes payı */
    padding: 2px var(--gutter) 6px;
    margin-inline: calc(var(--gutter) * -1);
    scroll-padding-inline: var(--gutter);
}
.category-scroll::-webkit-scrollbar { display: none; }

.category-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
    min-height: var(--tap);
    padding: 9px 17px;
    border-radius: var(--r-pill);
    background: var(--glass-soft);
    border: 1px solid var(--line-soft);
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    scroll-snap-align: start;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: background var(--t), color var(--t), border-color var(--t), box-shadow var(--t);
}

.category-chip:hover {
    color: var(--cream);
    border-color: var(--line-warm);
    background: var(--glass);
}

/* Aktif kategori — yumuşak altın ışık efekti */
.category-chip.is-active {
    background: linear-gradient(135deg, rgba(215, 178, 122, 0.94), rgba(220, 168, 103, 0.88));
    border-color: rgba(244, 235, 221, 0.5);
    color: #1A1409;
    font-weight: 600;
    box-shadow: 0 8px 26px rgba(215, 178, 122, 0.28), 0 0 0 1px rgba(244, 235, 221, 0.18);
}

.category-chip__icon { width: 18px; height: 18px; flex: 0 0 auto; }

.category-chip__count {
    font-size: 0.72rem;
    padding: 1px 7px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.10);
    color: inherit;
}
.category-chip.is-active .category-chip__count { background: rgba(26, 20, 9, 0.16); }

/* ---------- 10 Ürün ızgarası ve kartlar --------------------- */
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: stretch;
}

.product-card {
    display: grid;
    grid-template-columns: 108px 1fr;
    gap: 0;
    width: 100%;
    min-width: 0;
    text-align: left;
    border-radius: var(--r-lg);
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
    border: 1px solid var(--line);
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--t), border-color var(--t), box-shadow var(--t);
    -webkit-tap-highlight-color: transparent;
}

.product-card:hover,
.product-card:focus-visible {
    border-color: var(--line-warm);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.product-card[hidden] { display: none !important; }

.product-card__media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--bg-alt);
}

.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Görsel oranı korunur, kart bozulmaz */
    transition: transform 480ms var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.045); }

.product-card__placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(90% 80% at 50% 12%, rgba(156, 101, 58, 0.30), transparent 72%),
        var(--bg-alt);
}
.product-card__placeholder svg { width: 44%; height: auto; color: var(--beige); opacity: 0.5; }

.product-card__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 9px;
    border-radius: var(--r-pill);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    background: rgba(20, 17, 14, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--cream);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    max-width: calc(100% - 16px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-card__badge--populer { background: linear-gradient(135deg, var(--beige), var(--gold)); color: #1A1409; border-color: transparent; }
.product-card__badge--yeni    { background: linear-gradient(135deg, #4E7C59, #6FA97C); color: #0C140E; border-color: transparent; }
.product-card__badge--sef     { background: linear-gradient(135deg, var(--toast), #C08048); color: #FFF4E8; border-color: transparent; }
.product-card__badge--acili   { background: linear-gradient(135deg, #A33A2A, #D2563D); color: #FFF1EC; border-color: transparent; }
.product-card__badge--vegan   { background: linear-gradient(135deg, #3F7A4E, #6BB57D); color: #0B140D; border-color: transparent; }
.product-card__badge--glutensiz { background: linear-gradient(135deg, #6C5B8F, #9A85C2); color: #150F1F; border-color: transparent; }

.product-card__body {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 13px 14px;
    min-width: 0; /* Uzun metinlerin ızgarayı genişletmesini engeller */
}

.product-card__name {
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--cream);
    margin: 0;
    /* İsim kart dışına taşmaz, en fazla 2 satır */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.product-card__desc {
    font-size: 0.815rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.product-card__foot {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 6px;
}

.product-card__price {
    font-size: 1.045rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.01em;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.product-card__old-price {
    font-size: 0.78rem;
    color: var(--text-faint);
    text-decoration: line-through;
    white-space: nowrap;
}

.product-card__more {
    margin-left: auto;
    font-size: 0.72rem;
    color: var(--text-faint);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.product-card__more .icon { width: 13px; height: 13px; }
.eyebrow .icon { width: 14px; height: 14px; vertical-align: -2px; }

/* Öne çıkan (popüler) kart — monotonluğu kıran ikinci bir stil */
.product-card--featured {
    background: linear-gradient(150deg, rgba(215, 178, 122, 0.14), rgba(156, 101, 58, 0.07) 55%, rgba(255, 255, 255, 0.03));
    border-color: rgba(215, 178, 122, 0.24);
}

/* Arama sonucu satırı */
.search-result {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: var(--r-sm);
    background: var(--glass-soft);
    border: 1px solid var(--line-soft);
    text-align: left;
    width: 100%;
    min-height: var(--tap);
    cursor: pointer;
    transition: background var(--t-fast), border-color var(--t-fast);
}
.search-result:hover { background: var(--glass); border-color: var(--line-warm); }

.search-result__media {
    width: 64px;
    height: 64px;
    border-radius: var(--r-xs);
    overflow: hidden;
    background: var(--bg-alt);
    flex: 0 0 auto;
}
.search-result__media img { width: 100%; height: 100%; object-fit: cover; }

.search-result__body { min-width: 0; }
.search-result__name {
    font-weight: 600;
    color: var(--cream);
    font-size: 0.92rem;
    margin: 0 0 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.search-result__cat { font-size: 0.74rem; color: var(--text-faint); }
.search-result__price {
    font-weight: 700;
    color: var(--gold);
    font-size: 0.9rem;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* ---------- 11 Ürün detay modalı ---------------------------- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 130;
    display: none;
}
.modal.is-open { display: block; }

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 7, 6, 0.72);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    animation: fadeIn 200ms var(--ease);
}

/* Mobilde bottom-sheet */
.modal__sheet {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    max-height: 92vh;
    max-height: 92dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    background: linear-gradient(180deg, rgba(30, 26, 21, 0.97), rgba(18, 16, 13, 0.98));
    border: 1px solid var(--line);
    border-bottom: 0;
    -webkit-backdrop-filter: blur(26px) saturate(140%);
    backdrop-filter: blur(26px) saturate(140%);
    box-shadow: var(--shadow-lg);
    animation: slideUp 320ms var(--ease);
    padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px));
}

.modal__grab {
    width: 42px;
    height: 4px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.22);
    margin: 10px auto 4px;
}

.modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: var(--tap);
    height: var(--tap);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(14, 13, 11, 0.62);
    border: 1px solid var(--line);
    color: var(--cream);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: background var(--t-fast), transform var(--t-fast);
}
.modal__close:hover { background: rgba(14, 13, 11, 0.86); transform: rotate(90deg); }

.modal__media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-alt);
}
.modal__media img { width: 100%; height: 100%; object-fit: cover; }
.modal__media::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 46%;
    background: linear-gradient(180deg, transparent, rgba(18, 16, 13, 0.92));
    pointer-events: none;
}

.modal__thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px var(--gutter) 0;
    scrollbar-width: none;
}
.modal__thumbs::-webkit-scrollbar { display: none; }
.modal__thumb {
    flex: 0 0 auto;
    width: 62px;
    height: 62px;
    border-radius: var(--r-xs);
    overflow: hidden;
    border: 1px solid var(--line);
    opacity: 0.65;
    transition: opacity var(--t-fast), border-color var(--t-fast);
    padding: 0;
}
.modal__thumb img { width: 100%; height: 100%; object-fit: cover; }
.modal__thumb.is-active,
.modal__thumb:hover { opacity: 1; border-color: var(--gold); }

.modal__body { padding: 16px var(--gutter) 4px; }

.modal__eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--beige);
    margin-bottom: 6px;
}

.modal__title {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 5.4vw, 1.85rem);
    color: var(--cream);
    margin: 0 0 10px;
    overflow-wrap: anywhere;
}

.modal__price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 15px;
    margin: 14px 0 18px;
    border-radius: var(--r-md);
    background: linear-gradient(135deg, rgba(215, 178, 122, 0.15), rgba(156, 101, 58, 0.08));
    border: 1px solid rgba(215, 178, 122, 0.24);
}

.modal__price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    font-variant-numeric: tabular-nums;
}
.modal__old-price {
    font-size: 0.92rem;
    color: var(--text-faint);
    text-decoration: line-through;
}

.modal__section { margin-bottom: 16px; }
.modal__section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--beige);
    margin: 0 0 7px;
}
.modal__section p {
    font-size: 0.9rem;
    line-height: 1.72;
    color: var(--text-muted);
    margin: 0;
    white-space: pre-line;
}

.modal__allergens {
    padding: 11px 14px;
    border-radius: var(--r-sm);
    background: rgba(163, 58, 42, 0.10);
    border: 1px solid rgba(210, 86, 61, 0.24);
}
.modal__allergens p { color: rgba(255, 226, 214, 0.86); }

.modal__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.modal__tag {
    padding: 4px 11px;
    border-radius: var(--r-pill);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    background: var(--glass);
    border: 1px solid var(--line);
    color: var(--cream);
}

/* ---------- 12 Bölüm başlıkları / boş durum ----------------- */
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: clamp(18px, 4vw, 28px);
}
.section-head__text { min-width: 0; }
.section-head h2 { margin-bottom: 4px; }
.section-head p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

.empty-state {
    display: grid;
    place-items: center;
    gap: 12px;
    padding: clamp(38px, 10vw, 72px) 20px;
    text-align: center;
    border-radius: var(--r-lg);
    background: var(--glass-soft);
    border: 1px dashed var(--line);
}
.empty-state__icon { width: 46px; height: 46px; color: var(--beige); opacity: 0.55; }
.empty-state h3 { font-size: 1.08rem; color: var(--cream); margin: 0; }
.empty-state p { color: var(--text-muted); font-size: 0.9rem; margin: 0; max-width: 42ch; }

/* ---------- 13 İletişim ------------------------------------- */
.contact-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: var(--r-lg);
    background: var(--glass);
    border: 1px solid var(--line);
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
    box-shadow: var(--shadow-sm);
    min-height: var(--tap);
    transition: border-color var(--t), transform var(--t), box-shadow var(--t);
    min-width: 0;
}
a.contact-card:hover {
    border-color: var(--line-warm);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-card__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    border-radius: var(--r-sm);
    background: linear-gradient(135deg, rgba(215, 178, 122, 0.20), rgba(156, 101, 58, 0.14));
    border: 1px solid rgba(215, 178, 122, 0.22);
    color: var(--gold);
}
.contact-card__icon svg { width: 21px; height: 21px; }

.contact-card__body { min-width: 0; flex: 1 1 auto; }
.contact-card__label {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 3px;
}
.contact-card__value {
    font-size: 0.96rem;
    font-weight: 500;
    color: var(--cream);
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.map-frame {
    width: 100%;
    aspect-ratio: 16 / 11;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--bg-alt);
    box-shadow: var(--shadow-md);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(0.85) contrast(1.05); }

.hours-list { display: grid; gap: 2px; }
.hours-list li {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 0.9rem;
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list span:first-child { color: var(--text-muted); }
.hours-list span:last-child { color: var(--cream); font-variant-numeric: tabular-nums; white-space: nowrap; }

.social-row { display: flex; flex-wrap: wrap; gap: 10px; }
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: var(--tap);
    padding: 10px 18px;
    border-radius: var(--r-pill);
    background: var(--glass);
    border: 1px solid var(--line);
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 500;
    transition: border-color var(--t), background var(--t), color var(--t);
}
.social-link:hover { border-color: var(--line-warm); background: var(--glass-strong); color: var(--gold); }
.social-link svg { width: 18px; height: 18px; }

/* ---------- 14 Hakkımızda ----------------------------------- */
.about-panel {
    padding: clamp(22px, 5vw, 40px);
    border-radius: var(--r-xl);
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
    border: 1px solid var(--line);
    -webkit-backdrop-filter: var(--blur);
    backdrop-filter: var(--blur);
    box-shadow: var(--shadow-md);
}
.about-panel p { color: var(--text-muted); line-height: 1.85; white-space: pre-line; }

.about-marks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 26px;
}
.about-mark {
    text-align: center;
    padding: 16px 8px;
    border-radius: var(--r-md);
    background: var(--glass-soft);
    border: 1px solid var(--line-soft);
}
.about-mark svg { width: 26px; height: 26px; color: var(--gold); margin: 0 auto 8px; }
.about-mark span {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ---------- 15 Footer --------------------------------------- */
.site-footer {
    margin-top: clamp(40px, 8vw, 80px);
    padding-top: clamp(34px, 6vw, 56px);
    background: linear-gradient(180deg, transparent, rgba(24, 21, 17, 0.72));
    border-top: 1px solid var(--line-soft);
}

.footer-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr;
    padding-bottom: 30px;
}

.footer-brand__logo {
    height: 46px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    margin-bottom: 12px;
    border-radius: 8px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    max-width: 42ch;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--beige);
    margin: 0 0 14px;
}

.footer-links { display: grid; gap: 2px; }
.footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    color: var(--text-muted);
    font-size: 0.89rem;
}
.footer-links a:hover { color: var(--gold); }

.footer-contact { display: grid; gap: 2px; font-size: 0.89rem; color: var(--text-muted); }
.footer-contact a { display: inline-flex; align-items: center; gap: 9px; min-height: 38px; }
.footer-contact a:hover { color: var(--gold); }
.footer-contact svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--beige); }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 18px 0 26px;
    border-top: 1px solid var(--line-soft);
    font-size: 0.78rem;
    color: var(--text-faint);
}
.footer-bottom a:hover { color: var(--beige); }

/* ---------- 16 Alt navigasyon ------------------------------- */
.bottom-nav {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
    background: rgba(18, 16, 13, 0.82);
    border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
    backdrop-filter: blur(22px) saturate(150%);
    box-shadow: 0 -10px 34px rgba(0, 0, 0, 0.34);
}

.bottom-nav__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 56px;
    padding: 6px 4px;
    border-radius: var(--r-sm);
    color: var(--text-faint);
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: color var(--t-fast), background var(--t-fast);
    -webkit-tap-highlight-color: transparent;
}
.bottom-nav__item svg { width: 21px; height: 21px; }
.bottom-nav__item:hover { color: var(--text-muted); }

.bottom-nav__item.is-active {
    color: var(--gold);
    background: radial-gradient(72% 78% at 50% 108%, rgba(220, 168, 103, 0.24), transparent 70%);
}
.bottom-nav__item.is-active::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 3px;
    border-radius: var(--r-pill);
    background: linear-gradient(90deg, var(--beige), var(--gold));
    box-shadow: 0 0 12px rgba(220, 168, 103, 0.65);
}

/* ---------- Animasyonlar ------------------------------------ */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes slideInRight { from { transform: translateX(100%); } to { transform: translateX(0); } }

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 560ms var(--ease), transform 560ms var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Sayfa kaydırması kilitliyken (modal / drawer açık) */
body.is-locked { overflow: hidden; }

/* ============================================================
   17 Duyarlı kırılımlar
   Temel stiller 320 px içindir; buradan yukarı doğru genişletilir.
   ============================================================ */

/* 360 px ve üzeri — biraz daha nefes payı */
@media (min-width: 360px) {
    :root { --gutter: 20px; }
    .product-card { grid-template-columns: 118px 1fr; }
}

/* 430 px ve üzeri — büyük telefonlar */
@media (min-width: 430px) {
    .product-card { grid-template-columns: 132px 1fr; }
    .product-card__name { font-size: 1.08rem; }
    .hero__gallery { gap: 12px; }
}

/* 560 px — kartlar dikey ızgaraya geçer */
@media (min-width: 560px) {
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

    .product-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }
    .product-card__media { aspect-ratio: 4 / 3; }
    .product-card__body { padding: 15px 16px 17px; gap: 6px; }
    .product-card__badge { top: 10px; left: 10px; font-size: 0.64rem; padding: 4px 10px; }
}

/* 768 px — tablet */
@media (min-width: 768px) {
    :root { --gutter: 26px; --header-h: 70px; }

    body { font-size: 15.5px; }

    .hero__inner { grid-template-columns: 1.05fr 0.95fr; gap: 40px; text-align: left; }
    .hero__content { text-align: left; }
    .hero__logo { margin-inline: 0; }
    .hero__subtitle { margin-inline: 0; }
    .hero__actions { justify-content: flex-start; }
    .hero__gallery { max-width: none; }

    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

    .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }

    .search-panel { padding-inline: 0; }
    .search-panel__inner { max-width: 760px; margin-inline: auto; padding-inline: var(--gutter); }
}

/* 1024 px — masaüstü: üst menü açılır, alt navigasyon gizlenir */
@media (min-width: 1024px) {
    body { padding-bottom: 0; }

    .bottom-nav { display: none; }

    .header-nav {
        display: flex;
        align-items: center;
        gap: 4px;
        margin-inline: auto;
    }

    .header-nav__link {
        position: relative;
        display: inline-flex;
        align-items: center;
        min-height: 42px;
        padding: 8px 16px;
        border-radius: var(--r-pill);
        color: var(--text-muted);
        font-size: 0.9rem;
        font-weight: 500;
        transition: color var(--t-fast), background var(--t-fast);
    }
    .header-nav__link:hover { color: var(--cream); background: var(--glass-soft); }
    .header-nav__link.is-active {
        color: var(--cream);
        background: var(--glass);
        box-shadow: inset 0 0 0 1px var(--line-warm), 0 6px 20px rgba(215, 178, 122, 0.12);
    }

    .brand { margin-right: 0; }
    .brand__name { max-width: none; font-size: 1.02rem; }

    /* Menü (drawer) butonu masaüstünde gereksiz */
    .js-drawer-open { display: none; }

    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

    .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.1fr; }

    /* Modal masaüstünde ortalanmış diyalog olur */
    .modal__sheet {
        position: absolute;
        top: 50%;
        left: 50%;
        bottom: auto;
        inset-inline: auto;
        transform: translate(-50%, -50%);
        width: min(880px, 92vw);
        max-height: 88vh;
        border-radius: var(--r-xl);
        border-bottom: 1px solid var(--line);
        animation: modalIn 300ms var(--ease);
        padding-bottom: 22px;
    }
    .modal__grab { display: none; }
    .modal__media { aspect-ratio: 21 / 9; }
    .modal__body { padding-inline: 30px; }
    .modal__thumbs { padding-inline: 30px; }

    @keyframes modalIn {
        from { opacity: 0; transform: translate(-50%, -46%) scale(0.97); }
        to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    }
}

/* 1366 px */
@media (min-width: 1366px) {
    .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .hero__inner { gap: 56px; }
}

/* 1920 px — çok geniş ekranlarda satır uzunluğunu koru */
@media (min-width: 1600px) {
    :root { --container: 1360px; }
}

/* ---------- 18 Hareket tercihleri / yazdırma ---------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* backdrop-filter desteklenmeyen tarayıcılarda okunabilirliği koru */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .glass,
    .product-card,
    .category-chip,
    .contact-card,
    .site-header,
    .bottom-nav,
    .modal__sheet,
    .drawer__panel { background: rgba(28, 24, 20, 0.96); }
    .search-panel { background: rgba(10, 9, 7, 0.98); }
}

@media print {
    .site-header, .bottom-nav, .search-panel, .drawer, .modal, .hero__glow { display: none !important; }
    body { background: #fff; color: #111; padding: 0; }
    body::before { display: none; }
    .product-card { break-inside: avoid; border: 1px solid #ddd; background: #fff; color: #111; }
}
