.ihp-image-hotspots-pro {
  position: relative;
  width: 100%;
}

.ihp-image-hotspots-pro__image-wrap {
  position: relative;
  width: 100%;
  height: auto;
  overflow: visible;
}

.ihp-image-hotspots-pro__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ihp-toolbar,
.ihp-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.ihp-filter-bar__button,
.ihp-tour-panel__button {
  appearance: none;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  color: #111827;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.ihp-filter-bar__button:hover,
.ihp-tour-panel__button:hover,
.ihp-filter-bar__button.is-active {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.08);
}

.ihp-filter-bar__button.is-active,
.ihp-filter-bar__button--tour,
.ihp-tour-panel__button:not(.ihp-tour-panel__button--ghost) {
  background: #111827;
  color: #fff;
}

.ihp-tour-panel__button--ghost {
  background: transparent;
}

.ihp-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: left 0.25s ease, top 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  outline: none;
  touch-action: none;
  user-select: none;
  color: inherit;
}

.ihp-hotspot:hover,
.ihp-hotspot:focus-visible,
.ihp-hotspot.ihp-hotspot--tour-active {
  transform: translate(-50%, -50%) scale(1.08);
}

.ihp-hotspot.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.ihp-hotspot.ihp-hotspot--tour-active {
  box-shadow: 0 0 0 10px rgba(255,255,255,0.65), 0 0 0 20px rgba(17,24,39,0.12);
}

.ihp-hotspot__icon {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ihp-hotspot__icon i,
.ihp-hotspot__icon svg {
  font-size: 0.95em;
  width: 1em;
  height: 1em;
}

.ihp-hotspot__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.ihp-hotspot__fallback {
  font-weight: 700;
  line-height: 1;
}


.ihp-hotspot.ihp-hotspot--custom-image {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible;
}

.ihp-hotspot.ihp-hotspot--custom-image::after {
  display: none;
}

.ihp-hotspot.ihp-hotspot--custom-image .ihp-hotspot__icon {
  border-radius: 0;
  background: transparent;
}

.ihp-hotspot.ihp-hotspot--custom-image .ihp-hotspot__icon img {
  border-radius: 0;
  object-fit: contain;
}

.ihp-hotspot__label {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(15,23,42,0.12);
  z-index: 2;
}

.ihp-hotspot__coords { display: none !important; }

.ihp-editor-drag-enabled .ihp-hotspot--draggable {
  cursor: grab;
}

.ihp-editor-drag-enabled .ihp-hotspot--dragging {
  cursor: grabbing;
  transition: none;
}



.ihp-hotspot--pulse::after,
.ihp-hotspot--glow::after,
.ihp-hotspot--bounce::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  pointer-events: none;
}

.ihp-hotspot--pulse::after {
  border: 2px solid currentColor;
  opacity: 0.3;
  animation: ihpPulse 2s ease-out infinite;
}

.ihp-hotspot--glow::after {
  background: currentColor;
  opacity: 0.14;
  filter: blur(8px);
  animation: ihpGlow 2s ease-in-out infinite;
}

.ihp-hotspot--bounce {
  animation: ihpBounce 1.8s ease-in-out infinite;
}

.ihp-hotspot__tooltip {
  position: absolute;
  left: 50%;
  min-width: 180px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.16);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 50;
}

.ihp-tooltip-top .ihp-hotspot__tooltip {
  bottom: calc(100% + 14px);
  transform: translateX(-50%) translateY(8px);
}

.ihp-tooltip-right .ihp-hotspot__tooltip {
  left: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(-8px);
}

.ihp-tooltip-bottom .ihp-hotspot__tooltip {
  top: calc(100% + 14px);
  transform: translateX(-50%) translateY(-8px);
}

.ihp-tooltip-left .ihp-hotspot__tooltip {
  right: calc(100% + 14px);
  left: auto;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
}

.ihp-hotspot--active .ihp-hotspot__tooltip,
.ihp-trigger-hover .ihp-hotspot:hover .ihp-hotspot__tooltip,
.ihp-trigger-hover .ihp-hotspot:focus-visible .ihp-hotspot__tooltip {
  opacity: 1;
  visibility: visible;
}

.ihp-tooltip-top .ihp-hotspot--active .ihp-hotspot__tooltip,
.ihp-tooltip-top.ihp-trigger-hover .ihp-hotspot:hover .ihp-hotspot__tooltip,
.ihp-tooltip-top.ihp-trigger-hover .ihp-hotspot:focus-visible .ihp-hotspot__tooltip {
  transform: translateX(-50%) translateY(0);
}

