/* WooCommerce Kategori Filtreleri - Özel CSS Sınıfları */

/* Mobil Filtre Tetikleyici - Sadece küçük ekranlarda görünür */
.wcf-mobile-trigger-wrapper {
    display: none;
    margin-bottom: 20px;
}

.wcf-mobile-filter-trigger {
    display: flex;
    align-items: center;
    width: 48%;
    background: #007aff;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0px 20px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
    position: relative;
    overflow: hidden;
    justify-content: center;
    margin: auto;
    flex-direction: row;
}

.wcf-mobile-filter-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,122,255,0.4);
}

.wcf-mobile-filter-trigger:active {
    transform: translateY(0);
}

.wcf-filter-icon {
    margin-right: 8px;
}
.imgButtonF{
    width: 25px;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.wcf-filter-text {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: -0.02em;
}

.wcf-active-count {
    animation: pulse 1.5s ease-in-out infinite;
    max-height: 24px;
    background-color: #ffffff;
    color: #000000;
    border-radius: 100%;
    width: 20px;
    height: 20px;
    font-size: 10px;
    font-weight: 400;
    text-align: center;
    display: inline-block;
    line-height: 21px;
    right: 5px;
    position: absolute;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Popup Overlay */
.wcf-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 214748364723;
    overflow-y: auto;
}

.wcf-popup-overlay.wcf-show {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.wcf-popup-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Ana Filtre Wrapper */
.wcf-enhanced-filters-wrapper {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1d1d1f;
    border-radius: 16px;
    position: relative;
    z-index: 100000;
}

/* Popup içindeki wrapper için özel stiller */
.wcf-enhanced-filters-wrapper.wcf-popup-content {
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    width: calc(100% - 40px);
    max-width: 500px;
}

/* Masaüstü wrapper için özel stiller */
.wcf-enhanced-filters-wrapper.wcf-desktop-content {
    overflow: visible; 
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Popup Başlığı */
.wcf-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 10;
    height: 8svh;
        background: #007aff;
}

.wcf-popup-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -0.02em;
}

.wcf-popup-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #fff;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0px;
    padding-right: 10px;
}

.wcf-popup-close:hover {
    color: #007aff;
}

/* Filtreler İçeriği */
.wcf-filters-header {
    padding: 16px 24px;
    margin-bottom: 10px !important;
}

.wcf-filters-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Stoktakiler Select */
.wcf-stock-select {
    /* Aynı stil sıralama dropdown'ı ile */
}

/* Sıralama Dropdown */
.wcf-sorting-dropdown {
    position: relative;
}

.wcf-orderby-select {
    -webkit-appearance: none;
    margin-bottom: 0px;
    background-color: #fff;
    border: 1px solid #d2d2d7;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
    color: #1d1d1f;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.wcf-orderby-select:hover {
    border-color: #a1a1a6;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

.wcf-orderby-select:focus {
    outline: none;
    border-color: #007aff;
    box-shadow: 0 0 0 3px rgba(0,122,255,0.2);
}

/* Aktif Filtreler */
.wcf-active-filters {
    margin: 10px 0px;
    border-radius: 12px;
}

.wcf-active-filters-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #000;
}

