/**
 * NECOX K1 — Header Components
 *
 * Frontend CSS for the site header (topbar, main bar, navigation,
 * sticky/transparent/glass states, ad-no search popover).
 *
 * @file       header.css
 * @component  K1
 * @since      v4.1.0
 */

/* ── Header Genel ── */
.necox-header { position: relative; z-index: 200; background: var(--necox-header-bg); border-bottom: 1px solid var(--necox-border, var(--necox-border)); transition: box-shadow 0.3s ease; }
.necox-header.is-sticky-enabled { position: sticky; top: 0; }
/* v8.3.299 — dil secici menusu ACIKKEN header stacking hapsinden kacis: header z:100 sticky
   context'i menunun z:9999'unu hapsediyor, sayfa select2/wizard (z:100050+) acik menuyu ortuyordu
   ("dil secilemiyor" koku, elementFromPoint kanitli). Sinif lang-switcher.js acilista basar,
   kapaninca kaldirir — kalici degil (kalici olsa select2 dropdown'lari sticky header altina girerdi). */
.necox-header.necox-ls-menu-acik { z-index: 100100; }
/* v8.3.300 — dil secici menusu ACIKKEN kolonun mobil-sigdirma kirpmasi kaldirilir
   (asil kok: @media(max-1024) satir kolonlari overflow:hidden -> acilan menu kolonda
   KIRPILIYORDU, elementFromPoint kaniti; uap panel L273 emsalinin lang-switcher esi).
   Sinif lang-switcher.js acilista basar, kapaninca kaldirir. */
.necox-header-row__left.necox-ls-unclip,
.necox-header-row__center.necox-ls-unclip,
.necox-header-row__right.necox-ls-unclip { overflow: visible !important; }
.admin-bar .necox-header.is-sticky-enabled { top: 32px; }
/* v7.16.27 — Mobilde (<=782px) WP admin bar position:ABSOLUTE'tur (fixed DEGIL):
   scroll'da sayfayla yukari kayip kaybolur. Header top:46px ile sabitlenince admin
   bar gidince ustte 46px BOS SERIT kalip altindaki icerik header'in ustunden sizyordu
   (kullanici "scroll'da sayfa sticky header'in arkasindan gorunuyor" sikayeti).
   FIX: mobilde header top:0 — en tepeye yapis (admin bar zaten scroll'da kayboluyor). */
@media (max-width: 782px) { .admin-bar .necox-header.is-sticky-enabled { top: 0; } }

/* Sticky animasyon */
.necox-header.is-scrolled { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }

