/* ============================================================
   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;
}

/* Mobil düzen: solda menü · ortada marka · sağda arama */
.header-menu-btn { flex: 0 0 auto; order: 1; }

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    order: 2;
    /* İki buton arasında ortalanır */
    margin-inline: auto;
}

.header-nav { order: 3; }
.header-actions { order: 4; }

.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;
}

/* Marka metni dar ekranda taşmasın */
.brand__text { min-width: 0; text-align: center; }

/* ---------- 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); }

/* ---------- 08 Hero ----------------------------------------- */
/*  Fotoğraf zeminli, ortalanmış logolu premium kompozisyon.
    Dekoratif tost / bowl / shake görselleri kenarlardan taşar.
    Görsel yüklenmemişse dekoratif alan hiç render edilmez.          */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    align-items: center;
    margin-top: calc(var(--header-h) * -1);
    padding-block: calc(var(--header-h) + clamp(24px, 7vw, 48px)) clamp(78px, 17vw, 128px);
    min-height: clamp(480px, 82vh, 740px);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    background: linear-gradient(170deg, #1A1511 0%, #0E0D0B 55%, #080706 100%);
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }

.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(76% 50% at 50% 32%, rgba(156, 101, 58, 0.34), transparent 68%),
        radial-gradient(124% 80% at 50% 50%, transparent 24%, rgba(8, 7, 6, 0.84) 88%),
        linear-gradient(180deg, rgba(8, 7, 6, 0.62) 0%, rgba(8, 7, 6, 0.16) 34%, rgba(8, 7, 6, 0.94) 100%);
}

/* Çok düşük opaklıkta doku */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.045;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

/* Kenarlardan taşan dekoratif ürün görselleri */
.hero__decor {
    position: absolute;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
    border-radius: 28px;
    opacity: 0.92;
    -webkit-mask-image: radial-gradient(76% 76% at 50% 50%, #000 40%, transparent 82%);
    mask-image: radial-gradient(76% 76% at 50% 50%, #000 40%, transparent 82%);
}
.hero__decor img { width: 100%; height: 100%; object-fit: cover; }

.hero__decor--left {
    left: clamp(-76px, -14vw, -42px);
    bottom: clamp(84px, 21vw, 148px);
    width: clamp(150px, 43vw, 264px);
    aspect-ratio: 5 / 4;
}
.hero__decor--right-top {
    right: clamp(-66px, -12vw, -34px);
    top: clamp(64px, 15vw, 128px);
    width: clamp(138px, 38vw, 238px);
    aspect-ratio: 3 / 4;
}
.hero__decor--right-bottom {
    right: clamp(-58px, -10vw, -28px);
    bottom: clamp(48px, 11vw, 92px);
    width: clamp(142px, 40vw, 248px);
    aspect-ratio: 4 / 3;
}

.hero__inner {
    position: relative;
    display: grid;
    justify-items: center;
    text-align: center;
}

.hero__content { max-width: 34rem; }

.hero__logo {
    width: clamp(212px, 62vw, 336px);
    height: auto;
    margin: 0 auto clamp(14px, 3vw, 20px);
    /* Logo çevresine aşırı gölge eklenmez */
    filter: drop-shadow(0 14px 34px rgba(0, 0, 0, 0.45));
}

/* Açık zeminli (şeffaf olmayan) logolarda arka planı bozmadan çerçevele */
.hero__logo--framed {
    border-radius: var(--r-lg);
    filter: none;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.40);
}

.hero__title {
    font-size: clamp(1.7rem, 6.6vw, 3.1rem);
    letter-spacing: 0.02em;
    margin-bottom: 12px;
    background: linear-gradient(120deg, var(--cream) 14%, var(--gold) 54%, var(--beige) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* Logo görseli mekân adını zaten taşıyorsa başlık ekranda tekrar edilmez,
   yalnızca ekran okuyucular ve SEO için belgede kalır. */
.hero__title--sr {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.hero__subtitle {
    max-width: 26ch;
    margin: 0 auto clamp(22px, 5vw, 30px);
    color: rgba(248, 245, 239, 0.88);
    font-size: clamp(1rem, 4.1vw, 1.14rem);
    line-height: 1.6;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* Ana buton — yumuşak altın ışık halkası */
.hero__actions .btn--primary {
    padding: 14px 32px;
    font-size: 0.96rem;
    background: linear-gradient(135deg, rgba(244, 235, 221, 0.13), rgba(220, 168, 103, 0.20));
    border: 1px solid rgba(220, 168, 103, 0.70);
    color: var(--cream);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow:
        0 0 0 1px rgba(220, 168, 103, 0.16),
        0 0 26px rgba(220, 168, 103, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.hero__actions .btn--primary:hover {
    color: var(--cream);
    border-color: var(--gold);
    box-shadow:
        0 0 0 1px rgba(220, 168, 103, 0.30),
        0 0 38px rgba(220, 168, 103, 0.44),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* İçerik paneli — hero'nun altına binen büyük cam yüzey */
.panel {
    position: relative;
    z-index: 2;
    margin-top: clamp(-88px, -15vw, -58px);
    padding-top: clamp(12px, 3vw, 20px);
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    background: linear-gradient(180deg, rgba(32, 27, 22, 0.78), rgba(18, 16, 13, 0.92) 26%, rgba(14, 13, 11, 0.97));
    border: 1px solid var(--line);
    border-bottom: 0;
    -webkit-backdrop-filter: blur(22px) saturate(130%);
    backdrop-filter: blur(22px) saturate(130%);
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.42);
}

.panel__grab {
    width: 44px;
    height: 4px;
    margin: 0 auto 6px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.16);
}

/* Şeffaf header — yalnızca anasayfada, hero üzerinde */
.site-header--overlay {
    background: transparent;
    border-bottom-color: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
/* Anasayfada logo hero'da olduğu için başlıkta marka gösterilmez:
   yalnızca menü (sol) ve arama (sağ) butonları kalır. */
.site-header--overlay .brand { display: none; }
/* Marka gizliyken aramayı sağa yasla */
.site-header--overlay .header-actions { margin-left: auto; }
.site-header--overlay .icon-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(20, 17, 14, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.16);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

/* Sayfa kaydırılınca normal başlığa döner */
.site-header--overlay.is-scrolled {
    background: rgba(14, 13, 11, 0.92);
    border-bottom-color: var(--line);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    backdrop-filter: blur(20px) saturate(140%);
}
.site-header--overlay.is-scrolled .brand { display: flex; }
.site-header--overlay.is-scrolled .header-actions { margin-left: 0; }
.site-header--overlay.is-scrolled .icon-btn {
    background: var(--glass-soft);
    border-color: var(--line-soft);
    border-radius: var(--r-sm);
    width: var(--tap);
    height: var(--tap);
}

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

/* Panel içindeyken üst köşeleri panelin yuvarlağını takip eder */
.panel > .category-bar {
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.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; }

/* İkon üstte, etiket altta — dikey sekme görünümü */
.category-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 0 0 auto;
    min-width: 76px;
    min-height: 78px;
    padding: 11px 12px 10px;
    border-radius: var(--r-md);
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    scroll-snap-align: start;
    transition: background var(--t), color var(--t), border-color var(--t), box-shadow var(--t);
    -webkit-tap-highlight-color: transparent;
}

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

/* Aktif kategori — altın çerçeve + yumuşak ışık */
.category-chip.is-active {
    color: var(--gold);
    background: linear-gradient(160deg, rgba(220, 168, 103, 0.16), rgba(156, 101, 58, 0.07));
    border-color: rgba(220, 168, 103, 0.46);
    font-weight: 600;
    box-shadow: 0 0 18px rgba(220, 168, 103, 0.18), inset 0 0 22px rgba(220, 168, 103, 0.06);
}

.category-chip__icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
}
.category-chip__icon svg { width: 28px; height: 28px; stroke-width: 1.4; }
.category-chip__icon img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }

.category-chip__label {
    display: block;
    max-width: 84px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Aktif sekmenin altındaki altın çizgi */
.category-chip.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    transform: translateX(-50%);
    width: 46px;
    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.6);
}
.category-chip { position: relative; }

/* Metin bağlantısı görünümlü buton (Tümünü Gör) */
.btn--link {
    padding: 8px 4px;
    background: none;
    border: 0;
    color: var(--text-muted);
    font-weight: 500;
    box-shadow: none;
}
.btn--link:hover { color: var(--gold); background: none; }
.btn--link .icon { width: 16px; height: 16px; }

/* ---------- 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); }

/* Aktif sekme — altın çerçeveli yumuşak kutu */
.bottom-nav__item.is-active {
    color: var(--gold);
    background: linear-gradient(160deg, rgba(220, 168, 103, 0.18), rgba(156, 101, 58, 0.08));
    box-shadow: inset 0 0 0 1px rgba(220, 168, 103, 0.34), 0 0 16px rgba(220, 168, 103, 0.14);
    font-weight: 600;
}
.bottom-nav__item.is-active::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    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);
    }

    /* Masaüstü: marka solda, menü ortada, arama sağda */
    .brand { margin-inline: 0; order: 1; }
    .brand__text { text-align: left; }
    .brand__name { max-width: none; font-size: 1.02rem; }

    /* Anasayfada da masaüstünde marka görünür */
    .site-header--overlay .brand { display: flex; }

    /* 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;
        inset: 50% auto auto 50%;
        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); }
    }
}

/* 2026 ana sayfa yenilemesi: referans mobil kompozisyon */
.panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    border-radius: inherit;
    background:
        radial-gradient(75% 28% at 18% 0%, rgba(229, 180, 116, .10), transparent 72%),
        linear-gradient(115deg, rgba(255,255,255,.045), transparent 34%);
}

