/* Kategori filtreleri ve ürün satırı Ex özeti (inc/product-filters-ui.php; taslak docs/taslak/kategori-filtreleri.html). */
.ek-filter-hint {
    margin: -4px 0 0;
    padding: 0 0 16px;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.45;
}

.ek-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    width: 100%;
    margin: 0 0 16px;
    font-size: 13px;
}

.ek-active-filters strong {
    margin-right: 4px;
    color: #111;
}

.ek-active-filters a.ek-active-filters__pill {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 5px 10px 5px 12px;
    border: 1px solid #f6c77a;
    border-radius: 999px;
    background: #fff4e0;
    color: #5a3700;
    font-weight: 700;
    text-decoration: none;
}

.ek-active-filters a.ek-active-filters__pill span {
    color: #b86a00;
    font-weight: 900;
}

.ek-active-filters a.ek-active-filters__pill:hover,
.ek-active-filters a.ek-active-filters__pill:focus-visible {
    border-color: #f29200;
    background: #ffe8c2;
    color: #3d2500;
}

.ek-active-filters a.ek-active-filters__clear {
    margin-left: 6px;
    color: #19458a;
    font-weight: 700;
    text-decoration: underline;
}

.ek-loop-ex {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 6px 0 12px;
    padding: 10px;
    border: 1px dashed #d9e1ec;
    border-radius: 8px;
    background: #f6f8fb;
}

.ek-loop-ex__chip {
    padding: 4px 9px;
    border: 1px solid #e3e7ee;
    border-radius: 6px;
    background: #fff;
    color: #1d2433;
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1.3;
}

.ek-loop-ex__chip--zone {
    border-color: #c7e6cf;
    background: #e6f4ea;
    color: #1b6b35;
}

.ek-loop-ex__chip--ex {
    border-color: #cdd9f0;
    background: #eaf0fb;
    color: #19458a;
}

.ek-loop-ex__chip.is-hit {
    outline: 2px solid #f29200;
    outline-offset: 1px;
}

/* Mağaza görünümleri (kullanıcı isteği): kenar çubuklu grid 5 sütun kartları sıkıştırıyordu → geniş ekranda 4;
   3'lü (list) görünümde "Devamını oku" sağa, "Teklife Ekle" sola yaslıydı → ikisi de grid'deki gibi başlık hizasında. */
@media only screen and (min-width: 1280px) {
    .sidebar-active.product-layout.grid ul.products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.sidebar-active.product-layout.list .loop-products .product .price-button-wrapp {
    align-items: flex-start;
}

/* Kategori girişi: başlığın altında metin ve "Seçmeden önce okuyun" bağlantıları (inc/category-intro.php, taslak A) */
.title-section-title:has(> .ek-cat-lead, > .ek-cat-reads) { flex-wrap: wrap; justify-content: flex-start; }
.title-section-title:has(> .ek-cat-lead, > .ek-cat-reads) > h1, .title-section-title .ek-cat-lead, .title-section-title .ek-cat-reads { flex: 0 0 100%; }
.title-section-title .ek-cat-lead { max-width: 900px; margin: 10px 0 0; color: #555; font-size: 15px; line-height: 1.6; }
.title-section-title .ek-cat-lead p { margin: 0 0 6px; }
.title-section-title .ek-cat-lead p:last-child { margin-bottom: 0; }
.title-section-title .ek-cat-reads { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin: 10px 0 0; font-size: 13.5px; line-height: 1.5; }
.ek-cat-reads b { color: #111; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ek-cat-reads a { padding: 3px 0; color: #19458a; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(25, 69, 138, .25); transition: border-color .2s; }
.ek-cat-reads a:hover, .ek-cat-reads a:focus-visible { border-color: #19458a; }
.ek-cat-reads a.is-sector { color: #c87800; border-color: rgba(242, 146, 0, .4); }
.ek-cat-reads a.is-sector:hover, .ek-cat-reads a.is-sector:focus-visible { border-color: #c87800; }
@media (prefers-reduced-motion: reduce) { .ek-cat-reads a { transition: none; } }
