/* ── Reset / base ──────────────────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html,
body {
    height: 100%;
    font-family: var(--font-family);
    background: var(--tema-zemin, #fcf7fa);
    color: var(--tema-metin, #1a1a1a);
    -webkit-font-smoothing: antialiased;
}

/* ── KESO renk değişkenleri ────────────────────────────────────────────────── */
:root {
    --keso:        #a83278;
    --keso-dark:   #7f245b;
    --keso-light:  #f8e8f2;
    --keso-mid:    #c7659c;
    --keso-text:   #5b1942;

    /* Kurum teması (panel → Kurum Teması). Buradaki değerler varsayılandır; yayınlanmış tema bunları
       <style id="kurum-tema"> ile ezer (keso-tema.js). Renk yazarken sabit renk yerine bu değişkenleri kullanın:
       marka → --keso*, metin → --tema-metin(-2/-3/-4), zemin → --tema-zemin / --tema-yuzey / --tema-dolgu,
       çizgi → --tema-cizgi(-2). Saydam marka tonu: rgba(var(--keso-rgb), .2).
       --tema-* değerleri yalnızca aydınlık görünümde temadan gelir; karanlık görünüm kendi kurallarını kullanır. */
    --keso-on:          #ffffff;            /* ana rengin üstündeki yazı */
    --keso-rgb:         168,50,120;
    --keso-dark-rgb:    127,36,91;
    --keso-cizgi:       #ecc8dc;            /* ana renkten açık çizgi */
    --keso-ikincil:     #7f245b;
    --keso-ikincil-on:  #ffffff;
    --keso-vurgu:       #e0a100;
    --keso-vurgu-on:    #111111;
    --keso-karanlik:    #f0abd6;            /* karanlık görünümde okunacak marka tonu */
    --tema-zemin:       #fcf7fa;
    --tema-yuzey:       #ffffff;
    --tema-metin:       #1a1a1a;
    --tema-metin-2:     #374151;
    --tema-metin-3:     #6b7280;
    --tema-metin-4:     #9ca3af;
    --tema-cizgi:       #e5e7eb;
    --tema-cizgi-2:     #d1d5db;
    --tema-dolgu:       #f3f4f6;
    /* İşletme (kasiyer) modülü koyu tasarımlıdır: marka rengi koyu zeminde görünecek tonda gelir. */
    --kasiyer-ana:        #a54783;
    --kasiyer-rgb:        165,71,131;
    --kasiyer-on:         #ffffff;
    --kasiyer-ana-koyu:   #8b3a6e;
    --kasiyer-ana-koyu-2: #6d2c56;
    --kasiyer-acik:       #e08fc2;
    --kasiyer-acik-rgb:   224,143,194;
    --kasiyer-cok-acik:   #f3c4e1;

    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --radius-sm:   8px;
    --radius-md:   12px;
    --radius-lg:   16px;
    --shadow-card: 0 2px 10px rgba(var(--keso-dark-rgb),.08);
    --shadow-card-hover: 0 6px 18px rgba(var(--keso-dark-rgb),.16);
    --keso-gradient: linear-gradient(135deg, #7f245b 0%, #a83278 58%, #c7659c 100%);
    --bnav-h:      64px;
    --page-inline: clamp(14px, 4vw, 24px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ── Shell ─────────────────────────────────────────────────────────────────── */
.keso-shell { min-height: 100dvh; }
.keso-shell.with-nav { padding-bottom: calc(var(--bnav-h) + var(--safe-bottom)); }

/* ── Bottom nav ────────────────────────────────────────────────────────────── */
.keso-bnav {
    position: fixed; bottom: 0; left: 0; right: 0;
    height: calc(var(--bnav-h) + var(--safe-bottom));
    padding-bottom: var(--safe-bottom);
    background: var(--tema-yuzey);
    border-top: 1px solid var(--keso-cizgi);
    display: flex;
    align-items: stretch;
    z-index: 100;
}

.keso-bnav-item {
    flex: 1;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 3px;
    text-decoration: none;
    color: var(--tema-metin-3);
    font-size: 10px;
    cursor: pointer;
    touch-action: manipulation;
    position: relative;
    transition: color .15s;
}
.keso-bnav-item.active { color: var(--keso); }

/* Active top-line indicator */
.keso-bnav-item.active::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 24px; height: 3px;
    background: var(--keso);
    border-radius: 0 0 3px 3px;
}

/* SVG icon — inherits currentColor */
.keso-bnav-icon {
    display: flex; align-items: center; justify-content: center;
    width: 24px; height: 24px;
}
.keso-bnav-icon svg {
    transition: opacity .15s;
    opacity: .78;
}
.keso-bnav-item.active .keso-bnav-icon svg { opacity: 1; }
.keso-bnav-label { font-size: 11px; font-weight: 600; }

.keso-bnav-qr-circle {
    width: 44px; height: 44px;
    background: var(--keso);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-top: -18px;
    border: 3px solid #f4f6f8;
    box-shadow: 0 2px 10px rgba(var(--keso-rgb),.40);
    color: var(--keso-on, #fff); /* SVG stroke becomes white */
    transition: box-shadow .15s;
}
.keso-bnav-qr:active .keso-bnav-qr-circle {
    box-shadow: 0 1px 5px rgba(var(--keso-rgb),.30);
}
.keso-bnav-qr .keso-bnav-label { margin-top: 4px; }

/* QR circle içindeki SVG her zaman tam opak ve beyaz */
.keso-bnav-qr-circle svg { opacity: 1 !important; }

/* Talep ağı rozeti (alt menü ortası ve kasiyer menüsü): yeni teklif + okunmamış mesaj */
.keso-bnav-qr-circle { position: relative; }
.keso-bnav-rozet {
    position: absolute; top: -4px; right: -6px;
    min-width: 20px; height: 20px; padding: 0 5px; box-sizing: border-box;
    border-radius: 10px; border: 2px solid #fff;
    background: #dc2626; color: #fff;
    font-size: 11px; font-weight: 700; line-height: 16px; text-align: center;
}
html[data-theme="dark"] .keso-bnav-rozet { border-color: #0f172a; }

/* ── Hero Slider ─────────────────────────────────────────────────────────────── */
/* Dot: 20×20px tap area, visual indicator via ::before */
/* ── Hızlı Erişim ─────────────────────────────────────────────────────────────── */
/* ── Duyuru / Haber ortak kart ───────────────────────────────────────────────── */
/* Haberler — dikey tam genişlik liste (hem ana sayfa hem /haberler) */
/* Duyurular — yatay kaydırmalı liste (sadece ana sayfa duyurular bölümü) */
/* ── Header ────────────────────────────────────────────────────────────────── */
.keso-header {
    background: var(--keso);
    padding: clamp(12px, 2.2vh, 18px) var(--page-inline) 12px;
    color: var(--keso-on, #fff);
}
.keso-header-row {
    display: flex; align-items: center; justify-content: space-between;
}
.keso-header-logo { font-size: 20px; font-weight: 700; letter-spacing: .5px; }
.keso-header-sub { font-size: 12px; opacity: .8; margin-top: 2px; }
.keso-header-icon-btn {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,.2);
    border: none; padding: 0; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 18px;
    text-decoration: none;
    -webkit-appearance: none;
}
.keso-header-action-spacer { width: 44px; height: 44px; flex-shrink: 0; }

/* ── Yapışkan arama çubuğu ──────────────────────────────────────────────────── */
/* ── Arama kutusu ──────────────────────────────────────────────────────────── */
/* ── Kategori arama ─────────────────────────────────────────────────────────── */
/* ── Kategori hap ──────────────────────────────────────────────────────────── */
/* ── Bölüm başlığı ─────────────────────────────────────────────────────────── */
/* ── Kampanya kartı (yatay kaydırma) ─────────────────────────────────────── */
/* ── Firma kartı (liste) ───────────────────────────────────────────────────── */
/* ── Tab çubuğu (İşletmeler / Kampanyalar) ─────────────────────────────────── */
.keso-tabbar {
    display: flex;
    background: var(--tema-yuzey);
    border-bottom: 1px solid var(--tema-cizgi);
    padding: 0 16px;
}
.keso-tab {
    flex: 1;
    background: none; border: none;
    padding: 13px 0 11px;
    font-size: 14px; font-weight: 600; color: var(--tema-metin-4);
    cursor: pointer; position: relative;
    touch-action: manipulation; -webkit-tap-highlight-color: transparent;
    transition: color .15s;
}
.keso-tab.active { color: var(--keso, #0d9488); }
.keso-tab.active::after {
    content: ''; position: absolute; left: 50%; bottom: -1px;
    transform: translateX(-50%);
    width: 60%; height: 3px; border-radius: 3px 3px 0 0;
    background: var(--keso, #0d9488);
}

/* ── Kampanya tanıtım bandı ────────────────────────────────────────────────── */
/* ── Kampanya listesi (dikey) ──────────────────────────────────────────────── */
/* ── Giriş sayfası — Giris.razor bileşeni kendi <style> bloğunu taşıyor ── */

.keso-btn {
    width: 100%; padding: 13px;
    background: var(--keso); color: var(--keso-on, #fff);
    border: none; border-radius: var(--radius-sm);
    font-size: 15px; font-weight: 600; cursor: pointer;
    touch-action: manipulation;
    transition: background .15s, transform .1s;
}
.keso-btn:hover:not(:disabled) { background: var(--keso-dark); }
.keso-btn:active:not(:disabled) { transform: scale(0.98); }
.keso-btn:disabled { background: #9aa0a6; cursor: not-allowed; opacity: .7; }
.keso-btn-outline {
    width: 100%; padding: 12px;
    background: transparent; color: var(--keso);
    border: 1.5px solid var(--keso); border-radius: var(--radius-sm);
    font-size: 14px; font-weight: 600; cursor: pointer; margin-top: 10px;
}

/* ── Firma detay ───────────────────────────────────────────────────────────── */
.keso-detay-hero {
    height: 160px; background: var(--keso-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 60px; position: relative;
}
.keso-detay-back {
    position: absolute; top: 14px; left: 14px;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,.85);
    display: flex; align-items: center; justify-content: center;
    border: none; padding: 0; cursor: pointer;
    color: var(--tema-metin); -webkit-appearance: none;
}
.keso-detay-fav-btn {
    position: absolute; top: 14px; right: 14px;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,.85);
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
}
.keso-detay-body { padding: 16px; }
.keso-detay-unvan { font-size: 20px; font-weight: 700; color: var(--tema-metin); }
.keso-detay-cat { font-size: 13px; color: var(--keso); margin-top: 3px; font-weight: 500; }
.keso-detay-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.keso-chip {
    background: var(--tema-dolgu); border-radius: 20px;
    padding: 5px 12px; font-size: 12px; color: var(--tema-metin-2);
}
.keso-chip-link { text-decoration: none; color: var(--keso, #0d9488); font-weight: 600; }
.keso-chip-link:active { background: var(--tema-cizgi); }

/* ── İşletme sosyal medya ── */
.keso-sosyal-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.keso-sosyal-btn {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--tema-dolgu); color: var(--tema-metin-3);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; flex-shrink: 0;
    touch-action: manipulation; -webkit-tap-highlight-color: transparent;
    transition: background .12s, transform .1s;
}
.keso-sosyal-btn:active { background: var(--tema-cizgi); transform: scale(.94); }
.keso-sosyal-btn.wa { background: #e8f9f1; color: #0a7d4b; }
.keso-sosyal-btn.wa:active { background: #d3f3e3; }

.keso-firma-harita { margin-top: 18px; }
.keso-firma-harita-bas {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
    margin-bottom: 10px;
}
.keso-firma-harita-baslik { font-size: 16px; font-weight: 700; color: var(--tema-metin); }
.keso-firma-harita-adres { margin-top: 3px; font-size: 12px; line-height: 1.4; color: var(--tema-metin-3); }
.keso-firma-yol-btn {
    flex-shrink: 0; padding: 7px 11px; border-radius: 10px;
    background: var(--keso-light); color: var(--keso); text-decoration: none;
    font-size: 12px; font-weight: 700;
}
.keso-firma-harita-kutu {
    position: relative; height: clamp(210px, 34vw, 300px); overflow: hidden;
    border: 1px solid var(--tema-cizgi); border-radius: 14px; background: var(--tema-dolgu);
}
.keso-firma-harita-alan { width: 100%; height: 100%; }
.keso-firma-harita-overlay {
    position: absolute; inset: 0; z-index: 500;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px;
    background: rgba(255,255,255,.9); color: var(--tema-metin-3); font-size: 13px;
}

.keso-detay-divider { height: 1px; background: var(--tema-cizgi); margin: 16px 0; }
.keso-detay-bilgi { font-size: 13px; color: var(--tema-metin-2); line-height: 1.6; }

.keso-kamp-item {
    background: var(--keso-light);
    border-radius: var(--radius-sm);
    padding: 12px 14px; margin-bottom: 8px;
    display: flex; justify-content: space-between; align-items: center;
}
.keso-kamp-item-title { font-size: 14px; font-weight: 600; color: var(--keso-text); }
.keso-kamp-item-date { font-size: 11px; color: var(--keso); margin-top: 2px; }
.keso-kamp-tip-badge {
    background: var(--keso); color: var(--keso-on, #fff);
    font-size: 11px; padding: 4px 10px; border-radius: 10px; font-weight: 600;
}

/* ── QR sayfası ────────────────────────────────────────────────────────────── */
.keso-qr-page {
    min-height: 100vh; background: var(--keso);
    display: flex; flex-direction: column; align-items: center;
    padding: 48px 24px 100px;
}

/* ── Profil sayfası ────────────────────────────────────────────────────────── */

.keso-menu {
    background: var(--tema-yuzey); border-radius: var(--radius-md);
    border: 1px solid var(--tema-cizgi); overflow: hidden;
    margin: 16px;
}
.keso-menu-item {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--tema-cizgi);
    text-decoration: none; color: var(--tema-metin);
    font-size: 14px; cursor: pointer;
    background: none; border-left: none; border-top: none; border-right: none;
    width: 100%; text-align: left;
    touch-action: manipulation;
    transition: background .12s;
}
.keso-menu-item:active { background: var(--tema-dolgu); }
.keso-menu-item:last-child { border-bottom: none; }
.keso-menu-item-icon { font-size: 20px; }

/* ── Bizi Takip Edin ───────────────────────────────────────────────────────── */
/* ── Daha fazla yükle ──────────────────────────────────────────────────────── */
/* ── Genel yardımcı ─────────────────────────────────────────────────────────── */
.keso-loading {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 48px 16px; gap: 12px; color: var(--tema-metin-4);
}
.keso-spinner {
    width: 32px; height: 32px;
    border: 3px solid var(--tema-cizgi);
    border-top-color: var(--keso);
    border-radius: 50%;
    animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.keso-empty {
    text-align: center; padding: 48px 24px;
    color: var(--tema-metin-4); font-size: 14px;
}
.keso-empty-icon { font-size: 40px; margin-bottom: 10px; }

/* ── Blazor error ───────────────────────────────────────────────────────────── */
#blazor-error-ui {
    background: #fff3cd; border-top: 1px solid #ffc107;
    bottom: 0; left: 0; right: 0;
    padding: 10px 16px;
    position: fixed; display: none; z-index: 200;
}
#blazor-error-ui .dismiss { cursor: pointer; float: right; }

h1:focus { outline: none; }

.invalid { outline: 1px solid #e50000; }

/* ── Toast bildirimi ────────────────────────────────────────────────────────── */
/* ═══════════════════════════════════════════════════════════════════════════
   ALT SAYFA ORTAK — Geri başlıklı header
   ═══════════════════════════════════════════════════════════════════════════ */
.keso-subpage-header {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 60px;
    padding: 8px var(--page-inline);
    background: var(--tema-yuzey);
    border-bottom: 1px solid var(--tema-cizgi);
    position: sticky;
    top: 0;
    z-index: 50;
}
.keso-back-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: none; padding: 0; background: var(--tema-dolgu);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--tema-metin);
    flex-shrink: 0;
    touch-action: manipulation;
    -webkit-appearance: none;
}
.keso-back-btn:active { background: var(--tema-cizgi); }
.keso-subpage-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--tema-metin);
}

/* menü öğesinde açıklama chip'i */
/* ── Tema satırı ─────────────────────────────────────────────────────────────── */
/* ── Tema segmented control ──────────────────────────────────────────────────── */
/* ═══════════════════════════════════════════════════════════════════════════
   KİŞİSEL BİLGİLER
   ═══════════════════════════════════════════════════════════════════════════ */
.keso-bilgi-card {
    background: var(--tema-yuzey);
    border-radius: var(--radius-md);
    border: 1px solid var(--tema-cizgi);
    overflow: hidden;
    margin-bottom: 16px;
}
.keso-bilgi-row {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid var(--tema-cizgi);
    gap: 12px;
}
.keso-bilgi-row:last-child { border-bottom: none; }
.keso-bilgi-label {
    font-size: 13px;
    color: var(--tema-metin-4);
    width: 80px;
    flex-shrink: 0;
}
.keso-bilgi-value {
    font-size: 14px;
    color: var(--tema-metin);
    flex: 1;
    font-weight: 500;
}
.keso-bilgi-muted { color: var(--tema-metin-4) !important; font-weight: 400 !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   TEMA
   ═══════════════════════════════════════════════════════════════════════════ */
.keso-tema-aciklama {
    font-size: 13px;
    color: var(--tema-metin-4);
    margin-bottom: 16px;
}
.keso-menu-item.keso-tema-aktif {
    background: var(--keso-light);
}
.keso-tema-check {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--keso);
    display: flex; align-items: center; justify-content: center;
    color: var(--keso-on, #fff);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   YARDIM MERKEZİ — SSS
   ═══════════════════════════════════════════════════════════════════════════ */
.keso-sss-baslik {
    font-size: 13px;
    font-weight: 700;
    color: var(--tema-metin-4);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 10px;
}
.keso-sss-kart {
    background: var(--tema-yuzey);
    border-radius: var(--radius-md);
    border: 1px solid var(--tema-cizgi);
    margin-bottom: 8px;
    overflow: hidden;
    cursor: pointer;
    touch-action: manipulation;
}
.keso-sss-soru {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--tema-metin);
    gap: 8px;
}
.keso-sss-ok {
    flex-shrink: 0;
    color: var(--tema-metin-4);
    transition: transform .2s;
}
.keso-sss-kart.acik .keso-sss-ok {
    transform: rotate(180deg);
}
.keso-sss-cevap {
    padding: 0 16px 14px;
    font-size: 13px;
    color: var(--tema-metin-2);
    line-height: 1.65;
    border-top: 1px solid var(--tema-cizgi);
    padding-top: 12px;
}
.keso-yardim-iletisim {
    margin-top: 24px;
    background: var(--keso-light);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    text-align: center;
}
.keso-yardim-iletisim-baslik {
    font-size: 15px;
    font-weight: 700;
    color: var(--keso-text);
}
.keso-yardim-iletisim-alt {
    font-size: 13px;
    color: var(--keso);
    margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   KULLANIM KOŞULLARI
   ═══════════════════════════════════════════════════════════════════════════ */
.keso-kosul-body {
    padding: 16px 20px 80px;
    color: var(--tema-metin);
}
.keso-kosul-tarih {
    font-size: 11px;
    color: var(--tema-metin-4);
    margin-bottom: 20px;
}
.keso-kosul-baslik {
    font-size: 14px;
    font-weight: 700;
    color: var(--keso-text);
    margin: 20px 0 6px;
}
.keso-kosul-metin {
    font-size: 13px;
    color: var(--tema-metin-2);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════════════
   KAMPANYA GEÇMİŞİ
   ═══════════════════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════════════════
   KARANLIK MOD  —  html[data-theme="dark"]
   ═══════════════════════════════════════════════════════════════════════════ */
html[data-theme="dark"],
html[data-theme="dark"] body {
    background: #0f172a;
    color: #e2e8f0;
}

/* Bottom nav */
html[data-theme="dark"] .keso-bnav {
    background: #1e293b;
    border-top-color: #334155;
}
html[data-theme="dark"] .keso-bnav-item { color: #b6c2d2; }
html[data-theme="dark"] .keso-bnav-item.active { color: var(--keso-karanlik); }
html[data-theme="dark"] .keso-bnav-item.active::before { background: var(--keso-karanlik); }
html[data-theme="dark"] .keso-bnav-qr-circle { border-color: #0f172a; }

/* Subpage header */
html[data-theme="dark"] .keso-subpage-header {
    background: #1e293b;
    border-bottom-color: #334155;
}
html[data-theme="dark"] .keso-subpage-title { color: #e2e8f0; }
html[data-theme="dark"] .keso-back-btn { background: #334155; color: #e2e8f0; }
html[data-theme="dark"] .keso-back-btn:active { background: #475569; }

/* Menu / kart */
html[data-theme="dark"] .keso-menu { background: #1e293b; border-color: #334155; }
html[data-theme="dark"] .keso-menu-item { color: #e2e8f0; border-bottom-color: #334155; }
html[data-theme="dark"] .keso-menu-item:active { background: #334155; }
html[data-theme="dark"] .keso-menu-item.keso-tema-aktif { background: rgba(var(--keso-rgb),.18); }

/* Tema sayfasi */
html[data-theme="dark"] .keso-tema-aciklama { color: #64748b; }
html[data-theme="dark"] .keso-tema-check { background: var(--keso); }

/* Profilim - tema satiri */
/* Profilim - segmented butonlar */
/* Arama & sticky */
/* Kategori haplar */
/* Bolum basligi */
/* Hizli erisim */
/* Duyurular */
/* Haberler sayfası: dikey, tam genişlik liste */
/* Firma & kampanya kart */
/* Tab bar & kampanya listesi (Kampanyalar tabı) */
html[data-theme="dark"] .keso-tabbar { background: #0f172a; border-bottom-color: #1e293b; }
html[data-theme="dark"] .keso-tab { color: #64748b; }
html[data-theme="dark"] .keso-tab.active { color: var(--keso-mid, #5dcaa5); }
html[data-theme="dark"] .keso-tab.active::after { background: var(--keso-mid, #5dcaa5); }

/* FirmaDetay */
html[data-theme="dark"] .keso-detay-unvan { color: #e2e8f0; }
html[data-theme="dark"] .keso-detay-bilgi { color: #94a3b8; }
html[data-theme="dark"] .keso-detay-divider { background: #334155; }
html[data-theme="dark"] .keso-chip { background: #334155; color: #94a3b8; }
html[data-theme="dark"] .keso-chip-link { color: var(--keso-mid, #5dcaa5); }
html[data-theme="dark"] .keso-sosyal-btn { background: #263449; color: #cbd5e1; }
html[data-theme="dark"] .keso-sosyal-btn:active { background: #334155; }
html[data-theme="dark"] .keso-sosyal-btn.wa { background: rgba(16,217,138,.12); color: #10d98a; }
html[data-theme="dark"] .keso-firma-harita-baslik { color: #f1f5f9; }
html[data-theme="dark"] .keso-firma-harita-adres { color: #94a3b8; }
html[data-theme="dark"] .keso-firma-harita-kutu { border-color: #334155; background: #1e293b; }
html[data-theme="dark"] .keso-firma-harita-overlay { background: rgba(30,41,59,.92); color: #cbd5e1; }
html[data-theme="dark"] .keso-detay-back { background: rgba(30,41,59,.85); color: #e2e8f0; }
html[data-theme="dark"] .keso-detay-fav-btn { background: rgba(30,41,59,.85); }

/* FirmaDetay - kampanya listesi */
html[data-theme="dark"] .keso-kamp-item { background: rgba(var(--keso-rgb),.14); }
html[data-theme="dark"] .keso-kamp-item-title { color: #e2e8f0; }
html[data-theme="dark"] .keso-kamp-item-date { color: var(--keso-mid); }

/* FirmaDetay - kampanya aciklama */
.keso-kamp-aciklama { font-size: 12px; color: var(--tema-metin-2); margin-top: 4px; }
html[data-theme="dark"] .keso-kamp-aciklama { color: #94a3b8; }

/* Kisisel bilgiler */
html[data-theme="dark"] .keso-bilgi-card { background: #1e293b; border-color: #334155; }
html[data-theme="dark"] .keso-bilgi-row { border-bottom-color: #334155; }
html[data-theme="dark"] .keso-bilgi-value { color: #e2e8f0; }

/* SSS */
html[data-theme="dark"] .keso-sss-kart { background: #1e293b; border-color: #334155; }
html[data-theme="dark"] .keso-sss-soru { color: #e2e8f0; }
html[data-theme="dark"] .keso-sss-cevap { color: #94a3b8; border-top-color: #334155; }
html[data-theme="dark"] .keso-sss-ok { color: #64748b; }

/* Yardim merkezi iletisim */
html[data-theme="dark"] .keso-yardim-iletisim { background: rgba(var(--keso-rgb),.12); }
html[data-theme="dark"] .keso-yardim-iletisim-baslik { color: #7dd3c8; }
html[data-theme="dark"] .keso-yardim-iletisim-alt { color: var(--keso-mid); }

/* Gecmis */
/* Adres satırı */
/* Daha fazla yükle */
/* Input alanlari */
/* Bos & yukleniyor */
html[data-theme="dark"] .keso-empty { color: #64748b; }

html[data-theme="dark"] .keso-loading { color: #64748b; }

/* Kosullar */
html[data-theme="dark"] .keso-kosul-body { color: #e2e8f0; }
html[data-theme="dark"] .keso-kosul-metin { color: #94a3b8; }
html[data-theme="dark"] .keso-kosul-baslik { color: #7dd3c8; }

/* Blazor hata cubugu */
html[data-theme="dark"] #blazor-error-ui {
    background: #1e293b;
    border-top-color: #334155;
    color: #e2e8f0;
}

/* ── Değerlendirme (Rey) bileşenleri ──────────────────────────────────────── */
/* Özet satırı (ortalama ⭐) */
.keso-rey-ozet {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0 10px;
    padding: 10px 14px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: var(--radius-md);
    cursor: pointer;
}
.keso-rey-yildiz-buyuk { font-size: 20px; color: #f59e0b; letter-spacing: 2px; }
.keso-rey-sayi { display: flex; flex-direction: column; line-height: 1.2; }
.keso-rey-ort { font-size: 18px; font-weight: 700; color: #92400e; }
.keso-rey-adet { font-size: 12px; color: #b45309; }

/* Değerlendirme formu */
.keso-rey-form {
    background: white;
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 14px;
    border: 1px solid var(--tema-cizgi);
    box-shadow: var(--shadow-card);
}
.keso-rey-form-baslik {
    font-size: 14px;
    font-weight: 600;
    color: var(--keso-text);
    margin-bottom: 10px;
}

/* Yıldız seçimi */
.keso-yildiz-sec {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}
.keso-yildiz-btn {
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #d1d5db;
    padding: 0;
    line-height: 1;
    transition: color .15s, transform .1s;
    touch-action: manipulation;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.keso-yildiz-btn.aktif { color: #f59e0b; }
.keso-yildiz-btn:active { transform: scale(1.2); }

/* Yorum textarea */
.keso-rey-textarea {
    width: 100%;
    min-height: 80px;
    border: 1px solid var(--tema-cizgi);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-size: 14px;
    font-family: inherit;
    resize: none;
    outline: none;
    transition: border-color .15s;
    margin-bottom: 10px;
    color: var(--tema-metin);
}
.keso-rey-textarea:focus { border-color: var(--keso); }

/* Gönder butonu */
.keso-rey-gonder-btn { width: 100%; }

/* Bilgi mesajı */
.keso-rey-bilgi {
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
}
.keso-rey-bilgi.basari { background: #e1f5ee; color: var(--keso-text); }
.keso-rey-bilgi.hata { background: #fef2f2; color: #e74c3c; }

/* Giriş kutusu (misafir / işlem yok) */
.keso-rey-giris-kutu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: var(--keso-light);
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    font-size: 13px;
    color: var(--keso-text);
}
.keso-rey-giris-btn {
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--keso);
    color: white;
    text-decoration: none;
    white-space: nowrap;
}
.keso-rey-yukl { font-size: 13px; color: var(--tema-metin-3); padding: 8px 0; }

/* Yorum kartları */
.keso-rey-kart {
    background: white;
    border-radius: var(--radius-md);
    padding: 12px 14px;
    margin-bottom: 10px;
    border: 1px solid var(--tema-cizgi);
    box-shadow: var(--shadow-card);
}
.keso-rey-kart-ust {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}
.keso-rey-kart-ad { font-size: 13px; font-weight: 600; color: var(--tema-metin-2); }
.keso-rey-kart-puan { font-size: 14px; color: #f59e0b; letter-spacing: 1px; }
.keso-rey-kart-yorum { font-size: 13px; color: var(--tema-metin-2); line-height: 1.5; margin-bottom: 4px; }
.keso-rey-kart-tarih { font-size: 11px; color: var(--tema-metin-4); }

/* Dark mode — Rey */
html[data-theme="dark"] .keso-rey-ozet { background: #1c1a0f; border-color: #4d3a00; }
html[data-theme="dark"] .keso-rey-ort { color: #fcd34d; }
html[data-theme="dark"] .keso-rey-adet { color: #d97706; }
html[data-theme="dark"] .keso-rey-form { background: #1e293b; border-color: #334155; }
html[data-theme="dark"] .keso-rey-form-baslik { color: #e2e8f0; }
html[data-theme="dark"] .keso-rey-textarea { background: #0f172a; border-color: #334155; color: #e2e8f0; }
html[data-theme="dark"] .keso-rey-kart { background: #1e293b; border-color: #334155; }
html[data-theme="dark"] .keso-rey-kart-ad { color: #e2e8f0; }
html[data-theme="dark"] .keso-rey-kart-yorum { color: #94a3b8; }
html[data-theme="dark"] .keso-rey-giris-kutu { background: #1e293b; border: 1px solid #334155; color: #e2e8f0; }

/* ── Başkanın Mesajı kartı (AnaSayfa) ─────────────────────────────────────── */
/* Dark mode */
/* ── Son Kampanyalarım kartları (AnaSayfa) ─────────────────────────────────── */
/* Dark mode */
/* ── Misafir Hoş Geldin Bandı (AnaSayfa) ─────────────────────────────────── */
/* ── Sektörel Harita — Leaflet popup & cluster (global, Leaflet DOM'una inject edilir) ── */
.keso-harita-popup { font-family: inherit; min-width: 200px; }
.khp-ust { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.khp-gorsel { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: #f1f5f9; }
.khp-ust-metin { min-width: 0; }
.khp-kat { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--tema-metin-3); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 2px; }
.khp-nokta { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.khp-ad { font-size: 15px; font-weight: 800; color: var(--tema-metin); line-height: 1.3; }
.khp-kampanya {
    margin-bottom: 8px; padding: 6px 10px; border-radius: 10px;
    background: rgba(var(--keso-rgb), .12); color: var(--keso); font-size: 12.5px; font-weight: 700; line-height: 1.35;
}
.khp-adres { font-size: 12.5px; color: var(--tema-metin-3); line-height: 1.4; margin-bottom: 10px; }
.khp-eylemler { display: flex; gap: 6px; }
.khp-eylemler > * { flex: 1; min-height: 36px; display: flex; align-items: center; justify-content: center; }
.khp-ikincil {
    border-radius: 9px; border: 1px solid var(--tema-cizgi); background: var(--tema-yuzey);
    color: var(--tema-metin) !important; font-size: 13px; font-weight: 700; text-decoration: none;
}
.khp-btn { display: flex; width: 100%; padding: 7px 0; background: var(--keso); color: var(--keso-on, #fff); border: none; border-radius: 9px; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .15s; }
.khp-btn:active { opacity: .85; }
html[data-theme="dark"] .leaflet-popup-content-wrapper, html[data-theme="dark"] .leaflet-popup-tip { background: #1f2937; color: #e5e7eb; }
html[data-theme="dark"] .khp-ad { color: #f9fafb; }
html[data-theme="dark"] .khp-adres, html[data-theme="dark"] .khp-kat { color: #9ca3af; }
html[data-theme="dark"] .khp-ikincil { background: #111827; border-color: #374151; color: #e5e7eb !important; }
.keso-cluster-icon { display: flex; align-items: center; justify-content: center; background: var(--keso); border-radius: 50%; box-shadow: 0 2px 8px rgba(var(--keso-rgb),.45); }
.keso-cluster-icon span { color: #fff; font-size: 14px; font-weight: 700; }

/* ═══════════ Liste bileşenleri (ir-*) — İşletmeler, Favorilerim ═══════════ */
.ir-baslik { margin: 0; }

/* Arama + kategori çubuğu (yapışkan) */
.ir-ust {
    position: sticky; top: 0; z-index: 50;
    background: var(--tema-dolgu);
    padding: 12px 16px 8px;
}
.ir-arama {
    display: flex; align-items: center; gap: 10px;
    min-height: 48px; padding: 0 6px 0 14px;
    background: var(--tema-yuzey); border: 1.5px solid var(--tema-cizgi); border-radius: 14px;
    transition: border-color .15s, box-shadow .15s;
}
.ir-arama:focus-within { border-color: var(--keso); box-shadow: 0 0 0 3px rgba(var(--keso-rgb),.12); }
.ir-arama-ikon { flex-shrink: 0; color: var(--tema-metin-4); }
.ir-arama input {
    flex: 1; min-width: 0; border: none; outline: none; background: transparent;
    font: inherit; font-size: 15px; color: var(--tema-metin); padding: 12px 0;
    -webkit-appearance: none;
}
.ir-arama input::-webkit-search-cancel-button { display: none; }
.ir-arama input::placeholder { color: var(--tema-metin-4); }
.ir-temizle {
    flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: none; border: none; color: var(--tema-metin-3); cursor: pointer;
    touch-action: manipulation;
}
.ir-temizle:active { background: var(--tema-dolgu); }

.ir-chipler {
    display: flex; gap: 8px; margin: 10px -16px 0; padding: 0 16px 4px;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
}
.ir-chipler::-webkit-scrollbar { display: none; }
.ir-chip {
    flex-shrink: 0; scroll-snap-align: start;
    min-height: 36px; padding: 0 14px;
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--tema-yuzey); border: 1px solid var(--tema-cizgi); border-radius: 999px;
    font: inherit; font-size: 13.5px; font-weight: 600; color: var(--tema-metin-2); white-space: nowrap;
    cursor: pointer; touch-action: manipulation; -webkit-appearance: none;
    transition: background .15s, color .15s, border-color .15s;
}
.ir-chip.aktif { background: var(--keso); border-color: var(--keso); color: var(--keso-on, #fff); }
.ir-chip--tum { color: var(--keso); border-style: dashed; }
.ir-chip:focus-visible { outline: 2px solid var(--keso); outline-offset: 2px; }

/* İşletmeler: ilk açılışta iş kolu seçimi */
.ir-kategori-secim { padding: 18px 16px 28px; }
.ir-kategori-giris {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
    margin-bottom: 14px;
}
.ir-kategori-giris h2 { margin: 0 0 4px; font-size: 20px; font-weight: 800; color: var(--tema-metin); }
.ir-kategori-giris p { margin: 0; max-width: 560px; font-size: 14px; line-height: 1.45; color: var(--tema-metin-3); }
.ir-kategori-sayac {
    flex-shrink: 0; padding: 5px 9px; border-radius: 999px;
    background: var(--keso-light, #f8e8f2); color: var(--keso);
    font-size: 12px; font-weight: 700;
}
.ir-kategori-arama { margin-bottom: 14px; }
.ir-kategori-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 10px;
}
.ir-kategori-kart {
    min-width: 0; min-height: 64px; padding: 10px 12px;
    display: grid; grid-template-columns: minmax(0, 1fr) 16px; align-items: center; gap: 10px;
    background: var(--tema-yuzey); border: 1px solid var(--tema-cizgi); border-radius: 14px;
    color: var(--tema-metin); font: inherit; font-size: 16px; font-weight: 700; text-align: left;
    cursor: pointer; touch-action: manipulation; transition: border-color .15s, box-shadow .15s, transform .12s;
}
.ir-kategori-kart > span { min-width: 0; line-height: 1.25; overflow-wrap: anywhere; }
.ir-kategori-kart > svg { color: var(--tema-metin-4); }
.ir-kategori-kart:hover { border-color: color-mix(in srgb, var(--keso) 45%, var(--tema-cizgi)); box-shadow: 0 4px 14px rgba(15,23,42,.07); }
.ir-kategori-kart:active { transform: scale(.985); }
.ir-kategori-kart:focus-visible { outline: 2px solid var(--keso); outline-offset: 2px; }
.ir-kategori-ikon {
    width: 38px; height: 38px; border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    background: var(--keso-light, #f8e8f2); color: var(--keso);
    font-size: 16px; font-weight: 800; line-height: 1;
}
.ir-kategori-kart--iskelet {
    display: block; border-color: transparent;
    background: linear-gradient(90deg, #eef0f3 25%, #f6f7f9 50%, #eef0f3 75%);
    background-size: 200% 100%; animation: ir-parilti 1.2s ease-in-out infinite;
}
.ir-liste-ust { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ir-geri-btn {
    min-height: 38px; padding: 0 10px 0 7px; display: inline-flex; align-items: center; gap: 4px;
    background: var(--tema-yuzey); border: 1px solid var(--tema-cizgi); border-radius: 11px;
    color: var(--keso); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
}
.ir-secili-kategori {
    min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    color: var(--tema-metin); font-size: 16px;
}

/* Sonuç satırı */
.ir-sonuc {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 4px 20px 8px; min-height: 32px;
    font-size: 13px; color: var(--tema-metin-3);
}
.ir-sonuc-temizle {
    background: none; border: none; padding: 6px 0;
    font: inherit; font-size: 13px; font-weight: 600; color: var(--keso); cursor: pointer;
}
.ir-bilgi {
    display: flex; align-items: center; gap: 8px;
    margin: 0 16px 12px; padding: 10px 12px;
    background: var(--keso-light, #f8e8f2); color: var(--keso-text, #5b1942);
    border-radius: 12px; font-size: 13px; line-height: 1.4;
}
.ir-bilgi svg { flex-shrink: 0; }

/* Liste */
.ir-liste {
    margin: 0 16px; background: var(--tema-yuzey);
    border: 1px solid var(--tema-cizgi); border-radius: 16px; overflow: hidden;
}
.ir-satir {
    display: flex; align-items: center; gap: 12px;
    min-height: 72px; padding: 12px 12px 12px 14px;
    border-bottom: 1px solid var(--tema-cizgi);
    color: inherit; text-decoration: none;
    touch-action: manipulation; -webkit-tap-highlight-color: transparent;
    transition: background .12s;
}
.ir-satir:last-child { border-bottom: none; }
.ir-satir:active { background: var(--tema-dolgu); }
.ir-satir:focus-visible { outline: 2px solid var(--keso); outline-offset: -2px; }

.ir-gorsel {
    position: relative; flex-shrink: 0;
    width: 48px; height: 48px; border-radius: 12px; overflow: hidden;
    background: var(--keso-light, #f8e8f2);
    display: flex; align-items: center; justify-content: center;
}
.ir-gorsel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.ir-gorsel-yedek { font-size: 22px; line-height: 1; }
.ir-gorsel-harf { font-size: 18px; font-weight: 800; color: var(--keso); }

.ir-metin { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ir-ad {
    font-size: 16px; font-weight: 700; color: var(--tema-metin); line-height: 1.3;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ir-alt {
    font-size: 13px; color: var(--tema-metin-3); line-height: 1.35;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ir-rozet {
    flex-shrink: 0; padding: 3px 8px; border-radius: 999px;
    background: #ecfdf5; color: #047857;
    font-size: 11.5px; font-weight: 700;
}
.ir-rozet--deger { background: var(--keso-light, #f8e8f2); color: var(--keso); font-size: 12.5px; }
.ir-ok { flex-shrink: 0; color: var(--tema-metin-4); }

/* İskelet yükleme */
.ir-iskelet .ir-gorsel,
.ir-cizgi {
    background: linear-gradient(90deg, #eef0f3 25%, #f6f7f9 50%, #eef0f3 75%);
    background-size: 200% 100%;
    animation: ir-parilti 1.2s ease-in-out infinite;
}
.ir-cizgi { display: block; height: 12px; width: 70%; border-radius: 6px; }
.ir-cizgi--kisa { width: 45%; height: 10px; }
@keyframes ir-parilti { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* Boş / hata durumu */
.ir-bos {
    margin: 32px 24px; display: flex; flex-direction: column; align-items: center; gap: 6px;
    text-align: center; font-size: 14px; color: var(--tema-metin-3);
}
.ir-bos strong { font-size: 16px; color: var(--tema-metin); }
.ir-bos-ikon {
    width: 56px; height: 56px; border-radius: 50%; margin-bottom: 8px;
    background: var(--keso-light, #f8e8f2); color: var(--keso);
    display: flex; align-items: center; justify-content: center;
}

/* Butonlar */
.ir-btn {
    margin-top: 12px; min-height: 48px; padding: 0 22px;
    border: none; border-radius: 14px; background: var(--keso); color: var(--keso-on, #fff);
    font: inherit; font-size: 15px; font-weight: 700;
    cursor: pointer; touch-action: manipulation;
}
.ir-btn--ikincil { width: 100%; background: var(--tema-yuzey); color: var(--tema-metin); border: 1px solid var(--tema-cizgi); }
.ir-btn:disabled { opacity: .6; cursor: default; }
.ir-dahafazla { margin: 12px 16px 24px; display: flex; flex-direction: column; align-items: center; }
.ir-dahafazla-sayac { font-size: 12px; color: var(--tema-metin-4); }

/* Kategori seçici (alt sayfa) */
.ir-perde {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(15,23,42,.5);
    display: flex; align-items: flex-end; justify-content: center;
    animation: ir-perde-gir .18s ease-out both;
}
.ir-sayfa {
    width: min(100%, 520px); max-height: 80vh; max-height: 80dvh;
    display: flex; flex-direction: column;
    background: var(--tema-yuzey); border-radius: 22px 22px 0 0;
    padding: 8px 16px calc(12px + env(safe-area-inset-bottom));
    animation: ir-sayfa-gir .24s cubic-bezier(.2,.8,.2,1) both;
}
.ir-sayfa-tutamac { width: 40px; height: 4px; border-radius: 2px; background: #d1d5db; margin: 0 auto 8px; }
.ir-sayfa-bas { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.ir-sayfa-bas h2 { margin: 0; font-size: 17px; font-weight: 800; color: var(--tema-metin); }
.ir-arama--sayfa { margin-bottom: 8px; }
.ir-sayfa-liste { overflow-y: auto; margin: 0 -16px; padding: 0 16px; }
.ir-secenek {
    width: 100%; min-height: 52px;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: none; border: none; border-bottom: 1px solid var(--tema-cizgi);
    font: inherit; font-size: 15px; color: var(--tema-metin); text-align: left;
    cursor: pointer; touch-action: manipulation;
}
.ir-secenek[aria-checked="true"] { color: var(--keso); font-weight: 700; }
.ir-sayfa-bos { padding: 24px 0; text-align: center; color: var(--tema-metin-3); font-size: 14px; }
@keyframes ir-perde-gir { from { opacity: 0; } to { opacity: 1; } }
@keyframes ir-sayfa-gir { from { transform: translateY(100%); } to { transform: none; } }

/* Karanlık mod */
html[data-theme="dark"] .ir-ust { background: #0f172a; }
html[data-theme="dark"] .ir-arama { background: #1e293b; border-color: #334155; }
html[data-theme="dark"] .ir-arama input { color: #e2e8f0; }
html[data-theme="dark"] .ir-chip { background: #1e293b; border-color: #334155; color: #cbd5e1; }
html[data-theme="dark"] .ir-chip.aktif { background: var(--keso); border-color: var(--keso); color: #fff; }
html[data-theme="dark"] .ir-chip--tum { color: var(--keso-karanlik); }
html[data-theme="dark"] .ir-kategori-giris h2,
html[data-theme="dark"] .ir-secili-kategori { color: #f1f5f9; }
html[data-theme="dark"] .ir-kategori-giris p { color: #94a3b8; }
html[data-theme="dark"] .ir-kategori-sayac,
html[data-theme="dark"] .ir-kategori-ikon { background: rgba(255,255,255,.07); color: var(--keso-karanlik); }
html[data-theme="dark"] .ir-kategori-kart,
html[data-theme="dark"] .ir-geri-btn { background: #1e293b; border-color: #334155; color: #e2e8f0; }
html[data-theme="dark"] .ir-geri-btn { color: var(--keso-karanlik); }
html[data-theme="dark"] .ir-kategori-kart--iskelet {
    background: linear-gradient(90deg, #273449 25%, #334155 50%, #273449 75%); background-size: 200% 100%;
}
html[data-theme="dark"] .ir-sonuc { color: #94a3b8; }
html[data-theme="dark"] .ir-sonuc-temizle { color: var(--keso-karanlik); }
html[data-theme="dark"] .ir-bilgi { background: rgba(255,255,255,.06); color: #cbd5e1; }
html[data-theme="dark"] .ir-liste { background: #1e293b; border-color: #334155; }
html[data-theme="dark"] .ir-satir { border-bottom-color: #334155; }
html[data-theme="dark"] .ir-satir:active { background: #273449; }
html[data-theme="dark"] .ir-gorsel { background: rgba(255,255,255,.07); }
html[data-theme="dark"] .ir-ad { color: #f1f5f9; }
html[data-theme="dark"] .ir-alt { color: #94a3b8; }
html[data-theme="dark"] .ir-ok { color: #64748b; }
html[data-theme="dark"] .ir-rozet { background: rgba(16,185,129,.15); color: #6ee7b7; }
html[data-theme="dark"] .ir-rozet--deger { background: rgba(255,255,255,.08); color: var(--keso-karanlik); }
html[data-theme="dark"] .ir-iskelet .ir-gorsel,
html[data-theme="dark"] .ir-cizgi { background: linear-gradient(90deg, #273449 25%, #334155 50%, #273449 75%); background-size: 200% 100%; }
html[data-theme="dark"] .ir-bos strong { color: #f1f5f9; }
html[data-theme="dark"] .ir-bos { color: #94a3b8; }
html[data-theme="dark"] .ir-btn--ikincil { background: #1e293b; border-color: #334155; color: #e2e8f0; }
html[data-theme="dark"] .ir-sayfa { background: #111827; }
html[data-theme="dark"] .ir-sayfa-bas h2,
html[data-theme="dark"] .ir-secenek { color: #e2e8f0; border-bottom-color: #1f2937; }
html[data-theme="dark"] .ir-secenek[aria-checked="true"] { color: var(--keso-karanlik); }

@media (prefers-reduced-motion: reduce) {
    .ir-iskelet .ir-gorsel,
.ir-cizgi,
.ir-perde,
.ir-sayfa { animation: none; }
    .ir-satir,
.ir-chip,
.ir-arama { transition: none; }
}

@media (max-width: 520px) {
    .ir-kategori-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .ir-kategori-kart { min-height: 64px; padding: 10px 12px; grid-template-columns: minmax(0, 1fr); font-size: 15px; }
    .ir-kategori-kart > svg { display: none; }
    .ir-kategori-ikon { width: 34px; height: 34px; font-size: 15px; }
    .ir-kategori-giris { align-items: center; }
}
.ir-link {
    margin-top: 4px; min-height: 44px; padding: 0 12px;
    background: none; border: none; border-radius: 10px;
    font: inherit; font-size: 14px; font-weight: 600; color: var(--keso);
    cursor: pointer; touch-action: manipulation;
}
html[data-theme="dark"] .ir-link { color: var(--keso-karanlik); }
.ir-bos--sayfa {
    margin: 0 auto; padding: 0 28px; max-width: 360px;
    min-height: calc(100vh - 220px); min-height: calc(100dvh - 220px);
    justify-content: center;
}
.ir-btn--genis { width: 100%; }
.ir-liste--ust { margin-top: 16px; }
.ir-liste--alt { margin-bottom: 24px; }
.ir-sonuc--ust { padding-top: 16px; }

/* ── Buton olarak liste satırı + iki satırlık başlık (Ana Sayfa, Haberler) ── */
.ir-satir--btn {
    width: 100%; background: none; border-left: none; border-right: none; border-top: none;
    font: inherit; text-align: left; cursor: pointer;
}
.ir-baslik-2 {
    font-size: 15px; font-weight: 700; color: var(--tema-metin); line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
html[data-theme="dark"] .ir-baslik-2 { color: #f1f5f9; }

/* ── İçerik detayı (IcerikDetay bileşeni) ── */
.icd-ust { font-size: 13px; color: var(--tema-metin-3); }
.icd-govde { overflow-y: auto; padding-bottom: 8px; }
.icd-baslik { margin: 0 0 12px; font-size: 20px; font-weight: 800; line-height: 1.3; color: var(--tema-metin); }
.icd-img { width: 100%; border-radius: 14px; margin-bottom: 14px; display: block; }
.icd-ozet { margin: 0 0 10px; font-size: 15px; font-weight: 600; line-height: 1.55; color: var(--tema-metin); white-space: pre-line; }
.icd-metin { margin: 0; font-size: 15px; line-height: 1.65; color: var(--tema-metin-2); white-space: pre-line; }
html[data-theme="dark"] .icd-ust { color: #94a3b8; }
html[data-theme="dark"] .icd-baslik { color: #f1f5f9; }
html[data-theme="dark"] .icd-ozet { color: #e2e8f0; }
html[data-theme="dark"] .icd-metin { color: #cbd5e1; }
.ir-chipler--yalniz { margin-top: 0; }

/* ── Özet kartı + ay grupları (Kampanya Geçmişim) ── */
.ir-ozet {
    margin: 16px 16px 0; padding: 16px;
    display: flex; gap: 12px;
    background: var(--tema-yuzey); border: 1px solid var(--tema-cizgi); border-radius: 16px;
}
.ir-ozet.ir-iskelet { height: 72px; box-sizing: border-box; align-items: center; }
.ir-ozet-kalem { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ir-ozet-kalem + .ir-ozet-kalem { padding-left: 12px; border-left: 1px solid var(--tema-cizgi); }
.ir-ozet-sayi { font-size: 22px; font-weight: 800; color: var(--tema-metin); font-variant-numeric: tabular-nums; }
.ir-ozet-sayi--vurgu { color: #047857; }
.ir-ozet-etiket { font-size: 13px; color: var(--tema-metin-3); }
.ir-grup { margin-top: 20px; }
.ir-grup-baslik { margin: 0 16px 8px 20px; font-size: 13px; font-weight: 700; color: var(--tema-metin-3); }
html[data-theme="dark"] .ir-ozet { background: #1e293b; border-color: #334155; }
html[data-theme="dark"] .ir-ozet-kalem + .ir-ozet-kalem { border-left-color: #334155; }
html[data-theme="dark"] .ir-ozet-sayi { color: #f1f5f9; }
html[data-theme="dark"] .ir-ozet-sayi--vurgu { color: #6ee7b7; }
html[data-theme="dark"] .ir-ozet-etiket,
html[data-theme="dark"] .ir-grup-baslik { color: #94a3b8; }

/* ── Kasiyer modülü (eski Keso İşletme) — koyu tema kapsayıcısı ─────────────── */
.ks-kok {
    min-height: 100dvh;
    background: #070e1d;
    color: #eef2f8;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    overscroll-behavior: none;
}
html:has(.ks-kok), body:has(.ks-kok) { background: #070e1d; }
.ks-kok a { color: inherit; text-decoration: none; }
.ks-kok button, .ks-kok input, .ks-kok select, .ks-kok textarea { font-family: inherit; font-size: inherit; }
.ks-kok * { -webkit-tap-highlight-color: transparent; }
.ks-kok :focus:not(:focus-visible) { outline: none; }

/* ── Kurum teması: ana sayfa başlığında logo ve kapak görseli (panel → Kurum Teması) ───────── */
.keso-header-logo-img { display: block; height: 40px; max-width: min(240px, 62vw); object-fit: contain; }
.keso-header.kapakli {
    position: relative;
    background-size: cover; background-position: center;
    color: #fff;
    padding-top: clamp(28px, 7vh, 64px); padding-bottom: 18px;
}
.keso-header.kapakli::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.6));
}
.keso-header.kapakli > * { position: relative; }

/* ── Talep ağı (kasiyer modülü: /kasiyer/talepler) ─────────────────────────────────────────── */
.kt-sayfa { min-height: 100dvh; padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px) + 24px); }
.kt-ust { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: calc(env(safe-area-inset-top, 0px) + 18px) 18px 12px; }
.kt-baslik { font-size: 22px; font-weight: 800; letter-spacing: -.03em; color: #eef2f8; }
.kt-geri { width: 38px; height: 38px; border-radius: 12px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.04); color: #eef2f8; display: inline-flex; align-items: center; justify-content: center; }
.kt-ekle { height: 38px; padding: 0 14px; border-radius: 12px; border: 0; background: var(--kasiyer-ana); color: var(--kasiyer-on); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.kt-sekmeler { display: flex; gap: 6px; margin: 0 16px 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); border-radius: 14px; padding: 4px; }
.kt-sekme { flex: 1; border: 0; background: none; color: rgba(255,255,255,.5); padding: 8px 4px; border-radius: 10px; font-size: 13px; font-weight: 600; }
.kt-sekme--aktif { background: rgba(var(--kasiyer-rgb), .25); color: #fff; }
.kt-filtre { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 10px; scrollbar-width: none; }
.kt-filtre::-webkit-scrollbar { display: none; }
.kt-cip { flex-shrink: 0; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); color: rgba(255,255,255,.75); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; white-space: nowrap; }
.kt-cip--secili { border-color: var(--kasiyer-acik); background: rgba(var(--kasiyer-rgb), .22); color: #fff; font-weight: 600; }
.kt-ara { margin: 0 16px 10px; width: calc(100% - 32px); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; color: #eef2f8; padding: 10px 12px; }
.kt-liste { padding: 0 16px; display: flex; flex-direction: column; gap: 10px; }
.kt-kart { display: flex; gap: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 16px; padding: 12px; }
.kt-kart:active { background: rgba(255,255,255,.07); }
.kt-kapak { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.kt-kart-baslik { font-weight: 700; color: #eef2f8; font-size: 15px; line-height: 1.3; }
.kt-meta { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 3px; display: flex; flex-wrap: wrap; gap: 2px 10px; }
.kt-ikler { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.kt-ik { font-size: 10.5px; border-radius: 999px; padding: 1px 8px; background: rgba(var(--kasiyer-acik-rgb), .14); color: var(--kasiyer-cok-acik); }
.kt-rozet { font-size: 10.5px; font-weight: 700; border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.kt-rozet--yesil { background: rgba(16,217,138,.15); color: #10d98a; }
.kt-rozet--sari { background: rgba(250,204,21,.15); color: #facc15; }
.kt-rozet--kirmizi { background: rgba(255,107,107,.15); color: #ff6b6b; }
.kt-rozet--mavi { background: rgba(96,165,250,.15); color: #60a5fa; }
.kt-rozet--gri { background: rgba(255,255,255,.08); color: rgba(255,255,255,.6); }
.kt-sayac { background: #ef4444; color: #fff; border-radius: 999px; font-size: 10px; font-weight: 700; padding: 1px 6px; margin-left: 4px; }
.kt-bos { text-align: center; padding: 48px 24px; color: rgba(255,255,255,.5); }
.kt-bos i { font-size: 40px; display: block; margin-bottom: 8px; }
.kt-daha { margin: 12px 16px; width: calc(100% - 32px); padding: 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); color: #eef2f8; }
.kt-bolum { margin: 0 16px 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 16px; padding: 14px; }
.kt-bolum h3 { font-size: 14px; font-weight: 700; margin: 0 0 10px; color: #eef2f8; }
.kt-etiket { display: block; font-size: 12px; color: rgba(255,255,255,.55); margin: 10px 0 4px; }
.kt-girdi { width: 100%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; color: #eef2f8; padding: 10px 12px; }
.kt-girdi:focus { border-color: var(--kasiyer-acik); outline: none; }
.kt-girdi option { color: #111; }
.kt-satir2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kt-dugme { width: 100%; padding: 13px; border-radius: 14px; border: 0; background: var(--kasiyer-ana); color: var(--kasiyer-on); font-weight: 700; font-size: 15px; }
.kt-dugme:disabled { opacity: .5; }
.kt-dugme--ikincil { background: rgba(255,255,255,.08); color: #eef2f8; }
.kt-dugme--tehlike { background: rgba(255,107,107,.15); color: #ff6b6b; }
.kt-dugme--yesil { background: #10b981; color: #fff; }
.kt-dugmeler { display: flex; gap: 8px; margin-top: 10px; }
.kt-dugmeler > * { flex: 1; }
.kt-hata { margin: 0 16px 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255,107,107,.12); color: #ffb4b4; font-size: 13px; white-space: pre-line; }
.kt-bilgi { margin: 0 16px 12px; padding: 10px 12px; border-radius: 12px; background: rgba(250,204,21,.1); color: #fde68a; font-size: 13px; }
.kt-gorseller { display: flex; gap: 8px; flex-wrap: wrap; }
.kt-gorsel { position: relative; width: 86px; }
.kt-gorsel img { width: 86px; height: 86px; object-fit: cover; border-radius: 12px; display: block; }
.kt-gorsel-arac { display: flex; justify-content: space-between; margin-top: 4px; }
.kt-gorsel-arac button { border: 0; background: rgba(255,255,255,.08); color: #eef2f8; border-radius: 8px; width: 26px; height: 26px; font-size: 13px; }
.kt-gorsel-kapak { position: absolute; top: 4px; left: 4px; background: rgba(0,0,0,.65); color: #fff; font-size: 9.5px; padding: 1px 5px; border-radius: 5px; }
.kt-gorsel-ekle { width: 86px; height: 86px; border-radius: 12px; border: 2px dashed rgba(255,255,255,.2); background: none; color: rgba(255,255,255,.65); font-size: 11px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.kt-galeri { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px 12px; }
.kt-galeri img { height: 220px; max-width: 86vw; border-radius: 14px; object-fit: cover; scroll-snap-align: center; flex-shrink: 0; }
.kt-aciklama { white-space: pre-wrap; font-size: 14px; color: rgba(255,255,255,.85); }
.kt-bilgiler { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; font-size: 13px; }
.kt-bilgiler span { display: block; font-size: 11px; color: rgba(255,255,255,.45); }
.kt-teklif { border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 12px; margin-bottom: 10px; }
.kt-teklif--kabul { border-color: #10b981; background: rgba(16,185,129,.08); }
.kt-teklif--pasif { opacity: .55; }
.kt-fiyat { font-size: 17px; font-weight: 800; color: #fff; }
.kt-mesajlar { background: rgba(0,0,0,.25); border-radius: 12px; padding: 8px; max-height: 260px; overflow-y: auto; margin-top: 8px; }
.kt-mesaj { max-width: 82%; padding: 6px 10px; border-radius: 12px; margin: 4px 0; font-size: 13px; white-space: pre-wrap; background: rgba(255,255,255,.08); }
.kt-mesaj--ben { margin-left: auto; background: rgba(var(--kasiyer-rgb), .45); }
.kt-mesaj small { display: block; font-size: 10px; opacity: .6; }
.kt-mesaj-yaz { display: flex; gap: 6px; margin-top: 6px; }
.kt-mesaj-yaz button { border: 0; border-radius: 12px; background: var(--kasiyer-ana); color: var(--kasiyer-on, #fff); padding: 0 14px; font-weight: 700; flex-shrink: 0; }
.kt-mesaj-yaz .kt-girdi { flex: 1; min-width: 0; }
.kt-yazisma-bas { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.08); }
.kt-yazisma-baslik { font-size: 13.5px; font-weight: 700; }
.kt-yazisma-gizle { border: 0; background: none; color: var(--kasiyer-acik, #eef2f8); opacity: .6; font: inherit; font-size: 12.5px; cursor: pointer; padding: 4px 6px; }
.kt-perde { position: fixed; inset: 0; z-index: 900; background: rgba(0,0,0,.6); display: flex; align-items: flex-end; }
.kt-perde-ic { width: 100%; max-height: 80dvh; overflow-y: auto; background: #0d1628; border-radius: 20px 20px 0 0; padding: 16px 16px calc(env(safe-area-inset-bottom, 0px) + 16px); }
.kt-perde-ic .kt-filtre { flex-wrap: wrap; padding: 0; }

/* ── Kampanyalar sayfası (FirmaRehberi ?tab=kampanyalar): filtre, sıralama, kart ızgarası ───────────────── */
.kk-filtre {
    display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px 10px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.kk-filtre::-webkit-scrollbar { display: none; }
.kk-cip {
    flex-shrink: 0; min-height: 38px; padding: 0 14px; border-radius: 999px;
    border: 1px solid var(--tema-cizgi); background: var(--tema-yuzey); color: var(--tema-metin-2);
    font: inherit; font-size: 13.5px; font-weight: 600; white-space: nowrap; cursor: pointer;
    touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: background .12s, color .12s;
}
.kk-cip--aktif { background: var(--keso); border-color: var(--keso); color: var(--keso-on, #fff); }
.kk-arac { display: flex; align-items: center; gap: 8px; padding: 0 16px 10px; flex-wrap: wrap; }
.kk-sayi { flex-basis: 100%; font-size: 13px; font-weight: 600; color: var(--tema-metin-3); }
.kk-secim { flex: 1; min-width: 0; }
.kk-secim select {
    width: 100%; min-height: 40px; padding: 0 30px 0 12px; border-radius: 12px;
    border: 1px solid var(--tema-cizgi); background-color: var(--tema-yuzey); color: var(--tema-metin);
    font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer;
    -webkit-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 10px center;
}
.kk-secim select:focus-visible, .kk-cip:focus-visible { outline: 2px solid var(--keso); outline-offset: 2px; }
.kk-gizli { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kk-temizle {
    margin-top: 12px; min-height: 42px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--keso);
    background: none; color: var(--keso); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}

.kk-izgara {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px;
    padding: 0 16px 24px;
}
.kk-kart {
    display: flex; flex-direction: column; overflow: hidden;
    background: var(--tema-yuzey); border: 1px solid var(--tema-cizgi); border-radius: 18px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .07);
    color: inherit; text-decoration: none; transition: transform .12s, box-shadow .12s;
    -webkit-tap-highlight-color: transparent;
}
.kk-kart:hover  { box-shadow: 0 10px 24px rgba(var(--keso-rgb), .16); }
.kk-kart:active { transform: scale(.985); }
.kk-kart:focus-visible { outline: 2px solid var(--keso); outline-offset: 2px; }
/* Kapak: kampanya görseli (2:1) → firma logosu → marka degradesi */
.kk-kapak {
    position: relative; aspect-ratio: 2 / 1; overflow: hidden;
    background: linear-gradient(135deg, var(--keso), color-mix(in srgb, var(--keso) 65%, #000));
}
.kk-resim { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kk-logo {
    position: absolute; top: 14px; right: 14px; bottom: 14px; width: 40%; object-fit: contain;
    background: #fff; border-radius: 14px; padding: 8px; box-sizing: border-box;
}
.kk-deger {
    position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 12px;
    background: rgba(255,255,255,.96); color: var(--keso);
    font-size: 22px; font-weight: 900; line-height: 1.1; box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.kk-kart--gorselsiz .kk-kapak { aspect-ratio: 3 / 1; }
.kk-kart--gorselsiz .kk-deger, .kk-kapak.bos .kk-deger {
    left: 18px; right: 18px; bottom: 50%; transform: translateY(50%);
    background: none; box-shadow: none; padding: 0; color: var(--keso-on, #fff); font-size: 30px; overflow-wrap: anywhere;
}
.kk-acil {
    position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px;
    background: #dc2626; color: #fff; font-size: 11.5px; font-weight: 800; box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.kk-govde { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; }
.kk-ust { display: flex; flex-wrap: wrap; gap: 6px; }
.kk-uye { font-size: 11px; font-weight: 700; color: var(--keso); background: rgba(var(--keso-rgb), .12); border-radius: 999px; padding: 2px 8px; }
.kk-kat { font-size: 11px; font-weight: 600; color: var(--tema-metin-3); background: var(--tema-dolgu); border-radius: 999px; padding: 2px 8px; }
.kk-firma { font-size: 16px; font-weight: 800; color: var(--tema-metin); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kk-baslik { font-size: 13.5px; color: var(--tema-metin-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kk-tarih { margin-top: 4px; font-size: 12px; color: var(--tema-metin-4); }

html[data-theme="dark"] .kk-cip { background: #1e293b; border-color: #334155; color: #cbd5e1; }
html[data-theme="dark"] .kk-cip--aktif { background: var(--keso); border-color: var(--keso); color: #fff; }
html[data-theme="dark"] .kk-secim select { background-color: #1e293b; border-color: #334155; color: #e2e8f0; }
html[data-theme="dark"] .kk-sayi { color: #94a3b8; }
html[data-theme="dark"] .kk-kart { background: #1e293b; border-color: #334155; box-shadow: none; }
html[data-theme="dark"] .kk-firma { color: #f1f5f9; }
html[data-theme="dark"] .kk-baslik { color: #cbd5e1; }
html[data-theme="dark"] .kk-tarih { color: #94a3b8; }
html[data-theme="dark"] .kk-kat { background: #0f172a; color: #94a3b8; }
html[data-theme="dark"] .kk-uye { color: var(--keso-karanlik); background: rgba(255,255,255,.07); }
html[data-theme="dark"] .kk-temizle { border-color: var(--keso-karanlik); color: var(--keso-karanlik); }
@media (min-width: 900px) {
    .kk-filtre, .kk-arac, .kk-izgara { max-width: 1032px; margin-left: auto; margin-right: auto; box-sizing: border-box; }
    .kk-izgara { grid-template-columns: repeat(3, 1fr); }
    .kk-sayi { flex: 1; flex-basis: auto; }
    .kk-secim { flex: none; }
    .kk-secim select { width: auto; min-width: 190px; }
    .kk-kart--gorselsiz .kk-kapak { aspect-ratio: 2 / 1; }
}
@media (prefers-reduced-motion: reduce) { .kk-kart, .kk-cip { transition: none; } }
