@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&display=swap');@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:wght@400;700&family=Lexend:wght@400;500;700&display=swap');
/* ---- assets/css/tokens.css ---- */


/* ======================================================================
   UNLIMITED DIGITAL — DESIGN TOKENS
   Koyu tema · Neon lime vurgu · Oswald (başlık) + Inter (gövde).
   Marka: Unlimited Patch — "Türkiye'nin Dijital Peç İmalat Merkezi".

   Bu dosya tüm tema CSS'lerinden ÖNCE yüklenir. default-perakende'den
   klonlanmıştır; sadece bu token dosyası koyu/neon paletine çevrilmiştir.
   ====================================================================== */

:root {
    /* ─────────── BRAND COLORS ─────────── */
    --primary:        #A4E22B;     /* Neon lime — ana marka rengi */
    --primary-dk:     #B6F23D;     /* Parlak lime — hover / koyu zemin üstü yazı */
    --primary-lt:     #16280A;     /* Koyu zeytin — yumuşak marka zemini */
    --primary-on:     #16280A;     /* Lime üstüne koyu yazı */

    --accent:         #C9A24B;     /* Premium altın — ikincil vurgu */
    --accent-dk:      #DBB661;     /* Açık altın — hover / koyu zemin üstü yazı */
    --accent-lt:      #2A2415;     /* Koyu altın zemin */
    --accent-on:      #241C08;     /* Altın üstüne koyu yazı */

    --success:        #34C759;     /* Yeşil */
    --success-lt:     #11210F;
    --warning:        #F5C518;     /* Sarı uyarı bandı rengi */
    --warning-lt:     #2A2410;
    --danger:         #E2342F;     /* Kırmızı */
    --danger-lt:      #2A0E0E;
    --info:           #2F80ED;     /* Mavi */
    --success-on:     #08140A;     /* parlak yeşil üstüne koyu yazı */
    --warning-on:     #1A1A00;     /* sarı üstüne koyu yazı */
    --danger-on:      #ffffff;     /* danger üstüne yazı */
    --info-on:        #ffffff;     /* info üstüne yazı */

    /* ─── BUTON TOKENLARI — primary'ye bağlı (adaptive default) ─── */
    --btn-fab-bg:      var(--primary);
    --btn-fab-text:    var(--primary-on);

    --btn-a11y-bg:     var(--primary);
    --btn-a11y-bg-2:   var(--primary-dk);
    --btn-a11y-text:   var(--primary-on);

    --btn-tts-bg:      var(--primary);
    --btn-tts-bg-2:    var(--primary-dk);
    --btn-tts-text:    var(--primary-on);

    --btn-pwa-bg:      var(--primary);
    --btn-pwa-bg-2:    var(--primary-dk);
    --btn-pwa-text:    var(--primary-on);

    --menu-hover-bg:   var(--primary-lt);
    --menu-hover-text: var(--primary-dk);

    /* ─────────── NEUTRALS (KOYU TEMA) ─────────── */
    --bg-page:        #0B0B0B;     /* İs siyahı — sayfa arkaplanı */
    --bg-card:        #141414;     /* Panel / kart arkaplanı */
    --bg-soft:        #1A1A1C;     /* Antrasit — yumuşak bölümler */
    --bg-muted:       #1F1F22;     /* Disable / divider zemini */

    --text:           #FFFFFF;     /* Ana metin */
    --text-muted:     #B9B9B9;     /* Yardımcı metin */
    --text-soft:      #6E6E6E;     /* Placeholder / ipucu */
    --text-on-dk:     #FFFFFF;     /* Koyu arkaplan üstü */

    --border:         #262626;     /* Varsayılan border */
    --border-strong:  #3A3A3A;     /* Vurgulu border */
    --border-dk:      #0A0A0A;     /* En koyu border */

    /* ─────────── TYPOGRAPHY ─────────── */
    /* Brand: Oswald (başlık/etiket, condensed, BÜYÜK HARF), Inter (gövde) */
    --font-display:   'Oswald', 'Barlow Condensed', sans-serif;
    --font-cond:      'Oswald', 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --font-body:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-mono:      'JetBrains Mono', 'SF Mono', Consolas, monospace;

    --fs-xs:          12px;
    --fs-sm:          14px;
    --fs-base:        16px;
    --fs-lg:          18px;
    --fs-xl:          20px;
    --fs-2xl:         24px;
    --fs-3xl:         30px;
    --fs-4xl:         36px;
    --fs-5xl:         48px;

    --fw-normal:      400;
    --fw-medium:      500;
    --fw-semibold:    600;
    --fw-bold:        700;

    --lh-tight:       1.2;
    --lh-snug:        1.4;
    --lh-normal:      1.6;
    --lh-relaxed:     1.75;

    /* ─────────── SPACING ─────────── */
    --sp-0:           0;
    --sp-1:           4px;
    --sp-2:           8px;
    --sp-3:           12px;
    --sp-4:           16px;
    --sp-5:           20px;
    --sp-6:           24px;
    --sp-8:           32px;
    --sp-10:          40px;
    --sp-12:          48px;
    --sp-16:          64px;
    --sp-20:          80px;

    /* ─────────── BORDER RADIUS ─────────── */
    --radius-sm:      4px;
    --radius:         8px;
    --radius-md:      12px;
    --radius-lg:      16px;
    --radius-xl:      24px;
    --radius-full:    9999px;

    /* ─────────── SHADOWS (koyu zeminde daha güçlü) ─────────── */
    --shadow-xs:      0 1px 2px rgba(0,0,0,0.30);
    --shadow-sm:      0 1px 3px rgba(0,0,0,0.40), 0 1px 2px rgba(0,0,0,0.30);
    --shadow:         0 4px 6px -1px rgba(0,0,0,0.45), 0 2px 4px -1px rgba(0,0,0,0.35);
    --shadow-md:      0 10px 15px -3px rgba(0,0,0,0.50), 0 4px 6px -2px rgba(0,0,0,0.35);
    --shadow-lg:      0 20px 25px -5px rgba(0,0,0,0.55), 0 10px 10px -5px rgba(0,0,0,0.35);

    /* ─────────── TRANSITIONS ─────────── */
    --t-fast:         120ms ease;
    --t-base:         200ms ease;
    --t-slow:         320ms ease;

    /* ─────────── LAYOUT ─────────── */
    --container:      1200px;
    --container-sm:   768px;
    --container-xs:   480px;

    --header-h:       64px;
    --footer-h:       auto;

    /* ─────────── Z-INDEX SCALE ─────────── */
    --z-dropdown:     100;
    --z-sticky:       200;
    --z-overlay:      300;
    --z-modal:        400;
    --z-popover:      500;
    --z-tooltip:      600;
    --z-toast:        700;
}

/* RTL desteği için */
[dir="rtl"] {
    /* RTL'de margin/padding mirror'lanır — utility class'larda kullanılır */
}


/* ---- assets/css/base.css ---- */
/* ======================================================================
   YZ DEFAULT — BASE STYLES
   Modern CSS reset + temel tipografi + utility class'lar.
   tokens.css'ten sonra yüklenir.
   ====================================================================== */

/* ----------------------------------------------------------------------
   Twemoji Country Flags — Windows + bazı browser'larda emoji bayrakları
   dil kodu (TR, GB, DE) olarak gösteriyor. Bu font sadece bayrak Unicode
   aralığında (U+1F1E6 — U+1F1FF) devreye girer; diğer emojiler etkilenmez.

   Font dosyası: /public/assets/fonts/TwemojiCountryFlags.woff2 (78 KB)
   Kullanım sınıfı: .flag-emoji (header switcher + diğer yerler için)
   ---------------------------------------------------------------------- */
@font-face {
    font-family: 'Twemoji Country Flags';
    src: url('/assets/fonts/TwemojiCountryFlags.woff2') format('woff2');
    font-display: swap;
    unicode-range: U+1F1E6-1F1FF;
}

*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    /* clip: overflow'u keser AMA scroll container yaratmaz → sticky çalışır.
       hidden: scroll container yaratır → sticky kırılır.
       Modern tarayıcılar 'clip'i destekler (2022+), eski'ler 'hidden'a fallback yapar. */
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    font-weight: var(--fw-normal);
    line-height: var(--lh-normal);
    color: var(--text);
    background: var(--bg-page);
    min-height: 100vh;
    /* RTL/LTR — yatay taşma savunması, html overflow-x:clip'i destekler */
    max-width: 100vw;
    overflow-x: clip;
    position: relative;
}

/* RTL'de sayfa içerik bloklarının yanlışlıkla sağa kayması engellensin */
[dir="rtl"] body,
[dir="rtl"] main,
[dir="rtl"] #main-content {
    max-width: 100vw;
    overflow-x: clip;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

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

button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

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

/* Class'sız link'ler için generic hover rengi.
   :where() sayesinde specificity = (0,0,1) kalır — yani CTA/btn/chip/pill gibi class'lı
   <a>'lar her durumda kendi hover renklerini kullanır (specificity savaşını kaybetmez).
   Önceden: a:not([class*="btn"]):hover → specificity (0,2,1) idi ve .hero-cta:hover (0,2,0)
   gibi class-bazlı CTA hover'larını override ediyordu (text=bg çakışması).
   Sebep: :not() içindeki [attr] selector specificity'yi yükseltir.
   Çözüm: :where() specificity'yi sıfırlar. */
a:where(:not([class*="btn"]):not([class*="cta"]):not([class*="pill"]):not([class*="chip"]):not([class*="-link"])):hover {
    color: var(--primary-dk);
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: var(--fw-semibold);
    line-height: var(--lh-tight);
    color: var(--text);
    letter-spacing: -0.02em;
}

h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }
h5 { font-size: var(--fs-lg); }
h6 { font-size: var(--fs-base); }

/* ─────────── CONTAINER ─────────── */

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--sp-4);
}

@media (min-width: 768px) {
    .container { padding-inline: var(--sp-6); }
}

/* ─────────── BUTTONS ─────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: 10px 20px;
    font-family: var(--font-display);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    line-height: 1;
    border-radius: var(--radius);
    border: 1px solid transparent;
    background: var(--primary);
    color: var(--primary-on);
    cursor: pointer;
    transition: all var(--t-fast);
    white-space: nowrap;
    text-decoration: none;
}

.btn:hover {
    background: var(--primary-dk);
    color: var(--primary-on);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text);
    border-color: var(--border);
}

.btn-secondary:hover {
    background: var(--bg-soft);
    color: var(--text);
    border-color: var(--border-strong);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border-color: transparent;
}

.btn-ghost:hover {
    background: var(--bg-soft);
    color: var(--text);
}

.btn-lg {
    padding: 14px 28px;
    font-size: var(--fs-base);
}

.btn-sm {
    padding: 6px 12px;
    font-size: var(--fs-xs);
}

/* ─────────── CARD ─────────── */

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.card-body {
    padding: var(--sp-6);
}

/* ─────────── BADGES ─────────── */

.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-1);
    padding: 3px 10px;
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    border-radius: var(--radius-full);
    background: var(--bg-muted);
    color: var(--text-muted);
    line-height: 1.4;
}

.badge-success { background: var(--success-lt); color: var(--success); }
.badge-warning { background: var(--warning-lt); color: var(--warning); }
.badge-danger  { background: var(--danger-lt);  color: var(--danger); }
.badge-primary { background: var(--primary-lt); color: var(--primary-dk); }

/* ─────────── UTILS ─────────── */

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

.text-muted { color: var(--text-muted); }
.text-soft  { color: var(--text-soft); }
.text-center { text-align: center; }

.mt-4 { margin-top: var(--sp-4); }
.mt-8 { margin-top: var(--sp-8); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-8 { margin-bottom: var(--sp-8); }


/* ---- sections/footer/section.css ---- */
/* ======================================================================
   YZ DEFAULT — FOOTER SECTION
   Tüm stiller .f- prefix'li → global çakışma yok.
   Renk paleti: açık nötr (header ile homojen).
   ====================================================================== */

.f-bar {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    padding: var(--sp-10) 0 0 0;
    margin-top: var(--sp-12);
}

.f-inner {
    max-width: var(--container);
    margin-inline: auto;
    padding: 0 var(--sp-4);
}

@media (min-width: 768px) {
    .f-inner { padding: 0 var(--sp-6); }
}

/* ─────────── Grid (4 kolon) ─────────── */

.f-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-8);
    padding-bottom: var(--sp-8);
}

@media (min-width: 640px) {
    .f-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--sp-6) var(--sp-8);
    }
}

@media (min-width: 1024px) {
    .f-grid {
        /* Marka kolonu biraz daha geniş, diğerleri eşit */
        grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
        gap: var(--sp-8);
    }
}

.f-col-title {
    font-family: var(--font-display);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--text);
    letter-spacing: 0.02em;
    margin: 0 0 var(--sp-4) 0;
    padding-bottom: var(--sp-2);
    border-bottom: 2px solid var(--primary-lt);
    display: inline-block;
}

/* ─────────── Kolon 1: Marka ─────────── */

.f-brand {
    /* hiç ek stil yok — sadece içerik */
}

/* 🔗 Logo + (brand name + tagline) yan yana — alt satıra düşmesin */
.f-brand-row {
    display: flex;
    align-items: center;
    gap: var(--sp-3, 12px);
    margin-bottom: var(--sp-3, 12px);
    flex-wrap: nowrap;
}
.f-brand-text {
    min-width: 0;
    flex: 1;
}
.f-brand-text .f-brand-name { margin: 0; line-height: 1.2; }
.f-brand-text .f-tagline { margin: 4px 0 0; }

/* 📜 Çok satırlı copyright */
.f-copyright-platform {
    display: none; /* gizlendi — KobiZeka marka satırı görünmez */
    font-size: 11.5px;
    opacity: 0.9;
    line-height: 1.55;
}
.f-copyright-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    opacity: 0.9;
}
.f-copyright-link:hover { opacity: 1; }

/* ═══════════════════════════════════════════════════════════════════════
 * 🇹🇷 Yasal Sicil Kartı — VKN/MERSİS/ETBİS/KEP/VERBİS
 * Türk e-ticaret yasal şeffaflık. Y26 rozetinin hemen üstünde.
 * ═══════════════════════════════════════════════════════════════════════ */
.f-legal-card {
    margin: 6px 0 12px;
    padding: 12px 14px;
    background: linear-gradient(135deg, rgba(0,0,0,0.02) 0%, rgba(227,10,23,0.03) 100%);
    border: 1px solid rgba(0,0,0,0.10);
    border-left: 3px solid #E30A17;  /* Türk bayrağı kırmızısı */
    border-radius: 12px;
    max-width: 100%;
    width: fit-content;
}
.f-legal-card-head {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 8px; padding-bottom: 6px;
    border-bottom: 1px dashed rgba(0,0,0,0.10);
}
.f-legal-flag {
    font-family: 'Twemoji Country Flags', 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', system-ui, sans-serif;
    font-size: 16px; line-height: 1;
}
.f-legal-card-title {
    font-size: 12px; font-weight: 700;
    color: var(--text); letter-spacing: -0.005em; text-transform: uppercase;
}
.f-legal-list { margin: 0; padding: 0; display: grid; gap: 4px; }
.f-legal-row {
    display: grid; grid-template-columns: 60px 1fr; gap: 8px;
    align-items: baseline; font-size: 11.5px; line-height: 1.5;
}
.f-legal-row dt { font-weight: 700; color: var(--text); letter-spacing: 0.01em; margin: 0; }
.f-legal-row dd { color: var(--text-soft, #6B6258); font-variant-numeric: tabular-nums; word-break: break-word; margin: 0; }
.f-legal-sep { margin: 0 4px; opacity: 0.4; }
.f-legal-sub { color: var(--text-soft, #6B6258); font-weight: 500; }
.f-legal-etbis-link, .f-legal-kep-link {
    color: var(--text-soft, #4A4239); text-decoration: none;
    border-bottom: 1px dotted rgba(0,0,0,0.25);
    transition: color 0.15s, border-color 0.15s;
    display: inline-flex; align-items: center; gap: 4px;
}
.f-legal-etbis-link:hover, .f-legal-kep-link:hover {
    color: var(--text); border-bottom-color: rgba(0,0,0,0.55);
}
.f-legal-verify-icon {
    width: 11px; height: 11px;
    color: #E30A17; opacity: 0.7;
    transition: transform 0.15s, opacity 0.15s;
}
.f-legal-etbis-link:hover .f-legal-verify-icon { transform: translate(1px, -1px); opacity: 1; }
@media (max-width: 480px) {
    .f-legal-card { padding: 10px 12px; }
    .f-legal-card-title { font-size: 11px; }
    .f-legal-row { font-size: 11px; grid-template-columns: 52px 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════
 * Y26 Üyelik Rozeti — Elegan kart tasarımı (Y26 App Üye İşletmesi)
 *
 * Y26 logosu (yuvarlak, kırmızı orbital + beyaz Y26 metni) merkez ikon.
 * Hover'da hafif rotasyon + glow. Tüm perakende temalarda standart.
 * ═══════════════════════════════════════════════════════════════════════ */
.f-y26-badge {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 10px 14px 10px 11px;
    margin: 4px 0 18px;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.03) 0%, rgba(230, 57, 70, 0.05) 100%);
    border: 1px solid rgba(10, 10, 10, 0.10);
    border-radius: 14px;
    text-decoration: none;
    color: var(--text);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.25s ease;
    max-width: 100%;
    width: fit-content;
    position: relative;
    overflow: hidden;
}
.f-y26-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
.f-y26-badge:hover {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.06) 0%, rgba(230, 57, 70, 0.10) 100%);
    border-color: rgba(230, 57, 70, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px -8px rgba(230, 57, 70, 0.30);
    color: var(--text);
}
.f-y26-badge:hover::before { opacity: 1; }
.f-y26-badge:focus-visible {
    outline: 2px solid #E63946;
    outline-offset: 2px;
}
.f-y26-badge-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.f-y26-badge-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.f-y26-badge:hover .f-y26-badge-logo {
    transform: rotate(-6deg) scale(1.06);
    box-shadow: 0 4px 14px rgba(230, 57, 70, 0.30), 0 0 0 1px rgba(230, 57, 70, 0.18);
}
.f-y26-badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    min-width: 0;
    padding-right: 4px;
}
.f-y26-badge-label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.005em;
}
.f-y26-badge-sub {
    font-size: 10.5px;
    color: var(--text-soft, #6B6258);
    margin-top: 2px;
    letter-spacing: 0.01em;
}
.f-y26-badge-arrow {
    margin-left: 4px;
    width: 14px;
    height: 14px;
    color: #E63946;
    opacity: 0.55;
    transition: transform 0.2s ease, opacity 0.2s ease;
    flex-shrink: 0;
}
.f-y26-badge-arrow svg { width: 100%; height: 100%; }
.f-y26-badge:hover .f-y26-badge-arrow {
    transform: translate(2px, -2px);
    opacity: 1;
}
@media (max-width: 480px) {
    .f-y26-badge { padding: 9px 12px 9px 10px; gap: 9px; border-radius: 12px; }
    .f-y26-badge-logo { width: 36px; height: 36px; }
    .f-y26-badge-label { font-size: 12px; }
    .f-y26-badge-sub { font-size: 10px; }
}

.f-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
    text-decoration: none;
    color: var(--text);
    margin-bottom: 0;
    flex-shrink: 0;
}
.f-brand-logo:hover { opacity: 0.85; color: var(--text); }

.f-brand-logo-img {
    height: 44px;
    width: auto;
    max-width: 160px;
	border-radius:8px;
    object-fit: contain;
}

.f-brand-logo-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: var(--fs-xl);
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.f-brand-name {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    color: var(--text);
    margin: 0 0 var(--sp-2) 0;
    letter-spacing: -0.01em;
}

.f-tagline {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    line-height: var(--lh-relaxed);
    margin: 0 0 var(--sp-4) 0;
    max-width: 32ch;
}

.f-copyright {
    font-size: var(--fs-xs);
    color: var(--text-soft);
    margin: 0 0 var(--sp-4) 0;
    line-height: var(--lh-snug);
}

/* ─────────── Sosyal Medya ─────────── */

.f-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.f-socials li { list-style: none; }

.f-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    text-decoration: none;
    transition: all var(--t-fast);
}
.f-social-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--primary-on, #fff);
    transform: translateY(-2px);
}
.f-social-btn:hover.f-social-whatsapp { background: #25d366;
    color: #fff; border-color: #25d366; }
.f-social-btn:hover.f-social-facebook { background: #1877f2;
    color: #fff; border-color: #1877f2; }
.f-social-btn:hover.f-social-instagram { background: linear-gradient(45deg,#f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: #fff; border-color: transparent; }
.f-social-btn:hover.f-social-twitter { background: #000; border-color: #000; }
.f-social-btn:hover.f-social-youtube { background: #ff0000;
    color: #fff; border-color: #ff0000; }
.f-social-btn:hover.f-social-tiktok { background: #000; border-color: #000; }
.f-social-btn:hover.f-social-linkedin { background: #0a66c2;
    color: #fff; border-color: #0a66c2; }
.f-social-btn:hover.f-social-tripadvisor { background: #00aa6c;
    color: #fff; border-color: #00aa6c; }

.f-social-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* ─────────── Link Kolonları (2, 3, 4) ─────────── */

.f-link-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.f-link-list li { list-style: none; }

.f-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: var(--fs-sm);
    transition: color var(--t-fast), padding-inline-start var(--t-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.f-link:hover {
    color: var(--primary-dk);
    padding-inline-start: 4px;
}
.f-link-icon {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

/* İletişim bilgileri (Kolon 4 üstü) */
.f-contact {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    margin-bottom: var(--sp-4);
    padding-bottom: var(--sp-4);
    border-bottom: 1px dashed var(--border);
}

.f-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: var(--fs-xs);
    color: var(--text-muted);
    text-decoration: none;
    line-height: var(--lh-snug);
}
.f-contact-item:hover {
    color: var(--primary-dk);
}
.f-contact-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.7;
}

/* ─────────── Alt Çizgi (KobiZeka credit) ─────────── */

.f-bottom {
    border-top: 1px solid var(--border);
    padding: var(--sp-4) 0;
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .f-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: start;
    }
}

.f-bottom-left {
    font-size: var(--fs-xs);
    color: var(--text-soft);
}

.f-credit {
    font-size: var(--fs-xs);
    color: var(--text-soft);
    line-height: var(--lh-snug);
}
.f-credit-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: var(--fw-medium);
    transition: color var(--t-fast);
}
.f-credit-link:hover {
    color: var(--primary-dk);
    text-decoration: underline;
}

/* NOT: Back-to-top butonu artık modules/back-to-top/'a taşındı. */

/* ── Footer'a gömülü modüller: Engelsiz Menü (a11y-fab) + PWA banner ──
   render_floating_modules'tan çıkarıldı; footer'da f-socials altında,
   fixed değil akışta dururlar. Modaller (a11y-modal, pwa-ios-modal) fixed kalır. */
.f-embedded-mods{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:12px;
    margin-top:16px;
}
.f-embedded-mods .a11y-fab,
.f-embedded-mods .pwa-banner{
    position:static;
    inset:auto;
    top:auto; right:auto; bottom:auto; left:auto;
    transform:none;
    z-index:auto;
    margin:0;
    box-shadow:none;
}


/* ---- sections/header/section.css ---- */
/* ======================================================================
   YZ DEFAULT — HEADER SECTION
   Tüm stiller .h- prefix'li → global çakışma yok.
   ====================================================================== */

.h-bar {
    position: sticky;
    top: 0;
    z-index: var(--z-overlay);  /* 300 — header dropdown'ları m-dm/m-search-trigger (sticky=200) üstünde, modal (400) altında kalsın */
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    backdrop-filter: saturate(180%) blur(8px);
    -webkit-backdrop-filter: saturate(180%) blur(8px);
}

.h-inner {
    max-width: var(--container);
    margin-inline: auto;
    padding: 0 var(--sp-4);
    height: var(--header-h);
    display: flex;
    align-items: center;
    gap: var(--sp-4);
}

@media (min-width: 768px) {
    .h-inner { padding: 0 var(--sp-6); gap: var(--sp-6); }
}

/* ─────────── Logo bölümü ─────────── */

.h-logo-link {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
    text-decoration: none;
    color: var(--text);
    transition: opacity var(--t-fast);
    flex-shrink: 0;
}
.h-logo-link:hover { opacity: 0.85; color: var(--text); }

/* Tipografik logo — [UNLIMITED] PATCH (marka profili) */
.ud-logo { align-items: baseline; gap: 9px; }
.ud-logo-txt {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 30px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1;
    color: var(--text);
}
.ud-logo-acc {
    color: var(--primary);
    text-shadow: 0 0 22px rgba(164, 226, 43, 0.45);
}
.ud-logo-sub {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    line-height: 1;
    color: var(--text-soft);
}
@media (max-width: 600px) {
    .ud-logo-txt { font-size: 22px; }
    .ud-logo-sub { display: none; }
}

.h-logo-img {
    height: 36px;
    width: auto;
    max-width: 140px;
	border-radius:8px;
    object-fit: contain;
}

.h-logo-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: var(--fs-lg);
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.h-brand-name {
    font-family: var(--font-display);
    font-weight: var(--fw-semibold);
    font-size: var(--fs-base);
    color: var(--text);
    letter-spacing: -0.01em;
    white-space: nowrap;
}

/* Mobilde brand name gizlenebilir (logo yeterli) */
@media (max-width: 480px) {
    .h-brand-name { display: none; }
}

/* ─────────── Desktop Nav ─────────── */

.h-nav {
    display: none;
    align-items: center;
    gap: var(--sp-1);
    margin-inline-start: var(--sp-4);
}

@media (min-width: 1024px) {
    .h-nav { display: inline-flex; }
}

.h-nav-item {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: 8px 14px;
    border-radius: var(--radius);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--text-muted);
    text-decoration: none;
    transition: background var(--t-fast), color var(--t-fast);
    white-space: nowrap;
}
.h-nav-item:hover {
    background: var(--menu-hover-bg, var(--bg-soft));
    color: var(--menu-hover-text, var(--text));
}
.h-nav-item.is-active {
    color: var(--primary-dk);
    background: var(--primary-lt);
}

/* ─────────── Sağ blok (actions) ─────────── */

.h-actions {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    margin-inline-start: auto;
}

/* Genel pill — tüm yuvarlak buton/badge'ler */
.h-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--t-fast);
    white-space: nowrap;
    line-height: 1;
}
.h-pill:hover {
    background: var(--bg-soft);
    color: var(--text);
    border-color: var(--border-strong);
}

/* ─────────── Servis Durumu Pill ─────────── */

.h-status {
    gap: 8px;
}

.h-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-soft);
    flex-shrink: 0;
}
.h-status.is-open .h-status-dot {
    background: var(--success);
    box-shadow: 0 0 0 3px rgba(16,185,129,0.15);
    animation: h-pulse 2s infinite;
}
.h-status.is-warning .h-status-dot { background: var(--warning); }
.h-status.is-closed .h-status-dot  { background: var(--danger); }

@keyframes h-pulse {
    0%, 100% { transform: scale(1);   opacity: 1; }
    50%      { transform: scale(0.7); opacity: 0.6; }
}

.h-status-text {
    font-variant-numeric: tabular-nums;
}

/* Mobilde sadece nokta — metin gizli */
@media (max-width: 640px) {
    .h-status .h-status-text { display: none; }
    .h-status { padding: 7px 10px; }
}

/* ─────────── Dil & Para Switcher ─────────── */

.h-switcher {
    position: relative;
}

.h-switcher-trigger {
    /* h-pill inherit */
}

.h-switcher-chevron {
    width: 10px;
    height: 10px;
    margin-inline-start: 2px;
    opacity: 0.6;
    transition: transform var(--t-fast);
}
.h-switcher.is-open .h-switcher-chevron {
    transform: rotate(180deg);
}

.h-switcher-flag, .h-switcher-symbol {
    font-size: var(--fs-base);
    line-height: 1;
}

/* Bayrak özel: Windows/eski browser'ların dil kodu göstermesin diye
   Twemoji Country Flags font'u öncelikli yüklenir. @font-face base.css'te. */
.h-switcher-flag {
    font-family: 'Twemoji Country Flags',
                 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji',
                 system-ui, -apple-system, sans-serif;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    /* Biraz daha büyük göster — bayrak detayları görünsün */
    font-size: 1.15em;
}

.h-switcher-menu {
    position: absolute;
    top: calc(100% + 6px);
    inset-inline-end: 0;
    min-width: 180px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 6px;
    z-index: var(--z-dropdown);
    opacity: 0;
    transform: translateY(-6px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
}
.h-switcher.is-open .h-switcher-menu {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

/* Mobile: switcher menüsü viewport'a fixed pin + yatayda ortala. */
@media (max-width: 600px) {
    .h-switcher-menu {
        position: fixed;
        top: calc(var(--header-height, 64px) + 8px + env(safe-area-inset-top, 0px));
        left: 50%;
        right: auto;
        inset-inline-start: 50%;
        inset-inline-end: auto;
        transform: translateX(-50%) translateY(-6px);  /* idle state — JS is-open ile sıfırlanır */
        max-width: calc(100vw - 24px);
        min-width: 220px;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }
    .h-switcher.is-open .h-switcher-menu {
        transform: translateX(-50%) translateY(0);
    }
}

.h-switcher-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--radius);
    color: var(--text);
    font-size: var(--fs-sm);
    text-decoration: none;
    transition: background var(--t-fast);
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: start;
}
.h-switcher-item:hover {
    background: var(--bg-soft);
    color: var(--text);
}
.h-switcher-item.is-active {
    background: var(--primary-lt);
    color: var(--primary-dk);
}

.h-switcher-check {
    margin-inline-start: auto;
    width: 14px;
    height: 14px;
    opacity: 0.8;
}

/* ─────────── Sepet Pill ─────────── */

.h-cart {
    position: relative;
    padding: 7px 11px;
}

/* Class'sız SVG'ler için açık kural — base.css'in
   `svg { display: block; max-width: 100%; }` davranışı flex
   container'da SVG'yi sıkıştırabiliyor. Bu garantili boyut + renk. */
.h-cart > svg,
.h-auth-link > svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--text, #111827);
}

.h-cart-badge {
    position: absolute;
    top: -4px;
    inset-inline-end: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--primary);
    color: var(--primary-on);
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: var(--fw-bold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-card);
    line-height: 1;
}
.h-cart-badge[hidden],
.h-cart-badge.is-empty {
    display: none !important;
}