.category-chip__icon {
    color: currentColor;
    filter: drop-shadow(0 0 9px rgba(229, 180, 116, .12));
}

.category-chip.is-active .category-chip__icon {
    filter: drop-shadow(0 0 9px rgba(229, 180, 116, .52));
}

.product-card {
    box-shadow: 0 14px 36px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.045);
}

@media (max-width: 767px) {
    :root { --header-h: 130px; }

    .site-header,
    .hero {
        width: 100vw;
        max-width: none;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .site-header {
        height: 130px;
        min-height: 130px;
        max-height: 130px;
    }

    .header-inner {
        position: relative;
        height: 130px;
        min-height: 130px;
        padding-block: 0;
    }

    .brand,
    .site-header--overlay .brand {
        position: absolute;
        display: flex;
        left: 50%;
        top: 50%;
        z-index: 1;
        margin: 0;
        transform: translate(-50%, -50%);
        align-items: center;
        justify-content: center;
    }

    .brand__logo {
        width: auto;
        height: 104px;
        max-width: 150px;
        object-fit: contain;
        border-radius: 0;
        filter: drop-shadow(0 8px 18px rgba(0,0,0,.55)) drop-shadow(0 0 12px rgba(222,174,111,.13));
    }

    .brand__text { display: none; }

    .header-menu-btn,
    .header-actions {
        position: relative;
        z-index: 2;
    }

    .site-header--overlay .header-menu-btn,
    .site-header--overlay .header-actions {
        transform: translateY(10px);
    }

    .site-header--overlay.is-scrolled .brand { display: flex; }
    .site-header--overlay.is-scrolled .header-actions { margin-left: auto; }

    .hero {
        min-height: min(790px, 92svh);
        margin-top: calc(var(--header-h) * -1);
        padding-top: calc(var(--header-h) + 34px);
        padding-bottom: 158px;
        align-items: start;
    }

    .hero__bg img {
        opacity: .96;
        object-position: center bottom;
    }

    .hero__bg::after {
        background:
            radial-gradient(75% 42% at 50% 25%, rgba(139, 92, 52, .18), transparent 70%),
            linear-gradient(180deg, rgba(7, 6, 5, .18) 0%, rgba(7, 6, 5, .08) 42%, rgba(7, 6, 5, .76) 84%, #090806 100%);
    }

    .hero__content { max-width: 22rem; }

    .hero__logo {
        width: min(78vw, 330px);
        max-height: 360px;
        object-fit: contain;
        margin-top: -4px;
        margin-bottom: 10px;
        filter: drop-shadow(0 12px 34px rgba(0,0,0,.62));
    }

    .hero__subtitle {
        max-width: 24ch;
        font-size: 1rem;
        line-height: 1.55;
        margin-bottom: 24px;
    }

    .hero__actions .btn--primary {
        min-width: 200px;
        min-height: 54px;
        border-radius: 999px;
        color: #fff8ee;
        background: linear-gradient(135deg, rgba(191, 128, 66, .78), rgba(238, 188, 119, .82));
        box-shadow: 0 0 28px rgba(224, 165, 96, .38), inset 0 1px 0 rgba(255,255,255,.32);
    }

    .hero__actions .btn--ghost { display: none; }

    .site-header--overlay .icon-btn {
        width: 52px;
        height: 52px;
        background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.035));
        border-color: rgba(255,255,255,.2);
        box-shadow: 0 12px 28px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.12);
    }

    .panel {
        margin-top: -116px;
        margin-inline: 12px;
        padding-top: 14px;
        border-radius: 34px 34px 0 0;
        background: linear-gradient(165deg, rgba(46, 39, 31, .82), rgba(19, 17, 14, .95) 25%, rgba(11, 10, 9, .985));
        box-shadow: 0 -20px 58px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.08);
    }

    .panel__grab { display: none; }

    .panel > .category-bar {
        position: relative;
        top: auto;
        padding-top: 0;
        border-radius: 28px 28px 0 0;
    }

    .category-scroll {
        gap: 4px;
        padding: 8px 14px 14px;
        margin-inline: 0;
        width: 100%;
        touch-action: pan-x;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x mandatory;
    }

    .category-scroll::after {
        content: "";
        flex: 0 0 18px;
    }

    .category-chip { scroll-snap-align: start; }

    .category-chip {
        min-width: 76px;
        min-height: 86px;
        padding: 10px 8px;
        border-radius: 20px;
    }

    .category-chip.is-active {
        background: linear-gradient(145deg, rgba(218, 168, 104, .34), rgba(120, 81, 45, .19));
        box-shadow: 0 10px 24px rgba(0,0,0,.2), inset 0 0 20px rgba(229,178,112,.1);
    }

    .section { padding-block: 30px; }
    .section--tight { padding-block: 24px; }
    .section-head { margin-bottom: 18px; }
    .section-head .eyebrow { display: none; }

    .product-card {
        grid-template-columns: 116px minmax(0, 1fr);
        min-height: 116px;
        border-radius: 20px;
        background: linear-gradient(145deg, rgba(255,255,255,.085), rgba(255,255,255,.03));
        box-shadow: 0 12px 28px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.035);
    }

    .product-card__media { aspect-ratio: auto; min-height: 116px; }
    .product-card__body { padding: 14px 13px; }
    .product-card__name { font-family: var(--font-body); font-size: .98rem; }
    .product-card__desc { font-size: .78rem; }
    .product-card__more { display: none; }

    .bottom-nav {
        inset-inline: 18px;
        bottom: max(8px, env(safe-area-inset-bottom, 0px));
        height: 72px;
        min-height: 72px;
        max-height: 72px;
        padding: 6px 10px;
        border: 1px solid rgba(255,255,255,.13);
        border-radius: 30px;
        background: linear-gradient(145deg, rgba(43,37,31,.9), rgba(20,18,15,.94));
        box-shadow: 0 18px 52px rgba(0,0,0,.52), inset 0 1px 0 rgba(255,255,255,.08);
        align-items: stretch;
        overflow: hidden;
        contain: size layout paint;
    }

    .bottom-nav__item {
        height: 58px;
        min-height: 0;
        max-height: 58px;
        padding: 4px;
        border-radius: 20px;
        font-size: .7rem;
        line-height: 1.1;
    }

    body { padding-bottom: 104px; }

    .bottom-nav__item.is-active {
        background: linear-gradient(145deg, rgba(220,170,108,.32), rgba(139,95,52,.2));
        box-shadow: inset 0 0 0 1px rgba(229,181,117,.28), 0 0 22px rgba(220,168,103,.15);
    }
}

