{% sw_extends '@Storefront/storefront/component/product/description.html.twig' %}

{% block component_product_description_container %}
    <div id="wine-info">
        <img src="{{ asset('/bundles/weinmanufakturtheme/img/glass_8.svg') }}" role="presentation" alt="Glas">
        <div>
            <h4>{{ "product-detail.wine-info.description"|trans }}</h4>
            <p>{{ product.description }}</p>
        </div>
        <img src="{{ asset('/bundles/weinmanufakturtheme/img/besteck_3.svg') }}" role="presentation" alt="Besteck">
        {% if product.customFields.custom_wine_attributes_speiseempfehlung is not empty %}
            <div>
                <h4>{{ "product-detail.wine-info.food-pairing"|trans }}</h4>
                <p>{{ product.customFields.custom_wine_attributes_speiseempfehlung }}</p>
            </div>
        {% endif %}
        <img src="{{ asset('/bundles/weinmanufakturtheme/img/temp_4.svg') }}" alt="Thermometer">
        {% if product.customFields.custom_wine_attributes_trinktemperatur is not empty %}
            <div>
                <h4>{{ "product-detail.wine-info.temperature"|trans }}</h4>
                <p>{{ product.customFields.custom_wine_attributes_trinktemperatur }} °C</p>
            </div>
        {% endif %}
    </div>

    {% block component_product_description_content_properties %}
        {{ parent() }}
    {% endblock %}

{% endblock %}