/* The badge is decorative; the link's native hand cursor stays visible. */
.room-card,
.room-card * {
  cursor: pointer;
}

/* Only accommodation badges opt in. Other Webflow cursor effects keep their
   original positioning. Webflow still handles the card/image/text effects. */
.room-card + .cursor-svg[data-room-cursor] {
  inset: auto;
  left: var(--room-cursor-x, 0px);
  top: var(--room-cursor-y, 0px);
  aspect-ratio: 1;
  height: auto;
  line-height: 0;
  pointer-events: none;
  opacity: 0 !important;
  transform: translate(-50%, -50%) !important;
  transition: opacity 220ms ease-out;
}

.room-card + .cursor-svg[data-room-cursor].is-room-cursor-visible {
  opacity: 1 !important;
}

.room-card + .cursor-svg[data-room-cursor] > svg {
  display: block;
  width: 100%;
  height: 100%;
  /* Match Webflow's existing clockwise, ten-second wheel rotation. */
  animation: room-cursor-spin 10s linear infinite;
}

@keyframes room-cursor-spin {
  to { transform: rotate(360deg); }
}
