@php /** * Mirrors html/home-electronics.html §2 (lines 1588-1654) and html/home-pet-care.html §2 (lines 1372-1437). * Two-col layout with 1 large hero on the LEFT and 2 stacked cards on the RIGHT. * * Shortcode attributes: * - container_class: e.g. "container-full" (pet-care) or empty (electronics) * - wrapper_class: e.g. "main-section" (pet-care) or empty (electronics) * - image_radius_class: e.g. "radius-20" or "rounded-0" * - gap: flex gap between col-left and col-right (default 10) */ $collections = collect($collections); $hero = $collections->first(); $sideCards = $collections->slice(1, 2)->values(); $containerClass = trim((string) ($shortcode->container_class ?? '')); $wrapperClass = trim((string) ($shortcode->wrapper_class ?? '')); $radiusClass = trim((string) ($shortcode->image_radius_class ?? 'rounded-0')); $flexGap = (int) ($shortcode->gap ?? 10); @endphp @if ($hero)