/* ALO-DARK v2: alokatalog tek merkez koyu tema. Acik tema degismez. Gri degerleri buradan ayarla. */
html.dark{--ad-band:#5a5a5a;--ad-l1:#3a3a3a;--ad-l2:#454545;--ad-l3:#505050;--ad-pop:#3f3f3f;--ad-line:#5f5f5f;--ad-text:#e5e7eb;--ad-muted:#c4c4c4;--ad-head:#f8fafc}
html.dark body:not(#ad){color:var(--ad-text)}
/* 1) katmanli kutular: en dis l1, ic ice l2, en ic l3 */
html.dark body:not(#ad) :is(.bg-white,.bg-gray-50,.bg-gray-100,.bg-slate-50,.bg-slate-100,.bg-neutral-50,.bg-neutral-100,.bg-amber-50,.bg-indigo-50,.bg-blue-50,.bg-green-50,.bg-orange-50,.bg-orange-100,.bg-red-50,.bg-yellow-50,.bg-teal-50){background-color:var(--ad-l1) !important;border-color:var(--ad-line)}
html.dark body:not(#ad) :is(.bg-white,.bg-gray-50,.bg-gray-100,.bg-slate-50,.bg-slate-100,.bg-neutral-50,.bg-neutral-100,.bg-amber-50,.bg-indigo-50,.bg-blue-50,.bg-green-50,.bg-orange-50,.bg-orange-100,.bg-red-50,.bg-yellow-50,.bg-teal-50) :is(.bg-white,.bg-gray-50,.bg-gray-100,.bg-slate-50,.bg-slate-100,.bg-neutral-50,.bg-neutral-100,.bg-amber-50,.bg-indigo-50,.bg-blue-50,.bg-green-50,.bg-orange-50,.bg-orange-100,.bg-red-50,.bg-yellow-50,.bg-teal-50){background-color:var(--ad-l2) !important}
html.dark body:not(#ad) :is(.bg-white,.bg-gray-50,.bg-gray-100,.bg-slate-50,.bg-slate-100,.bg-neutral-50,.bg-neutral-100,.bg-amber-50,.bg-indigo-50,.bg-blue-50,.bg-green-50,.bg-orange-50,.bg-orange-100,.bg-red-50,.bg-yellow-50,.bg-teal-50) :is(.bg-white,.bg-gray-50,.bg-gray-100,.bg-slate-50,.bg-slate-100,.bg-neutral-50,.bg-neutral-100,.bg-amber-50,.bg-indigo-50,.bg-blue-50,.bg-green-50,.bg-orange-50,.bg-orange-100,.bg-red-50,.bg-yellow-50,.bg-teal-50) :is(.bg-white,.bg-gray-50,.bg-gray-100,.bg-slate-50,.bg-slate-100,.bg-neutral-50,.bg-neutral-100,.bg-amber-50,.bg-indigo-50,.bg-blue-50,.bg-green-50,.bg-orange-50,.bg-orange-100,.bg-red-50,.bg-yellow-50,.bg-teal-50){background-color:var(--ad-l3) !important}
/* 2) yazi: baslik kalin ve acik, paragraf duz */
html.dark body:not(#ad) :is(h1,h2,h3,h4,h5,h6):not([class*="dark:text"]):not([class*="text-white"]):not([class*="text-primary"]){color:var(--ad-head) !important}
html.dark body:not(#ad) :is(h1,h2){font-weight:800}
html.dark body:not(#ad) :is(.text-black,.text-gray-900,.text-gray-800,.text-gray-700,.text-gray-600,.text-slate-900,.text-slate-800,.text-slate-700,.text-slate-600,.text-neutral-900,.text-neutral-800,.text-zinc-800,.text-amber-800,.text-amber-700,.text-indigo-800,.text-indigo-700,.text-blue-800,.text-green-800,.text-red-800):not([class*="dark:text"]){color:var(--ad-text) !important}
html.dark body:not(#ad) :is(.text-gray-500,.text-gray-400,.text-slate-500,.text-slate-400):not([class*="dark:text"]){color:var(--ad-muted) !important}
/* 3) form alanlari */
html.dark body:not(#ad) :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=submit]){background-color:var(--ad-l3) !important;color:var(--ad-text) !important;border-color:var(--ad-line) !important}
/* madde 1: header sari zeminde yazi ve simge koyu */
html.dark body:not(#ad) #site-header :is(span,a,button,i,svg){color:#1f2937 !important}
html.dark body:not(#ad) #site-header #kartcount11{color:#fff !important}
/* madde 4: dokunmada mavi cerceve yok, klavyede kalir */
html.dark body:not(#ad) :is(a,button):focus:not(:focus-visible){outline:none !important}
/* madde 2: mini sepet */
html.dark body:not(#ad) #site-header #kartpanel11{background-color:var(--ad-l1) !important;border:1px solid var(--ad-line)}
html.dark body:not(#ad) #site-header #kartpanel11 *{color:var(--ad-text) !important}
html.dark body:not(#ad) #site-header #kartpanel11 .kartbtn-pri11{color:#111827 !important}
html.dark body:not(#ad) .kartimg11{background-color:var(--ad-l3) !important}
/* madde 3: mobil menu */
html.dark body:not(#ad) #mobile-menu-sidebar{background-color:var(--ad-l1) !important}
html.dark body:not(#ad) #site-header #mobile-menu-sidebar :is(a,span,div,p,li,button,h1,h2,h3,h4){color:var(--ad-text) !important}
html.dark body:not(#ad) #mobile-menu-sidebar :is(ul,ol,details){background-color:var(--ad-l2) !important}
/* madde 5: sayfa baslik bandi (satir ici beyaz) */
html.dark body:not(#ad) :is([style*="background-color: #fff"],[style*="background:#fff"],[style*="background: #fff"]){background-color:var(--ad-band) !important}
/* madde 6: sepet kartlari */
html.dark body:not(#ad) :is(.trash-btn,.process-flow-day,img.prod-img){background-color:var(--ad-l3) !important;border-color:var(--ad-line) !important}
html.dark body:not(#ad) .process-flow-day{color:var(--ad-text) !important}
/* madde 7: arama acilir liste dolu */
html.dark body:not(#ad) #search-results-popup{background-color:var(--ad-pop) !important;border:1px solid var(--ad-line) !important;opacity:1 !important}
html.dark body:not(#ad) #site-header #search-results-popup *{color:var(--ad-text) !important}
html.dark body:not(#ad) #search-results-popup :is(a,div,li):hover{background-color:var(--ad-l3) !important}
/* madde 8: odeme beyaz satirlar */
html.dark body:not(#ad) div.text-left.font-bold.text-gray-700{background-color:var(--ad-l1) !important}
/* sepet: uretim adimlari, kargo ve ozet */
html.dark body:not(#ad) .process-flow-day *{color:var(--ad-text) !important}
html.dark body:not(#ad) :is(.meta-cargo-price,.cargo-paid,.process-flow-title){color:var(--ad-text) !important}
html.dark body:not(#ad) :is(.text-green-500,.text-green-600){color:#4ade80 !important}
html.dark body:not(#ad) :is(.text-red-500,.text-red-600){color:#f87171 !important}
html.dark body:not(#ad) .summary-card{background-color:var(--ad-l1) !important}
/* pb-band-cizgi: sepet bandi altindaki beyaz cizgi kalksin */
html.dark body:not(#ad) [style*="border-bottom: 1px solid #eee"]{border-bottom:0 !important}

/* v2 ekler */
html.dark body:not(#ad) :is(.item-card,.summary-card,.process-summary-card){background-color:var(--ad-l1) !important;border-color:var(--ad-line) !important}
html.dark body:not(#ad) #site-header button[aria-label="Üye girişi"] *{color:#1f2937 !important}
html.dark body:not(#ad) button.bg-primary{color:#111827 !important}
html.dark body:not(#ad) .upload-icon{color:#e5e7eb !important}
html.dark body:not(#ad) .trash-btn *{color:#fca5a5 !important}
/* v4: dark: sinifiyla koyulastirilmis yazilar, uyari kirmizisi, yukleme ve ana buton */
html.dark body:not(#ad) :is([class*="dark:text-gray-700"],[class*="dark:text-gray-800"],[class*="dark:text-gray-900"],[class*="dark:text-slate-700"],[class*="dark:text-slate-800"],[class*="dark:text-slate-900"]){color:var(--ad-muted) !important}
html.dark body:not(#ad) :is(.text-red-500,.text-red-600){color:#fca5a5 !important}
html.dark body:not(#ad) .upload-text{color:var(--ad-text) !important}
html.dark body:not(#ad) #btn-main-action{background-color:#15803d !important}
/* v5: mobil menu kimlik tabanli (govde ozniteligine bagli degil) */
html.dark #mobile-menu-sidebar{background-color:var(--ad-l1) !important}
html.dark #mobile-menu-sidebar :is(a,span,div,p,li,button,h1,h2,h3,h4):not(.bg-primary){color:var(--ad-text) !important}
html.dark #mobile-menu-sidebar :is(ul,ol,details){background-color:var(--ad-l2) !important}
html.dark #mobile-menu-sidebar .bg-primary{color:#111827 !important}
/* v5: arama sonuc satirlari: resim sola, yazi ve fiyat one */
#search-results-popup{padding:8px !important}
#search-results-popup a{padding-left:12px !important;padding-right:10px !important;gap:12px !important;justify-content:flex-start !important}
