/**
 * ========================================
 * FIX CLS SEGURO - Solo Componentes FiboSearch
 * ========================================
 * Versión conservadora que NO afecta subcategorías
 * ni otros elementos del tema
 */

/* 1. SOLO widgets de búsqueda */
.dgwt-wcas-search-wrapp,
.dgwt-wcas-sf-wrapp {
    min-height: 50px;
}

/* 2. Overlay de resultados (no empuja contenido) */
.dgwt-wcas-preloader,
.dgwt-wcas-suggestions-wrapp,
.dgwt-wcas-results-wrapp {
    position: absolute !important;
    z-index: 1000;
}

/* 3. Loader sin afectar layout */
.dgwt-wcas-ico-loupe-loader,
.dgwt-wcas-loader {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* 4. Filtros específicos de FiboSearch */
.dgwt-wcas-filters-container,
.dgwt-wcas-filter-item,
.fibo-filter-option {
    contain: layout;
}

/* 5. Skeleton solo cuando tiene clase loading específica */
.dgwt-wcas-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: dgwt-skeleton 1.5s ease-in-out infinite;
}

@keyframes dgwt-skeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* 6. Mobile - solo buscador */
@media (max-width: 768px) {
    .dgwt-wcas-search-wrapp {
        min-height: 50px;
    }
    
    .dgwt-wcas-open {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9999;
    }
}

/* FIN - CSS minimalista y seguro */

