Code to open/close search form in header on desktop. Elementor -> Custom Code -> Show search form.

Create hidden search form in header. Add class to form: “search-form”. Add class to button: “search-icon”. Add styles “display:block” to class “search-form–active”.