.wcf-active-filter-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wcf-active-filter-badge {
    display: inline-flex;
    align-items: center;
    background-color: #007aff;
    color: white;
    border-radius: 16px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.wcf-active-filter-badge:hover {
    background-color: #0056b3;
    color: white;
    transform: translateY(-1px);
}

.wcf-filter-label {
    font-weight: 600;
    margin-right: 4px;
}

.wcf-remove-filter {
    margin-left: 8px;
    font-size: 16px;
    opacity: 0.8;
}

.wcf-clear-all-filters {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background-color: transparent;
    border: 1px solid #ff3b30;
    border-radius: 16px;
    color: #ff3b30;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.wcf-clear-all-filters:hover {
    background-color: #ff3b30;
    color: white;
}

/* Filtre Butonları */
.wcf-filter-buttons-row {
    padding: 0 24px 6px;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0px;
}

.wcf-filter-dropdown {
    position: relative;
    overflow: visible; /* Dropdown'ların görünmesi için */
}

.wcf-filter-button {
    background-color: #fff;
    border: 1px solid #d2d2d7;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    min-width: 140px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
    color: #1d1d1f;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.wcf-filter-button:hover {
    border-color: #a1a1a6;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

.wcf-filter-button[aria-expanded="true"] {
    background-color: #007aff;
    color: white;
    border-color: #007aff;
}

.wcf-selected-count {
    color: #007aff;
    font-size: 12px;
    margin-left: 6px;
    font-weight: 700;
}

.wcf-filter-button[aria-expanded="true"] .wcf-selected-count {
    background-color: rgba(255,255,255,0.2);
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
}

.wcf-dropdown-arrow {
    font-size: 11px;
    color: #000000;
    transition: transform 0.2s;
    margin-left: 8px;
}

.wcf-filter-button[aria-expanded="true"] .wcf-dropdown-arrow {
    transform: rotate(180deg);
    color: white;
}

/* Dropdown İçeriği */
.wcf-filter-dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background-color: #fff;
    border-radius: 12px;
    padding: 8px 0;
    z-index: 124; /* Yüksek z-index */
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid rgba(210,210,215,0.3);
}

.wcf-filter-dropdown-content.wcf-show {
    display: block;
    animation: dropdownSlide 0.2s ease;
}

/* Loading durumu */
.wcf-filter-dropdown-content.wcf-loading {
    /* pointer-events: none; */
}

.wcf-filter-dropdown-content.wcf-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007aff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Masaüstü için özel dropdown stili */
@media (min-width: 850px) {
    .wcf-filter-dropdown-content {
        right: auto; /* Masaüstü'nde right sınırlaması kaldır */
        min-width: 280px; /* Minimum genişlik */
        max-height: 320px; /* Daha yüksek maksimum */
        z-index: 124; /* Çok yüksek z-index */
    }
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wcf-filter-option {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.wcf-filter-option:hover {
    background-color: #f8f9fa;
}

/* Devre dışı filtre seçenekleri */
.wcf-filter-option.wcf-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.wcf-filter-option.wcf-disabled:hover {
    background-color: transparent;
}

.wcf-filter-option input[type="checkbox"] {
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #d2d2d7;
    border-radius: 4px;
    margin-right: 12px;
    background-color: white;
    cursor: pointer;
    transition: all 0.2s;
    top: 5px;
}

.wcf-filter-option input[type="checkbox"]:checked {
    background-color: #007aff;
    border-color: #007aff;
}

.wcf-filter-option input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    top: 2px;
    left: 5px;
    transform: rotate(45deg);
}

.wcf-filter-option input[type="checkbox"]:disabled {
    border-color: #e0e0e0;
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.wcf-option-name {
    flex-grow: 1;
    font-size: 14px;
    color: #1d1d1f;
    font-weight: 400;
}

.wcf-option-count {
    color: #86868b;
    font-size: 12px;
    margin-left: 8px;
    background-color: #f0f0f0;
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 600;
}

/* Popup Alt Butonlar */
.wcf-popup-actions {
    padding: 16px 24px 24px;
    display: flex;
    gap: 12px;
    position: sticky;
    bottom: 0;
    background: #fff;
    border-radius: 0 0 16px 16px;
    border-top: 1px solid #f0f0f0;
}

.wcf-apply-filter {
    background: #007aff;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 2px 16px;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
    flex: 1;
    transition: all 0.2s ease;
    margin-right: 0;
}

.wcf-apply-filter:hover {
    transform: translateY(-2px);
    background-color: #0056b3;
}

.wcf-popup-close-btn {
    background: #f8f9fa;
    color: #86868b;
    border: 1px solid #d2d2d7;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wcf-popup-close-btn:hover {
    background-color: #e9ecef;
    color: #1d1d1f;
}

/* Masaüstü Görünümü - 850px ve üzeri */
@media (min-width: 850px) {
    .wcf-mobile-trigger-wrapper {
        display: none !important;
    }
    
    .wcf-popup-overlay {
        display: none !important;
    }
    
    /* Masaüstü wrapper'ı göster */
    .wcf-enhanced-filters-wrapper.wcf-desktop-content {
        display: block;
        position: static;
        max-height: none;
        width: auto;
        max-width: none;
        animation: none;
        overflow: visible;
    }
    
    /* Popup wrapper'ı gizle */
    .wcf-enhanced-filters-wrapper.wcf-popup-content {
        display: none !important;
    }
    
    .wcf-popup-header {
        display: none;
    }
    
    .wcf-filters-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0px;
        padding: 0px;
    }
    
    .wcf-filters-title {
        font-size: 18px;
        font-weight: 600;
        color: #1d1d1f;
        letter-spacing: -0.02em;
    }
    
    .wcf-filters-actions {
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }
    
    .wcf-filter-buttons-row {
        display: flex;
        flex-wrap: wrap;
        gap: 0px;
        align-items: center;
        padding: 0;
        overflow: visible; /* Dropdown'lar için */
    }
    
    .wcf-popup-actions {
        display: none;
    }
    
    .wcf-orderby-select {
        min-width: 180px;
        width: auto;
        padding: 8px 40px 8px 16px;
        height: 40px;
    }
    
    /* Masaüstü dropdown pozisyonları */
    .wcf-filter-dropdown {
        position: relative;
        overflow: visible; /* Dropdown'ların taşması için */
    }
    
    .wcf-filter-dropdown-content {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        z-index: 124; /* Çok yüksek z-index */
        min-width: 280px;
        max-height: 320px;
        overflow-y: auto;
    }
    
    .wcf-filter-button {
        padding: 2px 16px;
        min-width: 120px;
        width: auto;
    }
}

@media (max-width: 849px) {
    .wcf-filter-dropdown-content{
        position: fixed !important;
        top: calc(30%) !important;
        width: 85% !important;
        margin: auto !important;
        box-shadow: 0 8px 25px rgb(0 0 0 / 27%);
        max-height: 50svh !important;
        height: auto !important;
    }
    .wcf-filter-buttons-row{
            grid-template-columns: repeat(2, 1fr) !important;
            gap: 8px !important;
    }
    .wcf-filter-button{
        margin: 0px !important;
        border-radius: 18px;
        padding: 8px 0px;
    }
    .wcf-dropdown-arrow{
        display: none;
    }
    .wcf-filter-button{
        justify-content: center;
    }
    .wcf-filter-button{
        width: 100%;
        margin-bottom: 10px;
    }
    .wcf-filters-header{
        padding: 2px 24px;
        margin-bottom:0px !important;
    }
    .category-page-row{
        padding-top: 0px !important;
    }
    .shop-page-title .page-title-inner{
        border-bottom: none !important;
    }
    .wcf-active-filters{
        padding: 0px 20px;
    }
    .wcf-popup-actions{
        bottom: 0;
        position: absolute;
        width: 100%;
        height: 10svh;
    }
    .wcf-orderby-select{
        padding: 8px 40px 8px 16px;
        min-height: 50px;
        border-radius: 18px;
    }
    .wcf-mobile-trigger-wrapper {
        display: block;
    }
    
    /* Masaüstü wrapper'ı gizle */
    .wcf-enhanced-filters-wrapper.wcf-desktop-content {
        display: none !important;
    }
    
    /* Popup wrapper'ı sadece açıldığında göster */
    .wcf-enhanced-filters-wrapper.wcf-popup-content {
        display: block;
        background: #fff;
        height: 63svh;
        /* margin-top: 15svh; */
        bottom: 5svh;
        position: absolute;
    }
    
    /* Popup overlay göster */
    .wcf-popup-overlay {
        display: none; /* Varsayılan kapalı */
    }
    
    .wcf-popup-overlay.wcf-show {
        display: flex !important; /* Açıldığında göster */
    }
}

/* Scroll Bar Styling */
.wcf-filter-dropdown-content::-webkit-scrollbar,
.wcf-enhanced-filters-wrapper::-webkit-scrollbar {
    width: 6px;
}

.wcf-filter-dropdown-content::-webkit-scrollbar-track,
.wcf-enhanced-filters-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.wcf-filter-dropdown-content::-webkit-scrollbar-thumb,
.wcf-enhanced-filters-wrapper::-webkit-scrollbar-thumb {
    background-color: #d2d2d7;
    border-radius: 3px;
}

.wcf-filter-dropdown-content::-webkit-scrollbar-thumb:hover,
.wcf-enhanced-filters-wrapper::-webkit-scrollbar-thumb:hover {
    background-color: #a1a1a6;
}

.wcf-mobilbox{
    height: 45svh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-y: auto;
}
/* Toggle Switch Stilleri - DÜZELTME */
/* Revize Edilmiş Toggle Switch Stilleri */

.wcf-stock-toggle-wrapper {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px; /* Toggle ile label arası boşluk */
}

.wcf-toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px; /* Daha kompakt */
    height: 28px; /* Daha kompakt */
    cursor: pointer;
    user-select: none;
    flex-shrink: 0; /* Boyut korunur */
}

.wcf-toggle-switch input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.wcf-toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        inset 0 1px 3px rgba(0,0,0,0.1),
        0 1px 2px rgba(0,0,0,0.05);
}