/* 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; }
}

/* ============================================================
   Kendin Oluştur + eve sipariş
   ============================================================ */
.builder-page [hidden] { display: none !important; }
.builder-page { padding-bottom: 84px; }

.builder-hero h1 { margin-bottom: 8px; }
.builder-hero .eyebrow .icon { width: 15px; height: 15px; vertical-align: -3px; margin-right: 4px; }
.builder-hero .lead { max-width: 56ch; margin-bottom: 14px; }
.builder-hero__price {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 12px;
    padding: 10px 18px;
    border-radius: var(--r-pill);
    background: linear-gradient(135deg, rgba(215, 178, 122, 0.16), rgba(156, 101, 58, 0.08));
    border: 1px solid var(--line-warm);
    font-size: 0.86rem;
    color: var(--text-muted);
}
.builder-hero__price strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--gold); }

.builder-alert {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: var(--r-md);
    background: rgba(163, 58, 42, 0.16);
    border: 1px solid rgba(232, 136, 110, 0.32);
    color: #FFD3C6;
    font-size: 0.9rem;
}

.builder-section { padding-top: 0; }
.builder { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.builder__main { display: grid; gap: 18px; min-width: 0; }
.builder__side { display: grid; gap: 16px; min-width: 0; }

/* Malzeme grupları */
.builder-group {
    margin: 0;
    padding: 18px;
    min-width: 0;
    border-radius: var(--r-lg);
    background: var(--glass-soft);
    border: 1px solid var(--line);
}
.builder-group__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    width: 100%;
    padding: 0;
    margin-bottom: 14px;
}
.builder-group__step {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--beige), var(--gold));
    color: #191307;
    font-size: 0.8rem;
    font-weight: 700;
}
.builder-group__title { font-family: var(--font-display); font-size: 1.15rem; color: var(--cream); }
.builder-group__hint {
    margin-left: auto;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-faint);
}

