
<style>
    .product_headline2 {
        height: 4em;
        overflow: hidden;
        text-overflow: ellipsis;
    }
</style>
                                <div class="shop-item">

                                    <div class="thumbnail">
                                        <!-- product image(s) -->
                                        <a class="shop-item-image"
                                           href="{{ url('/produkte/'.$subsite.'/'.$product->slug) }}">
                                            @php ($set = 'first')
                                            @foreach($product->imagesActive as $image)
                                                @if($image->active)
                                                    @if($image->slug)
                                                        @if($set == 'hover')
                                                            <img class="img-responsive hidden-xs"
                                                                 src="{{ route('shop_product_image', [$image->slug]) }}"
                                                                 alt="{{ $product->getLang('name') }}"/>
                                                            @php($set = 'done')
                                                        @endif

                                                        @if($set == 'first')
                                                            <img class="img-responsive"
                                                                 src="{{ route('shop_product_image', [$image->slug]) }}"
                                                                 alt="{{ $product->getLang('name') }}"/>
                                                            @php($set = 'hover')
                                                        @endif
                                                    @endif
                                                @endif
                                            @endforeach
                                        </a>

                                    </div>

                                    @if($user_shop)
                                    <div class="shop-item-summary text-center ">
                                        <h2 class="product_headline2"><a href="{{ url('/produkte/'.$subsite.'/'.$product->slug) }}">{{ $product->getLang('name')  }}</a></h2>
                                        <!-- rating -->
                                        <div class="shop-item-rating-line">
                                            <div class="rating rating-5 size-13"><!-- rating-0 ... rating-5 --></div>
                                        </div>
                                        <!-- /rating -->
                                        @if($product->price_old > 0)
                                            <div class="shop-item-price d-block text-danger mt-2">
                                               <del class="text-muted" style="font-size: 0.85em">  {{ $product->getFormattedPriceOld() }} €</del>
                                                {{ $product->getFormattedPrice() }} €
                                                <div style="font-size: 13px; color:#1d1d1d; font-weight: 500;">{{$product->getBasePriceFormattedFull()}}</div>

                                            </div>
                                        @else
                                            <div class="shop-item-price d-block mt-2 text-muted">
                                                {{ $product->getFormattedPrice() }} €
                                                <div style="font-size: 13px; color:#1d1d1d; font-weight: 500;">{{$product->getBasePriceFormattedFull()}}</div>
                                            </div>
                                        @endif
                                        <!-- price -->

                                        <!-- /price -->
                                    </div>
                                    <!-- buttons -->
                                    <div class="shop-item-buttons text-left">
                                        <div class="hidden visible-xs visible-sm visible-md clearfix text-center">
                                            <a href="{{ url(Util::getPostRoute().'card/add/'.$product->id.'/1/'.$product->slug) }}"
                                               data-quantity="1" data-product_id="{{ $product->id }}"
                                               aria-label="{{ $product->getLang('name')  }} zu deinem Warenkorb hinzufügen"
                                               class="btn btn-primary btn-xs btn-text-500 faa-parent animated-hover" rel="nofollow">
                                                <i class="fa fa-cart-plus faa-horizontal"></i> In den Warenkorb
                                            </a>
                                            <a class="mt-2 btn btn-primary btn-xs btn-text-500 faa-parent animated-hover"
                                               href="{{ url('/produkte/'.$subsite.'/'.$product->slug) }}">
                                                <i class="fa fa-list faa-horizonta"></i> Details
                                            </a>
                                        </div>
                                        <div class="hidden visible-lg text-left">
                                            <a href="{{ url(Util::getPostRoute().'card/add/'.$product->id.'/1/'.$product->slug) }}"
                                               data-quantity="1" data-product_id="{{ $product->id }}"
                                               aria-label="{{ $product->getLang('name')  }} zu deinem Warenkorb hinzufügen"
                                               class="btn btn-primary btn-xs btn-text-500 faa-parent animated-hover" rel="nofollow">
                                                <i class="fa fa-cart-plus faa-horizontal"></i> In den Warenkorb
                                            </a>
                                            <a class="float-right btn btn-primary btn-xs btn-text-500 faa-parent animated-hover"
                                               href="{{ url('/produkte/'.$subsite.'/'.$product->slug) }}">
                                                <i class="fa fa-list faa-horizonta"></i> Details
                                            </a>
                                        </div>
                                    </div>
                                    @else
                                        <div class="shop-item-summary text-center ">
                                            <h2 class=""><a href="{{ url('/produkte/'.$subsite.'/'.$product->slug) }}">{{ $product->getLang('name')  }}</a></h2>

                                            <!-- rating -->
                                            <div class="shop-item-rating-line">
                                                <div class="rating rating-5 size-13"><!-- rating-0 ... rating-5 --></div>
                                            </div>
                                            <!-- /rating -->
                                        </div>

                                        <div class="shop-item-buttons text-center">
                                            <a class="btn btn-primary btn-sm btn-text-500 faa-parent animated-hover"  href="{{ url('/produkte/'.$subsite.'/'.$product->slug) }}">zum Produkt <i class="fa fa-lg fa-chevron-circle-right faa-horizontal"></i> </a>
                                        </div>
                                    @endif
                                    <!-- /buttons -->
                                </div>