/* Slider topu - TEMİZ VE BASIT */
.wcf-toggle-slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 2px 4px rgba(0,0,0,0.15),
        0 1px 2px rgba(0,0,0,0.1);
}

/* DIŞ LABEL - TOGGLE'IN YANINDA */
.wcf-toggle-label {
    font-size: 14px;
    font-weight: 500;
    color: #1d1d1f;
    transition: all 0.3s ease;
    letter-spacing: -0.02em;
    min-width: 45px; /* Sabit genişlik - yazı değişse de sarsılmaz */
    user-select: none;
}

/* Aktif (Checked) Durumu */
.wcf-toggle-switch input[type="checkbox"]:checked + .wcf-toggle-slider {
    background: linear-gradient(135deg, #007aff 0%, #0056b3 100%);
    border-color: #007aff;
    box-shadow: 
        inset 0 1px 3px rgba(0,122,255,0.2),
        0 0 15px rgba(0,122,255,0.3);
}

.wcf-toggle-switch input[type="checkbox"]:checked + .wcf-toggle-slider::before {
    transform: translateX(22px); /* Küçük toggle için ayarlandı */
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
    box-shadow: 
        0 2px 8px rgba(0,122,255,0.3),
        0 1px 3px rgba(0,0,0,0.1);
}

/* Hover Efektleri */
.wcf-toggle-switch:hover .wcf-toggle-slider {
    border-color: #a1a1a6;
    box-shadow: 
        inset 0 1px 3px rgba(0,0,0,0.12),
        0 2px 4px rgba(0,0,0,0.08);
}

.wcf-toggle-switch:hover input[type="checkbox"]:checked + .wcf-toggle-slider {
    border-color: #0056b3;
    box-shadow: 
        inset 0 1px 3px rgba(0,122,255,0.25),
        0 0 20px rgba(0,122,255,0.4);
}

.wcf-toggle-switch:hover .wcf-toggle-slider::before {
    box-shadow: 
        0 3px 8px rgba(0,0,0,0.2),
        0 1px 3px rgba(0,0,0,0.12);
}

/* Wrapper hover'da label rengi değişsin */
.wcf-stock-toggle-wrapper:hover .wcf-toggle-label {
    color: #007aff;
}

/* Aktif (Tıklama) Durumu */
.wcf-toggle-switch:active .wcf-toggle-slider::before {
    transform: scale(0.9);
}

.wcf-toggle-switch:active input[type="checkbox"]:checked + .wcf-toggle-slider::before {
    transform: translateX(22px) scale(0.9);
}

/* Focus Durumu - Erişilebilirlik */
.wcf-toggle-switch input[type="checkbox"]:focus + .wcf-toggle-slider {
    outline: none;
    box-shadow: 
        inset 0 1px 3px rgba(0,0,0,0.1),
        0 0 0 3px rgba(0,122,255,0.2);
}

/* Devre Dışı Durumu */
.wcf-toggle-switch input[type="checkbox"]:disabled + .wcf-toggle-slider {
    opacity: 0.6;
    pointer-events: none;
    background: #f8f9fa;
    border-color: #dee2e6;
}

.wcf-toggle-switch input[type="checkbox"]:disabled ~ .wcf-toggle-label {
    opacity: 0.6;
    color: #8e8e93;
}

/* Mobil Responsive */
@media (max-width: 849px) {
    .wcf-clear-all-filters{
            padding: 8px 5px !important;
            font-size: 9px !important;
            right: 10px;
            position: absolute;
    }
    .wcf-stock-toggle-wrapper {
        margin-bottom: 0px;
        justify-content: start;
        gap: 15px;
        margin-top:10px;
    }
    
    .wcf-toggle-switch {
        width: 56px;
        height: 32px;
    }
    
    .wcf-toggle-slider::before {
        height: 24px;
        width: 24px;
        left: 2px;
        bottom: 2px;
    }
    
    .wcf-toggle-switch input[type="checkbox"]:checked + .wcf-toggle-slider::before {
        transform: translateX(24px);
    }
    
    .wcf-toggle-label {
        font-size: 13px;
        min-width: 50px;
    }
}

/* Masaüstü için özel düzenlemeler */
@media (min-width: 850px) {
    .wcf-stock-toggle-wrapper {
        margin-bottom: 0;
        justify-content: flex-start;
    }
}

/* Animasyon iyileştirmeleri */
@keyframes togglePulse {
    0% { box-shadow: 0 0 0 0 rgba(0,122,255,0.4); }
    70% { box-shadow: 0 0 0 6px rgba(0,122,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,122,255,0); }
}

.wcf-toggle-switch input[type="checkbox"]:checked + .wcf-toggle-slider {
    animation: togglePulse 0.6s ease-out;
}

/* Toggle clicked animasyonu için */
.wcf-toggle-switch.toggle-clicked .wcf-toggle-slider::before {
    animation: toggleBounce 0.3s ease;
}

@keyframes toggleBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Checked durumunda bounce animasyonu */
.wcf-toggle-switch.toggle-clicked input[type="checkbox"]:checked + .wcf-toggle-slider::before {
    animation: toggleBounceChecked 0.3s ease;
}

@keyframes toggleBounceChecked {
    0%, 100% { transform: translateX(22px) scale(1); }
    50% { transform: translateX(22px) scale(1.1); }
}

/* Mobil için checked bounce */
@media (max-width: 849px) {
    @keyframes toggleBounceCheckedMobile {
        0%, 100% { transform: translateX(24px) scale(1); }
        50% { transform: translateX(24px) scale(1.1); }
    }
    
    .wcf-toggle-switch.toggle-clicked input[type="checkbox"]:checked + .wcf-toggle-slider::before {
        animation: toggleBounceCheckedMobile 0.3s ease;
    }
 
    .wcf-search-filter-wrapper{
        margin-right: 0px;
    }
}

.wcf-search-input-mobile{
    box-shadow: none !important;
    border: 1px solid #d2d2d7 !;
    border-radius: 15px !important;
    height: 50px !important;
}
.wcf-search-input{
    box-shadow: none !important;
    border-radius: 6px !important;
    border: 1px solid #d2d2d7 !;
}

.wcf-search-filter-wrapper{
    margin-right: 10px;
}

/* Dropdown Search Box Stilleri */
.wcf-dropdown-search-wrapper {
    padding: 8px 16px;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
    border-radius: 12px 12px 0 0;
}

.wcf-dropdown-search {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d2d2d7;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f8f9fa;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.wcf-dropdown-search:focus {
    outline: none;
    border-color: #007aff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.wcf-dropdown-search::placeholder {
    color: #86868b;
    font-weight: 400;
}

/* Search box aktifken dropdown'ın scroll davranışı */
.wcf-filter-dropdown-content.wcf-has-search {
    max-height: 280px;
    padding: 0 0 8px 0;
}

@media (min-width: 850px) {
    .wcf-filter-dropdown-content.wcf-has-search {
        max-height: 400px;
    }
}

/* Masaüstü için search box stilleri */
@media (min-width: 850px) {
    .wcf-dropdown-search-wrapper {
        padding: 12px 16px;
    }
    
    .wcf-dropdown-search {
        padding: 10px 14px;
        font-size: 14px;
    }
}

/* Mobil için search box stilleri */
@media (max-width: 849px) {
    .wcf-dropdown-search-wrapper {
        padding: 6px 12px;
    }
    
    .wcf-dropdown-search {
        padding: 8px 12px;
        font-size: 14px;
    }
}

/* Filtreleme sonrası gizlenen option'lar için stil */
.wcf-filter-option.wcf-hidden {
    display: none !important;
}

/* Sonuç bulunamadı mesajı */
.wcf-no-results {
    padding: 16px;
    text-align: center;
    color: #86868b;
    font-size: 14px;
    font-style: italic;
    background: #f8f9fa;
    border-top: 1px solid #f0f0f0;
    margin-top: 8px;
}