.option-grid { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }

.option { position: relative; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.option__input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.option__box {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 10px 14px;
    border-radius: var(--r-sm);
    background: var(--glass);
    border: 1px solid var(--line-soft);
    transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.option:hover .option__box { border-color: var(--line-warm); }
.option__check {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    color: transparent;
    transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.option__input[type="radio"] + .option__box .option__check { border-radius: 50%; }
.option__check .icon { width: 14px; height: 14px; stroke-width: 2.6; }
.option__text { display: grid; gap: 2px; flex: 1 1 auto; min-width: 0; }
.option__name { font-weight: 500; color: var(--text); overflow-wrap: anywhere; }
.option__note { font-size: 0.74rem; color: var(--text-faint); }
.option__price {
    flex: 0 0 auto;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--beige);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.option__input:checked + .option__box {
    background: linear-gradient(135deg, rgba(220, 168, 103, 0.18), rgba(156, 101, 58, 0.10));
    border-color: rgba(220, 168, 103, 0.55);
    box-shadow: 0 0 0 1px rgba(220, 168, 103, 0.25);
}
.option__input:checked + .option__box .option__check {
    background: var(--gold);
    border-color: var(--gold);
    color: #191307;
}
.option__input:focus-visible + .option__box { outline: 2px solid var(--gold); outline-offset: 2px; }

.builder-notes {
    display: grid;
    gap: 8px;
    padding: 0 4px;
    font-size: 0.78rem;
    line-height: 1.6;
    color: var(--text-faint);
}
.builder-notes strong { color: var(--text-muted); }

/* Özet kartları */
.builder-card {
    padding: 20px;
    border-radius: var(--r-lg);
    background: linear-gradient(180deg, rgba(30, 26, 21, 0.92), rgba(18, 16, 13, 0.94));
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
}
.builder-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.builder-card__head h2,
.checkout__side-title { font-size: 1.25rem; margin: 0; }
.checkout__side-title { margin-bottom: 12px; }
.builder-card__count { font-size: 0.8rem; color: var(--text-faint); }

.builder-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 32px;
    padding: 4px 2px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--beige);
    background: none;
    border: 0;
    cursor: pointer;
}
.builder-link:hover { color: var(--gold); text-decoration: underline; }
.builder-link--danger { color: rgba(255, 199, 183, 0.8); }

.summary-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 7px; font-size: 0.88rem; }
.summary-list li { display: flex; justify-content: space-between; gap: 12px; color: var(--text-muted); }
.summary-list li span:last-child { color: var(--text-faint); white-space: nowrap; font-variant-numeric: tabular-nums; }
.summary-list__empty { color: var(--text-faint) !important; font-style: italic; }
.summary-list__warn { color: #FFC7B7 !important; font-size: 0.8rem; }

.summary-qty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-top: 1px solid var(--line-soft);
    font-size: 0.88rem;
    color: var(--text-muted);
}

.stepper {
    display: inline-flex;
    align-items: center;
    border-radius: var(--r-pill);
    background: var(--glass);
    border: 1px solid var(--line);
}
.stepper__btn {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--cream);
    font-size: 1.1rem;
    line-height: 1;
}
.stepper__btn:hover { color: var(--gold); }
.stepper__btn .icon { width: 16px; height: 16px; }
.stepper__value { min-width: 26px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.stepper--sm .stepper__btn { width: 34px; height: 34px; }

.summary-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0 14px;
    border-top: 1px solid var(--line-soft);
    color: var(--text-muted);
    font-size: 0.9rem;
}
.summary-total strong {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gold);
    font-variant-numeric: tabular-nums;
}
.summary-list__base span:first-child { color: var(--cream); }

.cart-list { list-style: none; margin: 0 0 4px; padding: 0; display: grid; gap: 10px; }
.cart-item {
    padding: 12px 14px;
    border-radius: var(--r-sm);
    background: var(--glass-soft);
    border: 1px solid var(--line-soft);
}
.cart-item__top { display: flex; justify-content: space-between; gap: 10px; color: var(--cream); font-size: 0.92rem; }
.cart-item__top span { color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums; }
.cart-item__desc { margin: 4px 0 8px; font-size: 0.8rem; line-height: 1.5; color: var(--text-faint); }
.cart-item__actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cart-item__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px 12px; }
.cart-item.is-editing { border-color: var(--line-warm); box-shadow: 0 0 0 1px var(--line-warm); }
.cart-item__top em { font-style: normal; font-size: 0.76rem; font-weight: 500; color: var(--beige); }
.stepper__btn:disabled { opacity: 0.35; cursor: not-allowed; }
.stepper__btn:disabled:hover { color: inherit; }

.summary-editing {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: -4px 0 12px;
    padding: 8px 12px;
    border-radius: var(--r-sm);
    background: linear-gradient(135deg, rgba(215, 178, 122, 0.18), rgba(156, 101, 58, 0.06));
    border: 1px solid var(--line-warm);
    font-size: 0.84rem;
    color: var(--text);
}
.summary-editing .icon { color: var(--beige); }
.summary-editing span { flex: 1 1 auto; min-width: 0; }
.checkout__add { margin: 4px 0 6px; }

