@if($rooms->isEmpty())
No rooms found matching your filter criteria.
@else
@foreach($rooms as $room)
@php
$roomImages = is_array($room->images) ? $room->images : json_decode($room->images, true);
$coverImg = (!empty($roomImages) && isset($roomImages[0])) ? asset($roomImages[0]) : asset('assets/img/room-image-ten.jpg');
@endphp
{{ $room->room_type }}
Rs. {{ number_format($room->price_per_night, 2) }}/ night
{{ $room->hotel->hotel_name ?? 'Disha Sthan' }}
{{ $room->room_type }}
{{ Str::limit(strip_tags($room->description), 120, '...') ?? 'Experience top-tier accommodation setup.' }}
Max Occupancy: {{ $room->max_occupancy }} Person(s)
Rs. {{ number_format($room->price_per_night, 0) }}/ night
@endforeach
@endif