/* =====================================================
   Posenda Attribute Filter Widget — style.css v1.0.3
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@600&display=swap');

.posenda-afw-wrapper {
    width: 100%;
}

/* Başlık */
.posenda-afw-title {
    margin-bottom: 1.2em;
}

/* ----- Ürün Grid ----- */
.posenda-afw-grid {
    display: grid;
    gap: 24px;
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.posenda-afw-cols-2 { grid-template-columns: repeat(2, 1fr); }
.posenda-afw-cols-3 { grid-template-columns: repeat(3, 1fr); }
.posenda-afw-cols-4 { grid-template-columns: repeat(4, 1fr); }
.posenda-afw-cols-5 { grid-template-columns: repeat(5, 1fr); }

/* Tablet (≤1024px) → 2 sütun */
@media (max-width: 1024px) {
    .posenda-afw-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }
}

/* Mobil (≤600px) → 2 sütun */
@media (max-width: 600px) {
    .posenda-afw-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }
}

/* ----- Ortadaki noktalar ----- */
.posenda-afw-grid li.product {
    list-style: none !important;
}
.posenda-afw-grid li.product::before,
.posenda-afw-grid li.product::after,
.posenda-afw-grid li.product::marker {
    display: none !important;
    content: none !important;
}

/* ----- Ürün nitelik / kategori etiketi — TÜM olası class'lar ----- */

/* Astra teması */
.posenda-afw-grid .ast-woo-product-category,
.posenda-afw-grid .ast-loop-product__category,

/* WooCommerce genel */
.posenda-afw-grid .woocommerce-loop-category__title,
.posenda-afw-grid .product-category,
.posenda-afw-grid .product-categories,
.posenda-afw-grid .posted_in,

/* Storefront / OceanWP / Flatsome ortak */
.posenda-afw-grid .product-cat,
.posenda-afw-grid .woo-loop-product__category,
.posenda-afw-grid .loop-product-categories,
.posenda-afw-grid .product_meta .posted_in,

/* Badge / label türleri */
.posenda-afw-grid .product-label,
.posenda-afw-grid .product-category-badge,
.posenda-afw-grid .loop-product__badge,
.posenda-afw-grid .wc-gla-product-attribute,
.posenda-afw-grid mark.count,
.posenda-afw-grid .posted-in,
.posenda-afw-grid div.posted-in,

/* Wildcard: "category" veya "attribute" geçen her class */
.posenda-afw-grid li.product [class*="category"],
.posenda-afw-grid li.product [class*="attribute"],
.posenda-afw-grid li.product [class*="-label"]:not(.price):not(.woocommerce-Price-currencySymbol) {
    display: none !important;
    visibility: hidden !important;
}

/* ----- Ürün başlığı: Figtree 600 / 18px ----- */
.posenda-afw-grid li.product .woocommerce-loop-product__title,
.posenda-afw-grid li.product h2,
.posenda-afw-grid li.product h3 {
    font-family: 'Figtree', sans-serif !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    line-height: 1.3 !important;
}

/* ----- Yükleme & Boş Durum ----- */
.posenda-afw-products {
    position: relative;
    min-height: 100px;
    transition: opacity 0.25s ease;
}

.posenda-afw-products.is-loading {
    opacity: 0.4;
    pointer-events: none;
}

.posenda-afw-empty,
.posenda-afw-notice {
    padding: 24px;
    text-align: center;
    color: #777;
    font-style: italic;
}
