        /* Estilos para el filtro de familias */
        .filter-sidebar {
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            height: fit-content;
            position: sticky;
            top: 20px;
        }
        
        .filter-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #dee2e6;
        }
        
        .filter-title {
            font-size: 1.2rem;
            font-weight: 600;
            color: #333;
            margin: 0;
        }
        
        .filter-reset {
            color: #6c757d;
            text-decoration: none;
            font-size: 0.9rem;
            cursor: pointer;
        }
        
        .filter-reset:hover {
            color: #0d6efd;
        }
        
        .filter-list {
            list-style: none;
            padding: 0;
            margin: 0;
            max-height: 500px;
            overflow-y: auto;
        }
        
        .filter-item {
            padding: 10px 15px;
            margin-bottom: 8px;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            font-weight: 500;
        }
        
        .filter-item:hover {
            background-color: #e9ecef;
        }
        
        .filter-item.active {
            background-color: #e7f1ff;
            color: #0d6efd;
            border-left: 3px solid #0d6efd;
        }
        
        .filter-icon {
            margin-right: 10px;
            font-size: 1.1rem;
            width: 20px;
            text-align: center;
        }
        
        .filter-count {
            margin-left: auto;
            background-color: #dee2e6;
            color: #6c757d;
            border-radius: 12px;
            padding: 2px 8px;
            font-size: 0.8rem;
        }
          /* Badge de marca en productos */
        .product-brand-badge {
            position: static;
            top: 10px;
            right: 10px;
            background-color: rgba(255, 119, 0, 0.9);
            color: white;
            padding: 3px 8px;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 600;
            z-index: 10;
        }
        
        .product-container {
            position: relative; /* Necesario para posicionar el badge */
        }
        
        .filter-item.active .filter-count {
            background-color: #0d6efd;
            color: white;
        }
        
        @media (max-width: 768px) {
            .filter-sidebar {
                margin-bottom: 20px;
                position: static;
            }
        }