<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;

/* catalog/view/theme/journal3/template/product/category.twig */
class __TwigTemplate_721d34ffb57a3f6c8e7fbe3c5af30323 extends Template
{
    private Source $source;
    /**
     * @var array<string, Template>
     */
    private array $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        // line 1
        yield ($context["header"] ?? null);
        yield "
";
        // line 2
        if ((CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["pageTitlePosition"], "method", false, false, false, 2) == "top")) {
            // line 3
            yield "  <h1 class=\"title page-title ";
            yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["title_color_scheme"], "method", false, false, false, 3);
            yield "\"><span class=\"page-title-text\">";
            yield ($context["heading_title"] ?? null);
            yield "</span></h1>
";
        }
        // line 5
        yield "<div class=\"breadcrumbs ";
        yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["breadcrumbs_color_scheme"], "method", false, false, false, 5);
        yield "\">
  <ul class=\"breadcrumb\">
    ";
        // line 7
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable(($context["breadcrumbs"] ?? null));
        foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) {
            // line 8
            yield "      <li><a href=\"";
            yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "href", [], "any", false, false, false, 8);
            yield "\">";
            yield CoreExtension::getAttribute($this->env, $this->source, $context["breadcrumb"], "text", [], "any", false, false, false, 8);
            yield "</a></li>
    ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_key'], $context['breadcrumb'], $context['_parent']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 10
        yield "  </ul>
</div>
";
        // line 12
        yield ($context["journal3_top"] ?? null);
        yield "
<div id=\"product-category\" class=\"container\">
  <div class=\"row\">";
        // line 14
        yield ($context["column_left"] ?? null);
        yield "
    ";
        // line 15
        if ((($context["column_left"] ?? null) && ($context["column_right"] ?? null))) {
            // line 16
            yield "    ";
            $context["class"] = "col-sm-6";
            // line 17
            yield "    ";
        } elseif ((($context["column_left"] ?? null) || ($context["column_right"] ?? null))) {
            // line 18
            yield "    ";
            $context["class"] = "col-sm-9";
            // line 19
            yield "    ";
        } else {
            // line 20
            yield "    ";
            $context["class"] = "col-sm-12";
            // line 21
            yield "    ";
        }
        // line 22
        yield "    <div id=\"content\" class=\"";
        yield ($context["class"] ?? null);
        yield "\">
      ";
        // line 23
        if ((CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["pageTitlePosition"], "method", false, false, false, 23) == "default")) {
            // line 24
            yield "      <h1 class=\"title page-title ";
            yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["title_color_scheme"], "method", false, false, false, 24);
            yield "\">";
            yield ($context["heading_title"] ?? null);
            yield "</h1>
      ";
        }
        // line 26
        yield "        ";
        if (($context["categories_mother"] ?? null)) {
            // line 27
            yield "<div class=\"mother-categories mother-links module-categories-1025 mb-5\">
<h3 class=\"title module-title\">Obere Kategorien</h3>

  <div class=\"mother-items category-grid no-scroll flex-grid gap-3\">

    ";
            // line 32
            $context['_parent'] = $context;
            $context['_seq'] = CoreExtension::ensureTraversable(($context["categories_mother"] ?? null));
            foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
                // line 33
                yield "    <div class=\"category-layout  \">
    <div class=\"category-thumb ";
                // line 34
                if (CoreExtension::getAttribute($this->env, $this->source, $context["category"], "active", [], "any", false, false, false, 34)) {
                    yield "active";
                }
                yield "\">
      
      <div class=\"caption\">
        <div class=\"name\"><a href=\"";
                // line 37
                yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "href", [], "any", false, false, false, 37);
                yield "\">";
                yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 37);
                yield "</a> </div>

               
              </div>
    </div>
  </div>
    
    ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_key'], $context['category'], $context['_parent']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 45
            yield "  </div>
</div>
";
        }
        // line 48
        yield "      ";
        if (($context["categories_brother"] ?? null)) {
            // line 49
            yield "<div class=\"refine-categories refine-links module-categories-1025\">
<h3 class=\"title module-title\">Kategorie</h3>

  <div class=\"refine-items category-grid no-scroll flex-grid\">

    ";
            // line 54
            $context['_parent'] = $context;
            $context['_seq'] = CoreExtension::ensureTraversable(($context["categories_brother"] ?? null));
            foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
                // line 55
                yield "    <div class=\"category-layout  \">
    <div class=\"category-thumb ";
                // line 56
                if (CoreExtension::getAttribute($this->env, $this->source, $context["category"], "active", [], "any", false, false, false, 56)) {
                    yield "active";
                }
                yield "\">
      
      <div class=\"caption\">
        <div class=\"name\"><a href=\"";
                // line 59
                yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "href", [], "any", false, false, false, 59);
                yield "\">";
                yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 59);
                yield "</a> </div>

               
              </div>
    </div>
  </div>
    
    ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_key'], $context['category'], $context['_parent']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 67
            yield "  </div>
