{% if filters is not empty %}
<section class="unselectble" data-section="filters">
	<section class="unselectable" data-type="select" data-filter="brand" tabindex="4">
		{% set cheked_brand = account.buffer.filters.brand ?? session.buffer.filters.brand %}
		<input name="brand" type="radio" id="brand_title" onclick="core.catalog.parameters.set('brand', null); core.catalog.search()" {% if checked_brand
			is empty %} checked{% endif %}>
		<label for="brand_title" type="button">{{ language == 'ru' ? 'Бренд' : 'Brand' }}</label>
		<input name="brand" type="radio" id="brand_all" onclick="core.catalog.parameters.set('brand', null); core.catalog.search()">
		<label for="brand_all" type="button">{{ language == 'ru' ? 'Все бренды' : 'All brands' }}</label>
		{% for brand in filters.brands %}
		<input name="brand" type="radio" id="brand_{{ loop.index }}" onclick="core.catalog.parameters.set('brand', '{{ brand }}'); core.catalog.search()" {%
			if brand==checked_brand %} checked{% endif %}>
		<label for="brand_{{ loop.index }}" type="button">{{ brand }}</label>
		{% endfor %}
	</section>
</section>
{% endif %}
