{% extends "base.html" %} {% import "macros/ui.html" as ui %} {% block title %}{{ t(key="brand", lang=lang | default(value='sk')) }}{% endblock title %} {% block breadcrumbs %} {% endblock breadcrumbs %} {% block content %} {% set L = lang | default(value='sk') %} {# Home layout adapted from the Kompress design mockup: the left "Kategórie" column is already supplied by base.html's #category-sidebar, so the main area is split into a featured product grid + a right rail (bestsellers / our stores / contact). All colors use the design tokens so light + dark both work; the brand accent is the medical blue set in app.css. #}
{% if products | length > 0 %}

{{ t(key="home-bestsellers", lang=L) }}

    {% for product in products | slice(end=5) %}
  1. {{ loop.index }} {% if product.image %} {{ product.name }} {% else %} {% endif %} {{ product.name }} {% if product.has_options %}{{ t(key="from-price", price=product.price, lang=lang | default(value='sk')) }}{% else %}{{ product.price }}{% endif %} {{ currency_symbol }}
  2. {% endfor %}
{{ t(key="home-bestsellers-all", lang=L) }}
{% endif %}

{{ t(key="shop-title", lang=lang | default(value='sk')) }}

{{ t(key="shop-subtitle", lang=lang | default(value='sk')) }}

{% if products | length > 0 %}

{{ t(key="nav-shop", lang=lang | default(value='sk')) }}

{{ t(key="cart-continue", lang=lang | default(value='sk')) }} →
{% for product in products %} {% include "shop/_card.html" %} {% endfor %}
{% else %}

{{ t(key="shop-empty", lang=lang | default(value='sk')) }}

{{ t(key="nav-shop", lang=lang | default(value='sk')) }}
{% endif %}
{% endblock content %}