.whf-filter-wrapper {
      border-radius: 8px;
}

.whf-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    position: relative;
}

.whf-filter-group {

}

.whf-sort-group {
    margin-left: auto;
}

.whf-filter-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.whf-dropdown {
    position: relative;
}

.whf-dropdown-toggle {
    width: 100%;
    min-width: max-content;
    border: 1px solid #ddd;
    padding: 8px 12px;
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.whf-dropdown-toggle:hover {
    border-color: #999;
}

.whf-dropdown-arrow {
    font-size: 10px;
    transition: transform 0.2s;
    padding-left: 10px;
}

.whf-dropdown.active .whf-dropdown-arrow {
    transform: rotate(180deg);
}

.whf-dropdown-content {
    min-width: 200px;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 4px;
    padding: 8px;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.whf-dropdown.active .whf-dropdown-content {
    display: block;
}

.whf-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s;
    border-radius: 4px;
}

.whf-checkbox-label:hover {
    background: #f5f7fa;
}

.whf-checkbox {
    margin: 0;
    margin-right: 8px;
}

.whf-checkbox-text {
    font-size: 14px;
    color: #555;
}

.whf-apply-button {
    padding: 10px !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    min-height: unset !important;
    cursor: pointer !important;
    text-align: center !important;
    width: 100% !important;
    transition: background-color 0.2s !important;
    margin-top: 8px !important;
}

.whf-apply-button:hover {

}

/* Değişiklik yapıldığında vurgula */
.whf-highlight-button {
    animation: whf-pulse 1.5s infinite;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2) !important;
}

@keyframes whf-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1);
    }
}

/* Seçili filtreler */
.whf-selected-filters {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
    min-height: 32px;
    padding: 5px 0;
    align-items: center;
}

.whf-selected-filters.has-filters {
    display: flex;
}

.whf-selected-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #a7d6ff;
    border-radius: 20px;
    font-size: 13px;
    color: #333;
    gap: 2px;
}

.whf-selected-tag .remove {
    cursor: pointer;
    color: #666;
    font-size: 16px;
    line-height: 1;
}

.whf-selected-tag .remove:hover {
    color: #333;
}

/* Yükleniyor göstergesi */
.whf-products-wrapper {
    position: relative;
    min-height: 200px;
}

.whf-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whf-loading {
    padding: 15px 30px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-weight: 500;
}

.products.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Mobil filtre toggle butonu - Her zaman tanımlı olsun */
.whf-mobile-filter-toggle {
    display: none; /* Varsayılan olarak gizli, JS ile mobilde gösterilecek */
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    background: #fff;
    color: #333;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 15px;
    width: 100%;
    text-align: center;
    border: 1px solid #ddd;
    font-size: 14px;
    line-height: 1.4;
    transition: all 0.3s ease;
}

/* Filtre uygulanmayı beklerken butonu vurgula - sadece animasyon ekle, renk değiştirme */
.whf-mobile-filter-toggle.whf-pending-filters {
    animation: whf-pulse 1.5s infinite;
}

/* Yatay filtre stilleri */
.whf-horizontal-layout .whf-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
}

.whf-horizontal-layout .whf-filter-group {
    margin-bottom: 15px;
}

/* Dikey filtre stilleri */
.whf-vertical-layout .whf-filters {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.whf-vertical-layout .whf-filter-group {
    margin-bottom: 0px;
    width: 100%;
}

.whf-vertical-title {
    font-size: 16px;
    font-weight: 500;
    color: #000;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
    transition: color 0.2s;
}

.whf-vertical-content {
    padding: 5px 0;
    margin-bottom: 10px;
}

.whf-vertical-content .whf-checkbox-label {
    display: block;
    margin-bottom: 2px;
    font-size: 14px;
}

.whf-vertical-apply {
    margin-top: 6px;
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .whf-mobile-filter-toggle {
        display: flex; /* Mobilde göster */
        background: #fff;
    }
    
    .whf-filters {
        flex-direction: column;
        align-items: stretch;
        display: none; /* Varsayılan olarak gizli */
    }
    
    /* Mobile aktif durumunda göster */
    .whf-filters.mobile-active {
        display: flex !important;
    }

    .whf-filter-group {
        width: 100%;
        margin-bottom: 4px;
    }

    .whf-dropdown-content {
        width: 100%;
    }
    
    .whf-dropdown, .whf-select {
        width: 100%;
        box-sizing: border-box;
    }
    
    .whf-select {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
    
    .whf-price-inputs {
        display: flex;
        width: 100%;
        box-sizing: border-box;
    }
    
    .whf-price-input {
        flex: 1;
        box-sizing: border-box;
    }
}

/* Ana filtre container */
.whf-filters-container {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: relative;
    z-index: 100; /* Dropdown'ların diğer içeriğin önünde görünmesi için */
    display: block !important; /* Her zaman görünmesi için */
}

.whf-sort-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    cursor: pointer;
    min-width: 200px;
}

.whf-sort-select:hover {
    border-color: #999;
}

.whf-sort-select:focus {
    outline: none;
    border-color: #67B044;
    box-shadow: 0 0 0 1px #67B044;
}

/* Açılır-kapanır filtre stilleri */
.whf-collapsible .whf-vertical-title {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 8px 0;
    margin-bottom: 0px;
    border-bottom: 1px solid #eee;
}

.whf-collapsible .whf-collapse-arrow {
    font-size: 10px;
    transition: transform 0.3s;
    margin-left: 8px;
}

.whf-collapsible.collapsed .whf-collapse-arrow {
    transform: rotate(-90deg);
}

.whf-collapsible .whf-collapsible-content {
    display: block;
}

.whf-collapsible.collapsed .whf-collapsible-content {
    display: none;
}

/* Açılır-kapanır başlığa hover efekti */
.whf-collapsible-toggle:hover {
    color: blue;
}

    color: blue;
}

} 