</div>
";
        }
        // line 70
        yield "      ";
        yield ($context["content_top"] ?? null);
        yield "
      ";
        // line 71
        if (CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["categoryPageDescStatus"], "method", false, false, false, 71)) {
            // line 72
            yield "      ";
            if ((($context["thumb"] ?? null) || ($context["description"] ?? null))) {
                // line 73
                yield "      <div class=\"category-description\">
        ";
                // line 74
                if ((($context["thumb"] ?? null) && CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["categoryPageCategoryImageStatus"], "method", false, false, false, 74))) {
                    // line 75
                    yield "        <img src=\"";
                    yield ($context["thumb"] ?? null);
                    yield "\" ";
                    if (($context["thumb2x"] ?? null)) {
                        yield "srcset=\"";
                        yield ($context["thumb"] ?? null);
                        yield " 1x, ";
                        yield ($context["thumb2x"] ?? null);
                        yield " 2x\"";
                    }
                    yield " alt=\"";
                    yield ($context["heading_title"] ?? null);
                    yield "\" title=\"";
                    yield ($context["heading_title"] ?? null);
                    yield "\" class=\"category-image\" width=\"";
                    yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["image_dimensions_category.width"], "method", false, false, false, 75);
                    yield "\" height=\"";
                    yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["image_dimensions_category.height"], "method", false, false, false, 75);
                    yield "\"/>
        ";
                }
                // line 77
                yield "        ";
                if ((($context["description"] ?? null) && CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["categoryPageCategoryDescriptionStatus"], "method", false, false, false, 77))) {
                    // line 78
                    yield "        <div class=\"category-text\">";
                    yield ($context["description"] ?? null);
                    yield "</div>
        ";
                }
                // line 80
                yield "      </div>
      ";
            }
            // line 82
            yield "      ";
        }
        // line 83
        yield "
      ";
        // line 84
        if (CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["subcategoriesStatus"], "method", false, false, false, 84)) {
            // line 85
            yield "      ";
            if (($context["categories"] ?? null)) {
                yield "asd
      <div class=\"refine-categories refine-";
                // line 86
                yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["subcategoriesDisplay"], "method", false, false, false, 86);
                yield "\">
      ";
                // line 87
                if (CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["refineTitle"], "method", false, false, false, 87)) {
                    // line 88
                    yield "      <h3 class=\"refine-title title\">";
                    yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["refineTitleText"], "method", false, false, false, 88);
                    yield "</h3>
      ";
                }
                // line 90
                yield "      ";
                if (((CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["subcategoriesGridType"], "method", false, false, false, 90) == "ipr") && (CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["subcategoriesDisplay"], "method", false, false, false, 90) == "carousel"))) {
                    // line 91
                    yield "      <div class=\"swiper\" data-items-per-row='";
                    yield json_encode(CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["subcategoriesItemsPerRow"], "method", false, false, false, 91), Twig\Extension\CoreExtension::constant("JSON_FORCE_OBJECT"));
                    yield "' data-options='";
                    yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "jsonAttrs", [($context["journal3_images_carousel"] ?? null)], "method", false, false, false, 91);
                    yield "'>
        <div class=\"swiper-container\" ";
                    // line 92
                    if (CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "is_rtl", [], "any", false, false, false, 92)) {
                        yield "dir=\"rtl\"";
                    }
                    yield ">
          <div class=\"swiper-wrapper ipr-grid\">
            ";
                    // line 94
                    $context['_parent'] = $context;
                    $context['_seq'] = CoreExtension::ensureTraversable(($context["categories"] ?? null));
                    foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
                        // line 95
                        yield "            <div class=\"refine-item swiper-slide\">
              <a href=\"";
                        // line 96
                        yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "href", [], "any", false, false, false, 96);
                        yield "\">
                ";
                        // line 97
                        if ((CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["subcategoriesDisplay"], "method", false, false, false, 97) != "links")) {
                            // line 98
                            yield "                <img src=\"";
                            yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "image", [], "any", false, false, false, 98);
                            yield "\" ";
                            if (CoreExtension::getAttribute($this->env, $this->source, $context["category"], "image2x", [], "any", false, false, false, 98)) {
                                yield "srcset=\"";
                                yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "image", [], "any", false, false, false, 98);
                                yield " 1x, ";
                                yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "image2x", [], "any", false, false, false, 98);
                                yield " 2x\"";
                            }
                            yield " alt=\"";
                            yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "alt", [], "any", false, false, false, 98);
                            yield "\" width=\"";
                            yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["image_dimensions_subcategory.width"], "method", false, false, false, 98);
                            yield "\" height=\"";
                            yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["image_dimensions_subcategory.height"], "method", false, false, false, 98);
                            yield "\"/>
                ";
                        }
                        // line 100
                        yield "                <span class=\"refine-name\">";
                        yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 100);
                        yield "</span>
              </a>
            </div>
            ";
                    }
                    $_parent = $context['_parent'];
                    unset($context['_seq'], $context['_key'], $context['category'], $context['_parent']);
                    $context = array_intersect_key($context, $_parent) + $_parent;
                    // line 104
                    yield "          </div>
        </div>
        <div class=\"swiper-buttons\">
          <div class=\"swiper-button-prev\"></div>
          <div class=\"swiper-button-next\"></div>
        </div>
        <div class=\"swiper-pagination\"></div>
      </div>
      ";
                } else {
                    // line 113
                    yield "      <div class=\"refine-items no-scroll ";
                    yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["subcategoriesGridType"], "method", false, false, false, 113);
                    yield "-grid\">
      ";
                    // line 114
                    if ((CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["subcategoriesGridType"], "method", false, false, false, 114) == "auto")) {
                        // line 115
                        yield "        <div class=\"auto-grid-items\">
          ";
                        // line 116
                        $context['_parent'] = $context;
                        $context['_seq'] = CoreExtension::ensureTraversable(($context["categories"] ?? null));
                        foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
                            // line 117
                            yield "            <div class=\"refine-item\">
              <a href=\"";
                            // line 118
                            yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "href", [], "any", false, false, false, 118);
                            yield "\">
                ";
                            // line 119
                            if ((CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["subcategoriesDisplay"], "method", false, false, false, 119) != "links")) {
                                // line 120
                                yield "                  <img src=\"";
                                yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "image", [], "any", false, false, false, 120);
                                yield "\" ";
                                if (CoreExtension::getAttribute($this->env, $this->source, $context["category"], "image2x", [], "any", false, false, false, 120)) {
                                    yield "srcset=\"";
                                    yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "image", [], "any", false, false, false, 120);
                                    yield " 1x, ";
                                    yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "image2x", [], "any", false, false, false, 120);
                                    yield " 2x\"";
                                }
                                yield " alt=\"";
                                yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "alt", [], "any", false, false, false, 120);
                                yield "\" width=\"";
                                yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["image_dimensions_subcategory.width"], "method", false, false, false, 120);
                                yield "\" height=\"";
                                yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["image_dimensions_subcategory.height"], "method", false, false, false, 120);
                                yield "\"/>
                ";
                            }
                            // line 122
                            yield "                <span class=\"refine-name\">";
                            yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 122);
                            yield "</span>
              </a>
            </div>
          ";
                        }
                        $_parent = $context['_parent'];
                        unset($context['_seq'], $context['_key'], $context['category'], $context['_parent']);
                        $context = array_intersect_key($context, $_parent) + $_parent;
                        // line 126
                        yield "        </div>
        <div class=\"auto-carousel-bar auto-carousel-controls\"><div class=\"auto-carousel-thumb\"></div><div class=\"auto-carousel-fill\"></div></div>
        <div class=\"auto-carousel-buttons auto-carousel-controls\"><div class=\"auto-carousel-prev\"><span></span></div><div class=\"auto-carousel-next\"><span></span></div></div>
      ";
                    } else {
                        // line 130
                        yield "        ";
                        $context['_parent'] = $context;
                        $context['_seq'] = CoreExtension::ensureTraversable(($context["categories"] ?? null));
                        foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
                            // line 131
                            yield "          <div class=\"refine-item\">
            <a href=\"";
                            // line 132
                            yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "href", [], "any", false, false, false, 132);
                            yield "\">
              ";
                            // line 133
                            if ((CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["subcategoriesDisplay"], "method", false, false, false, 133) != "links")) {
                                // line 134
                                yield "                <img src=\"";
                                yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "image", [], "any", false, false, false, 134);
                                yield "\" ";
                                if (CoreExtension::getAttribute($this->env, $this->source, $context["category"], "image2x", [], "any", false, false, false, 134)) {
                                    yield "srcset=\"";
                                    yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "image", [], "any", false, false, false, 134);
                                    yield " 1x, ";
                                    yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "image2x", [], "any", false, false, false, 134);
                                    yield " 2x\"";
                                }
                                yield " alt=\"";
                                yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "alt", [], "any", false, false, false, 134);
                                yield "\" width=\"";
                                yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["image_dimensions_subcategory.width"], "method", false, false, false, 134);
                                yield "\" height=\"";
                                yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["image_dimensions_subcategory.height"], "method", false, false, false, 134);
                                yield "\"/>
              ";
                            }
                            // line 136
                            yield "              <span class=\"refine-name\">";
                            yield CoreExtension::getAttribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 136);
                            yield "</span>
            </a>
          </div>
        ";
                        }
                        $_parent = $context['_parent'];
                        unset($context['_seq'], $context['_key'], $context['category'], $context['_parent']);
                        $context = array_intersect_key($context, $_parent) + $_parent;
                        // line 140
                        yield "      ";
                    }
                    // line 141
                    yield "      </div>
      ";
                }
                // line 143
                yield "      </div>
      ";
            }
            // line 145
            yield "      ";
        }
        // line 146
        yield "      <div class=\"main-products-wrapper\">
      ";
        // line 147
        if (($context["products"] ?? null)) {
            // line 148
            yield "      ";
            if (CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["sortBarStatus"], "method", false, false, false, 148)) {
                // line 149
                yield "      <div class=\"products-filter\">
        <div class=\"grid-list\">
          <button id=\"btn-grid-view\" class=\"view-btn ";
                // line 151
                if ((CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["globalProductView"], "method", false, false, false, 151) == "grid")) {
                    yield "active";
                }
                yield "\" ";
                if (CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "is_desktop", [], "any", false, false, false, 151)) {
                    yield "data-toggle=\"tooltip-hover\"";
                }
                yield " title=\"";
                yield ($context["button_grid"] ?? null);
                yield "\" data-view=\"grid\" aria-label=\"";
                yield ($context["button_grid"] ?? null);
                yield "\"></button>
          <button id=\"btn-list-view\" class=\"view-btn ";
                // line 152
                if ((CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["globalProductView"], "method", false, false, false, 152) == "list")) {
                    yield "active";
                }
                yield "\" ";
                if (CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "is_desktop", [], "any", false, false, false, 152)) {
                    yield "data-toggle=\"tooltip-hover\"";
                }
                yield " title=\"";
                yield ($context["button_list"] ?? null);
                yield "\" data-view=\"list\" aria-label=\"";
                yield ($context["button_list"] ?? null);
                yield "\"></button>
          <a href=\"";
                // line 153
                yield ($context["compare"] ?? null);
                yield "\" id=\"compare-total\" class=\"compare-btn\" title=\"";
                yield ($context["text_compare"] ?? null);
                yield "\">";
                yield ($context["journal3_text_compare"] ?? null);
                yield "</a>
        </div>
        <div class=\"select-group\">
          <div class=\"input-group input-group-sm sort-by\">
            <label class=\"input-group-addon\" for=\"input-sort\">";
                // line 157
                yield ($context["text_sort"] ?? null);
                yield "</label>
            <select id=\"input-sort\" class=\"form-control\" data-filter-sort=\"";
                // line 158
                yield ($context["journal3_filter_sort"] ?? null);
                yield "\" data-filter-order=\"";
                yield ($context["journal3_filter_order"] ?? null);
                yield "\">
              ";
                // line 159
                $context['_parent'] = $context;
                $context['_seq'] = CoreExtension::ensureTraversable($context["sorts"]);
                foreach ($context['_seq'] as $context["_key"] => $context["sorts"]) {
                    // line 160
                    yield "              ";
                    if ((CoreExtension::getAttribute($this->env, $this->source, $context["sorts"], "value", [], "any", false, false, false, 160) == Twig\Extension\CoreExtension::sprintf("%s-%s", ($context["sort"] ?? null), ($context["order"] ?? null)))) {
                        // line 161
                        yield "              <option value=\"";
                        yield CoreExtension::getAttribute($this->env, $this->source, $context["sorts"], "href", [], "any", false, false, false, 161);
                        yield "\" selected=\"selected\">";
                        yield CoreExtension::getAttribute($this->env, $this->source, $context["sorts"], "text", [], "any", false, false, false, 161);
                        yield "</option>
              ";
                    } else {
                        // line 163
                        yield "              <option value=\"";
                        yield CoreExtension::getAttribute($this->env, $this->source, $context["sorts"], "href", [], "any", false, false, false, 163);
                        yield "\">";
                        yield CoreExtension::getAttribute($this->env, $this->source, $context["sorts"], "text", [], "any", false, false, false, 163);
                        yield "</option>
              ";
                    }
                    // line 165
                    yield "              ";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_key'], $context['sorts'], $context['_parent']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 166
                yield "            </select>
          </div>
          <div class=\"input-group input-group-sm per-page\">
            <label class=\"input-group-addon\" for=\"input-limit\">";
                // line 169
                yield ($context["text_limit"] ?? null);
                yield "</label>
            <select id=\"input-limit\" class=\"form-control\" data-filter-limit=\"";
                // line 170
                yield ($context["journal3_filter_limit"] ?? null);
                yield "\">
              ";
                // line 171
                $context['_parent'] = $context;
                $context['_seq'] = CoreExtension::ensureTraversable($context["limits"]);
                foreach ($context['_seq'] as $context["_key"] => $context["limits"]) {
                    // line 172
                    yield "              ";
                    if ((CoreExtension::getAttribute($this->env, $this->source, $context["limits"], "value", [], "any", false, false, false, 172) == ($context["limit"] ?? null))) {
                        // line 173
                        yield "              <option value=\"";
                        yield CoreExtension::getAttribute($this->env, $this->source, $context["limits"], "href", [], "any", false, false, false, 173);
                        yield "\" selected=\"selected\">";
                        yield CoreExtension::getAttribute($this->env, $this->source, $context["limits"], "text", [], "any", false, false, false, 173);
                        yield "</option>
              ";
                    } else {
                        // line 175
                        yield "              <option value=\"";
                        yield CoreExtension::getAttribute($this->env, $this->source, $context["limits"], "href", [], "any", false, false, false, 175);
                        yield "\">";
                        yield CoreExtension::getAttribute($this->env, $this->source, $context["limits"], "text", [], "any", false, false, false, 175);
                        yield "</option>
              ";
                    }
                    // line 177
                    yield "              ";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_key'], $context['limits'], $context['_parent']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 178
                yield "            </select>
          </div>
        </div>
      </div>
      ";
            }
            // line 183
            yield "      <div class=\"main-products main-products-style product-";
            yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["globalProductView"], "method", false, false, false, 183);
            yield " ";
            yield CoreExtension::getAttribute($this->env, $this->source, ($context["journal3"] ?? null), "get", ["globalProductGridType"], "method", false, false, false, 183);
            yield "-grid\" data-product-count=\"";
            yield ($context["journal3_products_count"] ?? null);
            yield "\">
        ";
            // line 184
            yield ($context["products"] ?? null);
            yield "
      </div>
      <div class=\"row pagination-results\">
        <div class=\"col-sm-6 text-left\">";
            // line 187
            yield ($context["pagination"] ?? null);
            yield "</div>
        <div class=\"col-sm-6 text-right\">";
            // line 188
            yield ($context["results"] ?? null);
            yield "</div>
      </div>
      ";
        }
        // line 191
        yield "      ";
        if (( !($context["categories"] ?? null) &&  !($context["products"] ?? null))) {
            // line 192
            yield "      <p>";
            yield ($context["text_empty"] ?? null);
            yield "</p>
      <div class=\"buttons\">
        <div class=\"pull-right\"><a href=\"";
            // line 194
            yield ($context["continue"] ?? null);
            yield "\" class=\"btn btn-primary\">";
            yield ($context["button_continue"] ?? null);
            yield "</a></div>
      </div>
      ";
        }
        // line 197
        yield "      </div>
      ";
        // line 198
        yield ($context["content_bottom"] ?? null);
        yield "</div>
    ";
        // line 199
        yield ($context["column_right"] ?? null);
        yield "</div>