.ihp-tooltip-right .ihp-hotspot--active .ihp-hotspot__tooltip,
.ihp-tooltip-right.ihp-trigger-hover .ihp-hotspot:hover .ihp-hotspot__tooltip,
.ihp-tooltip-right.ihp-trigger-hover .ihp-hotspot:focus-visible .ihp-hotspot__tooltip {
  transform: translateY(-50%) translateX(0);
}

.ihp-tooltip-bottom .ihp-hotspot--active .ihp-hotspot__tooltip,
.ihp-tooltip-bottom.ihp-trigger-hover .ihp-hotspot:hover .ihp-hotspot__tooltip,
.ihp-tooltip-bottom.ihp-trigger-hover .ihp-hotspot:focus-visible .ihp-hotspot__tooltip {
  transform: translateX(-50%) translateY(0);
}

.ihp-tooltip-left .ihp-hotspot--active .ihp-hotspot__tooltip,
.ihp-tooltip-left.ihp-trigger-hover .ihp-hotspot:hover .ihp-hotspot__tooltip,
.ihp-tooltip-left.ihp-trigger-hover .ihp-hotspot:focus-visible .ihp-hotspot__tooltip {
  transform: translateY(-50%) translateX(0);
}

.ihp-hotspot__tooltip-content,
.ihp-hotspot-modal__body,
.ihp-tour-panel__inner {
  padding: 16px;
}

.ihp-hotspot__eyebrow,
.ihp-tour-panel__step {
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

.ihp-hotspot__title,
.ihp-tour-panel__title {
  margin: 0 0 8px;
  font-size: 16px;
}

.ihp-hotspot__description,
.ihp-tour-panel__description {
  font-size: 14px;
  line-height: 1.55;
}

.ihp-hotspot-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 99999;
}

.ihp-hotspot-modal.is-open {
  display: block;
}

.ihp-hotspot-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
}

.ihp-hotspot-modal__content {
  position: relative;
  width: min(92vw, 420px);
  margin: 8vh auto 0;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  z-index: 1;
}

.ihp-hotspot-modal__close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.ihp-tour-panel {
  margin-top: 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.ihp-tour-panel[hidden] {
  display: none !important;
}

.ihp-tour-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

body.ihp-modal-open {
  overflow: hidden;
}

@keyframes ihpPulse {
  0% { transform: scale(0.85); opacity: 0.55; }
  70% { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

@keyframes ihpGlow {
  0%, 100% { opacity: 0.08; transform: scale(0.95); }
  50% { opacity: 0.22; transform: scale(1.18); }
}

@keyframes ihpBounce {
  0%, 100% { transform: translate(-50%, -50%); }
  20% { transform: translate(-50%, calc(-50% - 4px)); }
  35% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 8px)); }
  65% { transform: translate(-50%, -50%); }
}

@media (max-width: 767px) {
  .ihp-hotspot__label {
    left: 50%;
    top: calc(100% + 8px);
    transform: translateX(-50%);
  }

  .ihp-hotspot-modal__content {
    width: min(94vw, 420px);
    margin-top: 5vh;
  }
}


.ihp-hotspot__media-layout{display:flex;align-items:flex-start;gap:10px;min-width:0;}
.ihp-hotspot__media-thumb{width:56px;min-width:56px;aspect-ratio:1/1;border-radius:8px;overflow:hidden;background:#f3f4f6;flex-shrink:0;}
.ihp-hotspot__media-thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.ihp-hotspot__media-text{min-width:0;flex:1 1 auto;}


.ihp-hotspot-modal__actions {
  margin-top: 12px;
}

.ihp-hotspot-modal__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
  background: #111827;
  color: #ffffff;
}

.ihp-hotspot-modal__button:hover {
  opacity: 0.92;
  color: #ffffff;
}


.ihp-hotspot__media-thumb{image-rendering:auto;}
.ihp-hotspot__media-image{width:100%;height:100%;object-fit:cover;display:block;backface-visibility:hidden;transform:translateZ(0);}
.ihp-editor-drag-enabled .ihp-image-hotspots-pro__image-wrap{position:relative;z-index:3;}
.ihp-editor-drag-enabled .ihp-hotspot, .ihp-editor-drag-enabled .ihp-hotspot *{pointer-events:auto !important;}
.ihp-editor-drag-enabled .ihp-hotspot--draggable{cursor:grab;}
.ihp-editor-drag-enabled .ihp-hotspot--dragging{cursor:grabbing;transition:none !important;}

.ihp-image-hotspots-pro__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: var(--ihp-grid-opacity, 0.18);
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.9) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.9) 1px, transparent 1px);
  background-size: calc(100% / var(--ihp-grid-columns, 6)) calc(100% / var(--ihp-grid-columns, 6));
}