/* Badge update animation — sepete eklenince kısa puls */
@keyframes cart-badge-pulse {
    0%   { transform: scale(1); }
    35%  { transform: scale(1.32); }
    100% { transform: scale(1); }
}
.h-cart-badge.is-pulse {
    animation: cart-badge-pulse 0.42s ease-out;
}

/* ─────────── Mobile Burger ─────────── */

.h-burger {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1024px) {
    .h-burger { display: none; }
}

.h-burger-bars { display: inline-block; }
.h-burger-x    { display: none; }
.h-burger[aria-expanded="true"] .h-burger-bars { display: none; }
.h-burger[aria-expanded="true"] .h-burger-x    { display: inline-block; }

/* ─────────── Mobile Menu (drawer) ─────────── */

.h-mobile {
    display: none;
    position: fixed;
    top: var(--header-h);
    inset-inline: 0;
    bottom: 0;
    background: var(--bg-page);
    z-index: var(--z-modal);     /* sticky header'dan yüksek olmalı */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: var(--sp-4);
    /* Header'dan ayrı stacking context — clean */
    isolation: isolate;
}
.h-mobile.is-open { display: block; }

@media (min-width: 1024px) {
    .h-mobile { display: none !important; }
}

.h-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: var(--sp-1);
}

.h-mobile-item {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: 14px 16px;
    border-radius: var(--radius-md);
    color: var(--text);
    text-decoration: none;
    font-size: var(--fs-base);
    font-weight: var(--fw-medium);
    transition: background var(--t-fast);
}
.h-mobile-item:hover  { background: var(--bg-soft); color: var(--text); }
.h-mobile-item.is-active {
    background: var(--primary-lt);
    color: var(--primary-dk);
}
.h-mobile-item-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Body scroll lock — JS class'ı.
   iOS Safari + Android Chrome'da hem overflow:hidden hem touch-action:none
   gerekli. html'e de uygulanır ki dokunma scroll'u kesin engellensin. */
html.h-mobile-locked,
body.h-mobile-locked {
    overflow: hidden !important;
    overscroll-behavior: contain;
    touch-action: none;
    -webkit-overflow-scrolling: auto;
}
/* Drawer içindeki scrollable alan touch-action exempt — drawer scroll'u
   çalışmaya devam etsin */
body.h-mobile-locked .h-mobile,
body.h-mobile-locked .h-mobile-nav {
    touch-action: pan-y;
    overscroll-behavior: contain;
}

/* RTL desteği */
[dir="rtl"] .h-switcher-chevron {
    transform: scaleX(-1);
}
[dir="rtl"] .h-switcher.is-open .h-switcher-chevron {
    transform: scaleX(-1) rotate(180deg);
}

/* ============================================================
   HEADER — Auth Pill (Hesabım dropdown + Giriş linki)
============================================================ */
.h-auth-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    text-decoration: none;
}

.h-account {
    position: relative;
}

.h-account-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font: inherit;
    color: inherit;
    user-select: none;
}

.h-account-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary, #f97316);
    color: white;
    font-size: 12px;
    font-weight: 700;
}

.h-account-name {
    font-size: 13px;
    font-weight: 500;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .h-account-name { display: none; }
}

.h-account-chevron {
    transition: transform 0.15s;
    flex-shrink: 0;
}

.h-account.is-open .h-account-chevron {
    transform: rotate(180deg);
}

.h-account-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 200px;
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 6px;
    z-index: 1100;  /* mobile drawer trigger ve sticky header'ın üstünde */
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.15s, transform 0.15s;
    pointer-events: none;
}

.h-account-menu:not([hidden]) {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.h-account-menu[hidden] {
    display: block; /* CSS animasyon için */
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    visibility: hidden;
}

.h-account-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    font-size: 14px;
    color: var(--text, #111827);
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.1s;
}

.h-account-item:hover {
    background: var(--bg-page, #f3f4f6);
    color: var(--text);
}

.h-account-item svg {
    color: var(--muted, #6b7280);
    flex-shrink: 0;
}

.h-account-item-logout {
    color: #dc2626;
}

.h-account-item-logout svg {
    color: #dc2626;
}

.h-account-sep {
    height: 1px;
    background: var(--border, #e5e7eb);
    margin: 6px 4px;
}


/* ---- sections/topbar/section.css ---- */
/* ======================================================================
   TOPBAR — Unlimited Patch (promo + uyarı bandı)
   Site geneli, header'ın üstünde. Renk/font tokens.css'ten.
   ====================================================================== */

.ud-promo {
    background: var(--primary);
    color: var(--primary-on);
    text-align: center;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 13px;
    text-transform: uppercase;
    padding: 8px 16px;
}
.ud-promo b { font-weight: 700; }

.ud-announce {
    background: #141007;
    border-bottom: 1px solid #2a2410;
}

.ud-announce-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 26px;
    padding: 9px 16px;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--warning);
}
.ud-announce-row span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.ud-announce-row span::before {
    content: "\25C6"; /* ◆ */
    font-size: 8px;
    color: var(--warning);
}

@media (max-width: 600px) {
    .ud-announce-row { gap: 14px; font-size: 11px; }
    .ud-promo { font-size: 12px; letter-spacing: 0.5px; }
}


/* ---- assets/css/cart.css ---- */
/* hidden attribute her zaman gizler — flex/grid display'leri override etmesin */
[hidden] { display: none !important; }

/* ======================================================================
   CART PAGE — /sepet, /cart, /korb, ...
   ====================================================================== */

.cart-page {
    padding: var(--sp-6) 0 var(--sp-10);
    min-height: 60vh;
}

.cart-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--sp-4);
}

/* ─────────── Header ─────────── */

.cart-header {
    margin-bottom: var(--sp-5);
    text-align: center;
}

.cart-title {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: var(--fw-bold);
    color: var(--text);
    margin: 0;
}

.cart-title-icon {
    font-size: 1.2em;
    line-height: 1;
}

.cart-subtitle {
    margin-top: var(--sp-2);
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

/* ─────────── Dine-in Notice ─────────── */

.cart-dine-in-notice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.12) 0%, rgba(245, 158, 11, 0.08) 100%);
    border: 1px solid rgba(251, 191, 36, 0.35);
    border-radius: var(--radius);
    color: #78350f;
    margin-bottom: var(--sp-5);
}

.cart-dine-in-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: #d97706;
    margin-top: 2px;
}

.cart-dine-in-notice strong {
    display: block;
    font-weight: var(--fw-semibold);
    margin-bottom: 2px;
}

.cart-dine-in-notice p {
    margin: 0;
    font-size: var(--fs-sm);
    line-height: 1.5;
}

/* ─────────── Loading ─────────── */

.cart-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp-3);
    padding: var(--sp-10) 0;
    color: var(--text-muted);
}

.cart-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: cart-spin 0.8s linear infinite;
}

@keyframes cart-spin {
    to { transform: rotate(360deg); }
}

/* ─────────── Empty ─────────── */

.cart-empty {
    text-align: center;
    padding: var(--sp-10) var(--sp-4);
}

.cart-empty-icon {
    font-size: 4rem;
    margin-bottom: var(--sp-4);
    opacity: 0.7;
}

.cart-empty-title {
    font-size: 1.5rem;
    margin: 0 0 var(--sp-2);
    color: var(--text);
}

.cart-empty-desc {
    color: var(--text-muted);
    margin: 0 0 var(--sp-5);
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.cart-empty-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: var(--fw-semibold);
    transition: all var(--t-fast);
}
.cart-empty-cta:hover {
    background: var(--primary-dk);
    color: var(--primary-on, #fff);
    transform: translateY(-1px);
}
.cart-empty-cta svg {
    width: 18px;
    height: 18px;
}

/* ─────────── Content (Items + Summary) ─────────── */

.cart-content {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: var(--sp-5);
    align-items: start;
}

/* ─────────── Items ─────────── */

.cart-items {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

.cart-item {
    display: grid;
    grid-template-columns: 96px 1fr auto;
    gap: var(--sp-3);
    padding: var(--sp-3);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    align-items: center;
    transition: border-color var(--t-fast);
}
.cart-item:hover {
    border-color: var(--border-strong, var(--primary));
}

.cart-item-thumb {
    width: 96px;
    height: 96px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
}

.cart-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cart-item-thumb-fallback {
    font-size: 2rem;
}

.cart-item-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-item-name {
    color: var(--text);
    text-decoration: none;
    font-weight: var(--fw-semibold);
    font-size: var(--fs-base);
    line-height: 1.3;
}
.cart-item-name:hover {
    color: var(--primary-dk);
}

.cart-item-variants {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

.cart-item-variant {
    line-height: 1.4;
}

.cart-item-variant-adj {
    color: var(--primary);
    font-weight: var(--fw-medium);
}

.cart-item-price-unit {
    color: var(--text-muted);
    font-size: var(--fs-xs);
}

.cart-item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--sp-2);
}

/* ─── Qty stepper ─── */

.cart-item-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    overflow: hidden;
    background: var(--bg-card);
}

.cart-item-qty-btn {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: var(--text);
    transition: background var(--t-fast);
}
.cart-item-qty-btn:hover {
    background: var(--bg-soft);
    color: var(--text);
}
.cart-item-qty-btn svg {
    width: 14px;
    height: 14px;
}

.cart-item-qty-value {
    min-width: 32px;
    text-align: center;
    font-weight: var(--fw-semibold);
    font-size: var(--fs-sm);
}

.cart-item-line-price {
    font-weight: var(--fw-bold);
    color: var(--text);
    font-size: var(--fs-base);
    white-space: nowrap;
}

.cart-item-remove {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--radius);
    transition: all var(--t-fast);
}
.cart-item-remove:hover {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.08);
}
.cart-item-remove svg {
    width: 16px;
    height: 16px;
}

/* ─────────── Summary ─────────── */

.cart-summary {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--sp-4) var(--sp-5);
    position: sticky;
    top: calc(var(--header-h, 64px) + 20px);
}

.cart-summary-title {
    margin: 0 0 var(--sp-4);
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    color: var(--text);
}

.cart-summary-rows {
    margin: 0 0 var(--sp-4);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: var(--sp-2) 0;
}

