@extends('layouts.app') @section('content') @php $heroSlides = $storeConfig['heroSlides'] ?? []; $spotlight = $storeConfig['spotlightBanner'] ?? []; $budgetTiles = $storeConfig['budgetTiles'] ?? []; $trustPillars = $storeConfig['trustPillars'] ?? []; @endphp {{-- ======================================================================== SECTION 1: EDITORIAL SPLIT / PORTRAIT HERO SHOWCASE (Above the Fold) Reference: frontend/homepage_layout_and_section_flow_plan.md (Section 3.1) Desktop (1025px+): 42% Left Story & CTA Box | 58% Right 4:3 Uncropped Saree Mobile (320–767px): Full-width 4:5 Vertical Portrait Image on top | Story Box below ======================================================================== --}} @if(count($heroSlides) > 0)
{{-- A. Desktop & Tablet Split Layout (lg:flex) --}} {{-- B. Mobile & Tablet Portrait Hero Layout (lg:hidden) --}}
{{-- Top Image Frame: Dedicated 4:5 Vertical Portrait Image (1080x1350) with zero text covering the saree --}}
@foreach($heroSlides as $idx => $slide)
{{ $slide['title'] }}
@endforeach @if(count($heroSlides) > 1)
@foreach($heroSlides as $idx => $slide) @endforeach
@endif
{{-- Bottom Story Box (--bg-surface, 1px --border-subtle top border, 20px 16px padding) --}}

@endif {{-- ======================================================================== SECTION 2: "SHOP BY SAREE WEAVE" — VISUAL PORTRAIT CATEGORY CARDS Reference: frontend/homepage_layout_and_section_flow_plan.md (Section 3.2) Desktop: 6 Vertical 3:4 Portrait Cards in a single row (gap: 20px) Mobile: Horizontal touch-swipe row showing ~2.3 cards per screen width (gap: 12px) ======================================================================== --}} @if(count($activeCategories) > 0)
{{-- Section Header --}}

Shop by Saree Weave

Select your favorite fabric handcrafted by Bangladeshi artisans

{{-- Responsive 3:4 Portrait Category Cards Row --}}
@endif {{-- ======================================================================== SECTION 3: "NEW ARRIVALS — FRESH OFF THE LOOM" (Responsive Product Slider) Reference: frontend/homepage_layout_and_section_flow_plan.md (Section 3.3) ======================================================================== --}} @if(count($newArrivals) > 0)
{{-- Section Header Bar --}}

New Arrivals

View All New
{{-- Responsive Product Slider (Desktop 4-Card + 3-Dot | Mobile 2-Card + Peek + Progress Bar + End Card) --}}
@endif {{-- ======================================================================== SECTION 4: FEATURED SPOTLIGHT BANNER ("THE FESTIVE & BRIDAL EDIT") Reference: frontend/homepage_layout_and_section_flow_plan.md (Section 3.4) Desktop: 2-Column Split (55% Left Dual 3:4 Photo Collage | 45% Right Story & CTA) Mobile: Portrait image stacked on top, story & full-width button below ======================================================================== --}} @if(!empty($spotlight['enabled']))
{{-- Left Column (55% Desktop): Dual 3:4 Photo Collage --}}
@foreach(($spotlight['images'] ?? []) as $img)
{{ $img['alt'] }}
@endforeach
{{-- Right Column (45% Desktop): Editorial Story & CTA Box --}}

{{ $spotlight['eyebrow'] ?? 'ARTISAN SPOTLIGHT' }}

{{ $spotlight['title'] }}

{{ $spotlight['description'] }}

@endif {{-- ======================================================================== SECTION 5: "MOST LOVED SAREES" — BEST SELLERS SLIDER Reference: frontend/homepage_layout_and_section_flow_plan.md (Section 3.5) ======================================================================== --}} @if(count($mostLoved) > 0)
{{-- Section Header Bar --}}

Most Loved Sarees

View All
{{-- Responsive Product Slider --}}
@endif {{-- ======================================================================== SECTION 6: "SHOP BY BUDGET & OCCASION" — 4 NON-OVERLAPPING PRICE TILES Reference: frontend/homepage_layout_and_section_flow_plan.md (Section 3.6) Desktop: 4 columns in a single row (gap: 20px) Mobile: 2 x 2 Grid (gap: 12px) On hover/tap: tile fills with --brand-primary and text flips to --text-light ======================================================================== --}} @if(count($budgetTiles) > 0)

Shop by Budget & Occasion

@foreach($budgetTiles as $tile)

{{ $tile['label'] }}

{{ $tile['subtext'] }}

@endforeach
@endif {{-- ======================================================================== SECTION 7: "LOVED BY WOMEN ACROSS BANGLADESH" — CUSTOMER DRAPE STORIES Reference: frontend/homepage_layout_and_section_flow_plan.md (Section 3.7) & frontend/reviews_chat_and_social_sharing_plan.md (Section 1C) Desktop: 4 Testimonial Cards in a row Mobile: Horizontal touch-swipe showing ~1.2 cards + slim progress bar ======================================================================== --}} @if(count($featuredReviews) > 0)

Loved by Women Across Bangladesh

Real drape moments and verified reviews from our customers

{{-- Responsive Testimonial Cards Row --}}
@foreach($featuredReviews as $review)
{{-- Top: 4:5 Customer Drape Photo --}}
Customer wearing {{ $review['sareeTitle'] }}
{{-- Bottom Content (16px padding) --}}
{{-- 5 Stars in --brand-primary --}}
★★★★★
{{-- Review Quote --}}

“{{ $review['comment'] }}”

{{ $review['reviewerName'] }}, {{ $review['city'] }} @if(!empty($review['verified'])) Verified Buyer @endif
{{-- Link directly to the reviewed Saree PDP --}} Viewed: {{ $review['sareeTitle'] }} →
@endforeach
{{-- Mobile & Tablet Slim Progress Bar --}}
@endif {{-- ======================================================================== SECTION 8: ALL COLLECTIONS GATEWAY CTA & BANGLADESH BUYER ASSURANCE STRIP Reference: frontend/homepage_layout_and_section_flow_plan.md (Section 3.8) ======================================================================== --}}
{{-- 1. Centered Catalog Gateway --}}

Explore every saree fabric, color, and weave in our complete showcase

VIEW ALL SAREE COLLECTIONS →
{{-- 2. 4-Pillar Bangladesh Trust Strip (Directly Above Footer) --}} @if(count($trustPillars) > 0)
@foreach($trustPillars as $pillar)

{{ $pillar['title'] }}

{{ $pillar['subtext'] }}

@endforeach
@endif
@endsection