@if (!empty($product_items['data']))
                @foreach ($product_items['data'] as $item)
            @if (!empty($item))
                                @foreach ($item as $diamonds)
                    @if (!empty($diamonds))
                                                @foreach ($diamonds as $val)
                            @php
                                $str = "c$c" . "_w$d" . "_s$s";
                                $item_images = [];
                                $color = json_decode($val['color'] ?? null);
                                $diamond = json_decode($val['diamond'] ?? null);
                                $size = json_decode($val['size'] ?? null);
                                $images = json_decode($val['images'] ?? null);
                                if (!empty($images)) {
                                    foreach ($images as $image) {
                                        $img = videoOrImageBN($image->image);
                                        $item_images[] = $img['url'];
                                    }
                                }
                            @endphp
                            
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                            
                                                    @endforeach
                                            @endif
                @endforeach
                            @endif
        @endforeach
    @endif