/* Teslimat formu */
.checkout { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.checkout__main {
    display: grid;
    gap: 14px;
    padding: 20px;
    border-radius: var(--r-lg);
    background: var(--glass-soft);
    border: 1px solid var(--line);
    min-width: 0;
}
.checkout__main h2 { margin-bottom: 4px; }
.form-row { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.form-field { display: grid; gap: 6px; min-width: 0; }
.form-field label,
.pay-options legend { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.02em; }
.form-field label span,
.pay-options legend span { color: var(--gold); }
.form-input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: var(--r-sm);
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid var(--line);
    color: var(--text);
    font-size: 16px; /* iOS yakınlaştırmasını engeller */
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
textarea.form-input { resize: vertical; line-height: 1.55; }
.form-input::placeholder { color: var(--text-faint); }
.form-input:focus { outline: none; border-color: rgba(220, 168, 103, 0.6); box-shadow: 0 0 0 3px rgba(220, 168, 103, 0.15); }
.form-input[aria-invalid="true"] { border-color: rgba(232, 136, 110, 0.7); }

.pay-options { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; min-width: 0; }
.pay-options legend { margin-bottom: 6px; padding: 0; }
.pay-option { position: relative; cursor: pointer; }
.pay-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pay-option__box {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 12px 14px;
    border-radius: var(--r-sm);
    background: var(--glass);
    border: 1px solid var(--line-soft);
    font-weight: 500;
}
.pay-option__dot {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}
.pay-option input:checked + .pay-option__box {
    border-color: rgba(220, 168, 103, 0.55);
    background: linear-gradient(135deg, rgba(220, 168, 103, 0.16), rgba(156, 101, 58, 0.08));
}
.pay-option input:checked + .pay-option__box .pay-option__dot { border: 6px solid var(--gold); }
.pay-option input:focus-visible + .pay-option__box { outline: 2px solid var(--gold); outline-offset: 2px; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.summary-total--grand strong { font-size: 1.7rem; }

.checkout__info { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 14px; font-size: 0.8rem; color: var(--text-faint); }
.checkout__info .icon { width: 16px; height: 16px; margin-top: 2px; color: var(--beige); }
.checkout__error {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: var(--r-xs);
    background: rgba(163, 58, 42, 0.18);
    border: 1px solid rgba(232, 136, 110, 0.36);
    color: #FFD3C6;
    font-size: 0.84rem;
}
#checkout-submit.is-loading { opacity: 0.7; cursor: progress; }

/* Başarı ekranı */
.order-success {
    max-width: 560px;
    margin-inline: auto;
    padding: 34px 22px;
    text-align: center;
    border-radius: var(--r-xl);
    background: linear-gradient(180deg, rgba(30, 26, 21, 0.92), rgba(18, 16, 13, 0.94));
    border: 1px solid var(--line-warm);
    box-shadow: var(--shadow-lg);
    outline: none;
}
.order-success__icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--beige), var(--gold));
    color: #191307;
    box-shadow: var(--glow-gold);
}
.order-success__icon .icon { width: 30px; height: 30px; stroke-width: 2.4; }
.order-success .lead { margin-inline: auto; max-width: 42ch; }
.order-success__meta { display: grid; gap: 8px; margin: 20px 0 24px; text-align: left; }
.order-success__meta div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--r-sm);
    background: var(--glass-soft);
    border: 1px solid var(--line-soft);
}
.order-success__meta dt { color: var(--text-faint); font-size: 0.84rem; }
.order-success__meta dd { margin: 0; color: var(--cream); font-weight: 600; font-variant-numeric: tabular-nums; }

/* Mobil sabit çubuk (alt navigasyonun hemen üstünde) */
.builder-bar {
    position: fixed;
    z-index: 85;
    left: 18px;
    right: 18px;
    bottom: calc(max(8px, env(safe-area-inset-bottom, 0px)) + 82px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 8px 8px 18px;
    border-radius: var(--r-pill);
    background: rgba(28, 24, 20, 0.94);
    border: 1px solid var(--line-warm);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
    animation: slideUp 260ms var(--ease);
}
.builder-bar__info { display: grid; min-width: 0; line-height: 1.2; }
.builder-bar__label { font-size: 0.72rem; color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.builder-bar__price { font-size: 1.05rem; color: var(--gold); font-variant-numeric: tabular-nums; }
.builder-bar .btn { min-height: 44px; padding: 10px 18px; white-space: nowrap; }
.builder-bar .btn:disabled,
.builder-page .btn:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; }

.builder-toast {
    position: fixed;
    z-index: 140;
    left: 50%;
    top: calc(var(--header-h) + 14px);
    transform: translate(-50%, -10px);
    max-width: calc(100vw - 36px);
    padding: 11px 18px;
    border-radius: var(--r-pill);
    background: rgba(28, 24, 20, 0.96);
    border: 1px solid var(--line-warm);
    box-shadow: var(--shadow-md);
    color: var(--cream);
    font-size: 0.88rem;
    opacity: 0;
    transition: opacity var(--t-fast), transform var(--t-fast);
}
.builder-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 560px) {
    .option-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pay-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pay-options legend { grid-column: 1 / -1; }
}

@media (min-width: 768px) {
    .builder-bar { bottom: calc(env(safe-area-inset-bottom, 0px) + 80px); left: 50%; right: auto; width: min(560px, calc(100vw - 52px)); transform: translateX(-50%); animation: none; }
    .builder-group { padding: 22px; }
}

@media (min-width: 1024px) {
    .builder-page { padding-bottom: 0; }
    .builder-bar { display: none !important; }
    .builder { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; }
    .builder__side { position: sticky; top: calc(var(--header-h) + 18px); max-height: calc(100vh - var(--header-h) - 36px); overflow-y: auto; overscroll-behavior: contain; padding-right: 2px; }
    .checkout { grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; }
    .checkout__main { padding: 28px; }
    .checkout__side { position: sticky; top: calc(var(--header-h) + 18px); }
}

