.hotspot {
  position: absolute;
  top: var(--pos-y);
  left: var(--pos-x);
  transform: translate(-50%, -50%);
  z-index: 2;
}
.hotspot[open] {
  z-index: 9;
}
.hotspot__trigger {
  position: relative;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(var(--color-button-background), 0.9);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(var(--color-button-background), 0.15);
}
.hotspot__trigger:hover {
  transform: scale(1.1);
}
.hotspot__icon {
  width: 16px;
  height: 16px;
  color: rgba(var(--color-button-text));
  transition: transform 0.3s ease;
}
.hotspot__trigger[aria-expanded="true"] .hotspot__icon {
  transform: rotate(45deg);
}
.hotspot__pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(var(--color-button-background), 0.6);
  animation: hotspot-pulse 2s infinite;
  pointer-events: none;
}
@keyframes hotspot-pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}
.hotspot__content {
  min-width: 160px;
  max-width: 420px;
  padding: 2px;
  margin: 0;
}
@media screen and (max-width: 768px) {
  .hotspot {
    top: var(--pos-y-mobile, var(--pos-y));
    left: var(--pos-x-mobile, var(--pos-x));
  }
  .hotspot__trigger {
    width: 32px;
    height: 32px;
  }
  .hotspot__icon {
    width: 14px;
    height: 14px;
  }
}
