<?php
/**
 * Part template
 *
 * @package     productive-ecommerce
 * @author      productiveminds.com
 * @copyright   productiveminds.com
 * 
 */
?>

<?php
$post_thumbnail_id = productive_ecommerce_page_banner_image();
$top_banner_title_css_style = productive_ecommerce_top_banner_title_css_style();
$thumbnail_image = productive_global_get_attachment_url_by_attachment_id( $post_thumbnail_id, PRODUCTIVE_ECOMMERCE_PLACEHOLDER_IMAGE_TOP_BANNER_ALL );
?>
    <?php do_action('productive_global_render_content_wrapper_full_full_top'); ?>
        <div class="productiveminds_banner_container top_banner container_with_bg_image <?php echo PRODUCTIVE_ECOMMERCE_CUSTOMIZER_show_top_banner; ?> search-result productiveminds-alignable-container <?php echo productive_ecommerce_top_banner_alignment_v(); ?>" style="background-image: url(<?php echo esc_url( $thumbnail_image ); ?>); height: <?php echo esc_attr( productive_ecommerce_top_banner_height() ); ?>px">
            <div class="productiveminds_banner_container_content_bg_overlay"></div>
            <div class="productiveminds-alignable-container_uno productiveminds_banner_container_content_bg_overlay_content">
                <?php do_action( 'productive_global_render_content_wrapper_full_top', 'top_banner-wrapper ' . productive_ecommerce_top_banner_alignment_h() ); ?>
                <?php do_action( 'productive_global_render_search_result_title', $top_banner_title_css_style ); ?>
                <?php do_action('productive_global_render_content_wrapper_full_bottom'); ?>
            </div>
        </div>
    <?php do_action('productive_global_render_content_wrapper_full_full_bottom'); ?>
    
    <?php do_action( 'productive_breadcrumb_render' ); ?>
    <?php
