/* =========================================================
   Landings de categoría · imágenes + HormiMax (sin panal)
   ========================================================= */

.hero-img-wrap {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.hero-img-slot {
  width: 100%;
  aspect-ratio: 4 / 5 !important;
  max-height: none !important;
  border-radius: 24px;
  background: #eaf6ff !important;
  border: 2px dashed rgba(56, 182, 255, 0.45) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  position: relative;
  padding: 1.5rem !important;
  box-shadow: none !important;
}

.hero-img-slot img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center;
  mix-blend-mode: normal !important;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.18));
}

.var-img {
  min-height: 200px !important;
  background: linear-gradient(135deg, #ddf0ff, #bfe4ff) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  padding: 1.5rem !important;
}

.var-img img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center;
  mix-blend-mode: normal !important;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.16));
}

/* Landing Cajas */
.productos-cajas .hero-img-slot {
  aspect-ratio: 4 / 5 !important;
  background: #f4f7fa !important;
  border: 2px dashed rgba(56, 182, 255, 0.45) !important;
}

.productos-cajas .var-img {
  height: auto !important;
  min-height: 200px !important;
  background: linear-gradient(135deg, #ddf0ff, #bfe4ff) !important;
}

.productos-cajas .ben-img-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eaf6ff !important;
  padding: 1rem;
}

.productos-cajas .ben-img-frame img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

.productos-cajas .demo-photo {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #eaf6ff !important;
  padding: 1rem;
}

.productos-cajas .demo-photo img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

@media (max-width: 860px) {
  .hero-img-slot {
    aspect-ratio: 16 / 10 !important;
  }

  .var-img {
    min-height: 180px !important;
  }
}

@media (max-width: 560px) {
  .hero-img-slot {
    padding: 1.25rem !important;
  }

  .var-img {
    padding: 1.25rem !important;
  }
}

/* ── HormiMax: izquierda-centro, más grande, animado ── */
@keyframes hormimax-float-y {
  0%, 100% {
    transform: translateY(-50%) translateX(0);
  }
  50% {
    transform: translateY(calc(-50% - 14px)) translateX(6px);
  }
}

@keyframes hormimax-sway {
  0%, 100% {
    rotate: -3deg;
  }
  50% {
    rotate: 3deg;
  }
}

@keyframes hormimax-pulse {
  0%, 100% {
    filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.14));
  }
  50% {
    filter: drop-shadow(0 22px 36px rgba(56, 182, 255, 0.28));
  }
}

.hormimax-float {
  position: fixed;
  top: 50%;
  left: clamp(0.25rem, 1.2vw, 1rem);
  right: auto;
  bottom: auto;
  z-index: 90;
  width: min(44vw, 360px);
  background: transparent;
  pointer-events: none;
  user-select: none;
  animation: hormimax-float-y 4.2s ease-in-out infinite;
  will-change: transform;
}

.hormimax-float img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
  transform-origin: center bottom;
  animation:
    hormimax-sway 3.6s ease-in-out infinite,
    hormimax-pulse 4.2s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hormimax-float,
  .hormimax-float img {
    animation: none;
  }

  .hormimax-float {
    transform: translateY(-50%);
  }
}

@media (max-width: 1024px) {
  .hormimax-float {
    width: min(38vw, 280px);
    left: 0.15rem;
  }
}

@media (max-width: 768px) {
  .hormimax-float {
    top: 52%;
    width: min(42vw, 220px);
  }
}

@media (max-width: 520px) {
  .hormimax-float {
    top: 54%;
    width: 168px;
    left: 0;
    opacity: 0.92;
  }
}
