@props(['saree']) @php $insideFee = number_format($storeConfig['insideDhakaDelivery']['chargeBDT'] ?? 70); $insideEta = $storeConfig['insideDhakaDelivery']['timeline'] ?? '2 – 3 Business Days'; $outsideFee = number_format($storeConfig['outsideDhakaDelivery']['chargeBDT'] ?? 130); $outsideEta = $storeConfig['outsideDhakaDelivery']['timeline'] ?? '3 – 5 Business Days'; $rawCare = $saree['resolvedCareInstructions'] ?? 'Dry clean recommended. Store wrapped in soft cotton cloth.'; if (is_array($rawCare)) { $careLines = $rawCare; } else { $careLines = array_values(array_filter(array_map('trim', preg_split('/\.\s+|\n+/', (string) $rawCare)))); $careLines = array_map(fn ($line) => str_ends_with($line, '.') ? $line : $line . '.', $careLines); } $specs = $saree['specs'] ?? []; $occasionVal = $specs['occasion'] ?? ($saree['occasionLabel'] ?? 'Festive & Cultural Wear'); if (is_array($occasionVal)) { $occasionVal = implode(', ', $occasionVal); } $specRows = [ ['label' => 'Fabric Material', 'value' => $specs['fabric'] ?? ($saree['fabric'] ?? 'Handloom Weave')], ['label' => 'Work / Pattern Type', 'value' => $specs['workType'] ?? ($saree['workType'] ?? 'Artisanal Handwork')], ['label' => 'Saree Length', 'value' => $specs['length'] ?? ($saree['length'] ?? '12 Haat (5.5 Meters)')], ['label' => 'Saree Width', 'value' => $specs['width'] ?? ($saree['width'] ?? '46–47 Inches')], ['label' => 'Blouse Piece Status', 'value' => $specs['blousePieceDetail'] ?? $specs['blousePiece'] ?? ($saree['blousePiece'] ?? 'Included (Running Blouse Piece)')], ['label' => 'Aanchal (Pallu) Style', 'value' => $specs['aanchalStyle'] ?? ($saree['aanchalStyle'] ?? 'Grand Heritage Aanchal')], ['label' => 'Color Family', 'value' => $specs['colorFamily'] ?? ($saree['colorLabel'] ?? 'Traditional Hue')], ['label' => 'Occasion', 'value' => $occasionVal], ['label' => 'Origin', 'value' => $specs['origin'] ?? ($saree['origin'] ?? 'Made in Bangladesh')], ]; @endphp
{{-- ===================================================================== PANEL 1: Saree Story & Specifications (OPEN BY DEFAULT) ===================================================================== --}}
{{-- 2–3 Sentence Craftsmanship & Drape Description --}} @if(!empty($saree['shortDescription']))

{{ $saree['shortDescription'] }}

@endif {{-- Clean 2-Column Specification Table (Alternating --bg-surface / --bg-main rows) --}}
@foreach($specRows as $idx => $row)
{{ $row['label'] }}
{{ $row['value'] }}
@endforeach
{{-- ===================================================================== PANEL 2: Wash & Care Instructions (COLLAPSED BY DEFAULT) ===================================================================== --}}
    @foreach($careLines as $line)
  • • {{ $line }}
  • @endforeach
{{-- Studio Lighting & Natural Dye Disclaimer --}}
Color & Handloom Note: Slight variations in weave texture or thread tension are natural hallmarks of authentic handloom artistry. Product colors may appear slightly warmer or cooler depending on studio lighting and your device screen settings.
{{-- ===================================================================== PANEL 3: Delivery, Cash on Delivery & Exchange Policy (COLLAPSED BY DEFAULT) ===================================================================== --}}
Inside Dhaka Delivery
BDT {{ $insideFee }} ({{ $insideEta }})
Outside Dhaka (All 64 Districts)
BDT {{ $outsideFee }} ({{ $outsideEta }})
  • ✓ 100% Cash on Delivery (COD): No advance payment required. Pay the courier in cash when your saree arrives at your doorstep.
  • ✓ Doorstep Parcel Verification: Inspect your saree in front of the delivery rider before completing payment.
  • ✓ Easy 3-Day Exchange: Unused sarees with intact tags and original fold can be exchanged within 3 days of delivery.