.floating-image {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 999999;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: inline-block;
}

.floating-image .pro-float-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  z-index: 9999;
  content: "";
  display: block;
  background: var(--pro-float-overlay, transparent);
}

.floating-image img {
  display: block;
  height: auto;
  border-radius: inherit;
  position: relative;
  z-index: 999;
}

.floating-image {
  border-radius: inherit; /* O directo: border-radius: 30px; si quieres forzarlo */
  overflow: hidden; /* Esto también ayuda a evitar fugas de sombra */
}

.pro-float-static {
  position: relative;
  display: none !important;
  pointer-events: auto;
  border-radius: inherit;
}

.pro-float-static--visible {
  display: block !important;
}

.pro-float-static > a,
.pro-float-static img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

.pro-float-static > a {
  position: relative;
  border-radius: inherit;
}

.pro-float-static__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: var(--pro-float-overlay, transparent);
  z-index: 2;
}

.pro-float-static img {
  position: relative;
  z-index: 1;
}

.pro-float-trigger--disabled {
  display: none !important;
}

.elementor-editor-active .floating-image {
  display: none !important;
}

.elementor-editor-active .pro-float-trigger {
  display: none !important;
}

.elementor-editor-active .pro-float-static {
  display: block !important;
}

@media (max-width: 767px) {
  .floating-image {
    display: none !important;
  }

  .pro-float-trigger {
    display: none !important;
  }
}

@media (hover: none) and (pointer: coarse) {
  .floating-image {
    display: none !important;
  }

  .pro-float-trigger {
    display: none !important;
  }
}
