<div class="category-navigation">
	<div class="container vpadding--top vpadding--xs">
		<div class="row">

			<div class="col-xs-12">
				<?php echo facetwp_display( 'facet', 'adaptation_levels' ); ?>	
				<?php echo facetwp_display( 'facet', 'search' ); ?>	
			</div>

		</div>
	</div>
</div> <!-- .category-navigation -->

<div class="product-listing">
	<div class="container vpadding--lg">

		<div class="row facetwp-template">
			<?php $args = array(
			    'post_type'=> 'adaptations',
			    'facetwp' => true
			);
			$query = new WP_Query( $args ); ?>
			<?php if ($query->have_posts()): ?>
				<?php while($query->have_posts()) : $query->the_post(); ?>
					<div class="col-xs-12 col-sm-6 col-md-4">
						<?php get_template_part('modules/product', 'listing-item'); ?>
					</div>
				<?php endwhile ?>
				<?php wp_reset_query(); ?>
			<?php else: ?>
				<div class="col-xs-12">
					<div class="no-results">
						<h2>Sorry, we couldn't find any adaptations based on your search</h2>
					</div>
				</div>
			<?php endif ?>
		</div>
	</div>
</div> <!-- .product-listing -->