@extends('layouts.app') @section('title', $store->name) @section('content') {{-- Store Header --}}
{{-- Banner --}}
@if($store->banner) @else
@endif
{{-- Store Info Card (Solid White, No Blur, No Transparency) --}}
{{-- Logo --}}
@if($store->logo) @else
@endif
{{-- Text details --}}

{{ $store->name }}

@if($store->city) {{ $store->city }} @endif {{ number_format($store->rating, 1) }} ({{ number_format($store->total_reviews) }} ulasan) {{ number_format($store->total_sales) }} produk terjual
@if($store->description)

{{ $store->description }}

@endif
{{-- Header / filter button for mobile --}}

Produk Toko

{{-- Kategori horizontal scroll — hanya mobile --}}
Semua @foreach($categories as $cat) {{ $cat->name }} @endforeach
{{-- SIDEBAR — desktop only --}} {{-- PRODUCT GRID --}}
{{-- Sort bar --}}
@foreach(['terbaru' => 'Terbaru', 'terlaris' => 'Terlaris', 'termurah' => 'Termurah', 'termahal' => 'Termahal', 'rating' => 'Rating'] as $val => $label) {{ $label }} @endforeach
@if($products->isEmpty())

Produk tidak ditemukan

Coba ubah filter atau kata kunci pencarian

Lihat semua produk toko
@else
@foreach($products as $product) @endforeach
@if($products->hasPages())
{{ $products->links() }}
@endif @endif
{{-- FILTER DRAWER — mobile only --}}
{{-- Backdrop --}}
{{-- Drawer --}}
{{-- Handle & header --}}
Filter Produk Toko
{{-- Scrollable content --}}
@if(request('q'))@endif {{-- Tipe --}}

Tipe Produk

@foreach(['' => 'Semua', 'digital' => 'Digital', 'physical' => 'Fisik'] as $val => $label) @endforeach
{{-- Harga --}}

Rentang Harga

—
{{-- Kategori --}}

Kategori

Semua Kategori @foreach($categories as $cat) {{ $cat->name }} @foreach($cat->children as $child) {{ $child->name }} @endforeach @endforeach
{{-- Footer actions --}}
@if(request()->hasAny(['type', 'min_price', 'max_price', 'category'])) Reset @endif
@endsection