.room-photo-gallery {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.room-photo-gallery.loaded,
.room-photo-thumb.loaded { opacity: 1; }
.room-photo-gallery.loaded { pointer-events: auto; background: #eef1f7; }
.room-photo-gallery img,
.room-photo-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.room-photo-controls {
  position: absolute;
  bottom: 8px;
  right: 8px;
  display: flex;
  gap: 2px;
  align-items: center;
  background: rgb(13 24 44 / 85%);
  color: white;
  border-radius: 8px;
  font: 500 15px/1 system-ui, sans-serif;
}
.room-photo-controls[hidden] { display: none; }
.room-photo-controls button {
  background: transparent;
  color: inherit;
  border: 0;
  min-width: 44px;
  min-height: 44px;
  font: 400 28px/1 system-ui, sans-serif;
  cursor: pointer;
}
.room-photo-controls button:focus-visible { outline: 2px solid white; outline-offset: -4px; }
.room-photo-thumb {
  display: block;
  width: clamp(80px, 15vw, 144px);
  aspect-ratio: 4 / 3;
  align-self: center;
  flex: 0 0 auto;
  margin-left: auto;
  overflow: hidden;
  opacity: 0;
  border-radius: 6px;
}
.booking-room-option > span:not(.room-photo-thumb) { min-width: 0; }
@media (max-width: 540px) {
  .booking-room-option:has(.room-photo-thumb) { display: grid; grid-template-columns: auto minmax(0, 1fr); }
  .booking-room-option[hidden] { display: none; }
  .booking-room-option .room-photo-thumb { width: 100%; max-width: 300px; grid-column: 2; justify-self: start; margin-left: 0; aspect-ratio: 16 / 9; }
}
.room-photo-gallery:not(.loaded) .room-photo-controls { visibility: hidden; }
.collection-card-head:has(.room-photo-gallery.loaded) > :not(.room-photo-gallery) { visibility: hidden; }
