{if $priceRanges.MAXIMUM|default:'' neq $priceRanges.MINIMUM|default:''}
    {assign var="priceRangeEnabled" value="1"}
{/if} 
{if $emiRanges.MAXIMUM|default:'' neq $emiRanges.MINIMUM|default:''}
    {assign var="emiRangeEnabled" value="1"}
{/if} 
{if $bodyStyles|count|default:0>0 || $brandID  > 0}	
    {assign var="attrSearchEnabled" value="1"}
{/if}
{assign var="urlCat" value="{$urlCat}"}

{if $priceRangeEnabled|default:'' eq '1' || $attrSearchEnabled|default:'' eq '1' || $emiRangeEnabled|default:'' eq '1'}
<div class="refine-search pr-lg-4 px-4">
	<div class="whiteBx clearfix text-left" id="demo-refine">
        {include file='AjaxPriceRanges.tpl'}   
        {if ($brandID  > 0 && $resBrandCategories|count>0 ) || (!$brandID  > 0 && $breadCrumb!='')}
            {form->hidden name="selectedCategory"}
            <div class="priceEmiDiv"></div>
            <div class="FltrSctn py-3 border-bottom catdis {if $urlCat|default:'' neq ''} hide {/if}">
                {*{html->anchor caption=$language.lblClear class="clearCatSearch float-right font-weight-bold" rel=""}*}
                <h5 class="expand-clsps font-weight-bold m-0 py-2 plus-ico">{$language.lblBrowse}</h5>
                {if $brandID  > 0}
                <div class="list-wrap sort_collapse" style="display:block">
                   
                    {form->textbox name="attrSearchCatFilter" class="attrSearchCatFilter form-control py-2 my-3" placeholder=$language.lblRefine}
                    <div class="listMenu listMenuScroll clearfix scrollbox">{$brandCategoryMenu}</div>
               </div>
            {else}
            <div class="list-wrap">
                <div class="listMenu listMenuScroll clearfix scrollbox">
                    {$breadCrumb}
                </div>
            </div>
       {/if}
    </div>
    {/if}
	{if $attrSearchEnabled|default:'' eq '1'}
         {include file='AjaxBodyType.tpl'}
	 {include file='AjaxCustomDetails.tpl'}
	{/if}	
    </div>
</div>
	{/if}