.cart-summary-row dt {
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

.cart-summary-row dd {
    margin: 0;
    color: var(--text);
    font-weight: var(--fw-medium);
}

.cart-summary-discount dd {
    color: #16a34a;
}

/* Dine-in ücretleri (kuver / servis / masa açılış) — sarı tonu, hint yanyana */
.cart-summary-dine-in dt {
    color: var(--text-muted);
}
.cart-summary-dine-in .cart-summary-fee-hint {
    font-size: 0.75rem;
    color: var(--text-soft, #9ca3af);
    margin-left: 4px;
    font-weight: 400;
}

.cart-summary-total {
    border-top: 1px solid var(--border);
    margin-top: var(--sp-2);
    padding-top: var(--sp-3);
}
.cart-summary-total dt {
    font-weight: var(--fw-semibold);
    color: var(--text);
    font-size: var(--fs-base);
}
.cart-summary-total dd {
    font-size: 1.25rem;
    font-weight: var(--fw-bold);
    color: var(--primary-dk);
}

/* ============================================================
   KUPON GİRİŞ ALANI (sepet özeti içinde)
============================================================ */
.cart-coupon {
    padding: var(--sp-3) 0;
    margin: var(--sp-3) 0;
    border-top: 1px dashed var(--border);
    border-bottom: 1px dashed var(--border);
}

.cart-coupon-input-row {
    display: flex;
    gap: 8px;
}

.cart-coupon-input-row input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: var(--fs-sm);
    background: var(--bg-card, #fff);
    color: var(--text);
    transition: border-color 150ms ease;
    letter-spacing: 0.5px;
}

.cart-coupon-input-row input:focus {
    outline: none;
    border-color: var(--primary);
}

.cart-coupon-apply {
    padding: 10px 16px;
    background: var(--primary);
    color: #fff;
    border: 0;
    border-radius: 8px;
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    cursor: pointer;
    transition: background 150ms ease;
    white-space: nowrap;
}

.cart-coupon-apply:hover {
    background: var(--primary-dk);
    color: var(--primary-on, #fff);
}

.cart-coupon-apply:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cart-coupon-applied {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--success-lt, #ecfdf5);
    border: 1px solid var(--success, #16a34a);
    border-radius: 8px;
}

.cart-coupon-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--success, #16a34a);
}

.cart-coupon-badge svg {
    flex-shrink: 0;
}

.cart-coupon-discount {
    margin-left: auto;
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--success, #16a34a);
    font-variant-numeric: tabular-nums;
}

.cart-coupon-remove {
    background: transparent;
    border: 0;
    padding: 2px;
    cursor: pointer;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    transition: color 150ms ease;
}

.cart-coupon-remove:hover {
    color: var(--danger, #dc2626);
}

.cart-coupon-error {
    margin-top: 8px;
    padding: 8px 12px;
    background: var(--danger-lt, #fef2f2);
    border: 1px solid var(--danger, #dc2626);
    border-radius: 6px;
    font-size: var(--fs-xs, 12px);
    color: var(--danger, #dc2626);
    line-height: 1.4;
}

/* ─── Actions ─── */

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}

.cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: var(--radius-pill);
    font-weight: var(--fw-semibold);
    font-size: var(--fs-sm);
    text-decoration: none;
    border: 0;
    cursor: pointer;
    transition: all var(--t-fast);
}

.cart-btn svg {
    width: 16px;
    height: 16px;
}

.cart-btn-primary {
    background: var(--primary);
    color: white;
}
.cart-btn-primary:hover:not(.is-disabled) {
    background: var(--primary-dk);
    color: var(--primary-on, #fff);
    transform: translateY(-1px);
}
.cart-btn-primary.is-disabled {
    background: var(--bg-soft);
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.7;
}

.cart-btn-secondary {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}
.cart-btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary-dk);
}

/* WhatsApp ile Sipariş Ver — dine-in mod butonu */
.cart-btn-whatsapp {
    background: #25d366;
    color: #fff;
    border: 1px solid #1ea954;
}
.cart-btn-whatsapp:hover {
    background: #1ea954;
    transform: translateY(-1px);
}
.cart-btn-whatsapp svg {
    flex-shrink: 0;
}

.cart-checkout-note {
    margin: var(--sp-3) 0 0;
    font-size: var(--fs-xs);
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
}

/* ─────────── Invalid Notice ─────────── */

.cart-invalid-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    margin-top: var(--sp-4);
    background: rgba(220, 38, 38, 0.06);
    border: 1px solid rgba(220, 38, 38, 0.25);
    border-radius: var(--radius);
    color: #991b1b;
    font-size: var(--fs-sm);
}
.cart-invalid-notice[hidden] {
    display: none !important;
}

.cart-invalid-notice svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ─────────── Responsive ─────────── */

@media (max-width: 880px) {
    /* Sayfa kökünde yatay taşmayı kes — savunma katmanı */
    .cart-page {
        overflow-x: clip;
    }
    .cart-inner {
        padding: 0 var(--sp-3);  /* mobile'da yan padding daralt: 16 → 12 */
        min-width: 0;
    }

    .cart-content {
        grid-template-columns: 1fr;
        min-width: 0;
    }

    .cart-summary {
        position: static;
        padding: var(--sp-3);  /* mobile'da daha sıkı padding */
        min-width: 0;
    }

    .cart-items {
        min-width: 0;
    }

    .cart-item {
        grid-template-columns: 80px 1fr;
        grid-template-areas:
            "thumb body"
            "controls controls";
        min-width: 0;  /* grid item içeride taşma engellemek */
    }
    .cart-item-thumb { grid-area: thumb; width: 80px; height: 80px; }
    .cart-item-body  {
        grid-area: body;
        min-width: 0;
        overflow: hidden;  /* uzun isimler container'ı genişletmesin */
    }
    .cart-item-name {
        word-break: break-word;
        overflow-wrap: anywhere;
    }
    .cart-item-variants {
        word-break: break-word;
    }
    .cart-item-controls {
        grid-area: controls;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid var(--border);
        padding-top: var(--sp-2);
        flex-wrap: wrap;  /* qty + price + remove satır taşabilirse alt satıra */
        gap: var(--sp-2);
    }

    /* Summary satırları — uzun para tutarları taşabilir */
    .cart-summary-row {
        gap: 8px;
    }
    .cart-summary-row dt,
    .cart-summary-row dd {
        word-break: break-word;
    }

    /* Kupon uygulanmış satır — uzun kupon kodları */
    .cart-coupon-applied {
        flex-wrap: wrap;
    }
    .cart-coupon-input-row {
        flex-wrap: wrap;
    }
    .cart-coupon-input-row input {
        min-width: 0;  /* flex:1 ama %100'e kadar shrink */
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cart-item-line-price {
        font-size: var(--fs-sm);
    }
    .cart-item-thumb { width: 64px; height: 64px; }
    .cart-item { grid-template-columns: 64px 1fr; }
}

/* ======================================================================
   TOAST (yz-toast)
   ====================================================================== */

.yz-toast-container {
    position: fixed;
    top: calc(var(--header-h, 64px) + 12px);
    inset-inline-end: var(--sp-4);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
    max-width: calc(100vw - var(--sp-4) * 2);
}

.yz-toast {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 260px;
    max-width: 380px;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    color: var(--text);
    font-size: var(--fs-sm);
    pointer-events: auto;
    animation: yz-toast-in 0.24s ease-out;
}

.yz-toast.is-leaving {
    animation: yz-toast-out 0.28s ease-in forwards;
}

@keyframes yz-toast-in {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes yz-toast-out {
    to { opacity: 0; transform: translateX(20px); }
}

.yz-toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--fw-bold);
    color: white;
    flex-shrink: 0;
    font-size: 13px;
}

.yz-toast-success .yz-toast-icon { background: #16a34a; }
.yz-toast-error   .yz-toast-icon { background: #dc2626; }
.yz-toast-info    .yz-toast-icon { background: var(--primary); font-style: italic; }

.yz-toast-text {
    flex: 1;
    min-width: 0;
}

/* RTL desteği */
[dir="rtl"] .yz-toast-container {
    inset-inline-end: var(--sp-4);
}
[dir="rtl"] .yz-toast.is-leaving {
    animation-name: yz-toast-out-rtl;
}
@keyframes yz-toast-out-rtl {
    to { opacity: 0; transform: translateX(-20px); }
}

/* ============================================================
   MIN ORDER + FREE DELIVERY HINTS (cart + checkout)
   Cart sayfasında cart-coupon'un hemen üstüne enjekte edilir.
============================================================ */
.cart-summary-hints {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 8px 0 12px;
}
.cart-summary-hints[hidden] { display: none !important; }

.cart-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.4;
}

.cart-hint svg { flex-shrink: 0; }

.cart-hint-warn {
    background: #fef3c7;
    border: 1px solid #fde68a;
    color: #92400e;
}

.cart-hint-info {
    background: var(--primary-lt, #fff7ed);
    border: 1px solid var(--primary, #f97316);
    color: var(--primary-dk, #c2410c);
}

.cart-checkout-btn.is-disabled,
[data-cart-checkout-btn].is-disabled {
    cursor: not-allowed !important;
}

/* ============================================================
   CART CATEGORY HEADERS — kategoriye göre gruplandırma
============================================================ */
.cart-category-header {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--muted, #6b7280);
    padding: 12px 4px 6px;
    margin-top: 8px;
    border-bottom: 1px solid var(--border, #e5e7eb);
}

.cart-category-header:first-child {
    margin-top: 0;
    padding-top: 4px;
}

/* ============================================================
   CART CLOSED NOTICE — Restoran kapalı + scheduled da kapalı
   "Ödemeye Geç" butonunun yerine
============================================================ */
.cart-closed-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: #fee2e2;
    border: 1px solid #fca5a5;
    border-radius: 12px;
    color: #991b1b;
    width: 100%;
}
.cart-closed-notice svg { width: 28px; height: 28px; flex-shrink: 0; }
.cart-closed-notice strong { display: block; font-size: 15px; font-weight: 600; }
.cart-closed-notice small { font-size: 13px; opacity: 0.85; }

.cart-checkout-note-info {
    color: var(--primary-dk, #c2410c);
    background: var(--primary-lt, #fff7ed);
    border-left: 3px solid var(--primary, #f97316);
    padding: 10px 14px;
    border-radius: 6px;
    margin-top: 8px;
    font-size: 13px;
}

/* ═════════════════════════════════════════════════════════════
   ADİSYON (Receipt) — Resmi gösterim, restoran fişi tarzı
   ═════════════════════════════════════════════════════════════ */

.cart-receipt {
    margin-top: 24px;
    padding: 20px 18px;
    background: var(--bg-soft, #fafaf7);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 8px;
    font-family: 'SF Mono', 'Menlo', 'Monaco', 'Consolas', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text, #1f2937);
}

/* Header satırları — UPPERCASE bölüm başlıkları */
.cart-receipt .receipt-header {
    text-align: center;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 12px;
    margin: 12px 0 6px;
    color: var(--text-muted, #6b7280);
}
.cart-receipt .receipt-header:first-child {
    margin-top: 0;
}

/* Çizgiler — tek/çift */
.cart-receipt .receipt-divider {
    border-top: 1px dashed var(--border, #d4d4d4);
    margin: 6px 0;
    height: 0;
}
.cart-receipt .receipt-divider-double {
    border-top: 2px solid var(--text-soft, #9ca3af);
    margin: 10px 0;
}

/* Satır — sol metin, sağ rakam */
.cart-receipt .receipt-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    padding: 2px 0;
}
.cart-receipt .receipt-row > span:first-child {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cart-receipt .receipt-row > span:last-child {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* Varyant satırları — daha küçük, soluk, girintili */
.cart-receipt .receipt-variant {
    font-size: 11.5px;
    color: var(--text-muted, #6b7280);
    padding: 1px 0;
}

/* Ara toplam — orta vurgu */
.cart-receipt .receipt-subtotal {
    font-weight: 600;
    padding-top: 4px;
}

/* GENEL TOPLAM — büyük vurgu */
.cart-receipt .receipt-grand-total {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.3px;
    padding: 6px 0;
    color: var(--text, #111827);
}
.cart-receipt .receipt-grand-total > span:first-child {
    letter-spacing: 1.2px;
}

/* KDV satırları */
.cart-receipt .receipt-vat-row {
    font-size: 12px;
    color: var(--text-muted, #4b5563);
}

/* KDV DAHİLDİR notu */
.cart-receipt .receipt-vat-note {
    justify-content: center;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--text-muted, #6b7280);
    padding: 6px 0;
}
.cart-receipt .receipt-vat-note em {
    font-style: normal;
    font-weight: 600;
}

/* Hint — küçük açıklamalar (örn: %10) */
.cart-receipt .receipt-hint {
    font-size: 11px;
    color: var(--text-soft, #9ca3af);
    margin-left: 4px;
    font-weight: 400;
}

/* Mobil dokunuşlar */
@media (max-width: 480px) {
    .cart-receipt {
        font-size: 12px;
        padding: 16px 12px;
    }
    .cart-receipt .receipt-grand-total {
        font-size: 14px;
    }
}

/* Print — gerçek fiş çıktısı için (gelecekte print butonu eklenirse) */
@media print {
    .cart-receipt {
        background: white;
        border: none;
        padding: 0;
        font-size: 11px;
    }
}

/* ─── Adisyon Restoran Başlığı ─── */
.cart-receipt .receipt-brand-header {
    margin-bottom: 8px;
}

.cart-receipt .receipt-brand-name {
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1.2px;
    margin: 6px 0 2px;
    color: var(--text, #111827);
}

.cart-receipt .receipt-brand-location {
    text-align: center;
    font-size: 11.5px;
    color: var(--text-muted, #6b7280);
    margin: 0 0 6px;
    letter-spacing: 0.3px;
}

.cart-receipt .receipt-meta {
    padding: 4px 0 2px;
    font-size: 12px;
}

.cart-receipt .receipt-meta-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 2px 0;
}

.cart-receipt .receipt-meta-row strong {
    font-weight: 600;
    color: var(--text, #111827);
}

/* ─── Teşekkür Notu ─── */
.cart-receipt .receipt-thank-you {
    text-align: center;
    font-size: 13px;
    letter-spacing: 1.8px;
    padding: 10px 0 4px;
    color: var(--text, #374151);
    font-weight: 600;
    text-transform: uppercase;
}


/* Cart receipt/adisyon varyant satırları - kompakt fiş görünümü */
.receipt-row.receipt-variant {
    display: block;
    padding-top: 1px;
    padding-bottom: 1px;
    font-size: 11px;
    line-height: 1.25;
    color: var(--text-muted, #6b7280);
}

.receipt-row.receipt-variant .receipt-variant-text {
    display: block;
    padding-left: 10px;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media print {
    .receipt-row.receipt-variant {
        font-size: 10px;
        line-height: 1.2;
    }

    .receipt-row.receipt-variant .receipt-variant-text {
        padding-left: 6px;
    }
}

/* Sadakat puanı kutusu */
.cart-loyalty-box{
    margin:14px 0;
    padding:14px 15px;
    border:1px solid rgba(217,119,6,.24);
    background:linear-gradient(135deg,rgba(255,251,235,.95),rgba(255,247,237,.92));
    border-radius:16px;
    box-shadow:0 10px 24px rgba(120,53,15,.06);
}
.cart-loyalty-title{font-weight:800;color:#92400e;margin-bottom:6px;font-size:14px}
.cart-loyalty-text{font-size:13px;color:#374151;line-height:1.45;margin-top:4px}
.cart-loyalty-note{font-size:12.5px;color:#6b7280;line-height:1.45;margin-top:6px}
.cart-loyalty-btn{
    margin-top:10px;
    width:100%;
    border:0;
    border-radius:999px;
    padding:10px 13px;
    font-weight:800;
    cursor:pointer;
    background:var(--primary,#d97706);
    color:#fff;
    box-shadow:0 8px 18px rgba(217,119,6,.18);
}
.cart-loyalty-btn:hover{filter:brightness(.97)}
.cart-summary-loyalty-row dd{color:#15803d;font-weight:800}

/* ═══════════════════════════════════════════════════════════════════════
   ⚖️ Weighted Modal (Migros-style miktar seçim)
   ═══════════════════════════════════════════════════════════════════════ */
#yz-weighted-modal {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
}
.ywm-backdrop {
    position: absolute; inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    animation: ywmFade .18s ease;
}
.ywm-dialog {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 22px 22px 18px;
    max-width: 380px; width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,.28);
    animation: ywmPop .22s ease;
}
@keyframes ywmFade { from {opacity:0} to {opacity:1} }
@keyframes ywmPop  { from {opacity:0; transform: translateY(12px) scale(.96)} to {opacity:1; transform: translateY(0) scale(1)} }
.ywm-close {
    position: absolute; top: 10px; right: 10px;
    width: 32px; height: 32px;
    border: 0; background: #f4f4f5; color: #71717a;
    border-radius: 50%; cursor: pointer;
    font-size: 14px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
}
.ywm-close:hover { background:#e4e4e7; color:#18181b }
.ywm-image {
    width: 72px; height: 72px;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 auto 12px;
    background: #fafafa;
}
.ywm-image img { width:100%; height:100%; object-fit: cover; }
.ywm-name {
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px;
}
.ywm-unit-hint {
    text-align: center;
    font-size: 12px;
    color: #d97706;
    font-weight: 600;
    margin-bottom: 16px;
}
.ywm-presets {
    display: flex; gap: 6px; flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 14px;
}
.ywm-preset {
    border: 1.5px solid #e5e7eb;
    background: #fff;
    color: #374151;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: .12s;
}
.ywm-preset:hover { border-color:#9ca3af }
.ywm-preset.is-active {
    background: #1f2937;
    color: #fff;
    border-color: #1f2937;
}
.ywm-input-row {
    display: flex; align-items: center; gap: 8px;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 14px;
}
.ywm-minus, .ywm-plus {
    width: 38px; height: 38px;
    border: 0; background: #fff;
    border-radius: 9px;
    font-size: 20px; font-weight: 700;
    color: #111827;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.ywm-minus:hover, .ywm-plus:hover { background:#f3f4f6 }
.ywm-input {
    flex: 1;
    border: 0; background: transparent;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    -moz-appearance: textfield;
}
.ywm-input::-webkit-outer-spin-button,
.ywm-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ywm-input-unit {
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
    padding-right: 10px;
}
.ywm-total {
    display: flex; justify-content: space-between; align-items: center;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 14px;
}
.ywm-total-lbl { color:#0369a1; font-size:13px; font-weight:600 }
.ywm-total-val { color:#075985; font-size:18px; font-weight:700 }
.ywm-submit {
    width: 100%;
    background: linear-gradient(180deg, #1f2937, #111827);
    color: #fff;
    border: 0;
    padding: 13px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: .2px;
    box-shadow: 0 4px 12px rgba(0,0,0,.18);
}
.ywm-submit:hover { filter: brightness(1.1); }
.ywm-hint {
    text-align: center;
    margin-top: 10px;
    font-size: 11px;
    color: #9ca3af;
}

/* ═══════════════════════════════════════════════════════════
   🆕 2-Tab Sistemi (⚖️ Tartı / 📦 Hazır Paket)
   ═══════════════════════════════════════════════════════════ */
.ywm-tabs {
    display: flex;
    gap: 6px;
    background: #f3f4f6;
    border-radius: 10px;
    padding: 4px;
    margin: 12px 0 14px;
}
.ywm-tab {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 9px 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.ywm-tab:hover { color: #374151; }
.ywm-tab.is-active {
    background: #fff;
    color: #111827;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
}

.ywm-panels { display: contents; }
.ywm-panel { display: none; }
.ywm-panel.is-active { display: block; }

/* ─── Paket kartı ─── */
.ywm-pkg-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%);
    border: 1.5px solid #fcd34d;
    border-radius: 12px;
    margin-bottom: 14px;
}
.ywm-pkg-info { flex: 1; min-width: 0; }
.ywm-pkg-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #92400e;
    background: rgba(245, 158, 11, 0.18);
    padding: 3px 9px;
    border-radius: 99px;
    letter-spacing: 0.3px;
    margin-bottom: 6px;
}
.ywm-pkg-name {
    font-size: 14px;
    font-weight: 600;
    color: #78350f;
    margin-bottom: 6px;
    line-height: 1.3;
}
.ywm-pkg-price strong {
    font-size: 18px;
    color: #b45309;
}
.ywm-pkg-unit-ref {
    font-size: 11.5px;
    color: #b45309;
    opacity: 0.75;
    margin-left: 4px;
}

/* ─── Paket adet stepper ─── */
.ywm-pkg-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 12px;
}
.ywm-pkg-qty-lbl {
    font-size: 13.5px;
    font-weight: 600;
    color: #374151;
}
.ywm-pkg-qty-stepper {
    display: flex;
    align-items: center;
    gap: 6px;
}
.ywm-pkg-minus, .ywm-pkg-plus {
    width: 36px; height: 36px;
    border: 1.5px solid #d1d5db;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    color: #374151;
    transition: background 0.15s, border-color 0.15s;
}
.ywm-pkg-minus:hover, .ywm-pkg-plus:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}
.ywm-pkg-qty {
    width: 56px;
    height: 36px;
    text-align: center;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    -moz-appearance: textfield;
}
.ywm-pkg-qty::-webkit-outer-spin-button,
.ywm-pkg-qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.ywm-pkg-total {
    color: #075985;
    font-size: 18px;
    font-weight: 700;
}


/* ---- assets/css/visit-mode.css ---- */
/**
 * YZ Visit Mode Modal — Giriş Sorusu Overlay
 *
 * Tasarım hedefleri:
 *   - Full-page overlay, samimi sıcak ton
 *   - 2 adım: mod seçimi + kişi sayısı
 *   - Mobil-first responsive
 *   - Akıcı animasyonlar (fade + scale)
 *   - Tema CSS değişkenlerine sadık (--primary, --bg-card, vb.)
 */

.yz-vm-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.25s ease-out;
}

.yz-vm-overlay.is-open {
    opacity: 1;
}

.yz-vm-modal {
    background: var(--bg-card, #ffffff);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px 28px;
    transform: scale(0.95);
    transition: transform 0.25s ease-out;
    position: relative;
}

.yz-vm-overlay.is-open .yz-vm-modal {
    transform: scale(1);
}

/* ─── Adım kontrolü ─── */
.yz-vm-step {
    display: none;
    animation: yzVmFadeIn 0.25s ease-out;
}
.yz-vm-step.is-active {
    display: block;
}
.yz-vm-step.is-leaving {
    display: block;
    animation: yzVmFadeOut 0.2s ease-out forwards;
}

@keyframes yzVmFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes yzVmFadeOut {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(-8px); }
}

/* ─── Başlık ─── */
.yz-vm-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--text, #1f2937);
    text-align: center;
    line-height: 1.3;
}

.yz-vm-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted, #6b7280);
    margin: 0 0 24px;
    text-align: center;
    line-height: 1.5;
}

/* ─── Adım 1: Mod kartları ─── */
.yz-vm-mode-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 0;
}

.yz-vm-mode-card {
    background: var(--bg-soft, #f9fafb);
    border: 2px solid var(--border, #e5e7eb);
    border-radius: 14px;
    padding: 24px 16px;
    cursor: pointer;
    transition: all 0.18s ease-out;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-family: inherit;
}

.yz-vm-mode-card:hover {
    border-color: var(--primary, #2563eb);
    background: var(--bg-card, #fff);
    color: var(--text);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.yz-vm-mode-card:active {
    transform: translateY(0);
}

.yz-vm-mode-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.yz-vm-mode-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text, #1f2937);
    margin: 0;
}

.yz-vm-mode-desc {
    font-size: 0.8rem;
    color: var(--text-muted, #6b7280);
    line-height: 1.4;
    margin: 0;
}

/* ─── Adım 2: Stepper ─── */
.yz-vm-stepper-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 28px 0 20px;
}

.yz-vm-stepper-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--border, #e5e7eb);
    background: var(--bg-card, #fff);
    color: var(--text, #1f2937);
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease-out;
    font-family: inherit;
    padding: 0;
}

.yz-vm-stepper-btn:hover:not(:disabled) {
    border-color: var(--primary, #2563eb);
    color: var(--primary, #2563eb);
    transform: scale(1.05);
}

.yz-vm-stepper-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.yz-vm-stepper-input {
    width: 80px;
    height: 56px;
    border: 2px solid var(--border, #e5e7eb);
    border-radius: 12px;
    background: var(--bg-soft, #f9fafb);
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text, #1f2937);
    font-family: inherit;
    -moz-appearance: textfield;
}

.yz-vm-stepper-input::-webkit-outer-spin-button,
.yz-vm-stepper-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.yz-vm-stepper-input:focus {
    outline: none;
    border-color: var(--primary, #2563eb);
}

/* ─── Devam butonu ─── */
.yz-vm-continue-btn {
    width: 100%;
    padding: 14px 24px;
    background: var(--primary, #2563eb);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease-out;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.yz-vm-continue-btn:hover {
    background: var(--primary-dk, #1d4ed8);
    color: var(--primary-on, #fff);
    transform: translateY(-1px);
}

.yz-vm-continue-btn svg {
    width: 18px;
    height: 18px;
}

/* ─── Mobil responsive ─── */
@media (max-width: 480px) {
    .yz-vm-modal {
        padding: 24px 20px;
        border-radius: 16px;
    }
    .yz-vm-title {
        font-size: 1.25rem;
    }
    .yz-vm-mode-grid {
        grid-template-columns: 1fr;
    }
    .yz-vm-mode-card {
        padding: 20px 16px;
        flex-direction: row;
        text-align: left;
        gap: 16px;
    }
    .yz-vm-mode-icon {
        font-size: 2rem;
    }
    .yz-vm-mode-label {
        font-size: 0.95rem;
    }
    .yz-vm-stepper-btn {
        width: 52px;
        height: 52px;
    }
    .yz-vm-stepper-input {
        width: 72px;
        height: 52px;
    }
}

/* ─── RTL (Arapça) ─── */
[dir="rtl"] .yz-vm-mode-card {
    text-align: center;
}
[dir="rtl"] .yz-vm-continue-btn svg {
    transform: scaleX(-1);
}


/* ---- assets/css/blog.css ---- */
/* ======================================================================
   BLOG — /blog & /blog/{slug}
   Prefix: .bl-   ·   Marka: neon lime #A4E22B + premium altın #C9A24B
   Koyu premium tema (is siyahı #0B0B0B). Tokenlar: --primary/--accent/--bg-*
====================================================================== */

/* Token alias'ları :root'ta — hem liste (.bl-page) hem detay (.bl-detail) erişsin */
:root {
    --bl-lime: var(--primary, #A4E22B);
    --bl-lime-br: var(--primary-dk, #B6F23D);
    --bl-gold: var(--accent, #C9A24B);
    --bl-ink: var(--bg-page, #0B0B0B);
    --bl-card: var(--bg-card, #141414);
    --bl-line: var(--border, #262626);
    --bl-muted: rgba(255, 255, 255, 0.58);
    --bl-faint: rgba(255, 255, 255, 0.40);
}
.bl-page {
    background: var(--bl-ink);
    min-height: calc(100vh - var(--header-height, 60px));
    color: #fff;
}
.bl-detail { color: #fff; }

/* ─────────────── HERO ─────────────── */
.bl-hero {
    position: relative;
    padding: 90px 20px 74px;
    background:
        radial-gradient(62% 100% at 16% -10%, rgba(164, 226, 43, 0.16), transparent 60%),
        radial-gradient(48% 85% at 88% 12%, rgba(201, 162, 75, 0.13), transparent 58%),
        var(--bl-ink);
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
/* ince nokta dokusu */
.bl-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.055) 1px, transparent 0);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, #000 40%, transparent 100%);
            mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, #000 40%, transparent 100%);
}
/* üstte lime saç teli parıltısı */
.bl-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    width: min(560px, 80%);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, var(--bl-lime), transparent);
    opacity: 0.7;
}

.bl-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
}

.bl-hero-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--bl-lime-br);
    margin-bottom: 20px;
    padding: 7px 16px;
    background: rgba(164, 226, 43, 0.09);
    border: 1px solid rgba(164, 226, 43, 0.32);
    border-radius: 999px;
}

.bl-hero-title {
    font-size: clamp(38px, 6.4vw, 68px);
    font-weight: 800;
    margin: 0 0 16px;
    letter-spacing: -0.03em;
    line-height: 1.02;
    color: #fff;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.5);
}

.bl-hero-subtitle {
    margin: 0 auto;
    max-width: 540px;
    font-size: clamp(15px, 2vw, 18px);
    color: var(--bl-muted);
    line-height: 1.6;
}

/* ─────────────── CONTAINER ─────────────── */
.bl-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 44px 20px 80px;
}

/* ─────────────── FILTERS ─────────────── */
.bl-filters {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.bl-filter-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bl-faint);
    flex-shrink: 0;
}

.bl-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bl-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.035);
    color: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--bl-line);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.16s, color 0.16s, background 0.16s, transform 0.16s;
}
.bl-chip:hover {
    border-color: rgba(164, 226, 43, 0.5);
    color: #fff;
    transform: translateY(-1px);
}
.bl-chip.is-active {
    background: var(--bl-lime);
    color: var(--primary-on, #16280A);
    border-color: var(--bl-lime);
}

.bl-chip-count {
    background: rgba(255, 255, 255, 0.08);
    color: var(--bl-faint);
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.6;
}
.bl-chip.is-active .bl-chip-count {
    background: rgba(22, 40, 10, 0.22);
    color: var(--primary-on, #16280A);
}

/* ─────────────── FEATURED CARD ─────────────── */
.bl-featured {
    margin-bottom: 44px;
}

.bl-featured-card {
    display: grid;
    grid-template-columns: 1fr;
    background: var(--bl-card);
    border: 1px solid var(--bl-line);
    border-radius: 22px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.bl-featured-card:hover {
    transform: translateY(-4px);
    border-color: rgba(164, 226, 43, 0.45);
    box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(164, 226, 43, 0.15);
}

@media (min-width: 860px) {
    .bl-featured-card {
        grid-template-columns: 1.25fr 1fr;
        align-items: stretch;
    }
}

.bl-featured-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 30%, rgba(164, 226, 43, 0.18), transparent 60%),
        #0e0e0e;
}
@media (min-width: 860px) {
    .bl-featured-media { aspect-ratio: auto; min-height: 380px; }
}
.bl-featured-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.bl-featured-card:hover .bl-featured-media img { transform: scale(1.05); }
/* medya üstü karartma — köşe geçişleri yumuşasın */
.bl-featured-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 55%, rgba(11, 11, 11, 0.35));
    pointer-events: none;
}

.bl-featured-placeholder,
.bl-card-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: rgba(164, 226, 43, 0.55);
}
.bl-featured-placeholder svg { width: 84px; height: 84px; }
.bl-card-placeholder svg { width: 52px; height: 52px; }

.bl-featured-body {
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: center;
}
@media (min-width: 860px) {
    .bl-featured-body { padding: 44px; }
}

.bl-featured-cat,
.bl-card-cat {
    display: inline-block;
    align-self: flex-start;
    font-size: 11px;
    font-weight: 800;
    color: var(--bl-lime-br);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.bl-featured-title {
    font-size: clamp(24px, 2.8vw, 34px);
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.14;
    letter-spacing: -0.02em;
}

.bl-featured-excerpt {
    color: var(--bl-muted);
    font-size: 15.5px;
    line-height: 1.7;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bl-featured-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--bl-faint);
    font-size: 13px;
    margin-top: 2px;
}

.bl-featured-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--bl-lime-br);
    font-weight: 700;
    font-size: 14.5px;
    margin-top: 6px;
    transition: gap 0.2s ease;
}
.bl-featured-card:hover .bl-featured-cta { gap: 12px; }

/* ─────────────── GRID ─────────────── */
.bl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
}

.bl-card {
    background: var(--bl-card);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--bl-line);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.bl-card:hover {
    transform: translateY(-4px);
    border-color: rgba(164, 226, 43, 0.45);
    box-shadow: 0 20px 46px -26px rgba(0, 0, 0, 0.9);
}

.bl-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bl-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 30%, rgba(164, 226, 43, 0.14), transparent 60%),
        #0e0e0e;
}
.bl-card-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.bl-card:hover .bl-card-media img { transform: scale(1.06); }

.bl-card-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 1;
}

.bl-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 2px 0 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bl-card-excerpt {
    color: var(--bl-muted);
    font-size: 13.5px;
    line-height: 1.65;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bl-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    color: var(--bl-faint);
    font-size: 12px;
    margin-top: auto;
    padding-top: 6px;
}

.bl-meta-sep { color: rgba(255, 255, 255, 0.22); }
.bl-meta-author { color: rgba(255, 255, 255, 0.72); font-weight: 600; }
.bl-meta-date, .bl-meta-read { color: var(--bl-faint); }

/* ─────────────── EMPTY ─────────────── */
.bl-empty {
    background: var(--bl-card);
    border: 1px solid var(--bl-line);
    border-radius: 18px;
    padding: 72px 24px;
    text-align: center;
}
.bl-empty-icon {
    color: rgba(164, 226, 43, 0.5);
    margin-bottom: 16px;
}
.bl-empty-icon svg { width: 46px; height: 46px; }
.bl-empty h3 {
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}
.bl-empty p {
    color: var(--bl-muted);
    margin: 0 0 18px;
    font-size: 14.5px;
}
.bl-empty-action {
    color: var(--bl-lime-br);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}
.bl-empty-action:hover { text-decoration: underline; }


/* ======================================================================
   DETAIL PAGE  /blog/{slug}
====================================================================== */

.bl-detail {
    max-width: 820px;
    margin: 0 auto;
}

.bl-detail-back-row { padding: 26px 20px 0; }
.bl-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--bl-faint);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    transition: color 0.15s;
}
.bl-detail-back:hover { color: var(--bl-lime-br); }

.bl-detail-hero {
    position: relative;
    margin: 22px 20px 0;
    border-radius: 22px;
    overflow: hidden;
    min-height: 340px;
    background:
        radial-gradient(60% 100% at 20% 0%, rgba(164, 226, 43, 0.20), transparent 60%),
        radial-gradient(50% 90% at 90% 20%, rgba(201, 162, 75, 0.16), transparent 55%),
        #0e0e0e;
    color: #fff;
    display: flex;
    align-items: flex-end;
    padding: 84px 36px 34px;
    border: 1px solid var(--bl-line);
}
.bl-detail-hero.no-image {
    background:
        radial-gradient(60% 100% at 20% 0%, rgba(164, 226, 43, 0.22), transparent 60%),
        radial-gradient(50% 90% at 88% 15%, rgba(201, 162, 75, 0.18), transparent 55%),
        #0d0d0d;
}

.bl-detail-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}
.bl-detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(11, 11, 11, 0.35) 0%, rgba(11, 11, 11, 0.92) 100%);
    z-index: 1;
}
.bl-detail-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 720px;
}

.bl-detail-cat {
    display: inline-flex;
    align-items: center;
    background: rgba(164, 226, 43, 0.12);
    color: var(--bl-lime-br);
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
    border: 1px solid rgba(164, 226, 43, 0.34);
    transition: background 0.15s;
}
.bl-detail-cat:hover { background: rgba(164, 226, 43, 0.2); }

.bl-detail-title {
    font-size: clamp(30px, 4.4vw, 46px);
    font-weight: 800;
    margin: 0 0 14px;
    letter-spacing: -0.025em;
    line-height: 1.08;
    color: #fff;
}
.bl-detail-excerpt {
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
    line-height: 1.55;
    margin: 0;
}

/* Meta bar */
.bl-detail-meta-bar {
    max-width: 720px;
    margin: 28px auto 0;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.bl-author { display: flex; align-items: center; gap: 12px; }
.bl-author-avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bl-lime), var(--bl-gold));
    color: #16280A;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
}
.bl-author-info { line-height: 1.35; }
.bl-author-name {
    display: block;
    font-size: 14.5px;
    font-weight: 600;
    color: #fff;
}
.bl-author-meta {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 5px;
    color: var(--bl-faint);
    font-size: 12.5px;
}

/* Share */
.bl-share { display: flex; gap: 8px; }
.bl-share-btn {
    width: 38px; height: 38px;
    border: 1px solid var(--bl-line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--bl-muted);
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
    text-decoration: none;
    padding: 0;
}
.bl-share-btn:hover {
    border-color: rgba(164, 226, 43, 0.5);
    color: var(--bl-lime-br);
    background: rgba(164, 226, 43, 0.08);
}

/* Body */
.bl-detail-body {
    max-width: 720px;
    margin: 32px auto 0;
    padding: 0 20px;
}

.bl-prose {
    color: rgba(255, 255, 255, 0.86);
    font-size: 17.5px;
    line-height: 1.8;
    font-family: 'Georgia', 'Times New Roman', serif;
}
.bl-prose > * + * { margin-top: 1em; }

.bl-prose h2,
.bl-prose h3 {
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #fff;
    letter-spacing: -0.015em;
    line-height: 1.25;
}
.bl-prose h2 {
    font-size: 27px;
    font-weight: 800;
    margin-top: 1.7em;
    margin-bottom: 0.6em;
    padding-bottom: 0.3em;
    border-bottom: 1px solid var(--bl-line);
}
.bl-prose h3 {
    font-size: 21px;
    font-weight: 700;
    margin-top: 1.4em;
    margin-bottom: 0.5em;
}
.bl-prose p { margin: 0 0 1em; }

.bl-prose a {
    color: var(--bl-lime-br);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(164, 226, 43, 0.5);
}
.bl-prose a:hover { text-decoration-color: var(--bl-lime-br); }

.bl-prose blockquote {
    margin: 1.6em 0;
    padding: 16px 24px;
    border-left: 3px solid var(--bl-lime);
    background: rgba(164, 226, 43, 0.05);
    color: rgba(255, 255, 255, 0.78);
    font-style: italic;
    border-radius: 0 12px 12px 0;
}
.bl-prose blockquote p { margin: 0; }

.bl-prose ul, .bl-prose ol { padding-left: 1.4em; margin: 0 0 1em; }
.bl-prose li { margin-bottom: 0.5em; }
.bl-prose li::marker { color: var(--bl-lime); }

.bl-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 1.5em 0;
    border: 1px solid var(--bl-line);
}

.bl-prose code {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.88em;
    background: rgba(255, 255, 255, 0.07);
    padding: 2px 7px;
    border-radius: 6px;
    color: var(--bl-lime-br);
}

.bl-prose pre {
    background: #060606;
    color: #e2e8f0;
    padding: 18px;
    border-radius: 12px;
    overflow-x: auto;
    border: 1px solid var(--bl-line);
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 14px;
    line-height: 1.55;
}
.bl-prose pre code { background: transparent; color: inherit; padding: 0; }

/* Karşılaştırma tablosu (versus) */
.bl-table-wrap { margin: 1.7em 0; overflow-x: auto; border: 1px solid var(--bl-line); border-radius: 14px; }
.bl-prose table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    margin: 0;
}
.bl-prose thead th {
    background: rgba(164, 226, 43, 0.08);
    color: #fff;
    font-weight: 800;
    font-size: 12.5px;
    letter-spacing: 0.02em;
}
.bl-prose th, .bl-prose td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--bl-line);
    text-align: left;
    vertical-align: top;
}
.bl-prose tbody tr:last-child td { border-bottom: none; }
.bl-prose td:first-child, .bl-prose thead th:first-child {
    color: var(--bl-muted);
    font-weight: 700;
}
/* Bizim sütun (2.) vurgulu */
.bl-prose td:nth-child(2), .bl-prose thead th:nth-child(2) {
    background: rgba(164, 226, 43, 0.07);
    color: #fff;
    font-weight: 600;
}
.bl-prose thead th:nth-child(2) { color: var(--bl-lime-br); }

/* CTA butonu (yazı içi) */
.bl-cta-row { margin: 2em 0 0.5em; text-align: center; }
.bl-prose a.bl-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--bl-lime);
    color: var(--primary-on, #16280A);
    font-family: Inter, sans-serif;
    font-weight: 800;
    font-size: 15.5px;
    text-decoration: none;
    padding: 15px 32px;
    border-radius: 999px;
    transition: filter 0.15s, transform 0.15s;
}
.bl-prose a.bl-cta:hover { filter: brightness(1.06); transform: translateY(-1px); text-decoration: none; }

/* Related */
.bl-related {
    max-width: 1160px;
    margin: 68px auto 0;
    padding: 44px 20px 0;
    border-top: 1px solid var(--bl-line);
}
.bl-related-title {
    font-size: 23px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 26px;
    letter-spacing: -0.015em;
}
.bl-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.bl-card-sm .bl-card-media { aspect-ratio: 16 / 10; }
.bl-card-sm .bl-card-title { font-size: 16px; }

/* ─────────────── RESPONSIVE ─────────────── */
@media (max-width: 640px) {
    .bl-hero { padding: 66px 18px 54px; }
    .bl-container { padding: 32px 16px 64px; }
    .bl-detail-hero { padding: 64px 22px 26px; min-height: 280px; }
    .bl-detail-body { font-size: 16.5px; }
}


/* ---- partials/product-card.css ---- */
/* ======================================================================
   PARTIAL — PRODUCT CARD
   Prefix: .pc-
   Yeniden kullanılabilir ürün kartı (Featured Products, Menu, Search, vb.)
   3 boyut: small / medium / large
   ====================================================================== */

.pc {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
    isolation: isolate;
}
.pc:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-lt);
}

/* ─────────── Media (image) ─────────── */

.pc-media-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.pc-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--bg-soft);
}

.pc-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pc:hover .pc-image {
    transform: scale(1.06);
}

.pc-image-fallback {
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-lt) 0%, var(--accent-lt) 100%);
    color: var(--primary-dk);
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: 3rem;
    letter-spacing: -0.02em;
}

/* ─────────── Badges ─────────── */

.pc-badge {
    position: absolute;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    border-radius: var(--radius-full);
    line-height: 1;
}

.pc-badge-veg {
    top: 8px;
    inset-inline-start: 8px;
    width: 24px;
    height: 24px;
    padding: 0;
    background: #ecfdf5;
    color: #059669;
    border: 1.5px solid #10b981;
}
.pc-badge-veg svg {
    width: 14px;
    height: 14px;
}

.pc-badge-discount {
    top: 8px;
    inset-inline-end: 8px;
    background: var(--danger);
    color: #fff;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

/* "Sadece restoranda" — restoran-only ürün */
.pc-badge-in-house {
    top: 8px;
    inset-inline-end: 8px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 5px 10px;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    gap: 4px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.pc-badge-in-house svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* ─────────── Body ─────────── */

.pc-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    padding: var(--sp-3) var(--sp-4) var(--sp-4) var(--sp-4);
}

/* 🏷️ Marka rozeti — title üstünde küçük ve sade */
.pc-brand {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted, #6b7280);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 -2px;
    line-height: 1;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pc-brand-star { color: #f59e0b; font-size: 10px; }
.pc-brand-name { overflow: hidden; text-overflow: ellipsis; }

.pc-title {
    font-family: var(--font-display);
    font-size: var(--fs-base);
    font-weight: var(--fw-semibold);
    margin: 0;
    line-height: var(--lh-snug);
    color: var(--text);
}

/* ⚖️ Net ağırlık + raf ömrü */
.pc-netweight {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-muted, #6b7280);
    line-height: 1.4;
    margin: 2px 0 0;
    flex-wrap: wrap;
}
.pc-shelf-life {
    color: #059669;
    font-weight: 500;
}

.pc-title-link {
    color: inherit;
    text-decoration: none;
    transition: color var(--t-fast);
}
.pc-title-link:hover { color: var(--primary-dk); }

.pc-desc {
    margin: 0;
    font-size: var(--fs-sm);
    color: var(--text-muted);
    line-height: var(--lh-snug);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(var(--fs-sm) * var(--lh-snug) * 2);
}

/* ─────────── Footer (price + action) ─────────── */

.pc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-2);
    margin-top: auto;
    padding-top: var(--sp-2);
}

.pc-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    line-height: 1.1;
}

.pc-price-old {
    font-size: var(--fs-xs);
    color: var(--text-soft);
    text-decoration: line-through;
}

.pc-price-current {
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    color: var(--primary-dk);
    font-variant-numeric: tabular-nums;
}

/* 💰 Birim fiyat (₺/kg, ₺/L) — price'in altında soluk */
.pc-price-unit {
    display: block;
    width: 100%;
    font-size: 10.5px;
    font-style: italic;
    color: var(--text-muted, #9ca3af);
    margin-top: 1px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01em;
}

/* ─────────── Action button (sepete ekle / detay) ─────────── */

.pc-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
    transition: all var(--t-fast);
}

.pc-action svg {
    width: 18px;
    height: 18px;
}

.pc-action-add {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}
.pc-action-add:hover {
    background: var(--primary-dk);
    color: var(--primary-on, #fff);
    transform: scale(1.08);
}
.pc-action-add.is-added {
    background: var(--success, #16a34a);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
    transform: scale(1.12);
    transition: background 0.15s, transform 0.15s;
}
.pc-action-add.is-added svg line {
    /* + → ✓ animasyonu için opacity düşür */
    opacity: 0.6;
}

.pc-action-variants {
    background: var(--bg-soft);
    border: 1.5px solid var(--primary);
    color: var(--primary-dk);
}
.pc-action-variants:hover {
    background: var(--primary);
    color: var(--primary-on, #fff);
}

.pc-action-view {
    background: var(--bg-soft);
    color: var(--text-muted);
}
.pc-action-view:hover {
    background: var(--primary-lt);
    color: var(--primary-dk);
}

.pc-action:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ─────────── Boyutlar ─────────── */

.pc-small {
    /* Compact list view */
}
.pc-small .pc-title { font-size: var(--fs-sm); }
.pc-small .pc-desc  { display: none; }
.pc-small .pc-body  { padding: var(--sp-2) var(--sp-3) var(--sp-3); gap: 4px; }
.pc-small .pc-price-current { font-size: var(--fs-base); }
.pc-small .pc-action { width: 32px; height: 32px; }
.pc-small .pc-action svg { width: 14px; height: 14px; }

.pc-large .pc-title { font-size: var(--fs-lg); }
.pc-large .pc-price-current { font-size: var(--fs-xl); }


/* ======================================================================
   YENİ: Event ribbon + Attrs strip (alerjen + dietary mini chips)
   2026-Q2 — themes/default-perakende refresh
   ====================================================================== */

/* Event ribbon — görselin sol alt köşesinde altın şerit */
.pc-event-ribbon {
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #78350f;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(251, 191, 36, .35);
  border: 1px solid rgba(255, 255, 255, .6);
  max-width: calc(100% - 16px);
}
.pc-event-ribbon-icon { font-size: 13px; line-height: 1; }
.pc-event-ribbon-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Attrs strip — body içinde, footer öncesi */
.pc-attrs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 8px 0 6px;
  align-items: center;
}

.pc-attr-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.pc-attr-chip-dietary {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #86efac;
}
.pc-attr-icon { font-size: 12px; line-height: 1; }

.pc-attr-group {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 7px;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 6px;
  color: #78350f;
  cursor: help;
}
.pc-attr-warn { font-size: 11px; line-height: 1; }
.pc-attr-allergen {
  font-size: 12px;
  line-height: 1;
  cursor: help;
}
.pc-attr-allergen-more {
  font-size: 10px;
  font-weight: 700;
  padding: 0 4px;
  background: #f59e0b;
  color: #fff;
  border-radius: 999px;
  line-height: 1.4;
}

/* Small kartlarda label gizlenir, sadece icon kalır */
.pc-small .pc-attr-label { display: none; }
.pc-small .pc-attr-chip { padding: 3px 6px; }
.pc-small .pc-event-ribbon-text { display: none; }
.pc-small .pc-event-ribbon { padding: 4px 7px; }


/* ======================================================================
   YENİ: Hızlı Dinle butonu (.pc-tts-btn) — kart üzerinde TTS shortcut
   Smart Voice: edge-tts endpoint | Standard: Web Speech API
   ====================================================================== */
.pc-tts-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  margin-left: 4px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #475569;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
  flex-shrink: 0;
}
.pc-tts-btn:hover {
  background: #e0f2fe;
  color: #0369a1;
  border-color: #38bdf8;
  transform: scale(1.08);
}
.pc-tts-btn:active { transform: scale(.95); }
.pc-tts-btn:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
}
.pc-tts-btn svg {
  width: 16px;
  height: 16px;
  display: block;
}
.pc-tts-btn.is-playing {
  background: #fef3c7;
  color: #b45309;
  border-color: #f59e0b;
  animation: pcTtsPulse 1.4s ease-in-out infinite;
}
.pc-tts-btn.is-loading {
  background: #fef3c7;
  color: #b45309;
  border-color: #f59e0b;
  cursor: wait;
}
@keyframes pcTtsPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, .4); }
  50%      { box-shadow: 0 0 0 4px rgba(245, 158, 11, 0); }
}
/* Small kartlarda biraz daha küçük */
.pc-small .pc-tts-btn { width: 24px; height: 24px; }
.pc-small .pc-tts-btn svg { width: 13px; height: 13px; }


/* ---- partials/review-card.css ---- */
/* ======================================================================
   PARTIAL — REVIEW CARD
   Prefix: .rc-
   ====================================================================== */

.rc {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--sp-5);
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
    position: relative;
    isolation: isolate;
}
.rc:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-lt);
}

/* Köşede tırnak işareti dekoratif */
.rc::before {
    content: """;
    position: absolute;
    top: -8px;
    inset-inline-end: var(--sp-4);
    font-size: 56px;
    line-height: 1;
    color: var(--primary-lt);
    font-family: var(--font-display);
    z-index: -1;
    user-select: none;
}

.rc-header {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
}

.rc-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: var(--fs-lg);
    flex-shrink: 0;
}

.rc-meta {
    flex: 1;
    min-width: 0;
}

.rc-name {
    font-family: var(--font-display);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--text);
    margin: 0;
    line-height: 1.2;
}

.rc-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    align-items: center;
    margin-top: 4px;
}

.rc-date {
    font-size: var(--fs-xs);
    color: var(--text-soft);
}

.rc-verified {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    background: #ecfdf5;
    color: #047857;
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    border-radius: var(--radius-full);
    border: 1px solid #d1fae5;
}
.rc-verified svg {
    width: 11px;
    height: 11px;
}

.rc-source {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    background: var(--bg-soft);
    color: var(--text-muted);
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
}

/* ─────────── Stars ─────────── */

.rc-stars {
    display: flex;
    gap: 2px;
}

.rc-star {
    width: 16px;
    height: 16px;
    color: var(--border-strong, #d1d5db);
}
.rc-star.is-on {
    color: #f59e0b;
}

/* ─────────── Text ─────────── */

.rc-text {
    margin: 0;
    font-size: var(--fs-sm);
    color: var(--text);
    line-height: var(--lh-relaxed);
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* ---- modules/accessibility/module.css ---- */
/* ============================================================
   YZ Restaurant Accessibility Module — A.2 Reading Mode + Settings
============================================================ */

/* Atkinson Hyperlegible (low-vision) + Lexend (disleksi-optimized) */

/* OpenDyslexic (en güçlü disleksi font'u) — self-hosted ya da OpenDyslexic CDN */
@font-face {
    font-family: 'OpenDyslexic';
    src: url('https://cdn.jsdelivr.net/npm/open-dyslexic@1.0.3/woff/OpenDyslexic-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'OpenDyslexic';
    src: url('https://cdn.jsdelivr.net/npm/open-dyslexic@1.0.3/woff/OpenDyslexic-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ─── Floating Action Button (a11y-fab) — sol alt
       Chat FAB ile aynı boyut/yükseklik (56×56 desktop, 52×52 mobile) ─── */
.a11y-fab {
    position: fixed;
    bottom: var(--sp-5, 20px);
    inset-inline-start: var(--sp-5, 20px);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--btn-a11y-bg, #2d8a3e) 0%, var(--btn-a11y-bg-2, #4caf50) 100%);
    color: var(--btn-a11y-text, #ffffff);
    border: 2px solid rgba(255, 255, 255, 0.18);
    cursor: pointer;
    box-shadow: 0 8px 24px color-mix(in srgb, var(--btn-a11y-bg-2, #4caf50) 35%, transparent);
    z-index: var(--z-sticky, 200);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 200ms ease, box-shadow 200ms ease;
}
.a11y-fab:hover {
    background: linear-gradient(135deg, var(--btn-a11y-bg, #266f33) 0%, var(--btn-a11y-bg-2, #43a047) 100%);
    color: var(--btn-a11y-text, #fff);
    transform: scale(1.08);
    box-shadow: 0 12px 32px color-mix(in srgb, var(--btn-a11y-bg-2, #4caf50) 45%, transparent);
}
.a11y-fab:focus-visible {
    outline: 3px solid #ffd700;
    outline-offset: 3px;
}
.a11y-fab svg {
    display: block;
    width: 26px;
    height: 26px;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.15));
}

/* Full-page modal açıkken FAB gizlensin (modal close butonu zaten var). */
body.a11y-modal-open .a11y-fab { display: none; }

/* Mobile — Chat FAB ile aynı (52×52, bottom: 16px) */
@media (max-width: 480px) {
    .a11y-fab {
        width: 52px;
        height: 52px;
        bottom: 16px;
        inset-inline-start: 16px;
    }
    .a11y-fab svg { width: 24px; height: 24px; }
}



/* ════════════════════════════════════════════════════════════
   MODAL — Mobile full-page beyaz, Desktop center modal
   Backdrop ayrı div YOK — overlay'in kendisi koyu (desktop)
   ════════════════════════════════════════════════════════════ */

/* Overlay container — mobile: full viewport beyaz; desktop: koyu + center */
.a11y-modal {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal, 400);
    display: none;
    background: var(--bg-card, #ffffff);
    animation: a11y-fade 200ms ease-out;
}
.a11y-modal.is-open { display: flex; flex-direction: column; }

@keyframes a11y-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Panel — mobile: full viewport */
.a11y-modal-panel {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--bg-card, #ffffff);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: a11y-slide 280ms cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes a11y-slide {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── Desktop (≥640px) — center modal ─── */
@media (min-width: 640px) {
    .a11y-modal {
        background: rgba(15, 23, 42, 0.55);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        align-items: center;
        justify-content: center;
        padding: 4vh 16px;
    }
    .a11y-modal.is-open { flex-direction: row; }  /* center flex */
    .a11y-modal-panel {
        width: min(92vw, 720px);
        max-width: 720px;
        height: auto;
        max-height: 86vh;
        border-radius: 16px;
        box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
        animation: a11y-slide-desktop 280ms cubic-bezier(0.16, 1, 0.3, 1);
    }
    @keyframes a11y-slide-desktop {
        from { opacity: 0; transform: translateY(-16px) scale(0.98); }
        to   { opacity: 1; transform: translateY(0) scale(1); }
    }
}

/* Header */
.a11y-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border, #e5e7eb);
    background: var(--bg-card, #ffffff);
    flex-shrink: 0;
}
.a11y-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text, #1a1410);
    line-height: 1.3;
}
.a11y-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-muted, #6b7280);
    cursor: pointer;
    transition: background 160ms ease, color 160ms ease;
}
.a11y-modal-close:hover {
    background: var(--bg-soft, #f3f4f6);
    color: var(--text, #111827);
}
.a11y-modal-close:focus-visible {
    outline: 2px solid var(--btn-a11y-bg-2, #4caf50);
    outline-offset: 2px;
}

/* Body — scrollable content */
.a11y-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    color: var(--text, #2a2520);
    font-size: 15px;
    line-height: 1.6;
}
.a11y-modal-body::-webkit-scrollbar { width: 8px; }
.a11y-modal-body::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 4px;
}
.a11y-modal-body::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.3); }


/* ─── Reading Mode Master Button ─── */
.a11y-reading-mode-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px 18px;
    background: linear-gradient(135deg, var(--btn-a11y-bg, #2d8a3e) 0%, var(--btn-a11y-bg-2, #4caf50) 100%);
    color: var(--btn-a11y-text, #ffffff);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-align: start;
    transition: transform 200ms ease, box-shadow 200ms ease;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--btn-a11y-bg-2, #4caf50) 25%, transparent);
}
.a11y-reading-mode-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--btn-a11y-bg-2, #4caf50) 35%, transparent);
}
.a11y-reading-mode-btn:focus-visible { outline: 3px solid #ffd700; outline-offset: 3px; }
.a11y-reading-mode-btn[aria-pressed="true"] {
    background: linear-gradient(135deg, var(--btn-a11y-bg, #1b5e20) 0%, var(--btn-a11y-bg, #388e3c) 100%); filter: brightness(0.85);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--btn-a11y-bg, #1b5e20) 40%, transparent), inset 0 0 0 2px #ffd700;
}
.a11y-reading-mode-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    font-size: 20px;
}
.a11y-reading-mode-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.a11y-reading-mode-title { font-size: 16px; font-weight: 700; line-height: 1.3; }
.a11y-reading-mode-desc { font-size: 13px; opacity: 0.9; line-height: 1.4; }
.a11y-reading-mode-toggle {
    flex-shrink: 0;
    width: 44px;
    height: 24px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.25);
    position: relative;
    transition: background 200ms ease;
}
.a11y-reading-mode-toggle::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-card, #ffffff);
    transition: transform 200ms ease;
}
.a11y-reading-mode-btn[aria-pressed="true"] .a11y-reading-mode-toggle { background: #ffd700; }
.a11y-reading-mode-btn[aria-pressed="true"] .a11y-reading-mode-toggle::after { transform: translateX(20px); }

/* ─── Sections + Settings ─── */
.a11y-section { margin-top: 22px; }
.a11y-section-title {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted, #6c5f53);
}
.a11y-setting {
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.a11y-setting-toggle {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.a11y-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text, #2a2520);
    margin: 0;
}
.a11y-label i { color: var(--text-muted, #6c5f53); width: 18px; text-align: center; }

/* Segmented buton grubu */
.a11y-segmented {
    display: flex;
    gap: 4px;
    background: var(--bg-soft, #f4f1ec);
    padding: 4px;
    border-radius: 10px;
}
.a11y-seg-btn {
    flex: 1;
    padding: 12px 8px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text, #2a2520);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 160ms ease;
    min-height: 44px;  /* WCAG tap target */
}
.a11y-seg-btn:hover { background: rgba(0, 0, 0, 0.04); }
.a11y-seg-btn:focus-visible { outline: 2px solid var(--btn-a11y-bg-2, #4caf50); outline-offset: 1px; }
.a11y-seg-btn[aria-pressed="true"] {
    background: var(--bg-card, #ffffff);
    color: var(--text, #1a1410);
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Toggle switch */
.a11y-toggle {
    flex-shrink: 0;
    position: relative;
    width: 48px;
    height: 28px;
    border-radius: 14px;
    background: var(--border, #d4cfc7);
    border: none;
    cursor: pointer;
    transition: background 200ms ease;
    padding: 0;
}
.a11y-toggle:focus-visible { outline: 2px solid var(--btn-a11y-bg-2, #4caf50); outline-offset: 2px; }
.a11y-toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--bg-card, #ffffff);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 200ms ease;
}
.a11y-toggle[aria-checked="true"] { background: var(--btn-a11y-bg-2, #4caf50); }
.a11y-toggle[aria-checked="true"] .a11y-toggle-thumb { transform: translateX(20px); }

/* Footer (Reset + Close) — body'nin son child'ı, search pattern (sticky DEĞİL) */
.a11y-modal-footer {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border, #e5e7eb);
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Geriye uyumluluk — eski .a11y-reset-wrap kullanan varsa */
.a11y-reset-wrap {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    text-align: center;
}

/* Footer Close Button — yeşil (positive action) — WCAG tap target ≥44px */
.a11y-footer-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 12px 28px;
    background: var(--btn-a11y-bg, #2e7d32);
    color: var(--btn-a11y-text, #ffffff);
    border: 1.5px solid var(--btn-a11y-bg, #2e7d32);
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background 180ms ease, transform 120ms ease;
}
.a11y-footer-close-btn:hover {
    background: var(--btn-a11y-bg, #1b5e20);
    color: var(--btn-a11y-text, #fff);
    border-color: var(--btn-a11y-bg, #1b5e20);
}
.a11y-footer-close-btn:active {
    transform: scale(0.98);
}
.a11y-footer-close-btn:focus-visible {
    outline: 3px solid var(--btn-a11y-bg-2, #4caf50);
    outline-offset: 2px;
}
.a11y-reset-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 12px 22px;
    background: transparent;
    color: var(--danger, #c0392b);
    border: 1.5px solid #c0392b;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 160ms ease;
}
.a11y-reset-btn:hover { background: var(--danger, #c0392b); color: var(--danger-on, #fff); }
.a11y-reset-btn:focus-visible { outline: 2px solid var(--danger, #c0392b); outline-offset: 2px; }

/* RTL */
[dir="rtl"] .a11y-modal-header { flex-direction: row-reverse; }
[dir="rtl"] .a11y-toggle[aria-checked="true"] .a11y-toggle-thumb { transform: translateX(-20px); }
[dir="rtl"] .a11y-reading-mode-btn[aria-pressed="true"] .a11y-reading-mode-toggle::after { transform: translateX(-20px); }

/* Body scroll-lock */
body.a11y-modal-open { overflow: hidden; }

/* Mobil bottom-sheet */
@media (max-width: 480px) {
    .a11y-modal-panel {
        width: 100vw;
        max-height: 90vh;
        top: auto;
        bottom: 0;
        left: 0;
        transform: translate(0, 0);
        border-radius: 16px 16px 0 0;
        animation: a11yPanelInMobile 320ms cubic-bezier(0.18, 0.89, 0.32, 1.28);
    }
    @keyframes a11yPanelInMobile {
        from { transform: translateY(100%); }
        to   { transform: translateY(0); }
    }
}

/* ============================================================
   ★ A11Y MODAL COUNTER-ZOOM ★
   Sayfa zoom altındayken modal viewport'tan taşmasın diye
   modal'ı 1/zoom ile karşı-ölçeklendir. Modal "ayar paneli"
   olduğu için (uzun metin okumayacak) normal boyutta kalması OK.
============================================================ */
html[data-a11y-reading="1"]  .a11y-modal,
html[data-a11y-reading="1"]  .a11y-fab     { zoom: 0.893; } /* 1/1.12 */
html[data-a11y-font="medium"] .a11y-modal,
html[data-a11y-font="medium"] .a11y-fab    { zoom: 0.909; } /* 1/1.10 */
html[data-a11y-font="large"]  .a11y-modal,
html[data-a11y-font="large"]  .a11y-fab    { zoom: 0.820; } /* 1/1.22 */
html[data-a11y-font="xlarge"] .a11y-modal,
html[data-a11y-font="xlarge"] .a11y-fab    { zoom: 0.714; } /* 1/1.40 */
/* Dyslexia — zoom yok ama letter/word-spacing arttığı için
   modal içeriği taşabilir. Body içinde scroll garantile. */
html[data-a11y-dyslexic="1"] .a11y-modal-body {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    max-height: 70vh;
}
/* Modal panel her zaman viewport içine sığsın */
.a11y-modal-panel {
    max-width: 100vw !important;
    max-height: 100vh !important;
}

/* ============================================================
   ★ A11Y OVERFLOW GUARD ★
   Reading mode + büyük font + dyslexia modları aktifken sayfa
   yatay overflow yapmasın diye global container koruması.
============================================================ */
html[data-a11y-reading="1"],
html[data-a11y-font="medium"],
html[data-a11y-font="large"],
html[data-a11y-font="xlarge"],
html[data-a11y-dyslexic="1"] {
    overflow-x: hidden;
    max-width: 100vw;
}
html[data-a11y-reading="1"] body,
html[data-a11y-font="medium"] body,
html[data-a11y-font="large"] body,
html[data-a11y-font="xlarge"] body,
html[data-a11y-dyslexic="1"] body {
    overflow-x: hidden;
    max-width: 100vw;
}
/* Fixed-width container'lar shrink olabilsin (1200px sabit grid'ler vb.) */
html[data-a11y-reading="1"] :where(.container, .wrap, .page, main, section, article, header, footer),
html[data-a11y-font="medium"] :where(.container, .wrap, .page, main, section, article, header, footer),
html[data-a11y-font="large"]  :where(.container, .wrap, .page, main, section, article, header, footer),
html[data-a11y-font="xlarge"] :where(.container, .wrap, .page, main, section, article, header, footer),
html[data-a11y-dyslexic="1"]  :where(.container, .wrap, .page, main, section, article, header, footer) {
    max-width: 100% !important;
    box-sizing: border-box;
}
/* Görseller responsive shrink */
html[data-a11y-reading="1"] img,
html[data-a11y-reading="1"] video,
html[data-a11y-font="medium"] img,
html[data-a11y-font="medium"] video,
html[data-a11y-font="large"] img,
html[data-a11y-font="large"] video,
html[data-a11y-font="xlarge"] img,
html[data-a11y-font="xlarge"] video,
html[data-a11y-dyslexic="1"] img,
html[data-a11y-dyslexic="1"] video {
    max-width: 100% !important;
    height: auto;
}
/* Pre/code blokları wrap olsun, scrollbar göstermesin */
html[data-a11y-reading="1"] pre,
html[data-a11y-font="medium"] pre,
html[data-a11y-font="large"] pre,
html[data-a11y-font="xlarge"] pre,
html[data-a11y-dyslexic="1"] pre {
    white-space: pre-wrap;
    word-break: break-word;
}
/* Sticky header/sidebar zoom altında devasa olmasın — sıkışsın */
html[data-a11y-font="large"] [style*="position: sticky"],
html[data-a11y-font="xlarge"] [style*="position: sticky"] {
    max-width: 100vw;
}

/* ============================================================
   ★ READING MODE — UYGULAMA ★
   data-a11y-reading="1" tüm html'e eklenir → tema CSS'leri ezilir
============================================================ */
html[data-a11y-reading="1"] { zoom: 1.12; }
@supports not (zoom: 1) {
    html[data-a11y-reading="1"] body { font-size: 112% !important; }
}
html[data-a11y-reading="1"] body {
    font-family: 'Atkinson Hyperlegible', 'Inter', sans-serif !important;
    letter-spacing: 0.04em !important;
    line-height: 1.7 !important;
}
html[data-a11y-reading="1"] body p,
html[data-a11y-reading="1"] body li {
    text-align: start !important;
    max-width: 65ch;
}
html[data-a11y-reading="1"] body a {
    text-decoration: underline !important;
    text-underline-offset: 3px;
}
html[data-a11y-reading="1"] *,
html[data-a11y-reading="1"] *::before,
html[data-a11y-reading="1"] *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
}

/* GRANULAR — Yazı Boyutu
   Tema px-based olduğu için zoom kullanılmalı (font-size miras işe yaramıyor).
   Overflow guard'ları yukarıda — yatay scroll engellenmiş. */
html[data-a11y-font="medium"] { zoom: 1.10; }
html[data-a11y-font="large"]  { zoom: 1.22; }
html[data-a11y-font="xlarge"] { zoom: 1.40; }
/* Firefox <126 zoom desteklemez → font-size fallback */
@supports not (zoom: 1) {
    html[data-a11y-font="medium"] body { font-size: 110% !important; }
    html[data-a11y-font="large"]  body { font-size: 122% !important; }
    html[data-a11y-font="xlarge"] body { font-size: 140% !important; }
}

/* ============================================================
   GRANULAR — Kontrast (yeniden yazıldı — güvenli versiyon)
   Strateji: body'ye renk uygula, child'lara transparent + inherit
============================================================ */

/* ---- HIGH: siyah/beyaz/sarı (Windows High Contrast tarzı) ---- */
html[data-a11y-contrast="high"] body {
    background-color: #000000 !important;
    color: var(--btn-a11y-text, #ffffff) !important;
}
html[data-a11y-contrast="high"] body :where(div, section, header, footer, main, article, aside, nav, ul, ol, table, tbody, thead, tr, form) {
    background-color: transparent !important;
    color: var(--btn-a11y-text, #ffffff) !important;
    border-color: var(--btn-a11y-text, #ffffff) !important;
}
html[data-a11y-contrast="high"] body :where(p, span, h1, h2, h3, h4, h5, h6, li, td, th, label, small, strong, em, b, i) {
    background-color: transparent !important;
    color: var(--btn-a11y-text, #ffffff) !important;
}
html[data-a11y-contrast="high"] body :where(a, a *) {
    color: #ffeb3b !important;
}
html[data-a11y-contrast="high"] body :where(button, input, select, textarea) {
    background-color: #000000 !important;
    color: var(--btn-a11y-text, #ffffff) !important;
    border: 2px solid #ffffff !important;
}
html[data-a11y-contrast="high"] body :where(img, svg, video, picture, canvas) {
    background-color: transparent !important;
    filter: contrast(1.15) brightness(1.05);
}

/* ---- MAX: pure beyaz/siyah (en yüksek kontrast) ---- */
html[data-a11y-contrast="max"] body {
    background-color: var(--bg-card, #ffffff) !important;
    color: #000000 !important;
}
html[data-a11y-contrast="max"] body :where(div, section, header, footer, main, article, aside, nav, ul, ol, table, tbody, thead, tr, form) {
    background-color: transparent !important;
    color: #000000 !important;
    border-color: #000000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}
html[data-a11y-contrast="max"] body :where(p, span, h1, h2, h3, h4, h5, h6, li, td, th, label, small, strong, em, b, i) {
    background-color: transparent !important;
    color: #000000 !important;
}
html[data-a11y-contrast="max"] body :where(a, a *) {
    color: #0000ee !important;
    text-decoration: underline !important;
}
html[data-a11y-contrast="max"] body :where(button, input, select, textarea) {
    background-color: var(--bg-card, #ffffff) !important;
    color: #000000 !important;
    border: 2px solid #000000 !important;
}
html[data-a11y-contrast="max"] body :where(img, svg, video, picture, canvas) {
    background-color: transparent !important;
    filter: grayscale(0.3) contrast(1.2);
}

/* ---- NEGATIVE: invert tüm sayfa (gece-modu efekti) ---- */
html[data-a11y-contrast="negative"] body {
    filter: invert(1) hue-rotate(180deg) !important;
    background: var(--bg-card, #ffffff) !important;
}
/* Resim ve videoları geri çevir (tekrar invert) */
html[data-a11y-contrast="negative"] body :where(img, video, iframe, picture, canvas) {
    filter: invert(1) hue-rotate(180deg);
}

/* ---- MODAL muaf (her durumda kendi tasarımını korumalı) ----
   Önemli: a11y kontrast modları aktifken bile modal kendi
   beyaz/koyu tasarımını korumalı. revert kullanmak yerine
   doğrudan değer atıyoruz — her durumda kesin görünüm.
*/
.a11y-modal {
    isolation: isolate;
}
.a11y-modal,
.a11y-modal * {
    filter: none !important;
}
/* Panel'in kendisi — sağlam beyaz, opak */
.a11y-modal .a11y-modal-panel {
    background-color: var(--bg-card, #ffffff) !important;
    color: var(--text, #2a2520) !important;
}
/* Header — sağlam gradient */
.a11y-modal .a11y-modal-header {
    background: linear-gradient(180deg, var(--bg-soft, #f8f6f2) 0%, var(--bg-card, #ffffff) 100%) !important;
    border-bottom-color: var(--border, rgba(0,0,0,0.08)) !important;
}
.a11y-modal .a11y-modal-title {
    color: var(--text, #1a1410) !important;
}
.a11y-modal .a11y-modal-close {
    color: var(--text, #1a1410) !important;
    background: transparent !important;
}
.a11y-modal .a11y-modal-close:hover {
    background: rgba(0, 0, 0, 0.06) !important;
}
/* Body */
.a11y-modal .a11y-modal-body {
    background-color: var(--bg-card, #ffffff) !important;
    color: var(--text, #2a2520) !important;
}
/* Section başlıkları */
.a11y-modal .a11y-section-title {
    color: var(--text-muted, #6c5f53) !important;
    background: transparent !important;
}
.a11y-modal .a11y-label {
    color: var(--text, #2a2520) !important;
    background: transparent !important;
}
.a11y-modal .a11y-label i {
    color: var(--text-muted, #6c5f53) !important;
}
/* Segmented buton grubu */
.a11y-modal .a11y-segmented {
    background-color: var(--bg-soft, #f4f1ec) !important;
}
.a11y-modal .a11y-seg-btn {
    background-color: transparent !important;
    color: var(--text, #2a2520) !important;
    border: none !important;
}
.a11y-modal .a11y-seg-btn[aria-pressed="true"] {
    background-color: var(--bg-card, #ffffff) !important;
    color: var(--text, #1a1410) !important;
}
/* Toggle switch */
.a11y-modal .a11y-toggle {
    background-color: var(--border, #d4cfc7) !important;
    border: none !important;
}
.a11y-modal .a11y-toggle[aria-checked="true"] {
    background-color: var(--btn-a11y-bg-2, #4caf50) !important;
}
.a11y-modal .a11y-toggle-thumb {
    background-color: var(--bg-card, #ffffff) !important;
}
/* Reset button */
.a11y-modal .a11y-reset-btn {
    background-color: transparent !important;
    color: var(--danger, #c0392b) !important;
    border: 1.5px solid var(--danger, #c0392b) !important;
}
.a11y-modal .a11y-reset-btn:hover {
    background-color: var(--danger, #c0392b) !important;
    color: var(--btn-a11y-text, #ffffff) !important;
}
/* Reset wrap separator */
.a11y-modal .a11y-reset-wrap {
    border-top-color: var(--border, rgba(0,0,0,0.08)) !important;
    background: transparent !important;
}
/* Reading Mode butonu — sağlam yeşil */
.a11y-modal .a11y-reading-mode-btn {
    background: linear-gradient(135deg, var(--btn-a11y-bg, #2d8a3e) 0%, var(--btn-a11y-bg-2, #4caf50) 100%) !important;
    color: var(--btn-a11y-text, #ffffff) !important;
    border: none !important;
}
.a11y-modal .a11y-reading-mode-btn[aria-pressed="true"] {
    background: linear-gradient(135deg, var(--btn-a11y-bg, #1b5e20) 0%, var(--btn-a11y-bg, #388e3c) 100%); filter: brightness(0.85) !important;
}
.a11y-modal .a11y-reading-mode-icon {
    background-color: rgba(255, 255, 255, 0.18) !important;
    color: var(--btn-a11y-text, #ffffff) !important;
}
.a11y-modal .a11y-reading-mode-title,
.a11y-modal .a11y-reading-mode-desc {
    color: var(--btn-a11y-text, #ffffff) !important;
    background: transparent !important;
}
.a11y-modal .a11y-reading-mode-toggle {
    background-color: rgba(255, 255, 255, 0.25) !important;
}
.a11y-modal .a11y-reading-mode-btn[aria-pressed="true"] .a11y-reading-mode-toggle {
    background-color: #ffd700 !important;
}

/* ============================================================
   ★ GRANULAR — DİSLEKSİ MODU (yeniden yazıldı) ★
   - OpenDyslexic font (asimetrik harf yapısı — b/d, p/q karıştırmasını engeller)
   - Lexend fallback (clinical olarak dyslexia için test edilmiş)
   - Geniş letter/word spacing
   - Geniş line-height (1.7)
   - Reading width limiti (70ch — uzun satır yorgunluğu azaltır)
   - Kremsi arkaplan (#fef9ef — parlama azaltır)
   - Icon font'ları override'dan muaf (FA, MaterialIcons, vb.)
============================================================ */
html[data-a11y-dyslexic="1"] body {
    background-color: #fef9ef !important;  /* kremsi — beyaz parlamasını azalt */
    line-height: 1.75 !important;
}
html[data-a11y-dyslexic="1"] body,
html[data-a11y-dyslexic="1"] body :not(i):not([class*="icon"]):not([class*="fa-"]):not(svg):not(svg *) {
    font-family: 'OpenDyslexic', 'Lexend', 'Atkinson Hyperlegible', 'Inter', sans-serif !important;
    letter-spacing: 0.06em !important;
    word-spacing: 0.2em !important;
}
/* Paragraf ve liste — okuma genişliği sınırla */
html[data-a11y-dyslexic="1"] body p,
html[data-a11y-dyslexic="1"] body li,
html[data-a11y-dyslexic="1"] body blockquote,
html[data-a11y-dyslexic="1"] body dd {
    max-width: 70ch;
    line-height: 1.8 !important;
}
/* Başlıklar biraz daha sıkı */
html[data-a11y-dyslexic="1"] body h1,
html[data-a11y-dyslexic="1"] body h2,
html[data-a11y-dyslexic="1"] body h3,
html[data-a11y-dyslexic="1"] body h4 {
    line-height: 1.4 !important;
    letter-spacing: 0.04em !important;
}
/* Linkler — disleksi'de tıklanabilir alan büyük + altı çizili olmalı */
html[data-a11y-dyslexic="1"] body a {
    text-decoration: underline !important;
    text-underline-offset: 4px !important;
    text-decoration-thickness: 2px !important;
}
/* Icon font fallback — FontAwesome/MaterialIcons vb. kendi fontunu koruyabilir */
html[data-a11y-dyslexic="1"] .fa,
html[data-a11y-dyslexic="1"] .fas,
html[data-a11y-dyslexic="1"] .far,
html[data-a11y-dyslexic="1"] .fab,
html[data-a11y-dyslexic="1"] [class*="fa-"]::before,
html[data-a11y-dyslexic="1"] .material-icons,
html[data-a11y-dyslexic="1"] .material-symbols-outlined {
    font-family: revert !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
}

/* GRANULAR — Reduced Motion */
html[data-a11y-motion="0"] *,
html[data-a11y-motion="0"] *::before,
html[data-a11y-motion="0"] *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
}

/* GRANULAR — Line Height */
html[data-a11y-lh="relaxed"] body  { line-height: 1.75 !important; }
html[data-a11y-lh="spacious"] body { line-height: 2.0 !important; }

/* GRANULAR — Link Underline */
html[data-a11y-link="1"] body a {
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    text-decoration-thickness: 2px !important;
}

/* ============================================================
   PRINT STYLESHEET — Yazdırma optimize edilmiş görünüm
   Misafir menüyü yazdırırken UI öğeleri gizlenir,
   sadece içerik kalır
============================================================ */
@media print {
    /* Engelsiz Menü modülü tamamen gizlensin */
    .a11y-modal,
    .a11y-fab {
        display: none !important;
    }

    /* TTS player ve davet metni gizlensin (yazdırırken anlamsız) */
    .tts-player,
    .tts-invitation {
        display: none !important;
    }

    /* Aktif erişilebilirlik modları yazdırmada sıfırlansın
       (kullanıcı normal yazdırma çıktısı alsın) */
    html[data-a11y-reading="1"],
    html[data-a11y-reading="1"] body,
    html[data-a11y-font="medium"],
    html[data-a11y-font="large"],
    html[data-a11y-font="xlarge"] {
        zoom: 1 !important;
        font-size: initial !important;
    }

    html[data-a11y-contrast="high"] body,
    html[data-a11y-contrast="max"] body,
    html[data-a11y-contrast="negative"] body {
        background: white !important;
        color: black !important;
        filter: none !important;
    }

    html[data-a11y-contrast="high"] body :where(*),
    html[data-a11y-contrast="max"] body :where(*) {
        background: transparent !important;
        color: black !important;
    }

    /* Body background her durumda beyaz kalsın (mürekkep tasarrufu) */
    body {
        background: white !important;
    }

    /* Linkler altı çizili yazdırma (kağıtta URL görünür)
       — bu Engelsiz Menü'nün "Bağlantıların Altını Çiz"
       özelliğinden bağımsız, klasik print pratiği */
    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 0.85em;
        color: #555;
    }
    /* İç linkler için URL gösterme (#anchor, javascript: vb.) */
    a[href^="#"]:after,
    a[href^="javascript:"]:after,
    a[href^="mailto:"]:after,
    a[href^="tel:"]:after {
        content: "";
    }
}

/* ============================================================
   HOTFIX #016 — Footer Kapat Butonu + Mobile Yatay Taşma
   ────────────────────────────────────────────────────────────
   Önceki sticky header çözümü flex layout nedeniyle çalışmadı.
   Bunun yerine: alta yeşil "Kapat" butonu eklendi (her zaman
   görünür), üstteki × kaldı (desktop'ta hızlı erişim).
   
   Çözüm:
   1. Panel ve body'ye overflow-x: hidden
   2. Seg-btn'ler sıkıştırılabilir
   3. Çok dar ekranlarda agresif sıkıştırma
   4. Footer'da yeşil "Kapat" butonu — fail-safe
============================================================ */

/* Panel — yatay taşma kesin engelle */
.a11y-modal-panel {
    overflow-x: hidden;
}

/* Body — sadece dikey scroll, yatay taşma kesin yok */
.a11y-modal-body {
    overflow-x: hidden;
    min-width: 0;
}

/* Segmented butonları sıkıştırılabilir yap */
.a11y-segmented {
    width: 100%;
    min-width: 0;
}
.a11y-seg-btn {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Çok dar ekranlarda (320-380px) agresif sıkıştırma */
@media (max-width: 380px) {
    .a11y-modal-header {
        padding: 14px 16px;
    }
    .a11y-modal-body {
        padding: 14px 16px;
    }
    .a11y-seg-btn {
        padding: 8px 4px;
        font-size: 0.75rem;
    }
    .a11y-segmented {
        gap: 2px;
        padding: 3px;
    }
    /* Footer'da butonlar dar ekranda dikey */
    .a11y-modal-footer {
        flex-direction: column;
    }
    .a11y-modal-footer .a11y-reset-btn,
    .a11y-modal-footer .a11y-footer-close-btn {
        width: 100%;
        justify-content: center;
    }
}


/* Final floating button alignment — Chat/BTT ile aynı seviye ve premium görünüm */
.a11y-fab {
    bottom: calc(var(--sp-5, 20px) + env(safe-area-inset-bottom, 0px)) !important;
    inset-inline-start: var(--sp-5, 20px) !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 20px !important;
    background:
        radial-gradient(circle at 28% 18%, rgba(255,255,255,.42), transparent 28%),
        linear-gradient(135deg, var(--btn-a11y-bg, #2d8a3e), color-mix(in srgb, var(--btn-a11y-bg-2, #4caf50) 82%, #111827)) !important;
    border: 1px solid rgba(255,255,255,.28) !important;
    box-shadow: 0 18px 44px color-mix(in srgb, var(--btn-a11y-bg-2, #4caf50) 34%, transparent), 0 8px 18px rgba(0,0,0,.18) !important;
    transition: transform .22s cubic-bezier(.16,1,.3,1), box-shadow .22s cubic-bezier(.16,1,.3,1) !important;
}
.a11y-fab:hover {
    color: #fff !important;
    transform: translateY(-3px) scale(1.045) !important;
    box-shadow: 0 24px 60px color-mix(in srgb, var(--btn-a11y-bg-2, #4caf50) 48%, transparent), 0 10px 24px rgba(0,0,0,.22) !important;
}
.a11y-fab svg {
    width: 25px !important;
    height: 25px !important;
}
@media (max-width: 480px) {
    .a11y-fab {
        width: 52px !important;
        height: 52px !important;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
        inset-inline-start: 16px !important;
        border-radius: 18px !important;
    }
}


/* ---- modules/back-to-top/module.css ---- */
/* ======================================================================
   MODULE — BACK TO TOP
   Prefix: .m-btt
   ====================================================================== */

.m-btt {
    position: fixed;
    bottom: calc(var(--sp-5, 20px) + env(safe-area-inset-bottom, 0px));
    inset-inline-end: var(--sp-5, 20px);
    width: 56px;
    height: 56px;
    background:
        radial-gradient(circle at 28% 18%, rgba(255,255,255,.42), transparent 28%),
        linear-gradient(135deg, var(--primary, #e85d04), color-mix(in srgb, var(--primary, #e85d04) 82%, #111827));
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 20px;
    box-shadow: 0 18px 44px color-mix(in srgb, var(--primary, #e85d04) 34%, transparent), 0 8px 18px rgba(0,0,0,.18);
    cursor: pointer;
    z-index: var(--z-sticky);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}

.m-btt.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.m-btt:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.045);
    box-shadow: 0 24px 60px color-mix(in srgb, var(--primary, #e85d04) 48%, transparent), 0 10px 24px rgba(0,0,0,.22);
}
.m-btt:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.m-btt svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}


@media (max-width: 480px) {
    .m-btt {
        width: 52px;
        height: 52px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        inset-inline-end: 16px;
        border-radius: 18px;
    }
}


/* ---- modules/chat-widget/module.css ---- */
/* ======================================================================
   MODULE — AI LIVE CHAT WIDGET / PHASE 3 PREMIUM UI
   Prefix: .m-chat
   Goal: Tema uyumlu, lead-machine hazır, premium chat deneyimi.
   ====================================================================== */

:root {
    /* ⚠️ Widget kendi sabit paletini kullanır — tema değişkenlerine (--text/--bg)
       BAĞLANMAZ. Aksi halde koyu temada beyaz balon üstüne beyaz yazı görünmez olur.
       Açık, yüksek-kontrastlı panel + okunaklı marka yeşili aksanı. */
    --m-chat-primary: #4d7c0f;        /* marka yeşili — beyaz yazı kontrastı geçer */
    --m-chat-primary-dark: #365314;
    --m-chat-primary-soft: #eef6e3;   /* açık yeşil zemin (soft) */
    --m-chat-primary-glow: rgba(77, 124, 15, .32);
    --m-chat-bg: #f4f6f0;             /* mesaj alanı zemini (açık) */
    --m-chat-card: #ffffff;           /* panel zemini (beyaz) */
    --m-chat-text: #1a1f17;           /* koyu metin — SABİT, temadan bağımsız */
    --m-chat-muted: #5b6552;
    --m-chat-border: rgba(0, 0, 0, .10);
    --m-chat-radius: 28px;
    --m-chat-shadow: 0 26px 80px rgba(17, 24, 39, .28);
}

/* Widget izolasyonu: tema gövdesini, section gridlerini ve body akışını bozmasın. */
.m-chat-overlay,
.m-chat-panel-inner,
.m-chat-fab,
.m-chat-tooltip {
    box-sizing: border-box;
}
.m-chat-overlay *,
.m-chat-panel-inner *,
.m-chat-fab *,
.m-chat-tooltip * {
    box-sizing: border-box;
}

/* ─────────── Floating Action Button ─────────── */
.m-chat-fab {
    position: fixed;
    bottom: calc(var(--sp-5, 20px) + env(safe-area-inset-bottom, 0px));
    inset-inline-end: var(--sp-5, 20px);
    width: 64px;
    height: 64px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, .28);
    background:
        radial-gradient(circle at 28% 18%, rgba(255,255,255,.55), transparent 28%),
        linear-gradient(135deg, var(--m-chat-primary) 0%, var(--m-chat-primary-dark) 100%);
    color: #fff;
    cursor: pointer;
    box-shadow:
        0 18px 44px var(--m-chat-primary-glow),
        0 8px 18px rgba(0, 0, 0, .18);
    z-index: var(--z-sticky, 200);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition:
        transform .22s cubic-bezier(.16, 1, .3, 1),
        box-shadow .22s cubic-bezier(.16, 1, .3, 1),
        bottom .28s cubic-bezier(.16, 1, .3, 1),
        border-radius .22s ease;
}
body.btt-visible .m-chat-fab {
    bottom: calc(var(--sp-5, 20px) + 56px + 10px + env(safe-area-inset-bottom, 0px));
}
.m-chat-fab[hidden] { display: none; }
.m-chat-fab:hover {
    transform: translateY(-3px) scale(1.045);
    border-radius: 28px;
    box-shadow:
        0 24px 60px color-mix(in srgb, var(--m-chat-primary) 48%, transparent),
        0 10px 24px rgba(0,0,0,.22);
}
.m-chat-fab:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--m-chat-primary) 42%, #fff);
    outline-offset: 4px;
}
.m-chat-fab-icon { display: inline-flex; align-items:center; justify-content:center; position: relative; z-index: 2; }
.m-chat-fab-icon[hidden] { display: none; }
.m-chat-fab-icon svg { width: 27px; height: 27px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.16)); }
.m-chat-fab-icon img { width: 36px; height: 36px; border-radius: 16px; object-fit: cover; display:block; }
.m-chat-fab-pulse {
    position:absolute;
    inset: -3px;
    border-radius: 26px;
    border: 2px solid color-mix(in srgb, var(--m-chat-primary) 65%, #fff);
    opacity: 0;
    animation: m-chat-pulse 2.6s ease-out infinite;
    pointer-events:none;
}
.m-chat-fab.is-open { display:inline-flex; z-index: calc(var(--z-modal, 400) + 2); transform: scale(.92); }
.m-chat-fab.is-open .m-chat-fab-pulse { display:none; }
body.m-chat-open { overflow: hidden; }
@keyframes m-chat-pulse {
    0% { opacity: .55; transform: scale(.98); }
    100% { opacity: 0; transform: scale(1.48); }
}

/* Tooltip */
.m-chat-tooltip {
    position: fixed;
    bottom: calc(var(--sp-5, 20px) + 78px + env(safe-area-inset-bottom, 0px));
    inset-inline-end: var(--sp-5, 20px);
    max-width: 250px;
    padding: 11px 14px;
    border-radius: 18px 18px 6px 18px;
    background: rgba(255,255,255,.94);
    color: var(--m-chat-text);
    border: 1px solid rgba(255,255,255,.65);
    box-shadow: 0 18px 50px rgba(17,24,39,.16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    z-index: calc(var(--z-sticky, 200) + 1);
    animation: m-chat-pop .28s cubic-bezier(.16,1,.3,1);
}
.m-chat-tooltip::after {
    content: '';
    position:absolute;
    bottom: -7px;
    inset-inline-end: 20px;
    width: 14px;
    height: 14px;
    background: rgba(255,255,255,.94);
    border-inline-end: 1px solid rgba(255,255,255,.65);
    border-bottom: 1px solid rgba(255,255,255,.65);
    transform: rotate(45deg);
}
.m-chat-tooltip[hidden] { display:none; }
body.btt-visible .m-chat-tooltip { bottom: calc(var(--sp-5, 20px) + 56px + 86px + env(safe-area-inset-bottom, 0px)); }

/* ─────────── Overlay / Panel ─────────── */
.m-chat-overlay {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal, 400);
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 80% 0%, color-mix(in srgb, var(--m-chat-primary) 18%, transparent), transparent 34%),
        linear-gradient(180deg, color-mix(in srgb, var(--m-chat-primary) 9%, #fff), #fff 44%);
    animation: m-chat-fade .2s ease-out;
}
.m-chat-overlay[hidden] { display:none; }
@keyframes m-chat-fade { from {opacity:0;} to {opacity:1;} }
@keyframes m-chat-pop { from {opacity:0; transform: translateY(8px) scale(.98);} to {opacity:1; transform: translateY(0) scale(1);} }

.m-chat-panel-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--m-chat-card);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    isolation: isolate;
    animation: m-chat-slide .3s cubic-bezier(.16,1,.3,1);
}
.m-chat-panel-inner::before {
    content:'';
    position:absolute;
    inset:0 0 auto 0;
    height: 170px;
    background:
        radial-gradient(circle at 14% 12%, rgba(255,255,255,.28), transparent 30%),
        radial-gradient(circle at 92% 4%, rgba(255,255,255,.20), transparent 28%),
        linear-gradient(135deg, var(--m-chat-primary), var(--m-chat-primary-dark));
    z-index: -1;
}
@keyframes m-chat-slide { from { opacity:0; transform: translateY(12px); } to { opacity:1; transform: translateY(0); } }

@media (min-width: 640px) {
    .m-chat-overlay {
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        align-items: flex-end;
        justify-content: flex-end;
        padding: 0;
        pointer-events: none;
        inset: auto 0 0 auto;
        width: auto;
        height: auto;
    }
    .m-chat-panel-inner {
        pointer-events: auto;
        width: 430px;
        max-width: calc(100vw - 28px);
        height: 690px;
        max-height: calc(100vh - 116px);
        border-radius: var(--m-chat-radius);
        border: 1px solid rgba(255,255,255,.72);
        box-shadow: var(--m-chat-shadow);
        margin: 0 var(--sp-5, 20px) calc(var(--sp-5, 20px) + 64px + 14px) var(--sp-5, 20px);
        animation: m-chat-desktop .3s cubic-bezier(.16,1,.3,1);
    }
    @keyframes m-chat-desktop { from { opacity:0; transform: translateY(16px) scale(.97); } to { opacity:1; transform: translateY(0) scale(1); } }
    body.m-chat-open { overflow: auto !important; }
    body.btt-visible .m-chat-panel-inner { margin-bottom: calc(var(--sp-5, 20px) + 64px + 56px + 22px); }
}

/* ─────────── Header ─────────── */
.m-chat-header {
    display:flex;
    align-items:center;
    gap: 12px;
    padding: 18px 18px 16px;
    background:
        radial-gradient(circle at 8% 10%, rgba(255,255,255,.22), transparent 30%),
        linear-gradient(135deg, var(--m-chat-primary) 0%, var(--m-chat-primary-dark) 100%);
    color:#fff;
    flex-shrink:0;
    position: relative;
    overflow:hidden;
}
.m-chat-header::after {
    content:'';
    position:absolute;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    right: -70px;
    top: -88px;
    background: rgba(255,255,255,.13);
    pointer-events:none;
}
.m-chat-header-avatar {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.22);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    overflow:hidden;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 10px 26px rgba(0,0,0,.14);
    position: relative;
    z-index: 1;
}
.m-chat-header-avatar svg { width: 25px; height: 25px; }
.m-chat-header-avatar img { width:100%; height:100%; object-fit:cover; display:block; border-radius:inherit; }
.m-chat-header-avatar.has-image { background: rgba(255,255,255,.18); }
.m-chat-header-text { flex:1; min-width:0; line-height:1.18; position:relative; z-index:1; }
.m-chat-header-kicker {
    display:block;
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.78);
    margin-bottom: 3px;
}
.m-chat-bot-name {
    display:block;
    font-size: 16px;
    font-weight: 900;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.m-chat-status {
    display:inline-flex;
    align-items:center;
    gap: 7px;
    margin-top: 5px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,.13);
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,.92);
}
.m-chat-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34,197,94,.16), 0 0 12px rgba(34,197,94,.9);
}
.m-chat-close,
.m-chat-clear {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.12);
    color:#fff;
    border-radius: 14px;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    transition: transform .15s ease, background .15s ease;
    position:relative;
    z-index:1;
}
.m-chat-close:hover,
.m-chat-clear:hover { background: rgba(255,255,255,.22); transform: translateY(-1px); }
.m-chat-close svg,
.m-chat-clear svg { width: 17px; height: 17px; }
.m-chat-clear[hidden] { display:none; }

/* ─────────── Messages ─────────── */
.m-chat-messages {
    flex:1;
    overflow-y:auto;
    padding: 18px clamp(14px, 4vw, 24px);
    display:flex;
    flex-direction:column;
    gap: 11px;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--m-chat-primary) 8%, #fff) 0%, var(--m-chat-bg) 130px),
        var(--m-chat-bg);
    scroll-behavior:smooth;
}
.m-chat-messages::-webkit-scrollbar { width: 9px; }
.m-chat-messages::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--m-chat-primary) 26%, #c7c7c7); border-radius:999px; border: 2px solid transparent; background-clip: padding-box; }
.m-chat-messages > * { max-width: 760px; width:100%; margin-inline:auto; }
.m-chat-msg {
    max-width: 84% !important;
    width:auto !important;
    margin-inline:0 !important;
    padding: 12px 14px;
    border-radius: 20px;
    font-size: 14px;
    line-height: 1.52;
    word-wrap: break-word;
    overflow-wrap:anywhere;
    animation: m-chat-msg-in .22s ease-out;
}
@keyframes m-chat-msg-in { from {opacity:0; transform: translateY(6px);} to {opacity:1; transform: translateY(0);} }
.m-chat-msg-user {
    align-self:flex-end;
    margin-inline-start:auto !important;
    color:#fff;
    background:
        radial-gradient(circle at 82% 10%, rgba(255,255,255,.28), transparent 24%),
        linear-gradient(135deg, var(--m-chat-primary), var(--m-chat-primary-dark));
    border: 1px solid color-mix(in srgb, var(--m-chat-primary) 64%, #fff);
    border-top-right-radius: 7px;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--m-chat-primary) 22%, transparent);
}
.m-chat-msg-bot {
    align-self:flex-start;
    margin-inline-end:auto !important;
    background: rgba(255,255,255,.94);
    color: var(--m-chat-text);
    border: 1px solid rgba(255,255,255,.74);
    border-top-left-radius: 7px;
    box-shadow: 0 10px 28px rgba(17,24,39,.07);
}
.m-chat-msg-bot p { margin: 0 0 8px; }
.m-chat-msg-bot p:last-child { margin-bottom:0; }
.m-chat-msg-bot strong { font-weight: 900; color: var(--m-chat-text); }
.m-chat-msg-bot em { font-style: italic; }
.m-chat-msg-bot code {
    background: var(--m-chat-primary-soft);
    border: 1px solid color-mix(in srgb, var(--m-chat-primary) 22%, #fff);
    padding: 1px 6px;
    border-radius: 7px;
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-size: .9em;
    color: var(--m-chat-primary-dark);
}
.m-chat-msg-bot a:not(.m-chat-link-btn) { color: var(--m-chat-primary); font-weight:700; text-decoration: underline; }
.m-chat-msg-bot ul,
.m-chat-msg-bot ol { margin: 8px 0 10px; padding-inline-start: 22px; }
.m-chat-msg-bot li { margin: 4px 0; }
.m-chat-msg-bot li::marker { color: var(--m-chat-primary); }

/* Rich links / visual cards */
.m-chat-msg-bot .m-chat-link-btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap: 8px;
    margin: 6px 6px 0 0;
    padding: 9px 12px;
    border-radius: 999px;
    background: var(--m-chat-primary-soft);
    border: 1px solid color-mix(in srgb, var(--m-chat-primary) 28%, #fff);
    color: var(--m-chat-primary-dark) !important;
    text-decoration:none;
    font-weight:900;
    font-size: 12.8px;
    word-break: normal;
    box-shadow: 0 8px 18px rgba(17,24,39,.06);
    transition: transform .16s ease, background .16s ease, color .16s ease;
}
.m-chat-msg-bot .m-chat-link-btn::after { content:'↗'; font-size: 11px; opacity:.78; }
.m-chat-msg-bot .m-chat-link-btn:hover { transform: translateY(-1px); background: var(--m-chat-primary); color:#fff !important; }
.m-chat-media {
    display:block;
    margin: 10px 0;
    border-radius: 18px;
    overflow:hidden;
    border: 1px solid var(--m-chat-border);
    background:#fff;
    box-shadow: 0 12px 28px rgba(17,24,39,.08);
}
.m-chat-media img { width:100%; max-width: 260px; height:auto; display:block; object-fit:cover; }

/* Typing */
.m-chat-typing {
    align-self:flex-start;
    width: auto !important;
    margin-inline: 0 !important;
    padding: 12px 15px;
    border-radius: 18px;
    border-top-left-radius: 7px;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(255,255,255,.74);
    box-shadow: 0 10px 28px rgba(17,24,39,.07);
    display:inline-flex;
    align-items:center;
    gap:5px;
}
.m-chat-typing-dot { width:7px; height:7px; border-radius:50%; background: var(--m-chat-primary); opacity:.45; animation: m-chat-bounce 1.2s ease-in-out infinite; }
.m-chat-typing-dot:nth-child(2){ animation-delay:.15s; }
.m-chat-typing-dot:nth-child(3){ animation-delay:.3s; }
@keyframes m-chat-bounce { 0%,60%,100%{ transform: translateY(0); opacity:.45;} 30%{ transform: translateY(-5px); opacity:1;} }

/* ─────────── ChatGate ─────────── */
.m-chat-gate {
    margin: 0;
    padding: 14px clamp(14px, 4vw, 20px);
    background: rgba(255,255,255,.92);
    border-top: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 -12px 30px rgba(17,24,39,.04);
    flex-shrink:0;
}
.m-chat-gate[hidden] { display:none; }
.m-chat-gate.is-completed { animation: m-chat-gate-out .2s ease forwards; }
@keyframes m-chat-gate-out { to { opacity:0; transform: translateY(8px); } }
.m-chat-gate-title { display:block; font-size:14px; font-weight:900; color:var(--m-chat-text); margin-bottom:4px; }
.m-chat-gate-message { margin: 0 0 11px; font-size: 12.8px; color:var(--m-chat-muted); line-height:1.35; }
.m-chat-gate-actions { display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap:9px; }
.m-chat-gate-btn {
    border: 1px solid color-mix(in srgb, var(--m-chat-primary) 26%, #fff);
    color: var(--m-chat-primary-dark);
    background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--m-chat-primary) 5%, #fff));
    border-radius: 18px;
    padding: 11px 10px;
    font-size: 12.4px;
    font-weight: 900;
    cursor:pointer;
    display:flex;
    align-items:center;
    gap:8px;
    text-align:start;
    min-height: 48px;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.m-chat-gate-btn:hover,
.m-chat-gate-btn.is-active { transform: translateY(-1px); border-color: var(--m-chat-primary); box-shadow: 0 10px 22px color-mix(in srgb, var(--m-chat-primary) 14%, transparent); }
.m-chat-gate-icon { font-size: 18px; line-height:1; flex:0 0 auto; }
.m-chat-gate-label { min-width:0; }

/* Quick replies */
.m-chat-quick-replies {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    padding: 12px clamp(14px, 4vw, 20px) 10px;
    background: rgba(255,255,255,.92);
    border-top: 1px solid rgba(0,0,0,.05);
    flex-shrink:0;
    justify-content:flex-start;
}
.m-chat-quick-replies[hidden] { display:none; }
.m-chat-quick {
    border: 1px solid color-mix(in srgb, var(--m-chat-primary) 28%, #fff);
    background: var(--m-chat-primary-soft);
    color: var(--m-chat-primary-dark);
    border-radius:999px;
    padding: 9px 13px;
    min-height: 38px;
    font-size: 12.8px;
    font-weight: 900;
    cursor:pointer;
    box-shadow: 0 8px 18px rgba(17,24,39,.04);
    transition: transform .16s ease, background .16s ease, color .16s ease;
}
.m-chat-quick:hover { transform: translateY(-1px); background: var(--m-chat-primary); color:#fff; }

/* Composer */
.m-chat-composer {
    display:flex;
    align-items:flex-end;
    gap:10px;
    padding: 13px clamp(14px, 4vw, 20px) calc(13px + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,.96);
    border-top: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 -12px 32px rgba(17,24,39,.06);
    flex-shrink:0;
}
.m-chat-input {
    flex:1;
    min-width:0;
    border: 1px solid color-mix(in srgb, var(--m-chat-primary) 18%, var(--m-chat-border));
    background: color-mix(in srgb, var(--m-chat-primary) 3%, #fff);
    border-radius: 18px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 14px;
    line-height:1.4;
    color: var(--m-chat-text);
    resize:none;
    outline:none;
    max-height: 110px;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.m-chat-input:focus { border-color: var(--m-chat-primary); background:#fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--m-chat-primary) 12%, transparent); }
.m-chat-send {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border:0;
    border-radius: 17px;
    background: linear-gradient(135deg, var(--m-chat-primary), var(--m-chat-primary-dark));
    color:#fff;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    box-shadow: 0 12px 24px color-mix(in srgb, var(--m-chat-primary) 26%, transparent);
    transition: transform .16s ease, opacity .16s ease, box-shadow .16s ease;
}
.m-chat-send:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 16px 30px color-mix(in srgb, var(--m-chat-primary) 32%, transparent); }
.m-chat-send:disabled { opacity:.42; cursor:not-allowed; box-shadow:none; }
.m-chat-send svg { width: 18px; height:18px; }

/* Error */
.m-chat-error {
    margin: 0 14px 9px;
    padding: 10px 13px;
    background: color-mix(in srgb, var(--danger, #dc2626) 10%, #fff);
    color: var(--danger, #dc2626);
    border: 1px solid color-mix(in srgb, var(--danger, #dc2626) 28%, #fff);
    border-radius: 14px;
    font-size: 12.7px;
    font-weight:700;
    line-height:1.4;
}
.m-chat-error[hidden] { display:none; }

/* Mobile refinements */
@media (max-width: 639px) {
    .m-chat-panel-inner { border-radius: 0; }
    .m-chat-header { padding-top: calc(16px + env(safe-area-inset-top, 0px)); }
    .m-chat-msg { max-width: 90% !important; }
    .m-chat-gate-actions { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .m-chat-fab { width:58px; height:58px; border-radius: 22px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); inset-inline-end: 16px; }
    .m-chat-fab-icon svg { width:25px; height:25px; }
    .m-chat-tooltip { inset-inline-end: 16px; bottom: calc(16px + 72px + env(safe-area-inset-bottom, 0px)); }
}

/* RTL */
[dir="rtl"] .m-chat-msg-bot { border-top-left-radius: 20px; border-top-right-radius: 7px; }
[dir="rtl"] .m-chat-msg-user { border-top-right-radius: 20px; border-top-left-radius: 7px; }
[dir="rtl"] .m-chat-send svg { transform: scaleX(-1); }
[dir="rtl"] .m-chat-tooltip { border-radius: 18px 18px 18px 6px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .m-chat-fab,
    .m-chat-panel-inner,
    .m-chat-msg,
    .m-chat-tooltip,
    .m-chat-typing-dot,
    .m-chat-fab-pulse { animation: none !important; transition: none !important; }
}


/* Phase 3.5 — rich card spacing / thumbnail polish */
.m-chat-rich-card {
    display:flex;
    gap: .8rem;
    align-items: stretch;
    overflow:hidden;
    border: 1px solid var(--m-chat-border);
    background: #fff;
    border-radius: 0.5rem;
    margin: 0 0 1rem;
    box-shadow: 0 12px 28px rgba(17,24,39,.08);
}
.m-chat-rich-card:last-child { margin-bottom: 0; }
.m-chat-rich-card-img {
    flex: 0 0 92px;
    min-height: 92px;
    background: var(--m-chat-primary-soft);
    display:block;
}
.m-chat-rich-card-img img { width:100%; height:100%; object-fit:cover; display:block; }
.m-chat-rich-card-body { padding: .75rem .8rem; min-width:0; flex:1; }
.m-chat-rich-card-body strong { display:block; margin-bottom:.25rem; }
.m-chat-rich-card-price { display:inline-flex; margin:.1rem 0 .3rem; font-weight:900; color:var(--m-chat-primary-dark); }
.m-chat-rich-card-body p { margin:.2rem 0 .55rem; font-size:.9em; color:var(--m-chat-muted); }
.m-chat-fab.is-open .m-chat-fab-icon-open { display:inline-flex !important; }
.m-chat-fab.is-open .m-chat-fab-icon-close { position:absolute; inset:auto -4px -4px auto; width:22px; height:22px; border-radius:999px; background:#fff; color:var(--m-chat-primary-dark); box-shadow:0 6px 14px rgba(0,0,0,.18); }
.m-chat-fab.is-open .m-chat-fab-icon-close svg { width:13px; height:13px; }


/* ─────────── Simple rich content blocks ─────────── */
.m-chat-msg-bot p { margin: 0 0 .65rem; }
.m-chat-msg-bot p:last-child { margin-bottom: 0; }
.m-chat-msg-bot ul,
.m-chat-msg-bot ol {
    margin: .55rem 0 .75rem 1.15rem;
    padding: 0;
}
.m-chat-msg-bot li { margin: .3rem 0; }
.m-chat-msg-bot strong { font-weight: 800; color: var(--m-chat-text); }

.m-chat-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    min-height: 34px;
    padding: .55rem .78rem;
    margin: .35rem .35rem .15rem 0;
    border-radius: 999px;
    background: var(--m-chat-primary);
    color: #fff !important;
    text-decoration: none !important;
    font-size: .82rem;
    font-weight: 800;
    box-shadow: 0 8px 22px color-mix(in srgb, var(--m-chat-primary) 26%, transparent);
}

.m-chat-rich-card {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: .75rem;
    overflow: hidden;
    border: 1px solid var(--m-chat-border);
    border-radius: .5rem;
    margin-bottom: 1rem;
    background: #fff;
    box-shadow: 0 8px 26px rgba(17,24,39,.08);
}
.m-chat-rich-card-img {
    display: block;
    width: 82px;
    min-height: 82px;
    background: var(--m-chat-primary-soft);
}
.m-chat-rich-card-img img {
    width: 100%;
    height: 100%;
    min-height: 82px;
    object-fit: cover;
    display: block;
}
.m-chat-rich-card-body {
    min-width: 0;
    padding: .68rem .68rem .68rem 0;
}
.m-chat-rich-card-body strong {
    display: block;
    font-size: .9rem;
    line-height: 1.25;
    margin-bottom: .25rem;
}
.m-chat-rich-card-body p {
    margin: .25rem 0 .45rem;
    font-size: .78rem;
    line-height: 1.35;
    color: var(--m-chat-muted);
}
.m-chat-rich-card-price {
    display: inline-flex;
    margin-bottom: .25rem;
    color: var(--m-chat-primary-dark);
    font-weight: 900;
    font-size: .84rem;
}

.m-chat-media {
    display:block;
    overflow:hidden;
    border-radius:.75rem;
    margin:.65rem 0 .85rem;
    border:1px solid var(--m-chat-border);
}
.m-chat-media img {
    display:block;
    width:100%;
    height:auto;
    max-height:220px;
    object-fit:cover;
}

.m-chat-fab.is-open .m-chat-fab-icon-close {
    position: absolute;
    width: 22px;
    height: 22px;
    inset-inline-end: -5px;
    top: -5px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    border: 2px solid #fff;
    z-index: 4;
}
.m-chat-fab.is-open .m-chat-fab-icon-close svg {
    width: 12px;
    height: 12px;
}


/* Phase 3.8 stabilization: ChatGate kaldırıldı, quick hover okunabilirliği güçlendirildi */
/* (eski "ChatGate kaldirildi" kurali silindi: yeni Chat Leads kapisi [hidden] ile yonetilir) */
.m-chat-quick:hover,
.m-chat-quick:focus-visible {
    background: var(--m-chat-primary) !important;
    color: #fff !important;
    border-color: var(--m-chat-primary) !important;
}
.m-chat-quick:hover *,
.m-chat-quick:focus-visible * { color: #fff !important; }
.m-chat-rich-card { border-radius: .5rem; margin-bottom: 1rem; }


/* Final stability / readable controls */
.m-chat-link-btn,
.m-chat-quick-btn,
.m-chat-send,
.m-chat-clear,
.m-chat-close {
    transition: transform .14s ease, box-shadow .14s ease, background .14s ease, color .14s ease, border-color .14s ease;
}
.m-chat-link-btn:hover,
.m-chat-link-btn:focus-visible,
.m-chat-quick-btn:hover,
.m-chat-quick-btn:focus-visible {
    color: #fff !important;
    background: var(--m-chat-primary) !important;
    border-color: var(--m-chat-primary) !important;
    text-decoration: none !important;
}
.m-chat-rich-card {
    border-radius: .5rem !important;
    margin-bottom: 1rem !important;
    overflow: hidden;
}
.m-chat-inline-image {
    margin: 10px 0 14px;
    border-radius: .5rem;
    overflow: hidden;
    border: 1px solid rgba(15,23,42,.10);
    background: #fff;
}
.m-chat-inline-image img {
    display: block;
    width: 100%;
    max-height: 190px;
    object-fit: cover;
}
.m-chat-inline-image figcaption {
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 800;
    color: var(--m-chat-muted);
}
.m-chat-msg-bot ul,
.m-chat-msg-bot ol {
    margin: 8px 0 10px 18px;
    padding: 0;
}
.m-chat-msg-bot li { margin: 4px 0; }
.m-chat-msg-bot strong { font-weight: 900; }
.m-chat-fab { display: inline-flex !important; }
.m-chat-fab[hidden] { display: none !important; }

/* Final floating stack: Chat FAB, BTT ve A11Y stack'lenir.
   BTT görünürken chat yukarı çıkar (yana DEĞİL — install/PWA butonuyla çakışmaz). */
.m-chat-fab {
    width: 56px !important;
    height: 56px !important;
    bottom: calc(var(--sp-5, 20px) + env(safe-area-inset-bottom, 0px)) !important;
    inset-inline-end: var(--sp-5, 20px) !important;
    border-radius: 20px !important;
}
body.btt-visible .m-chat-fab {
    /* BTT 56px + 10px gap → Chat FAB BTT'nin ÜSTÜNE stack'lenir */
    bottom: calc(var(--sp-5, 20px) + 56px + 10px + env(safe-area-inset-bottom, 0px)) !important;
    inset-inline-end: var(--sp-5, 20px) !important;
}
.m-chat-fab:hover {
    transform: translateY(-3px) scale(1.045) !important;
}
.m-chat-fab-icon svg { width: 24px !important; height: 24px !important; }
.m-chat-fab-icon img { width: 34px !important; height: 34px !important; border-radius: 14px !important; }
.m-chat-fab.is-open {
    display: inline-flex !important;
    z-index: calc(var(--z-modal, 400) + 2) !important;
    transform: scale(.94) !important;
}
body.btt-visible .m-chat-tooltip {
    /* Chat FAB BTT üstüne çıktığı için tooltip de daha yükseğe çıkar */
    bottom: calc(var(--sp-5, 20px) + 56px + 10px + 70px + env(safe-area-inset-bottom, 0px)) !important;
    inset-inline-end: var(--sp-5, 20px) !important;
}
@media (max-width: 480px) {
    .m-chat-fab {
        width: 52px !important;
        height: 52px !important;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
        inset-inline-end: 16px !important;
        border-radius: 18px !important;
        transition:
            opacity .28s cubic-bezier(.16, 1, .3, 1),
            transform .28s cubic-bezier(.16, 1, .3, 1),
            box-shadow .22s ease !important;
    }
    /* Mobile: BTT görünürken Chat FAB üstüne stack (yana değil — install/PWA ile çakışmasın) */
    body.btt-visible .m-chat-fab {
        bottom: calc(16px + 52px + 10px + env(safe-area-inset-bottom, 0px)) !important;
        inset-inline-end: 16px !important;
    }
    /* Chat açıkken: yana itme YOK, yukarı doğru fade-out
       (chat kapanınca fade-in geri gelir — is-open sınıfı kalkar) */
    .m-chat-fab.is-open {
        opacity: 0 !important;
        pointer-events: none !important;
        transform: translateY(-28px) scale(.85) !important;
        inset-inline-end: 16px !important;
    }
    /* btt-visible iken de açıkken sadece fade-out, pozisyon aynı stack */
    body.btt-visible .m-chat-fab.is-open {
        inset-inline-end: 16px !important;
    }
}

/* ======================================================================
   CHATGATE (Chat Leads module) - name + e-mail before the chat starts.
   Mobile-first; uses the widget's own tokens.
   ====================================================================== */
.m-chat-gate {
    flex: 1 1 auto;
    overflow-y: auto;
    background: var(--m-chat-bg);
    padding: 18px 16px 24px;
    -webkit-overflow-scrolling: touch;
}
.m-chat-gate-form {
    max-width: 440px;
    margin: 0 auto;
    background: var(--m-chat-card);
    border: 1px solid var(--m-chat-border);
    border-radius: 20px;
    padding: 22px 18px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, .08);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.m-chat-gate-title {
    margin: 0;
    font-size: 19px;
    line-height: 1.25;
    font-weight: 800;
    color: var(--m-chat-text);
}
.m-chat-gate-message {
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--m-chat-muted);
}
.m-chat-gate-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--m-chat-text);
}
.m-chat-gate-field input {
    width: 100%;
    box-sizing: border-box;
    font: inherit;
    font-size: 16px;            /* iOS zoom onleme: 16px alti odakta yakinlastirir */
    font-weight: 400;
    padding: 12px 14px;
    border: 1px solid var(--m-chat-border);
    border-radius: 12px;
    background: #fff;
    color: var(--m-chat-text);
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}
.m-chat-gate-field input:focus {
    border-color: var(--m-chat-primary);
    box-shadow: 0 0 0 3px var(--m-chat-primary-glow);
}
.m-chat-gate-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--m-chat-muted);
    cursor: pointer;
}
.m-chat-gate-consent input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--m-chat-primary);
}
.m-chat-gate-consent a {
    color: var(--m-chat-primary-dark);
    text-decoration: underline;
}
.m-chat-gate-error {
    font-size: 13px;
    color: #b42318;
    background: #fef3f2;
    border: 1px solid #fecdca;
    border-radius: 10px;
    padding: 9px 12px;
}
.m-chat-gate-submit {
    margin-top: 4px;
    width: 100%;
    min-height: 48px;           /* mobil dokunma hedefi */
    border: 0;
    border-radius: 14px;
    background: var(--m-chat-primary);
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .01em;
    cursor: pointer;
    transition: filter .15s, transform .15s;
}
.m-chat-gate-submit:hover { filter: brightness(1.06); }
.m-chat-gate-submit:active { transform: translateY(1px); }
.m-chat-gate-submit:disabled { opacity: .6; cursor: default; }
@media (min-width: 640px) {
    .m-chat-gate { padding: 26px 22px; }
    .m-chat-gate-form { padding: 26px 24px; }
}
/* ChatGate adim 2: dogrulama kodu */
.m-chat-gate-code-input {
    text-align: center;
    font-size: 24px !important;
    letter-spacing: .35em;
    font-weight: 800 !important;
    font-variant-numeric: tabular-nums;
}
.m-chat-gate-info {
    font-size: 13px;
    color: #14532d;
    background: #ecfdf3;
    border: 1px solid #abefc6;
    border-radius: 10px;
    padding: 9px 12px;
}
.m-chat-gate-links {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 2px;
}
.m-chat-gate-link {
    background: none;
    border: 0;
    padding: 6px 0;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--m-chat-primary-dark);
    text-decoration: underline;
    cursor: pointer;
}
.m-chat-gate-link:disabled { color: var(--m-chat-muted); text-decoration: none; cursor: default; }

/* ─── Canlı Destek (İnsana bağlan) — 2026-09-06 ────────────────────────────── */
.m-chat-live-btn{display:inline-flex;align-items:center;gap:5px;margin-left:auto;margin-right:6px;
    padding:5px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.28);
    background:rgba(255,255,255,.12);color:inherit;font:inherit;font-size:11.5px;font-weight:700;
    cursor:pointer;white-space:nowrap;transition:background .15s}
.m-chat-live-btn:hover{background:rgba(255,255,255,.24)}
.m-chat-live-btn[hidden]{display:none}
.m-chat-live-btn svg{width:15px;height:15px;flex-shrink:0}
.m-chat-live-btn.is-active{background:#16a34a;border-color:#16a34a;color:#fff}
.m-chat-live-btn.is-whatsapp{background:#25D366;border-color:#25D366;color:#fff}
.m-chat-live-btn.is-whatsapp:hover{background:#1fb856;border-color:#1fb856}
@media (max-width:420px){.m-chat-live-btn.is-whatsapp span{display:inline;font-size:11.5px}.m-chat-live-btn.is-whatsapp{padding:6px 9px}}
@media (max-width:420px){.m-chat-live-btn span{display:none}.m-chat-live-btn{padding:6px}}

.m-chat-live-bar{display:flex;align-items:center;gap:8px;padding:8px 14px;font-size:12.5px;font-weight:600;
    background:#fef3c7;color:#92400e;border-bottom:1px solid #fde68a}
.m-chat-live-bar[hidden]{display:none}
.m-chat-live-bar.is-active{background:#dcfce7;color:#166534;border-bottom-color:#bbf7d0}
.m-chat-live-dot{width:8px;height:8px;border-radius:50%;background:currentColor;flex-shrink:0;
    animation:mChatLivePulse 1.4s ease-in-out infinite}
@keyframes mChatLivePulse{0%,100%{opacity:1}50%{opacity:.25}}
@media (prefers-reduced-motion: reduce){.m-chat-live-dot{animation:none}}

.m-chat-msg-agent{align-self:flex-start;background:#dcfce7;border:1px solid #86efac;color:#14532d}
.m-chat-msg-system{align-self:center;background:transparent;border:1px dashed rgba(0,0,0,.18);
    color:#6b7280;font-size:12px;text-align:center;max-width:92%}


/* ---- modules/delivery-method/module.css ---- */
/* ======================================================================
   MODULE — DELIVERY METHOD (Placeholder)
   Prefix: .m-dm
   Konum: floating top-right, search butonunun solunda
   ====================================================================== */

.m-dm {
    position: fixed;
    top: calc(var(--header-h) + 12px);
    /* Search butonu sağda 44px + 16px = 60px → bunun solunda */
    inset-inline-end: calc(var(--sp-4) + 44px + 8px);
    z-index: var(--z-sticky);
}

/* ─────────── Trigger ─────────── */

.m-dm-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 22px;
    color: var(--text);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all var(--t-fast);
}
.m-dm-trigger:hover {
    border-color: var(--primary);
    color: var(--primary-dk);
}
.m-dm-trigger:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.m-dm-icon {
    width: 16px;
    height: 16px;
    color: var(--primary);
    flex-shrink: 0;
}

.m-dm-label {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.m-dm-chevron {
    width: 12px;
    height: 12px;
    opacity: 0.6;
    transition: transform var(--t-fast);
}
.m-dm.is-open .m-dm-chevron {
    transform: rotate(180deg);
}

/* ─────────── Menu ─────────── */

.m-dm-menu {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-end: 0;
    min-width: 280px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--sp-2);
    z-index: var(--z-dropdown);
    animation: m-dm-slide-in 0.18s ease-out;
}
.m-dm-menu[hidden] { display: none; }

@keyframes m-dm-slide-in {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.m-dm-badge {
    display: block;
    text-align: center;
    margin: 0 0 var(--sp-2) 0 !important;
    font-size: 9px !important;
    padding: 3px 8px !important;
}

/* ─────────── Options ─────────── */

.m-dm-option {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    width: 100%;
    padding: var(--sp-3) var(--sp-3);
    background: transparent;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    text-align: start;
    transition: background var(--t-fast);
}
.m-dm-option:hover {
    background: var(--bg-soft);
    color: var(--text);
}
.m-dm-option:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
}
.m-dm-option.is-selected {
    background: var(--primary-lt);
    color: var(--primary-dk);
}

.m-dm-option-icon {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.m-dm-option-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.m-dm-option-title {
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--text);
}

.m-dm-option-desc {
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

/* ─────────── Mobile ─────────── */

/* Tablet ve altında: label kısaltılır ama buton görünür */
@media (max-width: 640px) {
    .m-dm {
        /* Search butonunun solunda kalmaya devam — daha az boşluk */
        inset-inline-end: calc(var(--sp-3) + 44px + 6px);
    }
    .m-dm-trigger {
        padding: 0 10px;
        height: 40px;
    }
    .m-dm-label {
        max-width: 120px;
        font-size: var(--fs-xs);
    }
    .m-dm-chevron {
        width: 10px;
        height: 10px;
    }
    .m-dm-menu {
        /* Mobilde daha geniş, sağa hizalı */
        min-width: 260px;
        max-width: calc(100vw - var(--sp-3) * 2);
    }
}

/* Çok dar ekran: sadece ikon kalır (label gizlenir ama buton görünür) */
@media (max-width: 420px) {
    .m-dm-label {
        display: none;
    }
    .m-dm-trigger {
        padding: 0 12px;
    }
}


/* ---- modules/pwa-banner/module.css ---- */
/* ======================================================================
   MODULE — PWA INSTALL BANNER
   Inline banner (sayfa içi) + iOS full-page kurulum modali
   Prefix: .pwa-banner.*  +  .pwa-ios-*
   ====================================================================== */

/* ════════════════════════════════════════════════════════════
   INLINE BANNER — FIXED bottom-center pill (chat/a11y FAB seviyesi)
   z-sticky: 200 (modal 400 üstünde durur)
   Modal açıkken (chat/a11y/pwa-ios) banner gizlenir.
   ════════════════════════════════════════════════════════════ */

.pwa-banner {
    /* FIXED bottom-center — pill container (CTA + dismiss tek pill içinde) */
    position: fixed;
    bottom: var(--sp-5, 20px);
    left: 50%;
    transform: translateX(-50%);
    z-index: var(--z-sticky, 200);
    /* Default: gizli — JS state'e göre açar */
    display: none;
    align-items: stretch;
    gap: 0;
    line-height: 0;
    /* Pill background — eskiden CTA üzerindeydi, artık container'da */
    background: linear-gradient(135deg, var(--btn-pwa-bg, #2563eb) 0%, var(--btn-pwa-bg-2, #1d4ed8) 100%);
    border-radius: 999px;
    box-shadow: 0 8px 24px color-mix(in srgb, var(--btn-pwa-bg, #2563eb) 38%, transparent);
    overflow: hidden;
}

.pwa-banner[data-pwa-state="visible"] {
    display: inline-flex;
    animation: pwa-banner-in 280ms cubic-bezier(0.16, 1, 0.3, 1);
	z-index:10000;
}

@keyframes pwa-banner-in {
    from { opacity: 0; transform: translateX(-50%) translateY(16px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Modal/panel açıkken banner gizlensin (chat, a11y, pwa iOS) */
body.m-chat-open .pwa-banner,
body.a11y-modal-open .pwa-banner,
body.pwa-modal-open .pwa-banner {
    display: none !important;
}

/* Mobile — bottom 16px (chat/a11y FAB ile aynı offset) */
@media (max-width: 480px) {
    .pwa-banner {
        bottom: 16px;
    }
}

/* Ana CTA — sol taraf, transparent, container pill'in parçası */
.pwa-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px 10px 20px;
    background: transparent;
    color: var(--btn-pwa-text, #fff);
    border: 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1.2;
    transition: background var(--t-fast, 0.15s);
}
.pwa-banner-cta:hover {
    background: rgba(255, 255, 255, 0.08);
}
.pwa-banner-cta:active {
    background: rgba(255, 255, 255, 0.14);
}
.pwa-banner-cta:focus-visible {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
}
.pwa-banner-cta svg { flex-shrink: 0; }

/* Dismiss × — pill'in sağ ucunda, hairline divider ile ayrılmış */
.pwa-banner-dismiss {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    background: transparent;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: background var(--t-fast, 0.15s), color var(--t-fast, 0.15s);
}
.pwa-banner-dismiss:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}
.pwa-banner-dismiss:active {
    background: rgba(255, 255, 255, 0.18);
}
.pwa-banner-dismiss:focus-visible {
    outline: none;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

/* Mobile — biraz daha sıkışık */
@media (max-width: 480px) {
    .pwa-banner-cta {
        padding: 9px 14px 9px 16px;
        font-size: 13px;
    }
    .pwa-banner-dismiss {
        padding: 0 12px;
    }
}
.pwa-banner-dismiss:focus-visible {
    outline: 2px solid var(--primary, #e85d04);
    outline-offset: 2px;
}

/* Mobile — daha sıkışık */
@media (max-width: 480px) {
    .pwa-banner-cta {
        padding: 8px 12px 8px 14px;
        font-size: 13px;
    }
    .pwa-banner-dismiss {
        padding: 0 12px;
    }
}

/* ════════════════════════════════════════════════════════════
   iOS MODAL — Mobile full-page beyaz, Desktop center modal
   ════════════════════════════════════════════════════════════ */

.pwa-ios-modal {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal, 400);
    display: none;
    flex-direction: column;
    background: var(--bg-card, #ffffff);
    animation: pwa-ios-fade 200ms ease-out;
}
.pwa-ios-modal.is-open { display: flex; }
.pwa-ios-modal[hidden] { display: none; }

@keyframes pwa-ios-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.pwa-ios-modal-panel {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--bg-card, #ffffff);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: pwa-ios-slide 280ms cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes pwa-ios-slide {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── Desktop (≥640px) — center modal ─── */
@media (min-width: 640px) {
    .pwa-ios-modal {
        background: rgba(15, 23, 42, 0.55);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        align-items: center;
        justify-content: center;
        padding: 4vh 16px;
    }
    .pwa-ios-modal.is-open { flex-direction: row; }
    .pwa-ios-modal-panel {
        width: min(92vw, 560px);
        max-width: 560px;
        height: auto;
        max-height: 86vh;
        border-radius: 16px;
        box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
        animation: pwa-ios-slide-desktop 280ms cubic-bezier(0.16, 1, 0.3, 1);
    }
    @keyframes pwa-ios-slide-desktop {
        from { opacity: 0; transform: translateY(-16px) scale(0.98); }
        to   { opacity: 1; transform: translateY(0) scale(1); }
    }
}


/* Header */
.pwa-ios-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border, #e5e7eb);
    background: var(--bg-card, #fff);
    flex-shrink: 0;
}
.pwa-ios-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text, #111827);
    line-height: 1.3;
}
.pwa-ios-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--text-muted, #6b7280);
    cursor: pointer;
    transition: background 160ms ease, color 160ms ease;
}
.pwa-ios-close:hover {
    background: var(--bg-soft, #f3f4f6);
    color: var(--text, #111827);
}

/* Body */
.pwa-ios-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px 20px 32px;
    color: var(--text, #2a2520);
    font-size: 15px;
    line-height: 1.6;
}
.pwa-ios-body::-webkit-scrollbar { width: 8px; }
.pwa-ios-body::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 4px;
}

/* Hero — icon + subtitle */
.pwa-ios-hero {
    text-align: center;
    margin-bottom: 28px;
}
.pwa-ios-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--btn-pwa-bg, #2563eb) 0%, var(--btn-pwa-bg-2, #1d4ed8) 100%);
    color: #fff;
    margin-bottom: 16px;
    box-shadow: 0 12px 32px color-mix(in srgb, var(--btn-pwa-bg, #2563eb) 28%, transparent);
}
.pwa-ios-subtitle {
    margin: 0;
    font-size: 15px;
    color: var(--text-muted, #6b7280);
    line-height: 1.5;
    max-width: 480px;
    margin-inline: auto;
}

/* Steps */
.pwa-ios-steps {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pwa-ios-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: var(--bg-soft, #f3f4f6);
    border-radius: 14px;
    border-left: 4px solid var(--primary, #2563eb);
}

.pwa-ios-step-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary, #2563eb);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pwa-ios-step-text {
    flex: 1;
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--text, #1a1410);
}

.pwa-ios-step-text strong {
    color: var(--primary, #2563eb);
    font-weight: 700;
}

/* Inline icon badges (Share, Add) */
.pwa-ios-share-icon,
.pwa-ios-add-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0 4px;
    vertical-align: -7px;
    background: var(--primary, #2563eb);
    color: #fff;
    border-radius: 7px;
}

.pwa-ios-hint {
    margin: 32px auto 0;
    max-width: 480px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted, #6b7280);
    opacity: 0.85;
    padding-top: 20px;
    border-top: 1px dashed var(--border, #e5e7eb);
}

/* Body scroll lock while modal open */
body.pwa-modal-open { overflow: hidden; }

/* ════════════════════════════════════════════════════════════
   TOAST (install status feedback)
   ════════════════════════════════════════════════════════════ */

.pwa-toast {
    position: fixed;
    bottom: calc(var(--sp-5, 20px) + 80px);
    left: 50%;
    transform: translateX(-50%);
    z-index: var(--z-popover, 500);
    background: rgba(17, 24, 39, 0.95);
    color: #fff;
    padding: 12px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    max-width: calc(100% - 32px);
    text-align: center;
    animation: pwa-toast-in 200ms ease-out;
}
.pwa-toast[hidden] { display: none; }
.pwa-toast.is-info    { background: rgba(37, 99, 235, 0.95); }
.pwa-toast.is-success { background: rgba(34, 197, 94, 0.95); }
.pwa-toast.is-error   { background: rgba(220, 38, 38, 0.95); }

@keyframes pwa-toast-in {
    from { opacity: 0; transform: translateX(-50%) translateY(8px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Print — modaller gizlensin */
@media print {
    .pwa-banner,
    .pwa-ios-modal,
    .pwa-toast {
        display: none !important;
    }
}


/* ---- modules/search/module.css ---- */
/* ======================================================================
   MODULE — SEARCH OVERLAY (AJAX, modern design)
   Prefix: .m-search
   ====================================================================== */

/* ─────────── Trigger Button (sağ üst floating) ─────────── */

.m-search-trigger {
    position: fixed;
    top: calc(var(--header-h, 64px) + 12px);
    inset-inline-end: var(--sp-4, 16px);
    width: 44px;
    height: 44px;
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 50%;
    color: var(--text-muted, #6b7280);
    cursor: pointer;
    z-index: var(--z-sticky, 100);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow, 0 2px 8px rgba(0,0,0,0.08));
    transition: transform var(--t-fast, 0.15s), background var(--t-fast, 0.15s),
                color var(--t-fast, 0.15s), border-color var(--t-fast, 0.15s);
}

.m-search-trigger:hover {
    background: var(--primary, #e85d04);
    border-color: var(--primary, #e85d04);
    color: var(--primary-on, #fff);
    transform: scale(1.06);
}

.m-search-trigger:focus-visible {
    outline: 2px solid var(--primary, #e85d04);
    outline-offset: 3px;
}

.m-search-trigger svg {
    width: 18px;
    height: 18px;
}

/* ─────────── Overlay ─────────── */

.m-search-overlay {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal, 1000);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 8vh;
}

.m-search-overlay[hidden] {
    display: none;
}

.m-search-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: m-search-fade 200ms ease-out;
}

@keyframes m-search-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.m-search-panel {
    position: relative;
    width: min(92vw, 640px);
    max-height: 80vh;
    background: var(--bg-card, #fff);
    border-radius: var(--radius-lg, 16px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: m-search-slide 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes m-search-slide {
    from { opacity: 0; transform: translateY(-16px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ─────────── Header (input row) ─────────── */

.m-search-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border, #e5e7eb);
    background: var(--bg-card, #fff);
}

.m-search-icon {
    width: 22px;
    height: 22px;
    color: var(--text-muted, #6b7280);
    flex-shrink: 0;
}

.m-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 17px;
    color: var(--text, #111827);
    font-family: inherit;
    font-weight: 500;
    padding: 4px 0;
    min-width: 0;
}

.m-search-input::placeholder {
    color: var(--text-soft, #9ca3af);
    font-weight: 400;
}

/* Spinner — query gönderildiğinde gözükür */
.m-search-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid color-mix(in srgb, var(--primary, #e85d04) 25%, transparent);
    border-top-color: var(--primary, #e85d04);
    border-radius: 50%;
    animation: m-search-spin 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes m-search-spin {
    to { transform: rotate(360deg); }
}

/* Esc kbd hint — desktop only */
.m-search-kbd {
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted, #6b7280);
    background: var(--bg-soft, #f3f4f6);
    border: 1px solid var(--border, #e5e7eb);
    border-bottom-width: 2px;
    border-radius: 4px;
    padding: 2px 6px;
    line-height: 1;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .m-search-kbd { display: none; }
}

.m-search-close {
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    color: var(--text-muted, #6b7280);
    cursor: pointer;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background var(--t-fast, 0.15s), color var(--t-fast, 0.15s);
    flex-shrink: 0;
}

.m-search-close:hover {
    background: var(--bg-soft, #f3f4f6);
    color: var(--text, #111827);
}

.m-search-close svg {
    width: 16px;
    height: 16px;
}

/* ─────────── Body ─────────── */

.m-search-body {
    overflow-y: auto;
    padding: 16px 18px 20px;
    flex: 1;
}

.m-search-state[hidden] { display: none; }

/* ─────────── State: Idle (boş input) ─────────── */

.m-search-recent {
    margin-bottom: 18px;
}

.m-search-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.m-search-section-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted, #6b7280);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.m-search-clear-recent {
    background: transparent;
    border: none;
    color: var(--text-soft, #9ca3af);
    font-size: 11px;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color var(--t-fast, 0.15s), background var(--t-fast, 0.15s);
}

.m-search-clear-recent:hover {
    color: var(--text, #111827);
    background: var(--bg-soft, #f3f4f6);
}

.m-search-recent-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.m-search-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-soft, #f3f4f6);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 999px;
    font-size: 13px;
    color: var(--text, #111827);
    cursor: pointer;
    transition: background var(--t-fast, 0.15s), border-color var(--t-fast, 0.15s);
}

.m-search-chip:hover {
    background: var(--bg-card, #fff);
    border-color: var(--primary, #e85d04);
    color: var(--primary, #e85d04);
}

.m-search-chip svg {
    width: 12px;
    height: 12px;
    color: var(--text-muted, #6b7280);
    flex-shrink: 0;
}

/* Hint (recent yoksa veya altında) */
.m-search-hint {
    text-align: center;
    padding: 24px 16px;
}

.m-search-hint-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: color-mix(in srgb, var(--primary, #e85d04) 8%, var(--bg-card, #fff));
    border-radius: 50%;
    margin-bottom: 14px;
    color: var(--primary, #e85d04);
}

.m-search-hint-icon svg {
    width: 26px;
    height: 26px;
}

.m-search-hint-text {
    font-size: 14px;
    color: var(--text-muted, #6b7280);
    margin: 0 0 16px;
    line-height: 1.5;
}

.m-search-shortcuts {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    font-size: 12px;
    color: var(--text-soft, #9ca3af);
}

.m-search-shortcut {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.m-search-shortcut kbd {
    font-family: inherit;
    font-size: 10px;
    font-weight: 600;
    background: var(--bg-soft, #f3f4f6);
    border: 1px solid var(--border, #e5e7eb);
    border-bottom-width: 2px;
    border-radius: 3px;
    padding: 1px 5px;
    color: var(--text, #111827);
}

/* ─────────── State: Loading (shimmer skeleton) ─────────── */

.m-search-skel {
    height: 64px;
    background: linear-gradient(90deg,
        var(--bg-soft, #f3f4f6) 0%,
        color-mix(in srgb, var(--bg-soft, #f3f4f6) 60%, white) 50%,
        var(--bg-soft, #f3f4f6) 100%);
    background-size: 200% 100%;
    border-radius: 12px;
    margin-bottom: 8px;
    animation: m-search-shimmer 1.4s ease-in-out infinite;
}

@keyframes m-search-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ─────────── State: Results ─────────── */

.m-search-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.m-search-result {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: background var(--t-fast, 0.15s), transform var(--t-fast, 0.15s);
    border: 1px solid transparent;
}

.m-search-result:hover,
.m-search-result.is-active {
    background: color-mix(in srgb, var(--primary, #e85d04) 6%, var(--bg-card, #fff));
    color: var(--primary-on, #fff);
    border-color: color-mix(in srgb, var(--primary, #e85d04) 20%, transparent);
}

.m-search-result.is-active {
    /* Klavye ile seçili */
    background: color-mix(in srgb, var(--primary, #e85d04) 10%, var(--bg-card, #fff));
    color: var(--primary-on, #fff);
}

.m-search-result-thumb {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-soft, #f3f4f6);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border, #e5e7eb);
}

.m-search-result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.m-search-result-thumb-empty {
    font-size: 22px;
    color: var(--text-soft, #9ca3af);
}

.m-search-result-body {
    flex: 1;
    min-width: 0;
}

.m-search-result-name {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text, #111827);
    margin: 0 0 2px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.m-search-result-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted, #6b7280);
    line-height: 1.3;
}

.m-search-result-cat {
    display: inline-flex;
    align-items: center;
}

.m-search-result-desc {
    color: var(--text-soft, #9ca3af);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.m-search-result-sep {
    color: var(--border, #e5e7eb);
}

.m-search-result-price {
    font-weight: 700;
    color: var(--primary, #e85d04);
    font-size: 14px;
    flex-shrink: 0;
}

.m-search-result-arrow {
    width: 16px;
    height: 16px;
    color: var(--text-soft, #9ca3af);
    flex-shrink: 0;
    transition: transform var(--t-fast, 0.15s), color var(--t-fast, 0.15s);
}

.m-search-result:hover .m-search-result-arrow,
.m-search-result.is-active .m-search-result-arrow {
    color: var(--primary, #e85d04);
    transform: translateX(3px);
}

/* Search query highlight içeride */
.m-search-mark {
    background: color-mix(in srgb, var(--primary, #e85d04) 25%, transparent);
    color: inherit;
    padding: 0 2px;
    border-radius: 3px;
}

/* ─────────── State: Empty / No results ─────────── */

.m-search-empty {
    text-align: center;
    padding: 36px 16px;
}

.m-search-empty-icon {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 12px;
}

.m-search-empty-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text, #111827);
    margin: 0 0 6px;
}

.m-search-empty-text {
    font-size: 13.5px;
    color: var(--text-muted, #6b7280);
    line-height: 1.5;
    margin: 0 0 18px;
}

.m-search-empty-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--primary, #e85d04);
    color: white;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: transform var(--t-fast, 0.15s), background var(--t-fast, 0.15s);
}

.m-search-empty-cta:hover {
    transform: translateY(-1px);
    background: color-mix(in srgb, var(--primary, #e85d04) 90%, black);
    color: var(--primary-on, #fff);
}

/* ─────────── Body scroll lock ─────────── */

body.m-search-locked {
    overflow: hidden;
}

/* ─────────── Mobile ─────────── */

@media (max-width: 640px) {
    .m-search-overlay {
        padding-top: 0;
        align-items: stretch;
    }
    .m-search-panel {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    .m-search-body {
        padding: 14px;
    }
    .m-search-result-desc {
        display: none;
    }
}

/* ─────────── RTL ─────────── */

[dir="rtl"] .m-search-result-arrow {
    transform: scaleX(-1);
}

[dir="rtl"] .m-search-result:hover .m-search-result-arrow,
[dir="rtl"] .m-search-result.is-active .m-search-result-arrow {
    transform: scaleX(-1) translateX(3px);
}


/* ---- modules/upi-tour/module.css ---- */
/* ── UPİ yol gösterici — mobile-first ─────────────────────────────
   Renkler konfigüratörün değişkenlerine yaslanır; o sayfada tanımlı
   değilse (normal ürün sayfası) yedek değerler devreye girer. */
.upi{position:fixed;inset:0;z-index:9990}
.upi[hidden]{display:none!important}

/* Tıklama yakalayıcı. Hedef varken karartmayı paneller yapar,
   hedefsiz (karşılama) adımda burası karartır. */
.upi-mask{position:absolute;inset:0;background:transparent;cursor:pointer}
.upi-mask.is-dark{background:rgba(6,9,6,.82)}

/* Spot halkası — sadece çerçeve. Karartma DÖRT PANEL ile yapılır;
   tek dev box-shadow (0 0 0 9999px) bazı tarayıcılarda kocaman bir
   katman üretip boyamayı düşürüyor. */
.upi-ring{position:fixed;border-radius:18px;pointer-events:none;
    border:2px solid var(--cd-acc,#a4e22b);
    box-shadow:0 0 18px rgba(164,226,43,.30);
    transition:left .22s ease,top .22s ease,width .22s ease,height .22s ease}
.upi-ring[hidden]{display:none}
.upi-sh{position:fixed;background:rgba(6,9,6,.82);pointer-events:auto;cursor:pointer}
.upi-sh[hidden]{display:none}

/* Anlatım kutusu — mobilde alta yapışır */
.upi-pop{position:fixed;left:10px;right:10px;bottom:10px;
    display:flex;align-items:flex-end;gap:8px;pointer-events:none}
.upi-av{flex:0 0 64px;width:64px;height:auto;pointer-events:none;
    filter:drop-shadow(0 8px 18px rgba(0,0,0,.55));animation:upiFloat 3.4s ease-in-out infinite}
@keyframes upiFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
.upi-box{flex:1 1 auto;pointer-events:auto;background:var(--cd-card,var(--bg-card,#141414));
    border:1px solid var(--cd-line,var(--border,#2a2a2a));border-radius:16px;padding:13px 14px;
    box-shadow:0 18px 42px rgba(0,0,0,.55)}
.upi-t{font-size:14.5px;font-weight:900;margin-bottom:5px;color:var(--cd-acc,#a4e22b)}
.upi-b{font-size:13px;line-height:1.55;color:var(--text,#e8e8e8);margin:0 0 11px}
.upi-f{display:flex;align-items:center;justify-content:space-between;gap:10px}
.upi-dots{display:flex;gap:5px;flex-wrap:wrap}
.upi-dots i{width:6px;height:6px;border-radius:50%;background:var(--cd-line,var(--border,#2a2a2a));display:block}
.upi-dots i.on{background:var(--cd-acc,#a4e22b)}
.upi-btns{display:flex;align-items:center;gap:8px}
.upi-skip{background:none;border:0;color:var(--cd-muted,var(--text-muted,#9aa09a));font-size:12.5px;
    font-weight:700;padding:8px 4px;cursor:pointer}
.upi-skip:hover{color:var(--text,#e8e8e8)}
.upi-next{background:var(--cd-acc,#a4e22b);color:#0d0d0d;border:0;border-radius:999px;
    font-size:13px;font-weight:900;padding:9px 18px;cursor:pointer}
.upi-next:hover{filter:brightness(1.06)}
.upi-skip:focus-visible,.upi-next:focus-visible{outline:2px solid var(--cd-acc,#a4e22b);outline-offset:2px}

/* Konfigüratörde kilitli adım, anlatılırken sönük durmasın
   (tıklanabilir olmaz — sadece görünür) */
.cd-step.is-locked.upi-lit{opacity:1;filter:none}

/* Konfigüratör başlığındaki "Nasıl çalışır?" */
.upi-again{display:inline-flex;align-items:center;gap:6px;margin-top:12px;background:none;
    border:1px solid var(--cd-line,var(--border,#2a2a2a));border-radius:999px;padding:6px 13px;
    color:var(--cd-muted,var(--text-muted,#9aa09a));font-size:12px;font-weight:700;cursor:pointer}
.upi-again::before{content:"";width:14px;height:14px;border-radius:50%;
    background:var(--cd-acc,#a4e22b);flex:0 0 14px}
.upi-again:hover{color:var(--text,#e8e8e8);border-color:var(--cd-acc,#a4e22b)}

/* ── Sohbet panelinde "UPİ Göstersin" ─────────────────────────────
   Başlık satırının ALTINDA kendi şeridi. Başlık içine konulduğunda
   dar ekranda etiket gizleniyordu; burada her zaman görünür.
   Metin taşmaz: uzun çeviride (ör. Almanca) üç noktayla kısalır. */
.upi-chat-strip{display:flex;padding:8px 10px;box-sizing:border-box;width:100%;
    background:rgba(164,226,43,.12);border-bottom:1px solid rgba(0,0,0,.08)}
.upi-chat-btn{display:flex;align-items:center;justify-content:center;gap:8px;
    width:100%;min-width:0;box-sizing:border-box;padding:9px 14px;
    border:1px solid #7cb518;border-radius:999px;background:#fff;color:#14310a;
    font-size:13.5px;font-weight:800;line-height:1.2;cursor:pointer;
    font-family:inherit}
.upi-chat-btn:hover{background:#f4fbe8}
.upi-chat-btn:focus-visible{outline:2px solid #7cb518;outline-offset:2px}
.upi-chat-btn img{width:20px;height:22px;flex:0 0 20px;object-fit:contain;display:block}
.upi-chat-btn span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

@media (min-width:820px){
    .upi-pop{left:0;right:auto;bottom:auto;width:430px;align-items:flex-start}
    .upi-av{flex:0 0 92px;width:92px}
    .upi-t{font-size:15.5px}
    .upi-b{font-size:13.5px}
    /* karşılama adımı — ortada dursun */
    .upi-pop.is-center{left:50%;top:50%;transform:translate(-50%,-50%)}
    /* hedef görünür alana getirilemediyse — köşeye çekil, ekranı karartma */
    .upi-pop.is-bottom{left:auto;right:20px;top:auto;bottom:20px}
}
@media (prefers-reduced-motion:reduce){
    .upi-ring{transition:none}
    .upi-av{animation:none}
}