@media (min-width: 1366px) {
    .option-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ============================================================
   Açık tema — krem zemin, kahverengi metin
   <html data-theme="light"> ile etkinleşir (admin → Site Ayarları).
   Koyu tema için admin panelinden seçilen renkler bu katmanda
   bilinçli olarak ezilir; açık temanın paleti sabittir.
   ============================================================ */
:root[data-theme="light"] {
    color-scheme: light;

    --bg:          #F4EBDD;
    --bg-alt:      #EADCC6;
    --cream:       #3B2416;  /* başlık rengi (koyu temada krem) */
    --beige:       #8A5A34;  /* vurgu metni */
    --toast:       #6F4325;
    --gold:        #7A4A22;  /* fiyat / vurgu */

    --text:        #4A2E1C;
    --text-muted:  rgba(74, 46, 28, 0.78);
    --text-faint:  rgba(74, 46, 28, 0.58);

    --glass:        rgba(255, 252, 246, 0.62);
    --glass-soft:   rgba(255, 252, 246, 0.42);
    --glass-strong: rgba(255, 252, 246, 0.85);
    --line:         rgba(74, 46, 28, 0.15);
    --line-soft:    rgba(74, 46, 28, 0.09);
    --line-warm:    rgba(138, 90, 52, 0.38);

    --shadow-sm: 0 6px 18px rgba(74, 46, 28, 0.08);
    --shadow-md: 0 16px 40px rgba(74, 46, 28, 0.12);
    --shadow-lg: 0 28px 70px rgba(74, 46, 28, 0.18);
    --glow-gold: 0 0 0 1px rgba(138, 90, 52, 0.30), 0 10px 30px rgba(111, 67, 37, 0.18);
}

[data-theme="light"] body::before {
    background:
        radial-gradient(1100px 620px at 78% -6%, rgba(215, 178, 122, 0.30), transparent 62%),
        radial-gradient(760px 520px at 8% 4%, rgba(255, 255, 255, 0.55), transparent 60%),
        linear-gradient(180deg, #F8F1E6 0%, var(--bg) 42%, #EFE3D0 100%);
}
[data-theme="light"] ::selection { background: #8A5A34; color: #FFF8EE; }
[data-theme="light"] * { scrollbar-color: rgba(138, 90, 52, .35) transparent; }
[data-theme="light"] *::-webkit-scrollbar-thumb { background: rgba(138, 90, 52, 0.30); }
[data-theme="light"] .skip-link { background: #3B2416; color: #FFF8EE; }

/* Butonlar: kahverengi zemin, krem yazı */
[data-theme="light"] .btn--primary,
[data-theme="light"] .btn--primary:hover {
    background: linear-gradient(135deg, #8A5A34, #5E3A20);
    color: #FFF8EE;
    box-shadow: 0 10px 26px rgba(94, 58, 32, 0.25);
}
[data-theme="light"] .btn--primary:hover { box-shadow: 0 14px 34px rgba(94, 58, 32, 0.34); }
[data-theme="light"] .btn--ghost { background: rgba(255, 252, 246, 0.7); }
[data-theme="light"] .btn--ghost:hover { background: #FFFCF6; }

/* Header, arama, yan menü */
[data-theme="light"] .site-header { background: rgba(248, 241, 230, 0.82); }
[data-theme="light"] .site-header--overlay:not(.is-scrolled) { background: transparent; }
[data-theme="light"] .site-header.is-scrolled,
[data-theme="light"] .site-header--overlay.is-scrolled { background: rgba(248, 241, 230, 0.95); }
[data-theme="light"] .site-header--overlay .icon-btn {
    background: rgba(255, 252, 246, 0.7);
    border: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(74, 46, 28, 0.10);
    color: var(--text);
}
[data-theme="light"] .brand__logo { filter: none; }
[data-theme="light"] .search-panel { background: rgba(244, 235, 221, 0.92); }
[data-theme="light"] .search-panel__head { background: linear-gradient(180deg, rgba(244, 235, 221, 0.97) 70%, transparent); }
[data-theme="light"] .drawer__backdrop,
[data-theme="light"] .modal__backdrop { background: rgba(59, 36, 22, 0.40); }
[data-theme="light"] .drawer__panel { background: rgba(248, 241, 230, 0.97); }

/* Hero: krem zemin, fotoğraf hafif doku olarak */
[data-theme="light"] .hero__bg { background: linear-gradient(170deg, #F8F1E6 0%, #F1E5D2 60%, #EADCC6 100%); }
[data-theme="light"] .hero__bg img { opacity: 0.16; mix-blend-mode: multiply; filter: sepia(0.35) saturate(0.9); }
[data-theme="light"] .hero__bg::after {
    background:
        radial-gradient(70% 46% at 50% 36%, rgba(248, 241, 230, 0.92), transparent 72%),
        linear-gradient(180deg, rgba(244, 235, 221, 0.55) 0%, rgba(244, 235, 221, 0) 40%, rgba(244, 235, 221, 0.9) 100%);
}
[data-theme="light"] .hero::after { opacity: 0.03; }
[data-theme="light"] .hero__logo { filter: none; }
[data-theme="light"] .hero__logo--framed { box-shadow: var(--shadow-md); }
[data-theme="light"] .hero__subtitle { color: var(--text-muted); text-shadow: none; }
[data-theme="light"] .hero__actions .btn--primary,
[data-theme="light"] .hero__actions .btn--primary:hover {
    background: linear-gradient(135deg, #8A5A34, #5E3A20);
    border: 1px solid #5E3A20;
    color: #FFF8EE;
    box-shadow: 0 12px 30px rgba(94, 58, 32, 0.28);
}

/* İçerik paneli + kategori çubuğu */
[data-theme="light"] .panel {
    background: linear-gradient(180deg, rgba(255, 252, 246, 0.88), rgba(248, 241, 230, 0.96) 26%, #F4EBDD);
    box-shadow: 0 -18px 50px rgba(74, 46, 28, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
[data-theme="light"] .panel::before {
    background: radial-gradient(75% 28% at 18% 0%, rgba(215, 178, 122, .16), transparent 72%);
}
[data-theme="light"] .panel__grab,
[data-theme="light"] .modal__grab { background: rgba(74, 46, 28, 0.20); }
[data-theme="light"] .category-bar { background: rgba(248, 241, 230, 0.92); }
[data-theme="light"] .category-chip__icon,
[data-theme="light"] .category-chip.is-active .category-chip__icon { filter: none; }
[data-theme="light"] .category-chip.is-active {
    background: linear-gradient(145deg, rgba(138, 90, 52, 0.16), rgba(138, 90, 52, 0.06));
    border-color: rgba(138, 90, 52, 0.45);
    box-shadow: 0 6px 16px rgba(74, 46, 28, 0.10);
}
[data-theme="light"] .category-chip.is-active::after { box-shadow: none; }

/* Ürün kartları */
[data-theme="light"] .product-card {
    background: linear-gradient(150deg, rgba(255, 253, 249, 0.95), rgba(255, 250, 242, 0.80));
    box-shadow: 0 10px 28px rgba(74, 46, 28, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
[data-theme="light"] .product-card--featured {
    background: linear-gradient(150deg, rgba(255, 250, 240, 0.98), rgba(240, 222, 196, 0.75));
    border-color: rgba(138, 90, 52, 0.28);
}
[data-theme="light"] .product-card__placeholder {
    background: radial-gradient(90% 80% at 50% 12%, rgba(215, 178, 122, 0.35), transparent 72%), var(--bg-alt);
}
[data-theme="light"] .product-card__badge { background: rgba(255, 252, 246, 0.9); border-color: var(--line); color: var(--text); }
[data-theme="light"] .product-card__badge--populer { background: linear-gradient(135deg, #8A5A34, #5E3A20); color: #FFF8EE; }

/* Ürün modalı */
[data-theme="light"] .modal__sheet { background: linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(246, 238, 226, 0.99)); }
[data-theme="light"] .modal__close { background: rgba(255, 252, 246, 0.85); color: var(--text); }
[data-theme="light"] .modal__close:hover { background: #FFFCF6; }
[data-theme="light"] .modal__media::after { background: linear-gradient(180deg, transparent, rgba(255, 252, 246, 0.9)); }
[data-theme="light"] .modal__price-row { background: linear-gradient(135deg, rgba(215, 178, 122, 0.22), rgba(138, 90, 52, 0.08)); border-color: rgba(138, 90, 52, 0.25); }
[data-theme="light"] .modal__allergens { background: rgba(163, 58, 42, 0.07); border-color: rgba(163, 58, 42, 0.22); }
[data-theme="light"] .modal__allergens p { color: #7A2E20; }

/* İletişim, hakkımızda, footer, alt navigasyon */
[data-theme="light"] .contact-card__icon { background: linear-gradient(135deg, rgba(215, 178, 122, 0.30), rgba(138, 90, 52, 0.12)); border-color: rgba(138, 90, 52, 0.25); }
[data-theme="light"] .about-panel { background: linear-gradient(150deg, rgba(255, 253, 249, 0.92), rgba(255, 250, 242, 0.7)); }
[data-theme="light"] .site-footer { background: linear-gradient(180deg, transparent, rgba(234, 220, 198, 0.75)); }
[data-theme="light"] .bottom-nav {
    background: rgba(255, 252, 246, 0.92);
    border-color: var(--line);
    box-shadow: 0 -8px 26px rgba(74, 46, 28, 0.12);
}
[data-theme="light"] .bottom-nav__item.is-active {
    background: linear-gradient(160deg, rgba(138, 90, 52, 0.16), rgba(138, 90, 52, 0.06));
    box-shadow: inset 0 0 0 1px rgba(138, 90, 52, 0.30);
}
[data-theme="light"] .bottom-nav__item.is-active::before { background: linear-gradient(90deg, #8A5A34, #5E3A20); box-shadow: none; }
[data-theme="light"] .header-nav__link.is-active { box-shadow: inset 0 0 0 1px var(--line-warm), 0 6px 16px rgba(74, 46, 28, 0.08); }

/* Kendin Oluştur + sipariş */
[data-theme="light"] .builder-group__step,
[data-theme="light"] .order-success__icon { background: linear-gradient(135deg, #8A5A34, #5E3A20); color: #FFF8EE; }
[data-theme="light"] .builder-hero__price { background: linear-gradient(135deg, rgba(215, 178, 122, 0.25), rgba(138, 90, 52, 0.08)); }
[data-theme="light"] .builder-alert,
[data-theme="light"] .checkout__error { background: rgba(163, 58, 42, 0.08); border-color: rgba(163, 58, 42, 0.30); color: #7A2E20; }
[data-theme="light"] .option__check,
[data-theme="light"] .pay-option__dot { border-color: rgba(74, 46, 28, 0.35); }
[data-theme="light"] .option__box,
[data-theme="light"] .pay-option__box { background: rgba(255, 253, 249, 0.85); }
[data-theme="light"] .option__input:checked + .option__box,
[data-theme="light"] .pay-option input:checked + .pay-option__box {
    background: linear-gradient(135deg, rgba(215, 178, 122, 0.30), rgba(138, 90, 52, 0.10));
    border-color: rgba(138, 90, 52, 0.60);
    box-shadow: 0 0 0 1px rgba(138, 90, 52, 0.22);
}
[data-theme="light"] .option__input:checked + .option__box .option__check { background: #6F4325; border-color: #6F4325; color: #FFF8EE; }
[data-theme="light"] .pay-option input:checked + .pay-option__box .pay-option__dot { border-color: #6F4325; }
[data-theme="light"] .builder-card,
[data-theme="light"] .order-success,
[data-theme="light"] .builder-bar,
[data-theme="light"] .builder-toast { background: linear-gradient(180deg, rgba(255, 253, 249, 0.97), rgba(250, 243, 233, 0.98)); }
[data-theme="light"] .builder-bar { box-shadow: 0 12px 32px rgba(74, 46, 28, 0.20); }
[data-theme="light"] .builder-link--danger { color: #9A3B28; }
[data-theme="light"] .summary-list__warn { color: #9A3B28 !important; }
[data-theme="light"] .form-input { background: rgba(255, 253, 249, 0.9); }
[data-theme="light"] .form-input:focus { border-color: rgba(138, 90, 52, 0.6); box-shadow: 0 0 0 3px rgba(138, 90, 52, 0.14); }
[data-theme="light"] .form-input[aria-invalid="true"] { border-color: rgba(163, 58, 42, 0.7); }

/* Mobil (≤767px) özel cam yüzeyleri */
@media (max-width: 767px) {
    [data-theme="light"] .brand__logo { filter: none; }
    [data-theme="light"] .hero__logo { filter: none; }
    [data-theme="light"] .hero__bg::after {
        background:
            radial-gradient(80% 42% at 50% 30%, rgba(248, 241, 230, 0.92), transparent 72%),
            linear-gradient(180deg, rgba(244, 235, 221, 0.5) 0%, rgba(244, 235, 221, 0) 42%, rgba(244, 235, 221, 0.92) 100%);
    }
    [data-theme="light"] .hero__actions .btn--primary { color: #FFF8EE; }
    [data-theme="light"] .site-header--overlay .icon-btn {
        background: rgba(255, 252, 246, 0.75);
        border-color: var(--line);
        box-shadow: 0 8px 20px rgba(74, 46, 28, 0.12);
    }
    [data-theme="light"] .panel {
        background: linear-gradient(165deg, rgba(255, 252, 246, 0.92), rgba(248, 241, 230, 0.97) 25%, #F4EBDD);
        box-shadow: 0 -16px 44px rgba(74, 46, 28, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.85);
    }
    [data-theme="light"] .category-chip.is-active {
        background: linear-gradient(145deg, rgba(138, 90, 52, 0.20), rgba(138, 90, 52, 0.07));
        box-shadow: 0 6px 16px rgba(74, 46, 28, 0.12);
    }
    [data-theme="light"] .product-card {
        background: linear-gradient(145deg, rgba(255, 253, 249, 0.96), rgba(255, 250, 242, 0.82));
        box-shadow: 0 8px 22px rgba(74, 46, 28, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }
    [data-theme="light"] .bottom-nav {
        border: 1px solid var(--line);
        background: linear-gradient(145deg, rgba(255, 253, 249, 0.96), rgba(246, 237, 224, 0.96));
        box-shadow: 0 14px 36px rgba(74, 46, 28, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }
    [data-theme="light"] .bottom-nav__item.is-active {
        background: linear-gradient(145deg, rgba(138, 90, 52, 0.22), rgba(138, 90, 52, 0.08));
        box-shadow: inset 0 0 0 1px rgba(138, 90, 52, 0.28);
    }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    [data-theme="light"] .glass,
    [data-theme="light"] .product-card,
    [data-theme="light"] .category-chip,
    [data-theme="light"] .contact-card,
    [data-theme="light"] .site-header,
    [data-theme="light"] .bottom-nav,
    [data-theme="light"] .modal__sheet,
    [data-theme="light"] .drawer__panel { background: #FBF6EE; }
    [data-theme="light"] .search-panel { background: #F4EBDD; }
}

/* ============================================================
   Sabit WhatsApp butonu (admin → İletişim → WhatsApp Butonu)
   ============================================================ */
.wa-float {
    position: fixed;
    z-index: 88;
    right: 16px;
    bottom: calc(max(8px, env(safe-area-inset-bottom, 0px)) + 92px); /* alt navigasyonun üstü */
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    box-shadow: 0 10px 26px rgba(18, 140, 70, 0.38), 0 2px 6px rgba(0, 0, 0, 0.18);
    transition: transform var(--t-fast), box-shadow var(--t-fast), opacity var(--t-fast);
    -webkit-tap-highlight-color: transparent;
}
.wa-float:hover { color: #fff; transform: translateY(-2px) scale(1.04); box-shadow: 0 14px 32px rgba(18, 140, 70, 0.45), 0 2px 6px rgba(0, 0, 0, 0.18); }
.wa-float:active { transform: scale(0.95); }
.wa-float:focus-visible { outline: 3px solid rgba(37, 211, 102, 0.45); outline-offset: 3px; }
.wa-float__icon { width: 31px; height: 31px; }

@media (min-width: 768px) and (max-width: 1023px) {
    .wa-float { bottom: calc(env(safe-area-inset-bottom, 0px) + 84px); right: 22px; }
}
@media (min-width: 1024px) {
    .wa-float { right: 26px; bottom: 26px; width: 60px; height: 60px; }
    .wa-float__icon { width: 32px; height: 32px; }
}

/* Kendin Oluştur sayfasındaki sabit sipariş çubuğuyla çakışmasın */
@media (max-width: 1023px) {
    body:has(.builder-bar:not([hidden])) .wa-float { bottom: calc(max(8px, env(safe-area-inset-bottom, 0px)) + 160px); }
}

/* Modal / menü / arama açıkken gizle */
body.is-locked .wa-float { opacity: 0; pointer-events: none; }

@media print { .wa-float { display: none !important; } }
