/* ==========================================================================
   TODI — LİSTE katmanı "Görsel Raf" (perfect.css + todi.css'ten sonra; temaheader yalnız liste rotalarında yükler)
   Kategori · arama · liste şablonu (çok satanlar, günün fırsatı, flaş…).
   Gri sayfa zemini: Klasör Sekmesi kırıntısına bağlı beyaz başlık kartı (kategoride görselli alt kategori rafı) →
   gri zeminde araç satırı (Filtreler, aktif filtre çipleri, sonuç, hap sıralama) → pfUrunKart ızgarası →
   "Daha Fazla Ürün" / hap sayfalama. Filtreler sağdan (mobilde alttan) açılan çekmecede.
   Renkler yalnız todi.css / perfect.css belirteçlerinden (panelden değişir).
   Not: basic.css `* { outline: 0 !important }` klavye odağını sildiği için odak halkaları !important.
   ========================================================================== */
.el-liste {
  --ls-sutun: 5;
  --ls-ara: 16px;
  --ls-tehlike: #B42318;
  --ls-tehlike-zemin: #FEF1F0;
  --ls-temizle: #C2410C;
  padding-bottom: 64px;
  color: var(--el-ink);
}
.el-liste *, .el-liste *::before, .el-liste *::after { box-sizing: border-box; }
.el-ls-gizli { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
body.el-govde .el-liste :focus-visible { outline: 2px solid var(--pf-primary) !important; outline-offset: 2px; }

/* ---------------- BAŞLIK KARTI (ilk kart: Klasör Sekmesi kırıntısı üstüne bağlanır) ---------------- */
.el-kt-kart { background: var(--el-kart); border: 1px solid var(--el-cizgi-2); border-radius: var(--el-r-xl); }
.el-liste > .ks-sutun { margin: 0 0 4px; }
.el-kt-bas { padding: 24px 28px; }
.el-kt-bas-sat { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.el-kt-bas-yazi { display: flex; flex-direction: column; gap: 8px; min-width: 0; max-width: 760px; }
.el-kt-bas h1 { margin: 0; font-size: 30px; font-weight: 700; letter-spacing: -.5px; line-height: 1.2; color: var(--el-ink); overflow-wrap: anywhere; }
.el-kt-sayi { margin-left: 8px; font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--el-ink-3); white-space: nowrap; }
.el-kt-bas-not { margin: 0; font-size: 14px; color: var(--el-ink-3); white-space: nowrap; }
.el-kt-aciklama { margin: 0; font-size: 14px; line-height: 1.6; color: var(--el-ink-2); }

/* görselli alt kategori rafı (sayfanın ana gezinmesi) */
.el-kt-raf { margin: 20px 0 0; }
/* sabit (tam sayı) sütun: 1fr kesirli genişlik verince görsel yüksekliği .47/.50 px oynuyor, etiketler 1px kayıyordu */
.el-kt-raf ul { display: grid; grid-template-columns: repeat(auto-fill, 108px); justify-content: space-between; gap: 16px 12px; margin: 0; padding: 0; list-style: none; }
.el-kt-raf li { min-width: 0; }
.el-kt-raf-kutu { display: flex; flex-direction: column; gap: 10px; min-width: 0; border-radius: 18px; color: var(--el-ink); text-align: center; text-decoration: none; }
.el-kt-raf-gorsel { position: relative; display: grid; place-items: center; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 18px; background: var(--el-zemin); color: var(--el-ink-2); }
.el-kt-raf-gorsel::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; transition: box-shadow .15s; }
/* multiply: beyaz kenar boşluklu ürün fotoğraflarında (ör. teknoloji) karo şekli gri zeminde kaybolmasın — ürün kartıyla aynı dil */
.el-kt-raf-gorsel img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 22%; mix-blend-mode: multiply; transition: transform .4s ease; }
.el-kt-raf-gorsel svg { width: 34px; height: 34px; }
.el-kt-raf-harf { font-size: 30px; font-weight: 700; color: var(--el-ink-3); }
.el-kt-raf-kutu b { overflow: hidden; font-size: 14px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.el-kt-raf-kutu em { margin-top: -6px; font-size: 12px; font-style: normal; color: var(--el-ink-3); }
.el-kt-raf-kutu:hover { color: var(--el-ink); }
.el-kt-raf-kutu:hover b { color: var(--pf-primary-text); }
.el-kt-raf-kutu:hover .el-kt-raf-gorsel img { transform: scale(1.05); }
.el-kt-raf-kutu:hover .el-kt-raf-gorsel::after { box-shadow: inset 0 0 0 1px var(--pf-primary-line); }
.el-kt-raf-kutu.aktif .el-kt-raf-gorsel::after { box-shadow: inset 0 0 0 2px var(--pf-primary); }
.el-kt-raf-kutu.tumu.aktif .el-kt-raf-gorsel { background: var(--pf-primary-soft); color: var(--pf-primary-text); }
.el-kt-raf-kutu.aktif b { color: var(--pf-primary-text); }

/* gün sonu sayacı (günün fırsatları) */
.pf-ls-sayac { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--el-ink-2); font-size: 14px; font-weight: 500; }
.pf-ls-sayac > span { margin-right: 4px; }
.pf-ls-sayac b { display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 8px; border-radius: var(--el-r-s); background: var(--el-lacivert); color: #fff; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pf-ls-sayac i { font-style: normal; font-weight: 700; color: var(--el-ink-3); }

/* ipucu (arama: yazım benzerliği) */
.el-ls-ipucu { display: flex; align-items: center; gap: 12px; margin: 16px 0 0; padding: 14px 18px; border-radius: var(--el-r-l); background: var(--pf-primary-tint); border: 1px solid var(--pf-primary-soft); color: var(--pf-primary-text); font-size: 14px; font-weight: 500; }
.el-ls-ipucu svg { flex: none; width: 20px; height: 20px; }

/* hap bağlantılar (boş arama önerileri) */
.el-ls-haplar { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.el-ls-hap { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; background: var(--el-zemin); color: var(--el-ink); font-size: 14px; font-weight: 500; white-space: nowrap; text-decoration: none; transition: background .15s, color .15s; }
.el-ls-hap:hover { background: var(--pf-primary-soft); color: var(--pf-primary-text); }

/* ---------------- ARAÇ SATIRI (gri zeminde) ---------------- */
.el-kt-arac { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 22px 0 16px; }
.el-kt-arac form { margin: 0; }
.el-liste .el-kt-filtre-btn { order: 1; flex: none; height: 44px; padding: 0 20px; font-size: 14px; }
.el-liste .el-kt-filtre-btn svg { width: 18px; height: 18px; flex: none; }
.el-liste .bp-kat-filter-badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: #fff; color: var(--el-buton); font-size: 12px; font-weight: 700; line-height: 1; }
.el-kt-cipler { order: 2; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; margin: 0; padding: 0; list-style: none; }
.el-liste .bp-kat-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 5px 0 14px; border: 1px solid var(--el-cizgi); border-radius: 999px; background: #fff; color: var(--el-ink); font-size: 14px; font-weight: 500; white-space: nowrap; }
.el-liste .bp-kat-chip-label { color: var(--el-ink-3); font-weight: 500; }
.el-liste .bp-kat-chip-remove { position: relative; display: grid; place-items: center; flex: none; width: 24px; height: 24px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: var(--el-zemin); color: var(--el-ink-2); cursor: pointer; transition: background .15s, color .15s; }
.el-liste .bp-kat-chip-remove svg { width: 13px; height: 13px; }
.el-liste .bp-kat-chip-remove:hover { background: var(--ls-tehlike-zemin); color: var(--ls-tehlike); }
.el-liste .el-kt-temizle { order: 3; display: inline-flex; align-items: center; height: 34px; padding: 0 4px; border: 0; background: none; color: var(--ls-temizle); font-family: inherit; font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.el-liste .el-kt-temizle:hover { text-decoration: underline; text-underline-offset: 3px; }
.el-kt-arac .el-ls-sonuc { order: 4; margin: 0 0 0 auto; }
.el-kt-arac .bp-kat-sort-form, .el-kt-arac .el-kt-sirala-form { order: 5; flex: none; min-width: 0; }
.el-ls-sonuc { color: var(--el-ink-2); font-size: 14px; font-weight: 500; white-space: nowrap; }
.el-ls-sonuc b { color: var(--el-ink); font-weight: 700; }

/* hap sıralama seçici */
.el-ls-sirala { position: relative; display: inline-flex; align-items: center; max-width: 100%; height: 44px; margin: 0; padding: 0 0 0 18px; border: 1px solid var(--el-cizgi); border-radius: 999px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.el-ls-sirala:hover { border-color: var(--pf-primary-line); }
.el-ls-sirala:focus-within { border-color: var(--pf-primary-line); box-shadow: 0 0 0 4px var(--pf-primary-tint); }
.el-ls-sirala > span { color: var(--el-ink-3); font-size: 14px; font-weight: 500; white-space: nowrap; }
.el-ls-sirala select { min-width: 0; max-width: 100%; height: 42px; margin: 0; padding: 0 44px 0 6px; border: 0; border-radius: 999px; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A94A6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 16px 16px; -webkit-appearance: none; appearance: none; color: var(--el-ink); font-family: inherit; font-size: 14px; font-weight: 600; text-overflow: ellipsis; cursor: pointer; outline: 0; }
body.el-govde .el-liste .el-ls-sirala select:focus-visible { outline: 0 !important; }
.el-kt-sirala-m { display: none; }

/* ---------------- ÜRÜN IZGARASI (pfUrunKart) ----------------
   urun_kart.php mobilde ızgarayı yatay şeride çevirir; liste sayfalarında gerçek ızgara kalır. */
.el-liste .bp-kat-wrapper { display: block; padding: 0; }
.el-liste .bp-kat-content { min-width: 0; }
body.el-govde .el-liste .el-ls-izgara { display: grid !important; grid-template-columns: repeat(var(--ls-sutun), minmax(0, 1fr)) !important; gap: var(--ls-ara) !important; overflow: visible !important; padding: 0 !important; scroll-snap-type: none !important; }
body.el-govde .el-liste .el-ls-izgara > .pf-uk { margin: 0 !important; width: auto; }
/* dar kartlarda (mobil 2 sütun) küçük yazılar 12px altına inmesin */
body.el-govde .el-liste .pf-uk .pf-uk-govde { --uk-kucuk: 12px; }
@container pfuk (max-width: 200px) { body.el-govde .el-liste .pf-uk-rozet { font-size: 12px; } }

/* ---------------- DAHA FAZLA / SAYFALAMA ---------------- */
.el-liste .bp-kat-load-more-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 24px; margin: 28px 0 0; }
.el-ls-sayfa-alan { display: flex; flex-direction: column; align-items: center; gap: 16px; margin: 28px 0 0; }
.el-liste .bp-kat-load-progress { display: flex; flex-direction: column; gap: 8px; width: 260px; max-width: 100%; }
.el-ls-sayfa-alan .bp-kat-load-progress { align-items: center; }
.el-liste .bp-kat-load-text { color: var(--el-ink-3); font-size: 14px; font-weight: 500; }
.el-liste .bp-kat-load-text b { color: var(--el-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.el-liste .bp-kat-load-bar { width: 100%; height: 6px; border-radius: 999px; background: #DDE2EA; overflow: hidden; }
.el-liste .bp-kat-load-bar-fill { height: 100%; border-radius: inherit; background: var(--pf-primary); transition: width .4s ease; }
.el-liste .bp-kat-load-more-btn { height: 48px; padding: 0 26px; }
.el-liste .bp-kat-load-more-btn svg { width: 18px; height: 18px; }
.el-liste .pf-ls-sayfalar { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.el-liste .pf-ls-sayfalar a, .el-liste .pf-ls-sayfalar span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--el-cizgi); border-radius: 999px; background: #fff; color: var(--el-ink-2); font-size: 14px; font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; transition: border-color .15s, color .15s; }
.el-liste .pf-ls-sayfalar a:hover { border-color: var(--pf-primary-line); color: var(--pf-primary-text); }
.el-liste .pf-ls-sayfalar .aktif { border-color: var(--el-buton); background: var(--el-buton); color: #fff; }
.el-liste .pf-ls-sayfalar .bos { border-color: transparent; background: transparent; color: var(--el-ink-3); }

/* ---------------- BOŞ / HATA DURUMU ---------------- */
.el-liste .bp-kat-empty-state, .el-liste .pf-ls-bosdurum { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 56px 24px 60px; background: var(--el-kart); border: 1px solid var(--el-cizgi-2); border-radius: var(--el-r-xl); }
.el-liste .pf-ls-bosdurum { margin-top: 22px; }
.el-ls-bos-ikon, .el-liste .bp-kat-empty-icon { position: relative; display: grid; place-items: center; width: 120px; height: 120px; margin: 0 0 22px; border-radius: 50%; background: var(--pf-primary-tint); opacity: 1; }
.el-ls-bos-ikon::before, .el-liste .bp-kat-empty-icon::before { content: ""; position: absolute; inset: 16px; border-radius: 50%; background: var(--pf-primary-soft); }
.el-ls-bos-ikon svg, .el-liste .bp-kat-empty-icon svg { position: relative; width: 48px; height: 48px; color: var(--pf-primary-text); }
.el-liste .bp-kat-empty-title, .el-liste .pf-ls-bosdurum h2 { margin: 0 0 8px; font-size: 22px; font-weight: 700; letter-spacing: -.3px; color: var(--el-ink); }
.el-liste .bp-kat-empty-desc, .el-liste .pf-ls-bosdurum p { max-width: 440px; margin: 0 0 24px; color: var(--el-ink-2); font-size: 15px; line-height: 1.6; }
.el-liste .bp-kat-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.el-liste .bp-kat-empty-actions .el-btn { height: 46px; padding: 0 24px; }

/* boş arama: yeniden ara + popüler kategoriler */
.el-ls-yeniden { display: flex; gap: 6px; width: 100%; max-width: 440px; margin: 0 0 18px; padding: 5px; border: 1px solid transparent; border-radius: 999px; background: var(--el-zemin); transition: border-color .15s, background .15s, box-shadow .15s; }
.el-ls-yeniden:focus-within { background: #fff; border-color: var(--pf-primary-line); box-shadow: 0 0 0 4px var(--pf-primary-tint); }
.el-ls-yeniden input { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border: 0; background: transparent; color: var(--el-ink); font-family: inherit; font-size: 15px; outline: 0; }
body.el-govde .el-liste .el-ls-yeniden input:focus-visible { outline: 0 !important; }
.el-ls-yeniden button { flex: none; height: 42px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--el-lacivert); color: #fff; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.el-ls-yeniden button:hover { filter: brightness(1.12); }
.el-ls-oneri { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 28px 0 0; }
.el-ls-oneri > span { color: var(--el-ink-3); font-size: 13px; font-weight: 600; }
.el-ls-oneri .el-ls-haplar { justify-content: center; }

/* ---------------- SON GÖRÜNTÜLENENLER (arama) ---------------- */
.el-liste .bp-discovery-strip { margin: 32px 0 0; padding: 20px 20px 22px; background: var(--el-kart); border: 1px solid var(--el-cizgi-2); border-radius: var(--el-r-xl); }
.el-liste .bp-discovery-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.el-liste .bp-discovery-title { margin: 0; font-size: 18px; font-weight: 700; color: var(--el-ink); }
.el-liste .bp-discovery-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 150px; gap: 12px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: thin; scrollbar-color: var(--el-cizgi) transparent; }
.el-liste .bp-discovery-card { display: flex; flex-direction: column; gap: 10px; color: var(--el-ink); text-decoration: none; }
.el-liste .bp-discovery-card img { width: 100%; aspect-ratio: 1 / 1; padding: 10%; object-fit: contain; border-radius: var(--el-r-m); background: var(--el-zemin); mix-blend-mode: multiply; transition: transform .2s; }
.el-liste .bp-discovery-card:hover img { transform: translateY(-2px); }
.el-liste .bp-discovery-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--el-ink); }
.el-liste .bp-discovery-card:hover .bp-discovery-name { color: var(--pf-primary-text); }

/* ---------------- KARŞILAŞTIRMA ---------------- */

/* ==========================================================================
   FİLTRE ÇEKMECESİ — sağdan açılır, sayfa yerinde kalır (mobilde alttan açılan panel)
   ========================================================================== */
body.el-govde .bp-kat-overlay { position: fixed; inset: 0; z-index: 10000; display: block; background: rgba(15, 23, 42, .46); opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s linear .25s; }
body.el-govde .bp-kat-overlay.bp-kat-open { opacity: 1; visibility: visible; transition: opacity .25s; }
body.el-govde .el-liste .bp-kat-sidebar { position: fixed; top: 0; right: 0; bottom: 0; left: auto; z-index: 10001; display: flex; flex-direction: column; width: 440px; max-width: 100%; margin: 0; padding: 0; overflow: hidden; background: var(--el-kart); border: 0; border-radius: var(--el-r-xl) 0 0 var(--el-r-xl); box-shadow: -24px 0 48px -28px rgba(15, 23, 42, .5); color: var(--el-ink); transform: translateX(105%); visibility: hidden; transition: transform .32s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .32s; }
body.el-govde .el-liste .bp-kat-sidebar.bp-kat-sidebar-open { transform: none; visibility: visible; transition: transform .32s cubic-bezier(.2, .8, .2, 1); }
body.el-govde .el-anisiz, body.el-govde .el-liste .bp-kat-sidebar.el-anisiz { transition: none !important; }

.el-ls-fbas { flex: none; display: flex; align-items: center; gap: 10px; padding: 20px 24px 16px; border-bottom: 1px solid var(--el-cizgi-2); }
.el-ls-fbas-baslik { margin: 0; font-size: 18px; font-weight: 700; color: var(--el-ink); }
.el-liste .el-ls-kapat { margin-left: auto; width: 40px; height: 40px; border-color: transparent; background: var(--el-zemin); }
.el-liste .el-ls-kapat:hover { background: var(--el-cizgi); color: var(--el-ink); }
.el-liste .bp-kat-sidebar form { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; margin: 0; }
.el-liste .bp-kat-sidebar .module-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 24px 12px; scrollbar-width: thin; scrollbar-color: var(--el-cizgi) transparent; }
.el-liste .bp-kat-sidebar .panel-group { margin: 0; }
.el-liste .bp-kat-sidebar .panel { margin: 0; border: 0; border-bottom: 1px solid var(--el-cizgi-2); border-radius: 0; background: transparent; box-shadow: none; }
.el-liste .bp-kat-sidebar .panel:last-child { border-bottom: 0; }
.el-liste .bp-kat-sidebar .panel-heading { padding: 0; border: 0; background: none; }
.el-liste .bp-kat-sidebar .panel-title { margin: 0; }
.el-liste .bp-kat-sidebar .panel-title a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 14px 0 10px; color: var(--el-ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.el-liste .bp-kat-sidebar .panel-title a:hover { color: var(--pf-primary-text); }
.el-liste .bp-kat-sidebar .panel-title a::after { content: ""; flex: none; width: 8px; height: 8px; margin: -4px 4px 0 0; border-right: 1.8px solid var(--el-ink-3); border-bottom: 1.8px solid var(--el-ink-3); transform: rotate(45deg); transition: transform .2s; }
.el-liste .bp-kat-sidebar .panel-title a[aria-expanded="false"]::after { margin-top: 0; transform: rotate(-45deg); }
.el-liste .bp-kat-sidebar .panel-body { padding: 0 0 18px; }
/* basic.css .show{visibility:visible} kapalı çekmeceyi delmesin */
.el-liste .bp-kat-sidebar .show { visibility: inherit; }

/* fiyat aralığı: iki girdi + uygula oku */
.el-ls-fiyat { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.el-ls-fiyat > span { color: var(--el-ink-3); }
.el-ls-fiyat label { position: relative; display: block; margin: 0; }
.el-ls-fiyat label::after { content: "₺"; position: absolute; top: 50%; right: 12px; transform: translateY(-50%); color: var(--el-ink-3); font-size: 14px; pointer-events: none; }
.el-ls-fiyat input { width: 100%; height: 44px; padding: 0 30px 0 14px; border: 1px solid transparent; border-radius: var(--el-r-s); background: var(--el-zemin); color: var(--el-ink); font-family: inherit; font-size: 14px; font-variant-numeric: tabular-nums; outline: 0; transition: border-color .15s, background .15s, box-shadow .15s; }
.el-ls-fiyat input::placeholder { color: var(--el-ink-3); }
.el-ls-fiyat input:focus { background: #fff; border-color: var(--pf-primary-line); box-shadow: 0 0 0 4px var(--pf-primary-tint); }
body.el-govde .el-liste .el-ls-fiyat input:focus-visible { outline: 0 !important; }
.el-liste .el-ls-fiyat .el-ls-fiyat-btn { width: 44px; height: 44px; border-color: var(--el-lacivert); background: var(--el-lacivert); color: #fff; }
.el-liste .el-ls-fiyat .el-ls-fiyat-btn:hover { border-color: var(--el-lacivert); background: var(--el-lacivert); color: #fff; filter: brightness(1.15); }
.el-kt-fnot { margin: 10px 0 0; color: var(--el-ink-3); font-size: 12px; }

/* alt kategori bağlantıları: hap (metin menüsü, ikonsuz) */
.el-liste .filter-radio ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.el-liste .filter-radio ul li { margin: 0; padding: 0; }
.el-liste .filter-radio ul li a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--el-zemin); color: var(--el-ink); font-size: 14px; font-weight: 500; text-decoration: none; transition: background .15s, color .15s; }
.el-liste .filter-radio ul li a:hover { background: var(--pf-primary-soft); color: var(--pf-primary-text); }
/* çekmece kendi kaydırır: iç içe kaydırma alanı olmasın */
.el-liste .bp-kat-sidebar .el-ls-kaydir { max-height: none; overflow: visible; }

/* sayı hapı */
.el-kt-say { display: inline-flex; align-items: center; justify-content: center; flex: none; min-width: 22px; height: 22px; margin-left: auto; padding: 0 7px; border-radius: 999px; background: var(--el-zemin); color: var(--el-ink-3); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* anahtarlar (Öne Çıkanlar) */
.el-kt-anahtar { display: flex; align-items: center; gap: 12px; min-height: 40px; margin: 0; color: var(--el-ink); font-size: 14px; font-weight: 500; cursor: pointer; }
.el-kt-anahtar input { -webkit-appearance: none; appearance: none; position: relative; flex: none; width: 38px; height: 22px; margin: 0; border: 0; border-radius: 999px; background: #D6DCE5; cursor: pointer; transition: background .18s; }
.el-kt-anahtar input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(17, 24, 39, .2); transition: transform .18s; }
.el-kt-anahtar input:checked { background: var(--el-buton); }
.el-kt-anahtar input:checked::after { transform: translateX(16px); }

/* onay kutuları (markalar) */
.el-ls-sec { display: flex; align-items: center; gap: 10px; min-height: 40px; margin: 0; color: var(--el-ink); font-size: 14px; font-weight: 500; cursor: pointer; }
.el-ls-sec .links-text { min-width: 0; overflow-wrap: anywhere; }
.el-ls-sec input[type="checkbox"] { -webkit-appearance: none; appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border: 1.5px solid #CBD2DC; border-radius: 6px; background: #fff center / 13px 13px no-repeat; cursor: pointer; transition: background-color .15s, border-color .15s; }
.el-ls-sec input[type="checkbox"]:checked { border-color: var(--el-buton); background-color: var(--el-buton); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.el-ls-sec .el-kt-say { margin-left: auto; }

/* seçenek çipleri (beden, renk…): ızgara */
.el-ls-cipler { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.el-ls-cip { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 50px; margin: 0; padding: 6px 4px; border: 1px solid var(--el-cizgi); border-radius: 14px; background: #fff; color: var(--el-ink); font-size: 14px; font-weight: 600; line-height: 1.2; text-align: center; overflow-wrap: anywhere; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.el-ls-cip:hover { border-color: var(--pf-primary-line); }
.el-ls-cip input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.el-ls-cip small { color: var(--el-ink-3); font-size: 12px; font-weight: 500; }
.el-ls-cip.secili, .el-ls-cip:has(input:checked) { border-color: var(--pf-primary); background: var(--pf-primary-tint); color: var(--pf-primary-text); box-shadow: inset 0 0 0 1px var(--pf-primary); }
body.el-govde .el-liste .el-ls-cip:has(input:focus-visible) { outline: 2px solid var(--pf-primary) !important; outline-offset: 2px; }
.el-ls-cipler .el-kt-fazla { display: none; }
.el-ls-cipler.acik .el-kt-fazla { display: flex; }
.el-kt-daha { min-height: 32px; margin: 10px 0 0; padding: 0; border: 0; background: none; color: var(--pf-primary-text); font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.el-kt-daha:hover { text-decoration: underline; text-underline-offset: 3px; }

/* çekmece alt eylemleri */
.el-ls-falt { flex: none; display: flex; gap: 10px; padding: 16px 24px 20px; border-top: 1px solid var(--el-cizgi-2); background: var(--el-kart); }
.el-ls-falt .el-btn { height: 50px; padding: 0 22px; font-size: 15px; }
.el-ls-falt .el-ls-goster { flex: 1 1 auto; min-width: 0; }

/* ==========================================================================
   DUYARLI
   ========================================================================== */
@media (max-width: 1279.98px) {
  .el-liste { --ls-sutun: 4; }
}

/* tablet + mobil: raf yatay kayar, araç satırı iki hap + sonuç satırı + kayan çipler, çekmece alttan açılır */
@media (max-width: 991.98px) {
  .el-liste { --ls-sutun: 3; --ls-ara: 12px; padding-bottom: 40px; }
  .el-kt-bas { padding: 18px 16px 16px; }
  .el-kt-bas h1 { font-size: 26px; }
  .el-kt-bas-not { display: none; }
  .el-kt-raf { margin: 14px -16px 0; }
  /* scroll-padding: yakalama ilk karoyu kart kenarına yapıştırmasın, başlıkla hizalı dursun */
  .el-kt-raf ul { display: flex; gap: 10px; overflow-x: auto; padding: 2px 16px 4px; scroll-snap-type: x proximity; scroll-padding-inline: 16px; justify-content: flex-start; scrollbar-width: none; }
  .el-kt-raf ul::-webkit-scrollbar { display: none; }
  .el-kt-raf li { flex: 0 0 84px; scroll-snap-align: start; }
  .el-kt-raf-kutu { gap: 8px; }
  .el-kt-raf-gorsel { border-radius: 16px; }
  .el-kt-raf-kutu b { font-size: 13px; }
  .el-kt-raf-harf { font-size: 26px; }

  .el-kt-arac { gap: 8px; margin: 14px 0 12px; }
  .el-liste .el-kt-filtre-btn { flex: 1 1 calc(50% - 4px); min-width: 0; height: 46px; }
  .el-kt-arac .bp-kat-sort-form { order: 2; flex: 1 1 calc(50% - 4px); }
  .el-kt-arac .bp-kat-sort-form form, .el-kt-arac .bp-kat-sort-form .el-ls-sirala { width: 100%; }
  .el-kt-arac .bp-kat-sort-form .el-ls-sirala { justify-content: center; height: 46px; padding: 0; }
  .el-kt-arac .bp-kat-sort-form .el-kt-sirala-on { display: none; }
  .el-kt-arac .bp-kat-sort-form .el-kt-sirala-m { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; color: var(--el-ink); pointer-events: none; }
  .el-kt-arac .bp-kat-sort-form .el-kt-sirala-m svg { flex: none; width: 18px; height: 18px; color: var(--el-ink-2); }
  .el-kt-arac .bp-kat-sort-form .el-kt-sirala-m b { overflow: hidden; font-size: 14px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
  /* asıl select hapın tamamını kaplar ama görünmez; dokununca yerel seçici açılır */
  .el-kt-arac .bp-kat-sort-form .el-ls-sirala select { width: 100%; height: 44px; padding: 0; opacity: 0; }
  .el-ls-kat .el-kt-arac .el-ls-sonuc { order: 3; flex: 1 1 auto; margin: 4px 0 0; }
  .el-ls-kat .el-kt-temizle { order: 4; margin-top: 4px; }
  .el-ls-kat .el-kt-cipler { order: 5; flex: 0 0 calc(100% + 24px); margin: 0 -12px; padding: 0 12px 2px; }
  .el-kt-cipler { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .el-kt-cipler::-webkit-scrollbar { display: none; }
  .el-liste .el-kt-temizle { height: 40px; }
  /* sade araç satırı (arama, liste sayfaları): sonuç + sıralama, altında çipler */
  .el-kt-arac-yalin .el-ls-sonuc { order: 1; flex: 1 1 auto; margin: 0; }
  .el-kt-arac-yalin .el-kt-sirala-form { order: 2; min-width: 0; }
  .el-kt-arac-yalin .el-kt-cipler { order: 3; flex: 1 1 0; }
  .el-kt-arac-yalin .el-kt-temizle { order: 4; }
  .el-kt-arac-yalin .el-ls-sirala { padding-left: 14px; }
  .el-kt-arac-yalin .el-ls-sirala select { padding-right: 36px; background-position: right 12px center; }
  .el-liste .bp-kat-chip { flex: none; height: 40px; }
  .el-liste .bp-kat-chip-remove { width: 28px; height: 28px; }
  .el-liste .bp-kat-chip-remove::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; }

  .el-liste .bp-kat-load-more-wrap { flex-direction: column; gap: 14px; margin-top: 22px; }
  .el-liste .bp-kat-load-progress { width: 100%; align-items: center; text-align: center; }
  .el-liste .bp-kat-load-more-btn { width: 100%; }

  /* alttan açılan panel */
  body.el-govde .el-liste .bp-kat-sidebar { top: auto; left: 0; right: 0; width: 100%; max-width: 640px; max-height: 88vh; max-height: 88dvh; margin: 0 auto; border-radius: var(--el-r-xl) var(--el-r-xl) 0 0; box-shadow: 0 -18px 40px -24px rgba(15, 23, 42, .5); transform: translateY(105%); }
  body.el-govde .el-liste .bp-kat-sidebar::before { content: ""; flex: none; display: block; width: 44px; height: 5px; margin: 10px auto 2px; border-radius: 999px; background: #D6DCE5; }
  .el-ls-fbas { padding: 8px 18px 14px; }
  .el-liste .bp-kat-sidebar .module-body { padding: 4px 18px 12px; }
  .el-ls-falt { padding: 14px 18px calc(18px + env(safe-area-inset-bottom)); }
  .el-ls-cipler { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
}

@media (max-width: 767.98px) {
  .pf-ls-sayac b { min-width: 40px; height: 40px; font-size: 16px; }
  .el-liste .bp-kat-empty-state, .el-liste .pf-ls-bosdurum { padding: 40px 18px 44px; border-radius: var(--el-r-l); }
  .el-ls-bos-ikon, .el-liste .bp-kat-empty-icon { width: 100px; height: 100px; }
  .el-ls-bos-ikon svg, .el-liste .bp-kat-empty-icon svg { width: 40px; height: 40px; }
  .el-liste .bp-kat-empty-title, .el-liste .pf-ls-bosdurum h2 { font-size: 19px; }
  .el-liste .bp-kat-empty-desc, .el-liste .pf-ls-bosdurum p { font-size: 14px; }
  .el-liste .bp-kat-empty-actions { flex-direction: column; width: 100%; max-width: 320px; }
  .el-liste .bp-kat-empty-actions .el-btn { width: 100%; }
  .el-liste .bp-discovery-strip { padding: 16px; border-radius: var(--el-r-l); }

}

@media (max-width: 575.98px) {
  .el-liste { --ls-sutun: 2; --ls-ara: 10px; }
  .el-kt-bas h1 { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .el-liste *, body.el-govde .bp-kat-overlay, body.el-govde .el-liste .bp-kat-sidebar { transition: none !important; }
  .el-kt-raf-kutu:hover .el-kt-raf-gorsel img { transform: none; }
}

/* arama: sonuç yoksa araç satırı basılmaz; boş durum kartı başlık kartından ayrılsın */
.el-ls-ara .bp-kat-content > .main-products:first-child { margin-top: 22px; }
/* PZR-MUS-05 (NIHAI-84): arama sonuç filtresi (açılır kutu, GET formu) */
.el-ara-filtre { margin: 0 0 16px; border: 1px solid var(--el-cizgi); border-radius: 14px; background: #fff; }
.el-ara-filtre > summary { cursor: pointer; padding: 12px 16px; font-weight: 600; list-style: none; }
.el-ara-filtre > summary::-webkit-details-marker { display: none; }
.el-ara-filtre > summary::after { content: "▾"; float: right; color: var(--el-ink-3); }
.el-ara-filtre[open] > summary::after { content: "▴"; }
.el-ara-filtre-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 20px; padding: 4px 16px 16px; }
.el-ara-filtre-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.el-ara-filtre-form legend { padding: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--el-ink-3); }
.el-ara-filtre-liste { display: flex; flex-direction: column; gap: 6px; max-height: 190px; overflow-y: auto; font-size: 14px; }
.el-ara-filtre-liste label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.el-ara-filtre-liste small { color: var(--el-ink-3); }
.el-ara-filtre-fiyat { display: flex; align-items: center; gap: 8px; }
.el-ara-filtre-fiyat input { width: 100%; min-width: 0; height: 40px; padding: 0 10px; border: 1px solid var(--el-cizgi); border-radius: 10px; }
.el-ara-filtre-dugme { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
