<?php
/**
 * Search Form Template
 *
 * @package Navier_Instruments
 */
?>

<form role="search" method="get" class="search-form" action="<?php echo esc_url(home_url('/')); ?>">
    <label>
        <span class="screen-reader-text"><?php echo esc_html__('Search for:', 'navier-instruments'); ?></span>
        <input type="search" class="search-field form-input" placeholder="<?php echo esc_attr__('Search...', 'navier-instruments'); ?>" value="<?php echo get_search_query(); ?>" name="s" />
    </label>
    <button type="submit" class="search-submit btn btn--primary">
        <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
            <circle cx="11" cy="11" r="8"></circle>
            <line x1="21" y1="21" x2="16.65" y2="16.65"></line>
        </svg>
        <span class="screen-reader-text"><?php echo esc_html__('Search', 'navier-instruments'); ?></span>
    </button>
</form>
