<turbo-stream action="replace" target="booking_time_slots"><template>
  <turbo-frame id="booking_time_slots">
    <div class="p-0"
     data-testid="booking-time-slots"
     data-controller="booking-time-slots-component--booking-time-slots-component"
     data-booking-time-slots-component--booking-time-slots-component-selected-classes-value="!bg-[var(--theme-primary-container)] !text-white shadow-md" data-booking-time-slots-component--booking-time-slots-component-step-mode-value="false">

  <h3 class="font-label text-[10px] tracking-widest uppercase text-[var(--theme-secondary)] mb-4">
    Horarios disponibles
  </h3>
  <p class="text-sm text-[var(--theme-secondary)] mb-4 font-body">
    23 de noviembre de 2026
  </p>

    <div class="space-y-3" data-testid="time-slots-grouped">

        <details class="group" open data-testid="time-period-morning">
          <summary class="flex items-center gap-2 cursor-pointer py-2 select-none list-none [&::-webkit-details-marker]:hidden font-label text-[10px] tracking-widest uppercase text-[var(--theme-secondary)]">
            <svg aria-hidden="true" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-4 h-4"><path d="M12 2v8"></path><path d="m4.93 10.93 1.41 1.41"></path><path d="M2 18h2"></path><path d="M20 18h2"></path><path d="m19.07 10.93-1.41 1.41"></path><path d="M22 22H2"></path><path d="m8 6 4-4 4 4"></path><path d="M16 18a4 4 0 0 0-8 0"></path></svg>
            Mañana
            <span class="text-gray-400 text-xs">(3)</span>
            <svg aria-hidden="true" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-4 h-4 ml-auto text-gray-400 transition-transform group-open:rotate-180"><path d="m6 9 6 6 6-6"></path></svg>
          </summary>

          <div class="grid grid-cols-2 sm:grid-cols-3 gap-2 mt-2">
                <button type="button"
                        class="rounded-lg px-3 py-2.5 text-center text-sm font-medium transition-colors px-6 py-3 rounded-full bg-[var(--theme-surface-container-high)] text-[var(--theme-secondary)] hover:bg-[var(--theme-secondary-container)] hover:text-[var(--theme-primary)] transition-all text-xs font-medium tracking-wide cursor-pointer "
                        
                        data-testid="slot-2026-11-23-540"
                        data-end-minutes="600"
                        
                        data-action="click->booking-time-slots-component--booking-time-slots-component#selectSlot">
                  9:00 AM
                </button>
                <button type="button"
                        class="rounded-lg px-3 py-2.5 text-center text-sm font-medium transition-colors px-6 py-3 rounded-full bg-[var(--theme-surface-container-high)] text-[var(--theme-secondary)] hover:bg-[var(--theme-secondary-container)] hover:text-[var(--theme-primary)] transition-all text-xs font-medium tracking-wide cursor-pointer "
                        
                        data-testid="slot-2026-11-23-600"
                        data-end-minutes="660"
                        
                        data-action="click->booking-time-slots-component--booking-time-slots-component#selectSlot">
                  10:00 AM
                </button>
                <button type="button"
                        class="rounded-lg px-3 py-2.5 text-center text-sm font-medium transition-colors px-6 py-3 rounded-full bg-[var(--theme-surface-container-high)] text-[var(--theme-secondary)] hover:bg-[var(--theme-secondary-container)] hover:text-[var(--theme-primary)] transition-all text-xs font-medium tracking-wide cursor-pointer "
                        
                        data-testid="slot-2026-11-23-660"
                        data-end-minutes="720"
                        
                        data-action="click->booking-time-slots-component--booking-time-slots-component#selectSlot">
                  11:00 AM
                </button>
          </div>
        </details>

        <details class="group" open data-testid="time-period-afternoon">
          <summary class="flex items-center gap-2 cursor-pointer py-2 select-none list-none [&::-webkit-details-marker]:hidden font-label text-[10px] tracking-widest uppercase text-[var(--theme-secondary)]">
            <svg aria-hidden="true" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-4 h-4"><circle cx="12" cy="12" r="4"></circle><path d="M12 2v2"></path><path d="M12 20v2"></path><path d="m4.93 4.93 1.41 1.41"></path><path d="m17.66 17.66 1.41 1.41"></path><path d="M2 12h2"></path><path d="M20 12h2"></path><path d="m6.34 17.66-1.41 1.41"></path><path d="m19.07 4.93-1.41 1.41"></path></svg>
            Tarde
            <span class="text-gray-400 text-xs">(3)</span>
            <svg aria-hidden="true" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-4 h-4 ml-auto text-gray-400 transition-transform group-open:rotate-180"><path d="m6 9 6 6 6-6"></path></svg>
          </summary>

          <div class="grid grid-cols-2 sm:grid-cols-3 gap-2 mt-2">
                <button type="button"
                        class="rounded-lg px-3 py-2.5 text-center text-sm font-medium transition-colors px-6 py-3 rounded-full bg-[var(--theme-surface-container-high)] text-[var(--theme-secondary)] hover:bg-[var(--theme-secondary-container)] hover:text-[var(--theme-primary)] transition-all text-xs font-medium tracking-wide cursor-pointer "
                        
                        data-testid="slot-2026-11-23-720"
                        data-end-minutes="780"
                        
                        data-action="click->booking-time-slots-component--booking-time-slots-component#selectSlot">
                  12:00 PM
                </button>
                <button type="button"
                        class="rounded-lg px-3 py-2.5 text-center text-sm font-medium transition-colors px-6 py-3 rounded-full bg-[var(--theme-surface-container-high)] text-[var(--theme-secondary)] hover:bg-[var(--theme-secondary-container)] hover:text-[var(--theme-primary)] transition-all text-xs font-medium tracking-wide cursor-pointer "
                        
                        data-testid="slot-2026-11-23-960"
                        data-end-minutes="1020"
                        
                        data-action="click->booking-time-slots-component--booking-time-slots-component#selectSlot">
                  4:00 PM
                </button>
                <button type="button"
                        class="rounded-lg px-3 py-2.5 text-center text-sm font-medium transition-colors px-6 py-3 rounded-full bg-[var(--theme-surface-container-high)] text-[var(--theme-secondary)] hover:bg-[var(--theme-secondary-container)] hover:text-[var(--theme-primary)] transition-all text-xs font-medium tracking-wide cursor-pointer "
                        
                        data-testid="slot-2026-11-23-1020"
                        data-end-minutes="1080"
                        
                        data-action="click->booking-time-slots-component--booking-time-slots-component#selectSlot">
                  5:00 PM
                </button>
          </div>
        </details>
    </div>
</div>
</turbo-frame></template></turbo-stream>