<?php

/**
 * Template part for displaying the top-nav searchform collapse widget if WooCommerce is installed
 * Template Version: 6.3.1
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package Bootscore
 */


// Exit if accessed directly
defined('ABSPATH') || exit;

?>


<!-- Collapse Search -->
<?php if (is_active_sidebar('top-nav-search')) : ?>
  <div class="collapse <?= esc_attr(apply_filters('bootscore/class/header/collapse', 'bg-body-tertiary position-absolute start-0 end-0')); ?>" id="collapse-search">
    <div class="<?= esc_attr(apply_filters('bootscore/class/container', 'container', 'collapse-search')); ?> pb-2">
      <?php dynamic_sidebar('top-nav-search'); ?>
    </div>
  </div>
<?php endif; ?>