/* Transparent header — arka plan seffaf, hero ustunde durur */
.necox-header.is-transparent { position: absolute; top: 0; left: 0; right: 0; background: transparent; border-bottom-color: transparent; }
.necox-header.is-transparent.is-sticky-enabled { position: fixed; }
.necox-header.is-transparent .necox-header-row { border-bottom-color: rgba(255,255,255,0.08); }
.necox-header.is-transparent .necox-hf-nav > li > a:hover { background: rgba(255,255,255,0.1); }
.necox-header.is-transparent .necox-hf-divider { background: rgba(255,255,255,0.2); }
.necox-header.is-transparent.is-scrolled { background: rgba(0,0,0,0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom-color: rgba(255,255,255,0.06); }

/* v7.14.11 — Mobile/tablet'te transparent header'i kapat: kullanilabilirlik > estetik.
   Mobile'da is-transparent KAPALI, sticky solid zemin (preset-aware). Icerik tam altinda baslar,
   ilanlar header arkasindan gozukmez. Desktop'ta transparent korunur. */
@media (max-width: 1024px) {
    .necox-header.is-transparent {
        position: sticky;
        top: 0;
        background: var(--necox-header-bg, var(--necox-bg, var(--necox-card-bg, #ffffff)));
        border-bottom-color: var(--necox-border, rgba(0,0,0,0.08));
    }
    .necox-header.is-transparent.is-sticky-enabled {
        position: sticky;
    }
    .necox-header.is-transparent .necox-header-row {
        border-bottom-color: var(--necox-border, rgba(0,0,0,0.08));
    }
    .necox-header.is-transparent.is-scrolled {
        background: var(--necox-header-bg, var(--necox-bg, var(--necox-card-bg, #ffffff)));
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    /* Hero'lu sayfada (page-home) icerik header'a yapisik kalsin diye padding eklemiyoruz;
       hero kendi padding-top'unu zaten ayarlasin. Iste tam tepedeki bosluk gider. */
}

/* Glassmorphism header — buzlu cam efekti */
.necox-header.is-glass { position: absolute; top: 0; left: 0; right: 0; background: rgba(255,255,255,0.08); backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%); border-bottom: 1px solid rgba(255,255,255,0.15); }
.necox-header.is-glass.is-sticky-enabled { position: fixed; }
.necox-header.is-glass .necox-header-row { border-bottom-color: rgba(255,255,255,0.08); }
.necox-header.is-glass .necox-hf-nav > li > a:hover { background: rgba(255,255,255,0.12); }
.necox-header.is-glass .necox-hf-divider { background: rgba(255,255,255,0.2); }
.necox-header.is-glass.is-scrolled { background: rgba(10,10,30,0.75); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border-bottom-color: rgba(255,255,255,0.1); }

/* ── Header Satirlari ── */
.necox-header-row { border-bottom: 1px solid rgba(0,0,0,0.04); }
.necox-header-row:last-child { border-bottom: none; }
.necox-header-row__inner { display: flex; align-items: center; min-height: inherit; gap: 16px; }
.necox-header-row__left { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.necox-header-row__center { display: flex; align-items: center; justify-content: center; flex: 1; gap: 12px; }
.necox-header-row__right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; margin-left: auto; }

/* Desktop / Mobil gorunurluk */
.necox-header__tablet { display: none; }
.necox-header__mobile { display: none; }
@media (max-width: 1024px) and (min-width: 768px) {
    .necox-header__desktop { display: none; }
    .necox-header__tablet { display: block; }
}
@media (max-width: 767px) {
    .necox-header__desktop { display: none; }
    .necox-header__mobile { display: block; }
}

/* ── Tablet + Mobil header element uyumu ── */

/* Tum HF elementleri icin temel flex davranisi */
.necox-hf-el {
    display: flex;
    align-items: center;
    min-width: 0;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .necox-header-row__inner { gap: 10px; }
    .necox-header-row__left,
    .necox-header-row__right { gap: 8px; min-width: 0; }
    .necox-header-row__left,
    .necox-header-row__center,
    .necox-header-row__right { flex-shrink: 1; overflow: hidden; }
    /* Tablet'te tum elementler daralmaya izin verir */
    .necox-hf-el { flex-shrink: 1; min-width: 0; }
    .necox-hf-el--logo { max-width: 160px; }
    .necox-hf-el--logo img { max-width: 100% !important; }
    /* Navigasyon tablet'te tasabilir — overflow scroll */
    .necox-hf-el--navigation { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
    .necox-hf-el--navigation .necox-hf-nav { flex-wrap: nowrap; }
    /* Arama kutusu daralmaya izin ver */
    .necox-hf-el--search-box { max-width: 280px; }
    /* Metin elementleri truncate */
    .necox-hf-el--text,
    .necox-hf-el--contact-info,
    .necox-hf-el--copyright { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .necox-hf-contact { flex-wrap: nowrap; }
    .necox-hf-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (max-width: 767px) {
    .necox-header-row__inner { gap: 8px; }
    .necox-header-row__left,
    .necox-header-row__right { gap: 6px; }
    .necox-hf-el--logo { max-width: 120px; }
    .necox-hf-el--search-box { max-width: 200px; }
    /* Butonlar mobilde kucul */
    .necox-hf-el--button .necox-btn,
    .necox-hf-el--post-ad-button .necox-hf-post-ad { padding: 6px 12px; font-size: 12px; }
    /* Sosyal ikonlar mobilde sik */
    .necox-hf-social { gap: 4px; }
    /* Site basligi mobilde kucuk */
    .necox-hf-site-title { font-size: 16px; }
}

/* ── Navigasyon ── */
.necox-hf-nav { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.necox-hf-nav > li { position: relative; }
.necox-hf-nav > li > a { display: block; padding: 8px 14px; font-size: 14px; font-weight: 500; color: inherit; text-decoration: none; border-radius: 6px; transition: background 0.15s; }
.necox-hf-nav > li > a:hover { background: var(--necox-primary-light, rgba(0,0,0,0.05)); }
.necox-hf-nav > li > a:hover, .necox-hf-nav > li.current-menu-item > a { color: var(--necox-header-link-hover, var(--necox-primary)); }

/* Alt menu — v7.0.1 (tespit 151/153): hardcoded renkler preset cascade variable'larina baglandi */
.necox-hf-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; background: var(--necox-header-bg); border: 1px solid var(--necox-border, #e0e0e0); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); min-width: 200px; padding: 8px 0; list-style: none; z-index: 300; }
.necox-hf-nav > li:hover > .sub-menu { display: block; }
.necox-hf-nav .sub-menu a { display: block; padding: 8px 16px; font-size: 13px; color: var(--necox-header-text, var(--necox-text)); text-decoration: none; }
.necox-hf-nav .sub-menu a:hover { background: var(--necox-primary-light, #f6f7f7); color: var(--necox-header-link-hover, var(--necox-primary)); }

/* ── Mega Menu ── */
.necox-mega-dropdown { display: none; position: absolute; top: 100%; left: 0; right: 0; width: 100vw; margin-left: calc(-50vw + 50%); background: var(--necox-header-bg); border-top: 2px solid var(--necox-primary, var(--necox-primary)); box-shadow: 0 12px 32px rgba(0,0,0,0.12); z-index: 300; padding: 24px 0; }
li.necox-mega-menu:hover .necox-mega-dropdown { display: block; }
.necox-mega-dropdown__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.necox-mega-dropdown__cat-title { display: block; font-size: 14px; font-weight: 600; color: var(--necox-header-text, var(--necox-text)); margin-bottom: 8px; text-decoration: none; }
.necox-mega-dropdown__cat-title:hover { color: var(--necox-header-link-hover, var(--necox-primary)); }
.necox-mega-dropdown__sub { list-style: none; padding: 0; margin: 0; }
.necox-mega-dropdown__sub li a { display: block; padding: 3px 0; font-size: 13px; color: var(--necox-muted); text-decoration: none; }
.necox-mega-dropdown__sub li a:hover { color: var(--necox-header-link-hover, var(--necox-primary)); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   v7.16.21 — KULLANICI AVATAR + ACILIR PANEL (.necox-uap)
   Ortak bilesen: "Kullanici Menusu" elementi + "Dinamik Buton" uye-avatar
   modu ayni markup'i kullanir. Tikla-ac (JS), stabil, animasyonlu, token-bazli.
   Acma davranisi: .is-open class'i JS ile eklenir (hover degil → kaybolmaz).
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.necox-uap { position: relative; display: inline-flex; }

/* Tetikleyici buton (avatar / ikon / + Hesabim yazisi) */
.necox-uap__trigger {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--necox-uap-trigger-bg, transparent);
    border-style: solid;
    border-width: var(--necox-uap-trigger-border-width, 1px);
    border-color: var(--necox-uap-trigger-border, transparent);
    border-radius: var(--necox-uap-trigger-radius, 999px);
    padding: var(--necox-uap-trigger-padding, 3px 4px);
    cursor: pointer;
    color: var(--necox-uap-trigger-text, var(--necox-header-text, var(--necox-text)));
    font-family: var(--necox-uap-trigger-font, inherit);
    font-size: var(--necox-uap-label-size, 14px);
    font-weight: 500;
    line-height: 1;
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.necox-uap__trigger:hover {
    background: var(--necox-uap-trigger-hover-bg, var(--necox-primary-light, rgba(0,0,0,.04)));
    border-color: var(--necox-uap-trigger-hover-border, transparent);
}
.necox-uap__trigger:focus-visible {
    outline: 2px solid var(--necox-primary, #00a591);
    outline-offset: 2px;
}
.necox-uap--avatar-label .necox-uap__trigger { padding-right: 12px; }
.necox-uap--icon-only .necox-uap__trigger { padding: 5px; border-radius: 50%; }

.necox-uap__avatar-wrap { position: relative; display: inline-flex; line-height: 0; }
.necox-uap__avatar-wrap img {
    width: var(--necox-user-menu-avatar-size, 32px);
    height: var(--necox-user-menu-avatar-size, 32px);
    border-radius: var(--necox-user-menu-avatar-radius, 50%);
    border: var(--necox-user-menu-avatar-border, none);
    display: block;
}
.necox-uap__avatar-wrap--icon {
    width: var(--necox-user-menu-avatar-size, 32px);
    height: var(--necox-user-menu-avatar-size, 32px);
    align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--necox-uap-icon-bg, var(--necox-primary-light, rgba(0,0,0,.05)));
    color: var(--necox-uap-icon-color, var(--necox-primary, currentColor));
}
.necox-uap__label { white-space: nowrap; }
/* v7.16.90 — FOUC FIX (kullanici: header'da "Avatar+Hesabim" yazili gelip ~2sn sonra
   sadece avatara donuyor). KOK NEDEN: PHP en zengin modu (avatar_label) render eder;
   user-avatar-panel.js viewport'a gore mobilde label'i DOM'dan KALDIRIR (satir 112) ama
   LiteSpeed JS-delay ile ~2sn gec calisir -> o sure label gorunur = FOUC. Cozum: mobil
   modu icon_* ise label'i CSS media query ile ANINDA gizle (JS-delay'den etkilenmez; JS
   yine kaldirir, gorsel degisiklik olmaz). data-uap-mode-mobile'a saygili -> admin mobil
   modu avatar_label ise GIZLEME (label gorunur kalir). Ayni mantik tablet icin de. */
@media (max-width: 767px) {
    .necox-uap[data-uap-mode-mobile="icon_avatar"] .necox-uap__label,
    .necox-uap[data-uap-mode-mobile="icon_only"] .necox-uap__label { display: none !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .necox-uap[data-uap-mode-tablet="icon_avatar"] .necox-uap__label,
    .necox-uap[data-uap-mode-tablet="icon_only"] .necox-uap__label { display: none !important; }
}
.necox-uap__caret { display: inline-flex; line-height: 0; transition: transform .2s ease; opacity: .7; }
.necox-uap.is-open .necox-uap__caret { transform: rotate(180deg); }

/* Acilir panel — stabil (display kalkmaz, opacity/transform ile gizlenir) */
.necox-uap__panel {
    position: absolute; top: calc(100% + 8px); right: 0;
    min-width: var(--necox-uap-panel-width, 240px);
    background: var(--necox-uap-panel-bg, var(--necox-header-bg, var(--necox-card-bg, #fff)));
    border-style: solid;
    border-width: var(--necox-uap-panel-border-width, 1px);
    border-color: var(--necox-uap-panel-border, var(--necox-border, #e2e5ee));
    border-radius: var(--necox-uap-panel-radius, 14px);
    box-shadow: var(--necox-uap-panel-shadow, 0 12px 34px rgba(16,24,40,.16));
    font-family: var(--necox-uap-font, inherit);
    backdrop-filter: var(--necox-uap-panel-glass-blur, none);
    -webkit-backdrop-filter: var(--necox-uap-panel-glass-blur, none);
    padding: 6px;
    z-index: 600;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(.98);
    transform-origin: top right;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    pointer-events: none;
}
.necox-uap.is-open .necox-uap__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
/* Efekt: sadece fade (kayma yok) */
.necox-uap--fx-fade .necox-uap__panel { transform: none; }
/* Efekt: yok (animasyonsuz) */
.necox-uap--fx-none .necox-uap__panel { transition: none; transform: none; }

/* Kapat butonu — SADECE mobilde gorunur (desktop/tablette gizli; orada disari
   tiklama + ESC yeterli). v7.16.29 */
.necox-uap__close { display: none; }

/* v7.16.29 — MOBIL: panel HEADER'IN HEMEN ALTINDA, yatayda ekrani ortalayan
   genis dropdown olarak acilir.
   KOK NEDEN: panel position:absolute, atasi .necox-header-row__right overflow:hidden
   (header tasma kontrolu) -> absolute panel KIRPILIYOR, DOM'da "acik" ama gorunmuyordu
   (kullanici "hesabima tiklayinca panel acilmiyor"). FIX: mobilde position:FIXED ->
   ata overflow'undan etkilenmez (viewport'a gore konumlanir). top: header altina denk
   (--necox-header-h), left/right:0 + margin:auto ile yatay ORTALA (left:50% containing-
   block tuzagina dusmez). Kullanici "hemen headerin altinda + ortali" istegi. */
@media (max-width: 767px) {
    .necox-uap__panel {
        position: fixed;
        top: calc(var(--necox-header-h, 50px) + 8px);
        left: 0; right: 0;
        width: min(92vw, 380px);
        min-width: 0;
        margin-left: auto; margin-right: auto;
        transform: translateY(-6px) scale(.98);
        transform-origin: top center;
        padding: 8px;
        max-height: calc(100vh - var(--necox-header-h, 50px) - 24px); overflow-y: auto;
        z-index: 100000;
    }
    .admin-bar .necox-uap__panel { top: calc(46px + var(--necox-header-h, 50px) + 8px); }
    .necox-uap.is-open .necox-uap__panel { transform: translateY(0) scale(1); }
    .necox-uap--fx-fade .necox-uap__panel,
    .necox-uap--fx-none .necox-uap__panel { transform: none; }
    /* Karartma overlay — panel acikken arkayi karart (header altindan asagisi).
       pointer-events:auto -> overlay tiklamasi yakalanir (e.target=host .necox-uap),
       JS document handler bunu panel/trigger disi sayip paneli KAPATIR (bosluga
       tiklama artik altdaki ilana GITMEZ). Panel z-index 100000 > overlay 99999. */
    .necox-uap.is-open::before {
        content: ""; position: fixed; inset: 0;
        background: rgba(8, 12, 24, .45);
        z-index: 99999;
        pointer-events: auto;
        animation: necox-uap-overlay-in .18s ease both;
    }
    /* Mobilde panel daha ferah link aralig */
    .necox-uap__panel .necox-uap__item { padding: 12px 14px; }
    /* Kapat (×) butonu — mobilde panel sag ust kosesinde */
    .necox-uap__close {
        display: inline-flex; align-items: center; justify-content: center;
        position: absolute; top: 6px; right: 6px;
        width: 34px; height: 34px;
        border: none; border-radius: 9px;
        background: var(--necox-uap-panel-border, rgba(127,127,127,.14));
        color: var(--necox-uap-panel-text, var(--necox-heading, var(--necox-text)));
        cursor: pointer; padding: 0; z-index: 1;
        transition: background .18s ease, transform .12s ease;
    }
    .necox-uap__close:hover { background: rgba(127,127,127,.26); }
    .necox-uap__close:active { transform: scale(.92); }
    /* Kapat butonu varsa nav'a ust bosluk (× ile cakismasin); yoksa bosluk yok */
    .necox-uap__panel--has-close .necox-uap__nav { padding-top: 30px; }
}
@keyframes necox-uap-overlay-in { from { opacity: 0; } to { opacity: 1; } }

/* Ust baslik — avatar + ad + e-posta */
.necox-uap__head {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px 12px;
    border-bottom: 1px solid var(--necox-uap-panel-border, var(--necox-border, #e2e5ee));
    margin-bottom: 6px;
}
.necox-uap__head-avatar img {
    width: 40px; height: 40px; border-radius: 50%; display: block;
}
.necox-uap__head-meta { display: flex; flex-direction: column; min-width: 0; }
.necox-uap__head-name {
    font-size: 14px; font-weight: 700; line-height: 1.2;
    color: var(--necox-uap-panel-text, var(--necox-heading, var(--necox-text)));
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.necox-uap__head-email {
    font-size: 12px; line-height: 1.3; margin-top: 2px;
    color: var(--necox-muted, #8b91a7);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Nav linkleri — ikonlu */
.necox-uap__nav { display: flex; flex-direction: column; }
.necox-uap__item {
    display: flex; align-items: center; gap: 11px;
    padding: 9px 12px;
    border-radius: 9px;
    font-size: var(--necox-uap-item-size, 13.5px); font-weight: 500;
    color: var(--necox-uap-panel-text, var(--necox-header-text, var(--necox-text)));
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}
.necox-uap__item-icon { display: inline-flex; line-height: 0; opacity: .85; }
.necox-uap__item-icon svg { width: var(--necox-uap-icon-size, 17px); height: var(--necox-uap-icon-size, 17px); }
.necox-uap__item-text { flex: 1 1 auto; }
.necox-uap__item:hover {
    background: var(--necox-uap-item-hover-bg, var(--necox-primary-light, rgba(0,0,0,.05)));
    color: var(--necox-uap-item-hover-text, var(--necox-header-link-hover, var(--necox-primary)));
}
.necox-uap__item--logout {
    color: var(--necox-uap-logout-color, var(--necox-danger, #dc2626));
}
.necox-uap__item--logout:hover {
    background: var(--necox-uap-logout-hover-bg, rgba(220,38,38,.08));
    color: var(--necox-uap-logout-color, var(--necox-danger, #dc2626));
}
.necox-uap__divider {
    display: block; height: 1px; margin: 6px 8px;
    background: var(--necox-uap-panel-border, var(--necox-border, #e2e5ee));
}

/* Dinamik buton + avatar yan yana wrapper */
.necox-dynbtn-with-avatar { display: inline-flex; align-items: center; gap: 10px; }

@media (prefers-reduced-motion: reduce) {
    .necox-uap__panel, .necox-uap__caret { transition: none; }
}

/* v7.16.15 — Avatar sag-alt favori fiyat-degisim rozeti (ortak rozet base) */
.necox-fav-badge {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: 9px; background: var(--necox-danger); color: #fff;
    font-size: 11px; font-weight: 800; line-height: 1;
    font-family: var(--necox-mono-font, ui-monospace, monospace);
}
.necox-fav-badge--avatar {
    position: absolute; right: -6px; bottom: -5px;
    min-width: 16px; height: 16px; font-size: 10px;
    border: 2px solid var(--necox-header-bg, #fff);
    box-shadow: 0 0 0 0 rgba(220, 38, 38, .5);
    animation: necox-fav-badge-pulse 2s ease-out infinite;
}
@keyframes necox-fav-badge-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(220, 38, 38, .5); }
    70%  { box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}
/* Panel "Favoriler" satiri: rozet en sagda (item-text flex:1 sayesinde) */
.necox-uap__item .necox-fav-badge--inline { margin-left: auto; }
.necox-fav-badge--inline { animation: none; }
@media (prefers-reduced-motion: reduce) {
    .necox-fav-badge--avatar { animation: none; }
}
.necox-hf-login-btn {
    background: var(--necox-user-menu-btn-bg, var(--necox-primary, #00a591));
    color: var(--necox-user-menu-btn-text, var(--necox-white));
    border-radius: var(--necox-user-menu-btn-radius, 6px);
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
}
.necox-hf-login-btn:hover {
    background: var(--necox-user-menu-btn-hover-bg, var(--necox-primary-hover, #008c7a));
    color: var(--necox-user-menu-btn-hover-text, var(--necox-white));
}

/* ── Arama Toggle ── */
.necox-hf-search-toggle { background: none; border: none; cursor: pointer; color: inherit; font-size: 18px; padding: 6px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   v7.15.0 SEARCH PANEL (Spotify Minimal) — preset cascade
   Full-screen overlay + blur, big input, kategori grid, trend list.
   POLISHED: animasyon, kategori-tinted renkler, admin-bar safe, z-index ust.
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.necox-search-drawer {
    position: fixed;
    inset: 0;
    z-index: 99999; /* chatbot 9999 ustunde */
    display: none;
    overflow-y: auto;
    /* --necox-bg gradient olabilir, "background" shorthand kullan */
    background: #0a1530;
    background: var(--necox-bg, #0a1530);
}
/* v7.16.11 — Motion token'lari (emil-design-eng + impeccable polish).
   Acilis iOS-drawer egrisi (yumusak, premium), kapanis guclu ease-in-out. */
.necox-search-drawer {
    --sp-ease-in: cubic-bezier(0.32, 0.72, 0, 1);   /* iOS drawer — acilis */
    --sp-ease-out: cubic-bezier(0.7, 0, 0.84, 0);   /* exit — hizli toparlanir */
    --sp-dur-in: 0.46s;   /* zengin panel: biraz yavas = elegant (Sonner ilkesi) */
    --sp-dur-out: 0.32s;  /* exit daima acilistan hizli (emil asimetri kurali) */
}
/* v7.16.11 — Acilis: backdrop fade + panel zoom-in. Backdrop scale ALMAZ
   (sadece blur/opacity), panel scale 0.92 -> 1 ile belirir. */
.necox-search-drawer.is-open {
    display: block;
    animation: necox-sp-backdrop-in var(--sp-dur-in) var(--sp-ease-in);
}
.necox-search-drawer.is-open .necox-search-drawer__inner {
    transform-origin: center top;
    animation: necox-sp-zoom-in var(--sp-dur-in) var(--sp-ease-in);
}
/* v7.16.11 — Kapanis: JS is-closing ekler, animationend'de display:none. */
.necox-search-drawer.is-closing {
    display: block;
    pointer-events: none;
    animation: necox-sp-backdrop-out var(--sp-dur-out) var(--sp-ease-out) forwards;
}
.necox-search-drawer.is-closing .necox-search-drawer__inner {
    transform-origin: center top;
    animation: necox-sp-zoom-out var(--sp-dur-out) var(--sp-ease-out) forwards;
}
/* Backdrop blur + preset-uyumlu overlay
   Light preset (super_light, editorial_light): drawer-overlay-color = beyaz tonu
   Dark preset (ocean_deep, midnight_blue): drawer-overlay-color = koyu tonu
   Body class'tan presete gore CSS variable set ediyoruz (asagida tanimli). */
.necox-search-drawer::before {
    content: '';
    position: fixed;
    inset: 0;
    background: var(--necox-drawer-overlay, rgba(10, 21, 48, 0.62));
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    z-index: 0;
    pointer-events: none;
}
/* Preset-bazli overlay rengi (light vs dark) */
body.necox-preset-ocean-deep,
body.necox-preset-midnight-blue { --necox-drawer-overlay: rgba(10, 21, 48, 0.62); }
body.necox-preset-super-light { --necox-drawer-overlay: rgba(250, 250, 247, 0.78); }
body.necox-preset-editorial-light { --necox-drawer-overlay: rgba(245, 242, 235, 0.78); }
/* Light preset drawer'da text rengi otomatik secilsin (--necox-text preset'ten gelir) */
body.necox-preset-super-light .necox-search-drawer,
body.necox-preset-editorial-light .necox-search-drawer {
    color: var(--necox-text, #3a3530);
}
/* Light preset'te form arkaplan koyu degil, hafif gri */
body.necox-preset-super-light .necox-search-drawer__form,
body.necox-preset-editorial-light .necox-search-drawer__form {
    background: color-mix(in srgb, var(--necox-text, #3a3530) 6%, transparent);
}
/* Light preset'te kategori kartlari beyaz uzerine, primary tinti */
body.necox-preset-super-light .necox-search-drawer__cat,
body.necox-preset-editorial-light .necox-search-drawer__cat {
    background: color-mix(in srgb, var(--cat-tint, var(--necox-primary, #00d4ff)) 8%, #fff);
    border-color: color-mix(in srgb, var(--cat-tint, var(--necox-primary, #00d4ff)) 25%, transparent);
}
body.necox-preset-super-light .necox-search-drawer__cat-label,
body.necox-preset-editorial-light .necox-search-drawer__cat-label,
body.necox-preset-super-light .necox-search-drawer__cat-row-label,
body.necox-preset-editorial-light .necox-search-drawer__cat-row-label,
body.necox-preset-super-light .necox-search-drawer__trend,
body.necox-preset-editorial-light .necox-search-drawer__trend {
    color: var(--necox-text, #3a3530);
}
body.necox-preset-super-light .necox-search-drawer__cat-count,
body.necox-preset-editorial-light .necox-search-drawer__cat-count,
body.necox-preset-super-light .necox-search-drawer__cat-row-count,
body.necox-preset-editorial-light .necox-search-drawer__cat-row-count,
body.necox-preset-super-light .necox-search-drawer__section-title,
body.necox-preset-editorial-light .necox-search-drawer__section-title {
    color: color-mix(in srgb, var(--necox-text, #3a3530) 55%, transparent);
}
body.necox-preset-super-light .necox-search-drawer__close,
body.necox-preset-editorial-light .necox-search-drawer__close {
    background: color-mix(in srgb, var(--necox-text, #3a3530) 10%, transparent);
    color: var(--necox-text, #3a3530);
    border-color: color-mix(in srgb, var(--necox-text, #3a3530) 12%, transparent);
}
body.necox-preset-super-light .necox-search-drawer__input,
body.necox-preset-editorial-light .necox-search-drawer__input {
    color: var(--necox-text, #3a3530) !important;
}
body.necox-preset-super-light .necox-search-drawer__input::placeholder,
body.necox-preset-editorial-light .necox-search-drawer__input::placeholder {
    color: color-mix(in srgb, var(--necox-text, #3a3530) 50%, transparent);
}
.necox-search-drawer__inner,
.necox-search-drawer__close {
    position: relative;
    z-index: 2;
}
/* v7.16.3 — Drawer acikken arka plandaki yuksek z-index'li UI'lari gizle.
   Tespit (Playwright): mobile Preset 3 ilan-ara'da drawer (z:99999) acikken
   chatbot (z:999999) "Vanis" rozeti, activity-bubble (z:9000) "POPULER ilan"
   floating card, harita panel toolbar (Yogunluk/Fiyat Isisi/Tam Ekran) ve
   leaflet kontrolleri (locate btn, ilan sayisi) drawer uzerinden gozukuyordu.
   Cozum 2 katman: (a) drawer kapsayicisi z'sini chatbot ustune cikar,
   (b) drawer.is-open iken backplane fixed overlay'leri visibility gizle. */
body.necox-search-drawer-open .necox-chatbot,
body.necox-search-drawer-open .necox-activity-bubble,
body.necox-search-drawer-open .necox-search__map-panel,
body.necox-search-drawer-open .necox-search__floating-card,
body.necox-search-drawer-open .necox-skip-link {
    visibility: hidden !important;
}
.necox-search-drawer { z-index: 9999999; }
/* Backdrop: yalniz opacity (blur hep acik) — container'a uygulanir. */
@keyframes necox-sp-backdrop-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes necox-sp-backdrop-out {
    from { opacity: 1; }
    to   { opacity: 0; }
}
/* Panel: belirgin zoom (0.92 -> 1) + hafif blur (emil: gecisi yumusatir). */
@keyframes necox-sp-zoom-in {
    from { opacity: 0; transform: scale(0.92); filter: blur(6px); }
    60%  { opacity: 1; }
    to   { opacity: 1; transform: scale(1); filter: blur(0); }
}
@keyframes necox-sp-zoom-out {
    from { opacity: 1; transform: scale(1); filter: blur(0); }
    to   { opacity: 0; transform: scale(0.94); filter: blur(4px); }
}
/* Reduced motion: hareket/blur yok, sadece kisa crossfade (emil + impeccable). */
@media (prefers-reduced-motion: reduce) {
    .necox-search-drawer.is-open,
    .necox-search-drawer.is-closing { animation-duration: 0.2s; }
    .necox-search-drawer.is-open .necox-search-drawer__inner,
    .necox-search-drawer.is-closing .necox-search-drawer__inner {
        animation: none;
        filter: none;
        transform: none;
    }
}
.admin-bar .necox-search-drawer { top: 32px; }
@media (max-width: 782px) {
    .admin-bar .necox-search-drawer { top: 46px; }
}
.necox-search-drawer__close {
    position: fixed;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--necox-text, #fff) 12%, transparent);
    color: var(--necox-text, #fff);
    border: 1px solid color-mix(in srgb, var(--necox-text, #fff) 8%, transparent);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: background 0.18s, transform 0.18s, border-color 0.18s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.admin-bar .necox-search-drawer__close { top: 50px; }
.necox-search-drawer__close:hover {
    background: color-mix(in srgb, var(--necox-primary, #00d4ff) 30%, transparent);
    border-color: var(--necox-primary, #00d4ff);
    transform: scale(1.08) rotate(90deg);
}
.necox-search-drawer__inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 72px 18px 60px;
    min-height: 100%;
    box-sizing: border-box;
}
/* SADE search bar — normal input gibi, hicbir border/outline/shadow yok */
.necox-search-drawer__form {
    display: flex;
    align-items: center;
    gap: 12px;
    background: color-mix(in srgb, var(--necox-text, #fff) 8%, transparent);
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 32px;
    animation: necox-sp-slide 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.05s backwards;
}
.necox-search-drawer__form:focus-within,
.necox-search-drawer__form:hover {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: color-mix(in srgb, var(--necox-text, #fff) 8%, transparent);
}
.necox-search-drawer__input,
.necox-search-drawer__input:focus,
.necox-search-drawer__input:hover,
.necox-search-drawer__input:active {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}
@keyframes necox-sp-slide {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}
.necox-search-drawer__icon {
    flex-shrink: 0;
    color: color-mix(in srgb, var(--necox-text, #fff) 55%, transparent);
}
.necox-search-drawer__input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--necox-text, #fff);
    font-size: 16px;
    font-family: inherit;
    min-width: 0; /* flex shrink fix */
}
.necox-search-drawer__input::placeholder {
    color: color-mix(in srgb, var(--necox-text, #fff) 45%, transparent);
}
.necox-search-drawer__section {
    margin-bottom: 32px;
    animation: necox-sp-slide 0.4s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.necox-search-drawer__section:nth-of-type(2) { animation-delay: 0.1s; }
.necox-search-drawer__section:nth-of-type(3) { animation-delay: 0.16s; }
.necox-search-drawer__section:nth-of-type(4) { animation-delay: 0.22s; }
.necox-search-drawer__section:last-child { margin-bottom: 0; }

/* v7.16.11 — Ic ogeler staggered belirir (emil + impeccable: list stagger mesru).
   Kisa gecikme (30-45ms) cascade hissi; etkilesimi BLOKLAMAZ (sadece gorsel). */
.necox-search-drawer__cat,
.necox-search-drawer__cat-row,
.necox-search-drawer__trend {
    animation: necox-sp-item 0.42s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.necox-search-drawer__cat:nth-child(1)  { animation-delay: 0.06s; }
.necox-search-drawer__cat:nth-child(2)  { animation-delay: 0.10s; }
.necox-search-drawer__cat:nth-child(3)  { animation-delay: 0.14s; }
.necox-search-drawer__cat:nth-child(4)  { animation-delay: 0.18s; }
.necox-search-drawer__cat-row:nth-child(1)  { animation-delay: 0.04s; }
.necox-search-drawer__cat-row:nth-child(2)  { animation-delay: 0.07s; }
.necox-search-drawer__cat-row:nth-child(3)  { animation-delay: 0.10s; }
.necox-search-drawer__cat-row:nth-child(4)  { animation-delay: 0.13s; }
.necox-search-drawer__cat-row:nth-child(5)  { animation-delay: 0.16s; }
.necox-search-drawer__cat-row:nth-child(6)  { animation-delay: 0.19s; }
.necox-search-drawer__cat-row:nth-child(n+7) { animation-delay: 0.22s; }
@keyframes necox-sp-item {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .necox-search-drawer__cat,
    .necox-search-drawer__cat-row,
    .necox-search-drawer__trend,
    .necox-search-drawer__section { animation: none; }
}
.necox-search-drawer__section-title {
    font-size: 11px;
    font-weight: 700;
    color: color-mix(in srgb, var(--necox-text, #fff) 60%, transparent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.necox-search-drawer__section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(
        to right,
        color-mix(in srgb, var(--necox-text, #fff) 12%, transparent),
        transparent
    );
}

/* Kategori grid — 2x2 garantili, esit boyut, kategori-bazli renk tint */
.necox-search-drawer__cats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.necox-search-drawer__cat {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--cat-tint, var(--necox-primary, #00d4ff)) 10%, color-mix(in srgb, var(--necox-bg, #0a1530) 70%, transparent));
    border: 1px solid color-mix(in srgb, var(--cat-tint, var(--necox-primary, #00d4ff)) 22%, transparent);
    color: var(--necox-text, #fff);
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s, box-shadow 0.2s;
    /* EŞIT BOYUT GARANTISI */
    height: 72px;
    box-sizing: border-box;
}
.necox-search-drawer__cat::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--cat-tint, var(--necox-primary, #00d4ff)) 18%, transparent),
        transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.necox-search-drawer__cat:hover,
.necox-search-drawer__cat:focus-visible {
    transform: translateY(-3px) scale(1.02);
    border-color: var(--cat-tint, var(--necox-primary, #00d4ff));
    box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--cat-tint, var(--necox-primary, #00d4ff)) 50%, transparent);
    outline: none;
}
/* emil: basilabilir oge basinca tepki vermeli (instant feedback). */
.necox-search-drawer__cat:active { transform: translateY(-1px) scale(0.985); }
.necox-search-drawer__cat:hover::before,
.necox-search-drawer__cat:focus-visible::before { opacity: 1; }
.necox-search-drawer__cat-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--cat-tint, var(--necox-primary, #00d4ff)) 18%, transparent);
    color: var(--cat-tint, var(--necox-primary, #00d4ff));
    position: relative;
    z-index: 1;
}
.necox-search-drawer__cat-icon svg { display: block; width: 22px; height: 22px; }
.necox-search-drawer__cat-body {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}
.necox-search-drawer__cat-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--necox-text, #fff);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.necox-search-drawer__cat-count {
    display: block;
    font-size: 11px;
    color: color-mix(in srgb, var(--necox-text, #fff) 60%, transparent);
    margin-top: 2px;
}

/* v7.16.11 — Kalan kategoriler tek-satir liste: [ikon] ad ........ ilan sayisi */
.necox-search-drawer__cat-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.necox-search-drawer__cat-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--necox-text, #fff);
    text-decoration: none;
    border: 1px solid transparent;
    transition: background 0.18s, border-color 0.18s, padding 0.18s, transform 0.12s ease-out;
}
.necox-search-drawer__cat-row:hover,
.necox-search-drawer__cat-row:focus-visible {
    background: color-mix(in srgb, var(--cat-tint, var(--necox-primary, #00d4ff)) 12%, transparent);
    border-color: color-mix(in srgb, var(--cat-tint, var(--necox-primary, #00d4ff)) 30%, transparent);
    padding-left: 16px;
    outline: none;
}
.necox-search-drawer__cat-row:active { transform: scale(0.99); }
.necox-search-drawer__cat-row-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--cat-tint, var(--necox-primary, #00d4ff)) 16%, transparent);
    color: var(--cat-tint, var(--necox-primary, #00d4ff));
}
.necox-search-drawer__cat-row-icon svg { display: block; width: 18px; height: 18px; }
.necox-search-drawer__cat-row-icon { font-size: 16px; line-height: 1; } /* emoji fallback */
.necox-search-drawer__cat-row-label {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.necox-search-drawer__cat-row-count {
    flex-shrink: 0;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    color: color-mix(in srgb, var(--necox-text, #fff) 55%, transparent);
}

/* Trend aramalar */
.necox-search-drawer__trends {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.necox-search-drawer__trend {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 12px;
    border-radius: 10px;
    color: var(--necox-text, #fff);
    text-decoration: none;
    font-size: 14px;
    transition: background 0.18s, padding 0.18s;
    border: 1px solid transparent;
}
.necox-search-drawer__trend:hover,
.necox-search-drawer__trend:focus-visible {
    background: color-mix(in srgb, var(--necox-text, #fff) 6%, transparent);
    border-color: color-mix(in srgb, var(--necox-primary, #00d4ff) 20%, transparent);
    padding-left: 16px;
    outline: none;
}
.necox-search-drawer__trend-rank {
    color: var(--necox-primary, #00d4ff);
    font-weight: 800;
    font-size: 16px;
    min-width: 22px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.necox-search-drawer__trend-label { flex: 1; font-weight: 500; }
.necox-search-drawer__trend-arrow {
    color: color-mix(in srgb, var(--necox-text, #fff) 30%, transparent);
    transition: color 0.18s, transform 0.18s;
}
.necox-search-drawer__trend:hover .necox-search-drawer__trend-arrow {
    color: var(--necox-primary, #00d4ff);
    transform: translate(2px, -2px);
}

/* v7.16.12 — Canli filtre: gizli ogeler [hidden] ile cikar (grid/flex bozulmaz).
   Filtre aktifken bolum basliklari kalir; eslesme yoksa "sonuc yok" linki. */
.necox-search-drawer__cat[hidden],
.necox-search-drawer__cat-row[hidden] { display: none !important; }
.necox-search-drawer__noresult {
    padding: 18px 4px;
    animation: necox-sp-slide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.necox-search-drawer__noresult[hidden] { display: none; }
.necox-search-drawer__noresult-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--necox-primary, #00d4ff);
    text-decoration: none;
    background: color-mix(in srgb, var(--necox-primary, #00d4ff) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--necox-primary, #00d4ff) 30%, transparent);
    transition: background 0.18s, transform 0.12s ease-out;
}
.necox-search-drawer__noresult-link:hover {
    background: color-mix(in srgb, var(--necox-primary, #00d4ff) 20%, transparent);
}
.necox-search-drawer__noresult-link:active { transform: scale(0.98); }

@media (min-width: 640px) {
    .necox-search-drawer__inner { padding: 72px 24px 60px; }
    .necox-search-drawer__cats { grid-template-columns: repeat(4, 1fr); gap: 12px; }
    .necox-search-drawer__cat { flex-direction: column; align-items: flex-start; gap: 10px; height: 118px; padding: 16px; }
    .necox-search-drawer__cat-label { font-size: 15px; }
}
body.necox-search-drawer-open { overflow: hidden; }

/* ── Mobil Trigger (Hamburger) ── */
/* v8.3.219 SET-W: kenarlik/golge/cizgi token'lari (fonts.php emit eder) */
.necox-hf-mobile-trigger {
    background: var(--necox-mobile-trigger-bg, none);
    border: var(--necox-mobile-trigger-border, none);
    box-shadow: var(--necox-mobile-trigger-shadow, none);
    cursor: pointer;
    padding: var(--necox-mobile-trigger-padding, 6px);
    display: flex;
    flex-direction: column;
    gap: var(--necox-mobile-trigger-line-gap, 5px);
    color: var(--necox-mobile-trigger-color, inherit);
    border-radius: var(--necox-mobile-trigger-radius, 0);
    transition: color .2s, background .2s, border-color .2s, box-shadow .2s;
}
.necox-hf-mobile-trigger:hover {
    color: var(--necox-mobile-trigger-hover-color, inherit);
    background: var(--necox-mobile-trigger-hover-bg, var(--necox-mobile-trigger-bg, none));
    border: var(--necox-mobile-trigger-hover-border, var(--necox-mobile-trigger-border, none));
    box-shadow: var(--necox-mobile-trigger-hover-shadow, var(--necox-mobile-trigger-shadow, none));
}
.necox-hf-mobile-trigger span {
    display: block;
    width: var(--necox-mobile-trigger-size, 24px);
    height: var(--necox-mobile-trigger-line-h, 2px);
    background: currentColor;
    border-radius: 2px;
    transition: 0.3s;
}
.necox-hf-mobile-trigger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.necox-hf-mobile-trigger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.necox-hf-mobile-trigger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Drawer (Mobil Menu) ── */
/* v8.3.217 4-PRESET UYUM: bos ayarlarda zemin+metin preset token'indan (layout
   pisik inline'lari hf-render'da emekli edildi). */
/* v8.3.298 — drawer z-index 10000 -> 9999998 (kullanici foto kaniti): arama sayfasi wizard
   yuzen etiketleri (.necox-sr-wiz-lab z:100051) + select2 (z:100050-100060) + Vanis chatbot
   (z:999999) drawer'in USTUNDEN gozukuyordu. search-drawer'in v7.16.3 cozumuyle ayni kat:
   drawer > tum sayfa UI (yalniz lightbox + search-drawer daha ustte). */
.necox-drawer { position: fixed; top: 0; bottom: 0; background: var(--necox-header-bg); color: var(--necox-header-text, var(--necox-text)); z-index: 9999998; transform: translateX(100%); transition: transform 0.3s ease; overflow-y: auto; box-shadow: -4px 0 24px rgba(0,0,0,0.15); }
.necox-drawer--left { left: 0; transform: translateX(-100%); box-shadow: 4px 0 24px rgba(0,0,0,0.15); }
.necox-drawer--right { right: 0; }
.necox-drawer.is-open { transform: translateX(0); }
.necox-drawer__close { position: absolute; top: 12px; right: 12px; background: none; border: none; font-size: 28px; cursor: pointer; color: var(--necox-text); }
.necox-drawer__content { padding: 60px 20px 20px; }
.necox-drawer__content .necox-hf-nav { flex-direction: column; gap: 0; }
/* v8.3.216 FAZ 3 — menu ogesi token zinciri (drawer inline degiskenlerinden)
   v8.3.220 — ozgullugu .necox-drawer ile 0-3-1'e yukselt: preset header kurali
   (.necox-header a:not(.necox-btn) = 0-2-1) drawer nav linkine SIZIP item_color'i
   eziyordu (drawer .necox-header icinde render ediliyor; esit ozgulluk → kaynak
   sirasinda header kazaniyordu). Ek .necox-drawer sinifi item token'larini
   preset'in ustune cikarir — !important bandaji yerine ozgulluk cozumu. */
.necox-drawer .necox-drawer__content .necox-hf-nav a {
    display: block;
    padding: var(--necox-mm-item-gap, 12px) 0;
    border-bottom: var(--necox-mm-divider-width, 1px) solid var(--necox-mm-divider-color, var(--necox-border));
    font-family: var(--necox-mm-item-font, inherit); /* v8.3.222 menu ogesi font ailesi */
    font-size: var(--necox-mm-item-size, 15px);
    color: var(--necox-mm-item-color, inherit);
    background: var(--necox-mm-item-bg, transparent);
    font-weight: var(--necox-mm-item-weight, inherit);
    letter-spacing: var(--necox-mm-item-ls, normal);
    text-transform: var(--necox-mm-item-transform, none);
}
.necox-drawer .necox-drawer__content .necox-hf-nav a:hover {
    color: var(--necox-mm-item-hover-color, var(--necox-mm-item-color, inherit));
    background: var(--necox-mm-item-hover-bg, var(--necox-mm-item-bg, transparent));
}
/* v8.3.216 — medyaya tikla → tam ekran (reklam) */
.necox-drawer[data-mm-click] .necox-drawer__media { pointer-events: auto; cursor: pointer; }
.necox-drawer[data-mm-image] .necox-drawer__content { cursor: pointer; }
#necox-mm-lightbox { position: fixed; inset: 0; z-index: 9999999; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; cursor: zoom-out; } /* v8.3.298: drawer 9999998'e cikti — lightbox drawer'in USTUNDE kalmali */
#necox-mm-lightbox img { max-width: 96vw; max-height: 96vh; object-fit: contain; }
.necox-drawer-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 9999997; } /* v8.3.298: drawer'in hemen alti — yuksek-z sayfa UI'lari (wizard etiketi/chatbot) artik overlay ALTINDA kalir */
.necox-drawer-overlay.is-open { display: block; }

/* ── v8.3.214 HAMBURGER FAZ 1: Tam Ekran mod + alt-menu akordeonu ──
   Fullscreen: translateX kaydirmasi yerine fade+dikey mikro kayma; kapali
   durum tek-class kurali base .necox-drawer'i (ayni ozgullukte SONRA gelerek)
   ezer; acik durum 2-class kurali .necox-drawer.is-open'i ezer. */
.necox-drawer--fullscreen {
    left: 0; right: 0; width: 100% !important; max-width: none;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
    box-shadow: none;
    display: flex; align-items: center; justify-content: center;
}
.necox-drawer--fullscreen.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.necox-drawer--fullscreen .necox-drawer__content { width: min(560px, 90vw); padding: 40px 20px; }
/* Alt-menu akordeonu (drawer ici): kapali varsayilan; li.necox-sub-open acar.
   Hem WP .sub-menu hem walker'in olasi ul ul ciktisi kapsanir. */
.necox-drawer__content .necox-hf-nav li > ul,
.necox-drawer__content .necox-hf-nav .sub-menu { display: none; flex-direction: column; padding-left: 16px; list-style: none; margin: 0; }
.necox-drawer__content .necox-hf-nav li.necox-sub-open > ul,
.necox-drawer__content .necox-hf-nav li.necox-sub-open > .sub-menu { display: flex; }
.necox-drawer__content .necox-hf-nav li.menu-item-has-children > a::after { content: "\25BE"; float: right; opacity: .6; transition: transform .2s; }
.necox-drawer__content .necox-hf-nav li.necox-sub-open > a::after { transform: rotate(180deg); }

/* ── v8.3.215 HAMBURGER FAZ 2: panel zemin katmanlari (kolon zinciri kopyasi) ──
   video z0 < overlay z1 < kapat/icerik z2 (katmanlar iceigi ORTMEZ). */
.necox-drawer__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; border-radius: inherit; }
/* v8.3.223 — MEDYA YERLESIMI (top/bottom): drawer flex-column, medya %50 + menu %50.
   Boylece "medya ustte menu altta" davranisi TARAYICI-BAGIMSIZ ve KONTROLLU olur
   (arka plan object-fit tutarsizligi yerine akis-ici blok). */
.necox-drawer--media-top, .necox-drawer--media-bottom { display: flex; flex-direction: column; }
.necox-drawer--media-top .necox-drawer__content, .necox-drawer--media-bottom .necox-drawer__content { flex: 1 1 50%; overflow-y: auto; min-height: 0; }
.necox-drawer__mediabox { flex: 1 1 50%; min-height: 0; position: relative; overflow: hidden; }
.necox-drawer__mediabox .necox-drawer__media--flow { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.necox-drawer__overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit; }
/* v8.3.228 — KAPAT BUTONU content'in ÜSTÜNDE (z-index:5). Eskiden content ile
   esit z-index:2 idi; content DOM'da SONRA geldiginden kapat butonunu ORTUYORDU
   → tiklama .necox-drawer__content'e gidip data-mm-click medya-tikla'yi tetikliyor,
   drawer kapanmiyordu (kullanici: "kapat butonu gorseli tam ekran yapiyor"). */
.necox-drawer__close { z-index: 5; }
.necox-drawer__content { position: relative; z-index: 2; }

/* ── v8.3.226 HAMBURGER TAM EKRAN VİTRİN (kullanıcı: görsel/video yansımıyor +
   kapat butonu yok + animasyon yok; Slider Revolution tarzı sergileme) ──
   (A) MODERN KAPAT BUTONU (kullanıcı: "temaya yakışan, modern, animasyonlu,
   büyük, yuvarlak borderli, düzgün"): yuvarlak halka + ince border + hover'da
   döner/büyür/dolar. HER modda uygulanır (sadece medya değil). */
.necox-drawer__close {
    width: 46px; height: 46px; padding: 0; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    font-size: 0; /* & işaretini gizle, çizgileri ::before/::after çizer */
    border: 2px solid var(--necox-mm-close-border, rgba(0,0,0,0.18));
    border-radius: 50%; background: transparent; cursor: pointer;
    color: var(--necox-mm-close-color, var(--necox-text));
    transition: transform .35s cubic-bezier(.34,1.56,.64,1), background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.necox-drawer__close::before, .necox-drawer__close::after {
    content: ""; position: absolute; top: 50%; left: 50%;
    width: 20px; height: 2.5px; border-radius: 2px;
    background: currentColor; transition: background .25s ease;
}
.necox-drawer__close::before { transform: translate(-50%,-50%) rotate(45deg); }
.necox-drawer__close::after  { transform: translate(-50%,-50%) rotate(-45deg); }
.necox-drawer__close:hover {
    transform: rotate(90deg) scale(1.08);
    background: var(--necox-mm-close-hover-bg, var(--necox-primary, #c8896b));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.22);
}
.necox-drawer__close:focus-visible { outline: 2px solid var(--necox-primary, #c8896b); outline-offset: 3px; }

/* Medya (görsel/video) VARSA: koyu zeminde beyaz + hafif cam zemin (kaybolmasın) */
.necox-drawer[data-mm-has-media] .necox-drawer__close {
    color: #fff; border-color: rgba(255,255,255,0.55);
    background: rgba(0,0,0,0.28);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.necox-drawer[data-mm-has-media] .necox-drawer__close:hover {
    background: var(--necox-mm-close-hover-bg, var(--necox-primary, #c8896b));
    border-color: transparent;
}
/* Fullscreen'de biraz daha büyük + kenardan uzak */
.necox-drawer--fullscreen .necox-drawer__close { top: 22px; right: 22px; width: 52px; height: 52px; }
.necox-drawer--fullscreen .necox-drawer__close::before,
.necox-drawer--fullscreen .necox-drawer__close::after { width: 22px; }

/* (B) OTOMATİK KARARTI: SADECE TAM EKRAN modunda (kullanıcı: sağ/sol drawer'da
   otomatik karartı İSTEMİYOR). Fullscreen'de medya üstünde menü okunsun diye. */
.necox-drawer--fullscreen[data-mm-auto-overlay]::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.55)); border-radius: inherit;
}

/* (C) TAM EKRAN ANİMASYON STİLLERİ (el_mm_fs_anim: stagger/zoom/slide) ──
   Ortak: açılışta medya + menü animasyonlu belirir. prefers-reduced-motion güvenli. */

/* stagger (varsayılan): menü öğeleri sırayla aşağıdan yukarı belirir */
.necox-drawer--fullscreen.necox-fsanim-stagger .necox-drawer__content .necox-hf-nav li {
    opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease;
}
.necox-drawer--fullscreen.necox-fsanim-stagger.is-open .necox-drawer__content .necox-hf-nav li {
    opacity: 1; transform: translateY(0);
}
.necox-drawer--fullscreen.necox-fsanim-stagger.is-open .necox-hf-nav li:nth-child(1){transition-delay:.15s}
.necox-drawer--fullscreen.necox-fsanim-stagger.is-open .necox-hf-nav li:nth-child(2){transition-delay:.23s}
.necox-drawer--fullscreen.necox-fsanim-stagger.is-open .necox-hf-nav li:nth-child(3){transition-delay:.31s}
.necox-drawer--fullscreen.necox-fsanim-stagger.is-open .necox-hf-nav li:nth-child(4){transition-delay:.39s}
.necox-drawer--fullscreen.necox-fsanim-stagger.is-open .necox-hf-nav li:nth-child(5){transition-delay:.47s}
.necox-drawer--fullscreen.necox-fsanim-stagger.is-open .necox-hf-nav li:nth-child(6){transition-delay:.55s}
.necox-drawer--fullscreen.necox-fsanim-stagger.is-open .necox-hf-nav li:nth-child(n+7){transition-delay:.63s}

/* zoom: arka plan medya hafif zoom-out (Ken Burns) + içerik fade */
.necox-drawer--fullscreen.necox-fsanim-zoom .necox-drawer__media { transform: scale(1.12); transition: transform 1.2s ease; }
.necox-drawer--fullscreen.necox-fsanim-zoom.is-open .necox-drawer__media { transform: scale(1); }
.necox-drawer--fullscreen.necox-fsanim-zoom { background-size: 112% !important; transition: opacity .3s ease, transform .3s ease, visibility .3s, background-size 1.2s ease; }
.necox-drawer--fullscreen.necox-fsanim-zoom.is-open { background-size: cover !important; }
.necox-drawer--fullscreen.necox-fsanim-zoom .necox-drawer__content { opacity: 0; transition: opacity .6s ease .2s; }
.necox-drawer--fullscreen.necox-fsanim-zoom.is-open .necox-drawer__content { opacity: 1; }

/* slide: tüm menü üstten perde gibi kayar (base fullscreen'in translateY'sini büyüt) */
.necox-drawer--fullscreen.necox-fsanim-slide { transform: translateY(-100%); opacity: 1; transition: transform .45s cubic-bezier(.22,1,.36,1), visibility .45s; }
.necox-drawer--fullscreen.necox-fsanim-slide.is-open { transform: translateY(0); opacity: 1; }

@media (prefers-reduced-motion: reduce) {
    .necox-drawer--fullscreen [class*="necox-fsanim"] *,
    .necox-drawer--fullscreen.necox-fsanim-zoom .necox-drawer__media,
    .necox-drawer--fullscreen .necox-hf-nav li { transition: none !important; transform: none !important; opacity: 1 !important; }
}

/* ── Diger Elementler ── */
.necox-hf-divider {
    display: block;
    width: var(--necox-hf-divider-width, 1px);
    height: var(--necox-hf-divider-height, 24px);
    background: var(--necox-hf-divider-color, rgba(0,0,0,0.15));
    border-style: var(--necox-hf-divider-style, solid);
}
.necox-hf-social { display: flex; gap: 8px; }
.necox-hf-contact {
    display: flex;
    gap: 16px;
    font-size: var(--necox-contact-size, 13px);
    font-family: var(--necox-contact-font, inherit);
    font-weight: var(--necox-contact-weight, 400);
    color: var(--necox-contact-color, inherit);
}
.necox-hf-contact a { color: var(--necox-contact-color, inherit); text-decoration: none; display: flex; align-items: center; gap: 4px; }
.necox-hf-contact a:hover { color: var(--necox-contact-hover, var(--necox-primary, #00a591)); }
.necox-hf-contact svg { width: var(--necox-contact-icon-size, 14px); height: var(--necox-contact-icon-size, 14px); color: var(--necox-contact-icon-color, currentColor); }
.necox-hf-text { font-size: 13px; }
.necox-hf-site-title {
    font-size: var(--necox-site-title-size, 20px);
    font-weight: var(--necox-site-title-weight, 700);
    font-family: var(--necox-site-title-font, inherit);
    color: var(--necox-site-title-color, inherit);
    text-decoration: none;
}
.necox-hf-site-title:hover { color: var(--necox-site-title-hover, var(--necox-primary, #00a591)); }

/* ── Dil Secici ── */
.necox-lang-switcher { position: relative; display: inline-flex; }
.necox-lang-switcher__current {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    background: var(--necox-lang-bg, transparent);
    color: var(--necox-lang-text, inherit);
    border: 1px solid var(--necox-lang-border, transparent);
    border-radius: var(--necox-lang-radius, 4px);
    transition: background 0.15s;
}
.necox-lang-switcher__current:hover { background: var(--necox-lang-hover-bg, rgba(0,0,0,0.05)); }
.necox-lang-switcher__dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--necox-white);
    border: 1px solid var(--necox-border);
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    min-width: 100%;
    padding: 4px 0;
    z-index: 300;
}
.necox-lang-switcher.is-open .necox-lang-switcher__dropdown { display: block; }
.necox-lang-switcher__item {
    display: block;
    padding: 6px 12px;
    font-size: 13px;
    color: var(--necox-text);
    text-decoration: none;
    transition: background 0.15s;
}
.necox-lang-switcher__item:hover { background: var(--necox-lang-hover-bg, var(--necox-bg)); }
.necox-lang-switcher__item.is-active { background: var(--necox-lang-active-bg, var(--necox-primary-light)); font-weight: 600; }

/* ── Logo ── */
.necox-hf-logo { display: inline-flex; align-items: center; text-decoration: none; color: inherit; }
.necox-hf-logo img { display: block; max-height: 60px; width: auto; }
.necox-hf-logo--text { font-size: 20px; font-weight: 700; }

/* Logo gecis kurallari — auto modda (iki img varken) */
/* Parent class ile specificity 0,2,0 — .necox-hf-logo img (0,1,1) ezmesin */
.necox-hf-logo .necox-hf-logo__dark { display: none; }
html.dark-mode .necox-hf-logo .necox-hf-logo__light { display: none; }
html.dark-mode .necox-hf-logo .necox-hf-logo__dark { display: inline-block; }

/* Transparent + Glass header — koyu arka plan, acik logo (dark) goster */
.necox-header.is-transparent .necox-hf-logo__light,
.necox-header.is-glass .necox-hf-logo__light { display: none; }
.necox-header.is-transparent .necox-hf-logo__dark,
.necox-header.is-glass .necox-hf-logo__dark { display: inline-block; }

/* Transparent/Glass + dark mode — ters cevir: light goster */
html.dark-mode .necox-header.is-transparent .necox-hf-logo__light,
html.dark-mode .necox-header.is-glass .necox-hf-logo__light { display: inline-block; }
html.dark-mode .necox-header.is-transparent .necox-hf-logo__dark,
html.dark-mode .necox-header.is-glass .necox-hf-logo__dark { display: none; }

/* Scrolled header — normal moda don (koyu arka plan artik yok) */
.necox-header.is-transparent.is-scrolled .necox-hf-logo__light,
.necox-header.is-glass.is-scrolled .necox-hf-logo__light { display: inline-block; }
.necox-header.is-transparent.is-scrolled .necox-hf-logo__dark,
.necox-header.is-glass.is-scrolled .necox-hf-logo__dark { display: none; }

/* Koyu arka planli header (transparent/glass olmadan) — acik logo goster */
.necox-header.is-dark-bg .necox-hf-logo__light { display: none; }
.necox-header.is-dark-bg .necox-hf-logo__dark { display: inline-block; }
/* Koyu arka plan + dark mode — ters cevir */
html.dark-mode .necox-header.is-dark-bg .necox-hf-logo__light { display: inline-block; }
html.dark-mode .necox-header.is-dark-bg .necox-hf-logo__dark { display: none; }
/* Koyu arka plan + scrolled — koyu arka plan hala koyu, degisim yok */

/* ── Ilan Ver Butonu (CTA) ── */
.necox-hf-post-ad {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
}
.necox-hf-post-ad svg { flex-shrink: 0; }

/* ── Bildirim Ikonu ── */
.necox-hf-notification {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    padding: 6px;
    border-radius: 6px;
    transition: background 0.15s;
}
.necox-hf-notification:hover { background: rgba(0,0,0,0.05); }
.necox-header.is-transparent .necox-hf-notification:hover,
.necox-header.is-glass .necox-hf-notification:hover { background: rgba(255,255,255,0.1); }

/* ── Favori Ikonu ── */
.necox-hf-favorites {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    padding: 6px;
    border-radius: 6px;
    transition: background 0.15s;
}
.necox-hf-favorites:hover { background: rgba(0,0,0,0.05); }
.necox-header.is-transparent .necox-hf-favorites:hover,
.necox-header.is-glass .necox-hf-favorites:hover { background: rgba(255,255,255,0.1); }

/* ── Badge (Bildirim + Favori) ── */
.necox-hf-badge {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    color: #ffffff;
    background: var(--necox-danger, #ef4444);
    border-radius: 8px;
    pointer-events: none;
}

/* ── HTML / Kod Blogu ── */
.necox-hf-html { font-size: 13px; line-height: 1.4; }

/* ── Arama Kutusu (Acik Input) ── */
.necox-hf-search-box {
    display: flex;
    align-items: center;
    width: 100%;
    background: rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.necox-hf-search-box:focus-within {
    border-color: var(--necox-primary, var(--necox-primary));
    box-shadow: 0 0 0 2px rgba(0,165,145,0.15);
}
.necox-hf-search-box__input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 12px;
    font-size: 14px;
    color: inherit;
    outline: none;
}
.necox-hf-search-box__input::placeholder { color: rgba(0,0,0,0.35); }
.necox-hf-search-box__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 8px 12px;
    color: inherit;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.15s;
}
.necox-hf-search-box__btn:hover { opacity: 1; }

/* Transparent / Glass header icindeki arama kutusu */
.necox-header.is-transparent .necox-hf-search-box,
.necox-header.is-glass .necox-hf-search-box {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.15);
}
.necox-header.is-transparent .necox-hf-search-box__input::placeholder,
.necox-header.is-glass .necox-hf-search-box__input::placeholder { color: rgba(255,255,255,0.5); }

/* ── Widget Alani ── */
.necox-hf-widget-area { font-size: 13px; }
.necox-hf-widget-area .widget { margin: 0; }

/* ── Koyu/Acik Mod Toggle ── */
.necox-hf-darkmode {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 6px;
    color: inherit;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.15s;
}
.necox-hf-darkmode:hover { background: rgba(0,0,0,0.05); }
.necox-header.is-transparent .necox-hf-darkmode:hover,
.necox-header.is-glass .necox-hf-darkmode:hover { background: rgba(255,255,255,0.1); }
/* v7.17.74 — Ikon preset tabanli .is-dark-active class'ina gore (JS header.js).
   Aktif preset koyu (ocean_deep/midnight_blue) ise ay, degilse gunes. Eski
   html.dark-mode kurallari korundu (zararsiz; o class artik basilmiyor). */
.necox-hf-darkmode__moon { display: none; }
html.dark-mode .necox-hf-darkmode__sun,
.necox-hf-darkmode.is-dark-active .necox-hf-darkmode__sun { display: none; }
html.dark-mode .necox-hf-darkmode__moon,
.necox-hf-darkmode.is-dark-active .necox-hf-darkmode__moon { display: block; }

/* ── Bosluk (Spacer) ── */
.necox-hf-spacer { flex-shrink: 0; }

/* Login Butonu */
.necox-hf-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--necox-primary);
    border: 1px solid var(--necox-primary);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s;
}
.necox-hf-login-btn:hover {
    background: var(--necox-primary);
    color: #ffffff;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   YENI ELEMENTLER — v2.25.2
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Ilan Ver Butonu (CTA) */
.necox-hf-post-ad {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-weight: 600;
    text-decoration: none;
}
.necox-hf-post-ad svg {
    flex-shrink: 0;
}

/* Bildirim & Favori ortak */
.necox-hf-notification,
.necox-hf-favorites {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: inherit;
    text-decoration: none;
    border-radius: 50%;
    transition: background 0.15s;
}
.necox-hf-notification:hover,
.necox-hf-favorites:hover {
    background: rgba(0,0,0,0.06);
}

/* Badge (bildirim/favori sayaci) */
.necox-hf-badge {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    color: #ffffff;
    background: var(--necox-danger, #ef4444);
    border-radius: 16px;
}

/* HTML Blok */
.necox-hf-html {
    display: flex;
    align-items: center;
}

/* Arama Kutusu */
.necox-hf-search-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}
.necox-hf-search-box__input {
    width: 100%;
    height: 38px;
    padding: 0 40px 0 14px;
    font-size: 14px;
    border: 1px solid var(--necox-border);
    border-radius: 8px;
    outline: none;
    background: transparent;
    color: inherit;
    transition: border-color 0.15s;
}
.necox-hf-search-box__input:focus {
    border-color: var(--necox-primary);
}
.necox-hf-search-box__btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    cursor: pointer;
    color: inherit;
    opacity: 0.6;
}
.necox-hf-search-box__btn:hover {
    opacity: 1;
}

/* Widget Alani */
.necox-hf-widget-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Koyu/Acik Mod Toggle */
.necox-hf-darkmode {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    cursor: pointer;
    color: inherit;
    border-radius: 50%;
    transition: background 0.15s;
}
.necox-hf-darkmode:hover {
    background: rgba(0,0,0,0.06);
}
.necox-hf-darkmode__moon {
    display: none;
}
/* v7.17.74 — preset tabanli ikon (.is-dark-active) + eski html.dark-mode (zararsiz). */
html.dark-mode .necox-hf-darkmode__sun,
.necox-hf-darkmode.is-dark-active .necox-hf-darkmode__sun {
    display: none;
}
html.dark-mode .necox-hf-darkmode__moon,
.necox-hf-darkmode.is-dark-active .necox-hf-darkmode__moon {
    display: block;
}

/* Bosluk (Spacer) */
.necox-hf-spacer {
    display: block;
    flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════════════════════
   LANG SWITCHER — HF ELEMENT (v3.68.0)
   Yeni HF Builder element class isimleri ile uyumlu (eski classlar yukarda).
   ════════════════════════════════════════════════════════════════════════════ */

.necox-lang-switcher {
    --ls-color: var(--necox-lang-color, var(--necox-text, #2A3254));
    --ls-bg: var(--necox-lang-bg, transparent);
    --ls-hover-bg: var(--necox-lang-hover-bg, rgba(42, 50, 84, 0.06));
    --ls-border: var(--necox-lang-border, transparent);
    --ls-size: var(--necox-lang-size, 14px);
    --ls-radius: var(--necox-lang-radius, 8px);
    /* v8.3.253 — border KALINLIGI kanali (K3/K2 ayari). Onceden __btn border'i
       sabit 1px'ti ve kalinligi hic okumuyordu -> "0 yazinca border kalkmiyor".
       Simdi --ls-border-w (K3 render / fonts.php K2 emit) okunur; yoksa 1px.
       --ls-brd-clr, eski --ls-border (renk) kanaliyla ayni kaynaga duser.
       NOT: degisken adi "border-color" ICERMEZ (--ls-brd-clr) cunku WP global-styles
       "html :where([style*=border-color])" kurali root'a yanlislikla solid border basiyordu. */
    --ls-border-w: var(--necox-lang-border-w, 1px);
    --ls-brd-clr: var(--necox-lang-border, transparent);
    position: relative;
    display: inline-flex;
}

/* ── Dropdown stili ── */
.necox-lang-switcher__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--ls-bg);
    color: var(--ls-color);
    /* v8.3.253 — kalinlik --ls-border-w (0px yazilinca border kalkar), renk --ls-brd-clr */
    border: var(--ls-border-w, 1px) solid var(--ls-brd-clr, var(--ls-border, transparent));
    border-radius: var(--ls-radius);
    font-family: inherit;
    font-size: var(--ls-size);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}
.necox-lang-switcher__btn:hover {
    background: var(--ls-hover-bg);
}
.necox-lang-switcher__btn:focus-visible {
    outline: 2px solid var(--necox-primary);
    outline-offset: 2px;
}
.necox-lang-switcher__flag {
    font-size: 1.1em;
    line-height: 1;
}
.necox-lang-switcher__name {
    font-weight: 500;
}
.necox-lang-switcher__caret {
    margin-left: 2px;
    transition: transform 0.2s;
    color: currentColor;
}
.necox-lang-switcher.is-open .necox-lang-switcher__caret {
    transform: rotate(180deg);
}

/* Dropdown menu */
.necox-lang-switcher__menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 180px;
    background: white;
    border: 1px solid var(--necox-border);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(42, 50, 84, 0.12);
    list-style: none;
    margin: 0;
    padding: 6px;
    z-index: 9999;
    display: none;
    flex-direction: column;
    gap: 2px;
}
.necox-lang-switcher.is-open .necox-lang-switcher__menu {
    display: flex;
    animation: necox-lang-fade-in 0.15s ease-out;
}
@keyframes necox-lang-fade-in {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
.necox-lang-switcher__menu li { margin: 0; }

.necox-lang-switcher__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--necox-text);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.12s;
}
.necox-lang-switcher__item:hover {
    background: rgba(42, 50, 84, 0.04);
}
.necox-lang-switcher__item.is-active {
    background: rgba(255, 204, 4, 0.12);
    color: var(--necox-text);
    font-weight: 600;
}
.necox-lang-switcher__check {
    margin-left: auto;
    color: var(--necox-success);
}

/* ── Inline stili (yatay liste) ── */
.necox-lang-switcher--inline {
    gap: 4px;
    padding: 4px;
    background: var(--ls-bg);
    border: 1px solid var(--ls-border);
    border-radius: var(--ls-radius);
}
.necox-lang-switcher__inline-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    color: var(--ls-color);
    text-decoration: none;
    font-size: var(--ls-size);
    font-weight: 500;
    border-radius: calc(var(--ls-radius) - 2px);
    transition: all 0.12s;
    opacity: 0.6;
}
.necox-lang-switcher__inline-item:hover {
    opacity: 1;
    background: var(--ls-hover-bg);
}
.necox-lang-switcher__inline-item.is-active {
    opacity: 1;
    background: rgba(255, 204, 4, 0.18);
    color: var(--necox-text);
    font-weight: 700;
}

/* RTL ozellikler */
.necox-rtl .necox-lang-switcher__menu {
    right: auto;
    left: 0;
}
.necox-rtl .necox-lang-switcher__check {
    margin-left: 0;
    margin-right: auto;
}

/* Mobil */
@media (max-width: 600px) {
    /* v8.3.256 B5 — SOLO-NAME istisnasi: bayrak+kod KAPALI, tek gorunur parca AD ise
       adi gizlemek butonu/linkleri BOS birakiyordu (v254 parca kombinasyonlariyla celiski).
       Render bu durumda root'a .necox-ls-solo-name basar (hf-elements.php) -> ad korunur. */
    .necox-lang-switcher:not(.necox-ls-solo-name) .necox-lang-switcher__name {
        display: none; /* Mobilde sadece bayrak/kod */
    }
    .necox-lang-switcher__btn {
        padding: 8px 10px;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* AD NO SEARCH (Ilan No Ara HF Element)      */
/* v3.72.3                                    */
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.necox-ans {
    --necox-ans-color: var(--necox-header-text, #2A3254);
    --necox-ans-bg: rgba(255, 204, 4, 0.12);
    --necox-ans-bg-hover: rgba(255, 204, 4, 0.22);
    --necox-ans-accent: #FFCC04;
    --necox-ans-width: 220px;

    position: relative;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

/* Toggle button (icon / icon_label modlari) */
.necox-ans__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--necox-ans-bg);
    color: var(--necox-ans-color);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, transform 0.05s;
    font-family: inherit;
}
.necox-ans__toggle:hover {
    background: var(--necox-ans-bg-hover);
    border-color: rgba(255, 204, 4, 0.4);
}
.necox-ans__toggle:active {
    transform: translateY(1px);
}
.necox-ans.is-open .necox-ans__toggle {
    background: var(--necox-ans-bg-hover);
    border-color: var(--necox-ans-accent);
}
.necox-ans__icon {
    font-size: 14px;
    font-weight: 700;
    color: var(--necox-ans-accent);
    font-feature-settings: "tnum";
    letter-spacing: 0;
}
.necox-ans__label {
    font-size: 13px;
    font-weight: 600;
}

/* Sadece icon mod — kompakt 36x36 daire benzeri */
.necox-ans--icon .necox-ans__toggle {
    padding: 8px 11px;
}

/* Popover */
.necox-ans__popover {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 1000;
    min-width: 280px;
    max-width: 320px;
    background: #fff;
    border: 1px solid rgba(42, 50, 84, 0.10);
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(42, 50, 84, 0.15);
    padding: 14px;
    animation: necoxAnsFadeIn 0.18s ease;
}
@keyframes necoxAnsFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}
.necox-ans__popover::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 16px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid rgba(42, 50, 84, 0.10);
    border-top: 1px solid rgba(42, 50, 84, 0.10);
    transform: rotate(45deg);
}
.necox-ans__popover-label {
    display: block;
    font-size: 12px;
    color: var(--necox-muted);
    margin-bottom: 8px;
    font-weight: 500;
}
.necox-ans__popover-row {
    display: flex;
    align-items: stretch;
    gap: 6px;
    background: var(--necox-card-bg);
    border: 1px solid #e4e6ec;
    border-radius: 8px;
    padding: 4px 4px 4px 10px;
}
.necox-ans__popover-row:focus-within {
    border-color: var(--necox-ans-accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 204, 4, 0.14);
}
.necox-ans__popover-hint {
    margin-top: 6px;
    font-size: 11px;
    color: var(--necox-muted);
    text-align: right;
}

/* Form — inline mod ve popover ortak */
.necox-ans__form {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}
.necox-ans--inline .necox-ans__form {
    background: var(--necox-card-bg);
    border: 1px solid #e4e6ec;
    border-radius: 8px;
    padding: 4px 4px 4px 10px;
    width: var(--necox-ans-width);
    transition: border-color 0.15s;
}
.necox-ans--inline .necox-ans__form:focus-within {
    border-color: var(--necox-ans-accent);
    background: #fff;
}

.necox-ans__hash {
    color: var(--necox-ans-accent);
    font-weight: 700;
    font-size: 14px;
    margin-right: 4px;
    user-select: none;
}
.necox-ans__input {
    flex: 1;
    border: 0;
    background: transparent;
    outline: 0;
    font-size: 14px;
    font-feature-settings: "tnum";
    letter-spacing: 0.3px;
    color: var(--necox-text);
    padding: 6px 4px;
    min-width: 0;
}
.necox-ans__input::placeholder {
    color: var(--necox-muted);
    font-weight: 400;
    letter-spacing: normal;
}
.necox-ans__btn {
    background: var(--necox-ans-accent);
    color: var(--necox-text);
    border: 0;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, transform 0.05s;
    font-family: inherit;
    white-space: nowrap;
}
.necox-ans__btn:hover {
    background: var(--necox-primary);
}
.necox-ans__btn:active {
    transform: translateY(1px);
}

/* Mobil responsive — popover sag tasmasin */
@media (max-width: 640px) {
    .necox-ans__popover {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        min-width: 260px;
    }
    .necox-ans__popover::before {
        right: auto;
        left: 50%;
        margin-left: -6px;
    }
    .necox-ans--inline .necox-ans__form {
        width: 180px;
    }
}

/* Shortcode form (basit varyant) */
.necox-ad-no-search-form {
    display: inline-flex;
    align-items: center;
    background: var(--necox-card-bg);
    border: 1px solid #e4e6ec;
    border-radius: 8px;
    padding: 4px 4px 4px 10px;
    max-width: 280px;
    transition: border-color 0.15s;
}
.necox-ad-no-search-form:focus-within {
    border-color: var(--necox-primary);
    background: #fff;
}
.necox-ad-no-search-form__hash {
    color: var(--necox-primary);
    font-weight: 700;
    margin-right: 4px;
    user-select: none;
}
.necox-ad-no-search-form__input {
    flex: 1;
    border: 0;
    background: transparent;
    outline: 0;
    font-size: 14px;
    padding: 6px 4px;
    font-feature-settings: "tnum";
    color: var(--necox-text);
    min-width: 0;
}
.necox-ad-no-search-form__btn {
    background: var(--necox-primary);
    color: var(--necox-text);
    border: 0;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}
.necox-ad-no-search-form__btn:hover {
    background: var(--necox-primary);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   v7.16.8.25 — CANLI AKTIVITE BUBBLE CSS (header.css'e tasindi)
   KOK NEDEN: CSS daha once search-results.css icindeydi — o dosya sadece
   /ilan-ara/ sayfasinda yukleniyordu. Anasayfa / ilan detay / profil gibi
   sayfalarda CSS hic yoktu: position:static + width:1690px + top:2321px →
   bubble gorünmüyordu. header.css tum sayfalarda yuklendiginden burada
   tanimlandi. EKLENEN DUZELTME: anim-bounce/fade/scale gizli halinde
   transform:!important kullaniyordu → pozisyon class'larinin translateX'ini
   eziyordu → slide disi animasyonlarda bubble yanlis konumda kaliyordu.
   Duzeltme: gizli halde sadece opacity:0, transform pozisyon class'ina birakild.
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.necox-activity-bubble {
    position: fixed;
    z-index: 9000;
    width: 320px;
    max-width: calc(100vw - 48px);
    /* --necox-white: solid kart zemini (preset'lerde gradient olmayan).
       --necox-bg gradient string tutabilir (midnight_blue) → background-color'a
       gecersiz degil olarak fallback #fff'e dusuyordu. white her zaman solid. */
    background: var(--necox-white, #ffffff);
    color: var(--necox-color, #1a1a2e);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.18), 0 4px 12px rgba(0,0,0,0.10);
    border: 1px solid var(--necox-border, rgba(0,0,0,0.06));
    opacity: 0;
    overflow: hidden;
}
.necox-activity-bubble[hidden] { display: none !important; }

/* Pozisyon varyantlari */
.necox-activity-bubble--pos-bottom-right { bottom: 24px; right: 24px; transform: translateX(380px); }
.necox-activity-bubble--pos-bottom-left  { bottom: 24px; left:  24px; transform: translateX(-380px); }
.necox-activity-bubble--pos-top-right    { top:  80px;   right: 24px; transform: translateX(380px); }
.necox-activity-bubble--pos-top-left     { top:  80px;   left:  24px; transform: translateX(-380px); }

/* Animasyon: Slide (default) — transform ile kayar */
.necox-activity-bubble--anim-slide {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
}
.necox-activity-bubble--anim-slide.necox-activity-bubble--visible {
    transform: translateX(0);
    opacity: 1;
}

/* Animasyon: Fade — sadece opacity, transform pozisyon class'ina kalir (no !important) */
.necox-activity-bubble--anim-fade {
    transition: opacity 0.4s ease-out;
}
.necox-activity-bubble--anim-fade.necox-activity-bubble--visible {
    transform: translateX(0);
    opacity: 1;
}

/* Animasyon: Bounce — gizli: opacity 0, transform pozisyon class'ina birakild */
.necox-activity-bubble--anim-bounce {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
}
.necox-activity-bubble--anim-bounce.necox-activity-bubble--visible {
    transform: translateX(0) scale(1);
    opacity: 1;
}

/* Animasyon: Scale — kucukten buyur */
.necox-activity-bubble--anim-scale {
    transform-origin: bottom right;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
}
.necox-activity-bubble--anim-scale.necox-activity-bubble--pos-bottom-left { transform-origin: bottom left; }
.necox-activity-bubble--anim-scale.necox-activity-bubble--pos-top-right   { transform-origin: top right; }
.necox-activity-bubble--anim-scale.necox-activity-bubble--pos-top-left    { transform-origin: top left; }
.necox-activity-bubble--anim-scale.necox-activity-bubble--visible {
    transform: translateX(0) scale(1);
    opacity: 1;
}

/* Tema varyantlari — preset uyumlu
   LIGHT: --necox-white (her presette solid kart zemini) + --necox-border + --necox-color
   DARK:  --necox-card-bg (dark presetlerde #002040/#111827 gibi koyu solid yuzey;
          light presetlerde #fff — o nedenle fallback olarak #1a1f36 hardcoded koyu) */
.necox-activity-bubble--theme-light {
    background: var(--necox-white, #ffffff);
    border-color: var(--necox-border, rgba(0,0,0,0.08));
    color: var(--necox-color, #1a1a2e);
}
.necox-activity-bubble--theme-light .necox-activity-bubble__title { color: var(--necox-color, #1a1a2e); }
.necox-activity-bubble--theme-light .necox-activity-bubble__meta  { color: var(--necox-muted, #6b7280); }
.necox-activity-bubble--theme-dark {
    /* --necox-card-bg: ocean_deep=#002040, midnight=#111827, super/editorial=#fff
       Eger card_bg acik renk ise (light preset) #1a1f36 koyu devreye girer (CSS min() yok,
       fallback zinciri: var(--necox-bubble-dark-bg, #1a1f36) kullaniyoruz).
       --necox-bubble-dark-bg: fonts.php tarafindan dark presetlerde card_bg,
       light presetlerde sabit koyu olarak yazilir (asagida). */
    background: var(--necox-bubble-dark-bg, #1a1f36);
    border-color: var(--necox-bubble-dark-border, rgba(255,255,255,0.12));
    color: #e5e7eb;
}
.necox-activity-bubble--theme-dark .necox-activity-bubble__title { color: #f1f5f9; }
.necox-activity-bubble--theme-dark .necox-activity-bubble__meta  { color: #94a3b8; }

/* Tip-bazli label renkleri */
.necox-activity-bubble--type-new .necox-activity-bubble__label        { color: var(--necox-primary, #2A3254); }
.necox-activity-bubble--type-price-drop .necox-activity-bubble__label { color: var(--necox-success); }
.necox-activity-bubble--type-promoted .necox-activity-bubble__label   { color: #a855f7; }
.necox-activity-bubble--type-favorited .necox-activity-bubble__label  { color: #ec4899; }

.necox-activity-bubble__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    text-decoration: none;
    color: inherit;
    position: relative;
}
.necox-activity-bubble__thumb {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-color: var(--necox-bg-soft, #f3f4f6);
    flex-shrink: 0;
    position: relative;
}
.necox-activity-bubble__thumb::before {
    content: '';
    position: absolute;
    top: -3px; right: -3px;
    width: 12px; height: 12px;
    background: var(--necox-success);
    border-radius: 50%;
    border: 2px solid var(--necox-bg, #fff);
    animation: necox-activity-dot-pulse 1.5s infinite;
}
.necox-activity-bubble__thumb--empty::after {
    content: 'X';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--necox-muted, #9ca3af);
}
@keyframes necox-activity-dot-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.6); }
    50%       { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}
.necox-activity-bubble__body  { flex: 1; min-width: 0; }
.necox-activity-bubble__label {
    font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
    color: var(--necox-primary, #2A3254);
    margin-bottom: 2px;
}
.necox-activity-bubble__title {
    font-size: 13px; font-weight: 600;
    color: var(--necox-color, #1a1a2e);
    line-height: 1.3;
    overflow: hidden; text-overflow: ellipsis;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    margin-bottom: 4px;
}
.necox-activity-bubble__meta {
    font-size: 11px;
    color: var(--necox-muted, #6b7280);
    display: flex; gap: 4px; align-items: center;
}
.necox-activity-bubble__close {
    position: absolute; top: 6px; right: 6px;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: transparent; border: none;
    color: var(--necox-muted, #6b7280);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    padding: 0; opacity: 0.5;
    transition: opacity 0.2s, background 0.2s;
}
.necox-activity-bubble__close:hover {
    opacity: 1;
    background: var(--necox-bg-soft, #f3f4f6);
}

/* Mobilde daha kucuk + pozisyon normalize */
@media (max-width: 480px) {
    .necox-activity-bubble { width: 260px; max-width: calc(100vw - 24px); }
    .necox-activity-bubble--pos-top-right    { top: 60px !important; right: 12px !important; bottom: auto !important; left: auto !important; }
    .necox-activity-bubble--pos-top-left     { top: 60px !important; left: 12px !important;  bottom: auto !important; right: auto !important; }
    .necox-activity-bubble--pos-bottom-right { bottom: 12px !important; right: 12px !important; top: auto !important; left: auto !important; }
    .necox-activity-bubble--pos-bottom-left  { bottom: 12px !important; left: 12px !important;  top: auto !important; right: auto !important; }
    .necox-activity-bubble__link  { padding: 10px; gap: 8px; }
    .necox-activity-bubble__thumb { width: 44px; height: 44px; flex-shrink: 0; }
    .necox-activity-bubble__title { font-size: 12px; line-height: 1.3; }
    .necox-activity-bubble__label { font-size: 9px; }
    .necox-activity-bubble__meta  { font-size: 10px; }
    .necox-activity-bubble__body  { min-width: 0; }
}