</div>
";
        // line 201
        yield ($context["journal3_rich_snippets"] ?? null);
        yield "
<script>
document.addEventListener(\"DOMContentLoaded\", function () {

    const refine = document.querySelector('.refine-categories');
    const mother = document.querySelector('.mother-categories');
    const sub = document.querySelector('.sub-categories');
    const filter = document.querySelector('.filter-container');

    if (refine && sub) {
        sub.parentNode.insertBefore(refine, sub);
    }else if(filter && refine){
        filter.parentNode.insertBefore(refine, filter);
    }
    if (mother && refine) {
        refine.parentNode.insertBefore(mother, refine);
    }

});
</script>
";
        // line 221
        yield ($context["footer"] ?? null);
        yield " 
";
        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "catalog/view/theme/journal3/template/product/category.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function isTraitable(): bool
    {
        return false;
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  699 => 221,  676 => 201,  671 => 199,  667 => 198,  664 => 197,  656 => 194,  650 => 192,  647 => 191,  641 => 188,  637 => 187,  631 => 184,  622 => 183,  615 => 178,  609 => 177,  601 => 175,  593 => 173,  590 => 172,  586 => 171,  582 => 170,  578 => 169,  573 => 166,  567 => 165,  559 => 163,  551 => 161,  548 => 160,  544 => 159,  538 => 158,  534 => 157,  523 => 153,  509 => 152,  495 => 151,  491 => 149,  488 => 148,  486 => 147,  483 => 146,  480 => 145,  476 => 143,  472 => 141,  469 => 140,  458 => 136,  438 => 134,  436 => 133,  432 => 132,  429 => 131,  424 => 130,  418 => 126,  407 => 122,  387 => 120,  385 => 119,  381 => 118,  378 => 117,  374 => 116,  371 => 115,  369 => 114,  364 => 113,  353 => 104,  342 => 100,  322 => 98,  320 => 97,  316 => 96,  313 => 95,  309 => 94,  302 => 92,  295 => 91,  292 => 90,  286 => 88,  284 => 87,  280 => 86,  275 => 85,  273 => 84,  270 => 83,  267 => 82,  263 => 80,  257 => 78,  254 => 77,  232 => 75,  230 => 74,  227 => 73,  224 => 72,  222 => 71,  217 => 70,  212 => 67,  196 => 59,  188 => 56,  185 => 55,  181 => 54,  174 => 49,  171 => 48,  166 => 45,  150 => 37,  142 => 34,  139 => 33,  135 => 32,  128 => 27,  125 => 26,  117 => 24,  115 => 23,  110 => 22,  107 => 21,  104 => 20,  101 => 19,  98 => 18,  95 => 17,  92 => 16,  90 => 15,  86 => 14,  81 => 12,  77 => 10,  66 => 8,  62 => 7,  56 => 5,  48 => 3,  46 => 2,  42 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("{{ header }}
{% if journal3.get('pageTitlePosition') == 'top' %}
  <h1 class=\"title page-title {{ journal3.get('title_color_scheme') }}\"><span class=\"page-title-text\">{{ heading_title }}</span></h1>
{% endif %}
<div class=\"breadcrumbs {{ journal3.get('breadcrumbs_color_scheme') }}\">
  <ul class=\"breadcrumb\">
    {% for breadcrumb in breadcrumbs %}
      <li><a href=\"{{ breadcrumb.href }}\">{{ breadcrumb.text }}</a></li>
    {% endfor %}
  </ul>
</div>
{{ journal3_top }}
<div id=\"product-category\" class=\"container\">
  <div class=\"row\">{{ column_left }}
    {% if column_left and column_right %}
    {% set class = 'col-sm-6' %}
    {% elseif column_left or column_right %}
    {% set class = 'col-sm-9' %}
    {% else %}
    {% set class = 'col-sm-12' %}
    {% endif %}
    <div id=\"content\" class=\"{{ class }}\">
      {% if journal3.get('pageTitlePosition') == 'default' %}
      <h1 class=\"title page-title {{ journal3.get('title_color_scheme') }}\">{{ heading_title }}</h1>
      {% endif %}
        {% if categories_mother %}
<div class=\"mother-categories mother-links module-categories-1025 mb-5\">
<h3 class=\"title module-title\">Obere Kategorien</h3>

  <div class=\"mother-items category-grid no-scroll flex-grid gap-3\">

    {% for category in categories_mother %}
    <div class=\"category-layout  \">
    <div class=\"category-thumb {% if category.active %}active{% endif %}\">
      
      <div class=\"caption\">
        <div class=\"name\"><a href=\"{{ category.href }}\">{{ category.name }}</a> </div>

               
              </div>
    </div>
  </div>
    
    {% endfor %}
  </div>
</div>
{% endif %}
      {% if categories_brother %}
<div class=\"refine-categories refine-links module-categories-1025\">
<h3 class=\"title module-title\">Kategorie</h3>

  <div class=\"refine-items category-grid no-scroll flex-grid\">

    {% for category in categories_brother %}
    <div class=\"category-layout  \">
    <div class=\"category-thumb {% if category.active %}active{% endif %}\">
      
      <div class=\"caption\">
        <div class=\"name\"><a href=\"{{ category.href }}\">{{ category.name }}</a> </div>

               
              </div>
    </div>
  </div>
    
    {% endfor %}
  </div>
</div>
{% endif %}
      {{ content_top }}
      {% if journal3.get('categoryPageDescStatus') %}
      {% if thumb or description %}
      <div class=\"category-description\">
        {% if thumb and journal3.get('categoryPageCategoryImageStatus') %}
        <img src=\"{{ thumb }}\" {% if thumb2x %}srcset=\"{{ thumb }} 1x, {{ thumb2x }} 2x\"{% endif %} alt=\"{{ heading_title }}\" title=\"{{ heading_title }}\" class=\"category-image\" width=\"{{ journal3.get('image_dimensions_category.width') }}\" height=\"{{ journal3.get('image_dimensions_category.height') }}\"/>
        {% endif %}
        {% if description and journal3.get('categoryPageCategoryDescriptionStatus') %}
        <div class=\"category-text\">{{ description }}</div>
        {% endif %}
      </div>
      {% endif %}
      {% endif %}

      {% if journal3.get('subcategoriesStatus') %}
      {% if categories %}asd
      <div class=\"refine-categories refine-{{ journal3.get('subcategoriesDisplay') }}\">
      {% if journal3.get('refineTitle') %}
      <h3 class=\"refine-title title\">{{ journal3.get('refineTitleText') }}</h3>
      {% endif %}
      {% if journal3.get('subcategoriesGridType') == 'ipr' and journal3.get('subcategoriesDisplay') == 'carousel' %}
      <div class=\"swiper\" data-items-per-row='{{ journal3.get('subcategoriesItemsPerRow')|json_encode(constant('JSON_FORCE_OBJECT')) }}' data-options='{{ journal3.jsonAttrs(journal3_images_carousel) }}'>
        <div class=\"swiper-container\" {% if journal3.is_rtl %}dir=\"rtl\"{% endif %}>
          <div class=\"swiper-wrapper ipr-grid\">
            {% for category in categories %}
            <div class=\"refine-item swiper-slide\">
              <a href=\"{{ category.href }}\">
                {% if journal3.get('subcategoriesDisplay') != 'links' %}
                <img src=\"{{ category.image }}\" {% if category.image2x %}srcset=\"{{ category.image }} 1x, {{ category.image2x }} 2x\"{% endif %} alt=\"{{ category.alt }}\" width=\"{{ journal3.get('image_dimensions_subcategory.width') }}\" height=\"{{ journal3.get('image_dimensions_subcategory.height') }}\"/>
                {% endif %}
                <span class=\"refine-name\">{{ category.name }}</span>
              </a>
            </div>
            {% endfor %}
          </div>
        </div>
        <div class=\"swiper-buttons\">
          <div class=\"swiper-button-prev\"></div>
          <div class=\"swiper-button-next\"></div>
        </div>
        <div class=\"swiper-pagination\"></div>
      </div>
      {% else %}
      <div class=\"refine-items no-scroll {{ journal3.get('subcategoriesGridType') }}-grid\">
      {% if journal3.get('subcategoriesGridType') == 'auto' %}
        <div class=\"auto-grid-items\">
          {% for category in categories %}
            <div class=\"refine-item\">
              <a href=\"{{ category.href }}\">
                {% if journal3.get('subcategoriesDisplay') != 'links' %}
                  <img src=\"{{ category.image }}\" {% if category.image2x %}srcset=\"{{ category.image }} 1x, {{ category.image2x }} 2x\"{% endif %} alt=\"{{ category.alt }}\" width=\"{{ journal3.get('image_dimensions_subcategory.width') }}\" height=\"{{ journal3.get('image_dimensions_subcategory.height') }}\"/>
                {% endif %}
                <span class=\"refine-name\">{{ category.name }}</span>
              </a>
            </div>
          {% endfor %}
        </div>
        <div class=\"auto-carousel-bar auto-carousel-controls\"><div class=\"auto-carousel-thumb\"></div><div class=\"auto-carousel-fill\"></div></div>
        <div class=\"auto-carousel-buttons auto-carousel-controls\"><div class=\"auto-carousel-prev\"><span></span></div><div class=\"auto-carousel-next\"><span></span></div></div>
      {% else %}
        {% for category in categories %}
          <div class=\"refine-item\">
            <a href=\"{{ category.href }}\">
              {% if journal3.get('subcategoriesDisplay') != 'links' %}
                <img src=\"{{ category.image }}\" {% if category.image2x %}srcset=\"{{ category.image }} 1x, {{ category.image2x }} 2x\"{% endif %} alt=\"{{ category.alt }}\" width=\"{{ journal3.get('image_dimensions_subcategory.width') }}\" height=\"{{ journal3.get('image_dimensions_subcategory.height') }}\"/>
              {% endif %}
              <span class=\"refine-name\">{{ category.name }}</span>
            </a>
          </div>
        {% endfor %}
      {% endif %}
      </div>
      {% endif %}
      </div>
      {% endif %}
      {% endif %}
      <div class=\"main-products-wrapper\">
      {% if products %}
      {% if journal3.get('sortBarStatus') %}
      <div class=\"products-filter\">
        <div class=\"grid-list\">
          <button id=\"btn-grid-view\" class=\"view-btn {% if journal3.get('globalProductView') == 'grid' %}active{% endif %}\" {% if journal3.is_desktop %}data-toggle=\"tooltip-hover\"{% endif%} title=\"{{ button_grid }}\" data-view=\"grid\" aria-label=\"{{ button_grid }}\"></button>
          <button id=\"btn-list-view\" class=\"view-btn {% if journal3.get('globalProductView') == 'list' %}active{% endif %}\" {% if journal3.is_desktop %}data-toggle=\"tooltip-hover\"{% endif%} title=\"{{ button_list }}\" data-view=\"list\" aria-label=\"{{ button_list }}\"></button>
          <a href=\"{{ compare }}\" id=\"compare-total\" class=\"compare-btn\" title=\"{{ text_compare }}\">{{ journal3_text_compare }}</a>
        </div>
        <div class=\"select-group\">
          <div class=\"input-group input-group-sm sort-by\">
            <label class=\"input-group-addon\" for=\"input-sort\">{{ text_sort }}</label>
            <select id=\"input-sort\" class=\"form-control\" data-filter-sort=\"{{ journal3_filter_sort }}\" data-filter-order=\"{{ journal3_filter_order }}\">
              {% for sorts in sorts %}
              {% if sorts.value == '%s-%s'|format(sort, order) %}
              <option value=\"{{ sorts.href }}\" selected=\"selected\">{{ sorts.text }}</option>
              {% else %}
              <option value=\"{{ sorts.href }}\">{{ sorts.text }}</option>
              {% endif %}
              {% endfor %}
            </select>
          </div>
          <div class=\"input-group input-group-sm per-page\">
            <label class=\"input-group-addon\" for=\"input-limit\">{{ text_limit }}</label>
            <select id=\"input-limit\" class=\"form-control\" data-filter-limit=\"{{ journal3_filter_limit }}\">
              {% for limits in limits %}
              {% if limits.value == limit %}
              <option value=\"{{ limits.href }}\" selected=\"selected\">{{ limits.text }}</option>
              {% else %}
              <option value=\"{{ limits.href }}\">{{ limits.text }}</option>
              {% endif %}
              {% endfor %}
            </select>
          </div>
        </div>
      </div>
      {% endif %}
      <div class=\"main-products main-products-style product-{{ journal3.get('globalProductView') }} {{ journal3.get('globalProductGridType') }}-grid\" data-product-count=\"{{ journal3_products_count }}\">
        {{ products }}
      </div>
      <div class=\"row pagination-results\">
        <div class=\"col-sm-6 text-left\">{{ pagination }}</div>
        <div class=\"col-sm-6 text-right\">{{ results }}</div>
      </div>
      {% endif %}
      {% if not categories and not products %}
      <p>{{ text_empty }}</p>
      <div class=\"buttons\">
        <div class=\"pull-right\"><a href=\"{{ continue }}\" class=\"btn btn-primary\">{{ button_continue }}</a></div>
      </div>
      {% endif %}
      </div>
      {{ content_bottom }}</div>
    {{ column_right }}</div>
</div>
{{ journal3_rich_snippets }}
<script>
document.addEventListener(\"DOMContentLoaded\", function () {

    const refine = document.querySelector('.refine-categories');
    const mother = document.querySelector('.mother-categories');
    const sub = document.querySelector('.sub-categories');
    const filter = document.querySelector('.filter-container');

    if (refine && sub) {
        sub.parentNode.insertBefore(refine, sub);
    }else if(filter && refine){
        filter.parentNode.insertBefore(refine, filter);
    }
    if (mother && refine) {
        refine.parentNode.insertBefore(mother, refine);
    }

});
</script>
{{ footer }} 
", "catalog/view/theme/journal3/template/product/category.twig", "/home/isatuzun/public_html/opencart.my-multiplanet.ch/catalog/view/theme/journal3/template/product/category.twig");
    }
}
