/* ================================================================
BLOQUE: SECCION IMAGENES 2 – GASEX
================================================================ */

.seccion-imagenes2{
  width:100%;
  margin:0 auto;
  position:relative;
}

/* ================================================================
WRAPPER IMAGEN
================================================================ */

.seccion-imagenes2 .gx-image-wrap{
  position:absolute;
  inset:0;
  overflow:hidden;
  border-radius:8px;
}
/* ================================================================
FILAS
================================================================ */

.fila1-imagenes2{
  display:flex;
  gap:8px;
  margin-bottom:8px;
}

.fila1-imagenes2 .imagen1,
.fila1-imagenes2 .imagen2{
  position:relative;
  height:339px;
}

.fila1-imagenes2 .imagen1{
  flex:1;
}

.fila1-imagenes2 .imagen2{
  flex:0 0 623px;
  max-width:623px;
}

/* ================================================================
FILA 2
================================================================ */

.fila2-imagenes2{
  margin-bottom:8px;
}

.fila2-imagenes2 .imagen-grande{
  position:relative;
  width:100%;
  height:339px;
}

/* ================================================================
FILA 3
================================================================ */

.fila3-imagenes2{
  display:flex;
  gap:8px;
}

.fila3-imagenes2 .imagen4,
.fila3-imagenes2 .imagen3{
  position:relative;
  height:339px;
}

.fila3-imagenes2 .imagen4{
  flex:0 0 623px;
  max-width:623px;
}

.fila3-imagenes2 .imagen3{
  flex:1;
}

/* ================================================================
IMÁGENES
================================================================ */

.seccion-imagenes2 img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

/* ================================================================
CAPTION AZUL (4 posiciones)
================================================================ */

.seccion-imagenes2 .gasex-gallery-caption{
  position:absolute;
  padding:10px 18px;
  font-size:16px;
  font-weight:600;
  color:#fff;
  background:#1C244B;
  z-index:5;
  line-height:1.3;
  max-width:80%;
}

/* Inferior izquierda (default) */
.seccion-imagenes2 .gasex-gallery-caption.pos-bottom-left,
.seccion-imagenes2 .gasex-gallery-caption:not(.pos-top-left):not(.pos-top-right):not(.pos-bottom-right){
  bottom:0;
  left:0;
  border-radius:0 6px 0 0;
}

/* Inferior derecha */
.seccion-imagenes2 .gasex-gallery-caption.pos-bottom-right{
  bottom:0;
  right:0;
  border-radius:6px 0 0 0;
}

/* Superior izquierda */
.seccion-imagenes2 .gasex-gallery-caption.pos-top-left{
  top:0;
  left:0;
  border-radius:0 0 6px 0;
}

/* Superior derecha */
.seccion-imagenes2 .gasex-gallery-caption.pos-top-right{
  top:0;
  right:0;
  border-radius:0 0 0 6px;
}

/* ================================================================
HOTSPOTS
================================================================ */

.seccion-imagenes2 .gx-hotspot-item{
  position:absolute;
  transform:translate(-50%, -50%);
  z-index:20;
}

/* botón hotspot */

.gx-p-trigger{
  position:relative;
  width:34px;
  height:34px;
  border-radius:50%;
  border:none;
  background:#1C244B;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  padding:0;
}

.gx-p-icon{
  color:#fff;
  font-size:18px;
  font-weight:700;
  line-height:1;
}

/* pulso animado */

.gx-p-pulse{
  position:absolute;
  inset:-6px;
  border-radius:50%;
  border:2px solid rgba(255,255,255,.5);
  animation:gxPulse 1.8s infinite;
}

@keyframes gxPulse{

  0%{
    transform:scale(.7);
    opacity:1;
  }

  70%{
    transform:scale(1.6);
    opacity:0;
  }

  100%{
    opacity:0;
  }

}

/* ================================================================
TOOLTIP DESKTOP
================================================================ */

.gx-desktop-tooltip{
  position:absolute;
  bottom:50px;
  left:50%;
  transform:translateX(-50%) translateY(10px);
  width:280px;
  background:#fff;
  padding:24px 22px;
  border-radius:12px;
  box-shadow:0 15px 35px rgba(0,0,0,.2);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:all .3s ease;
  text-align:center;
  z-index:100;
}

.gx-hotspot-item:hover .gx-desktop-tooltip{
  opacity:1;
  visibility:visible;
  transform:translateX(-50%) translateY(0);
  pointer-events:auto;
}

.gx-tooltip-title{
  font-weight:800;
  color:#1C244B;
  margin-bottom:10px;
  font-size:1.1rem;
}

.gx-tooltip-desc{
  font-size:.9rem;
  color:#555;
  margin-bottom:14px;
}

.gx-tooltip-price-original,
.gx-sheet-price-original{
  font-size:.95rem;
  color:#6B7280;
  text-decoration:line-through;
  margin-bottom:6px;
  font-weight:600;
}

.gx-tooltip-price{
  font-size:1.15rem;
  font-weight:800;
  color:#E63946;
  margin-bottom:10px;
  line-height:1.2;
}

.gx-tooltip-badge,
.gx-sheet-badge{
  background:#1C244B;
  color:#fff;
  padding:10px 14px;
  border-radius:10px;
  font-weight:700;
  font-size:.9rem;
  display:inline-block;
  margin:6px 0 18px;
  line-height:1.4;
}

.gx-tooltip-btn{
  display:inline-block;
  background:#1C244B;
  color:#fff;
  padding:8px 18px;
  border-radius:50px;
  text-decoration:none;
  font-weight:700;
  font-size:.8rem;
}

/* ================================================================
MOBILE OVERLAY
================================================================ */

.gx-mobile-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.45);
  opacity:0;
  pointer-events:none;
  transition:.3s;
  z-index:999;
}

.gx-mobile-overlay.is-active{
  opacity:1;
  pointer-events:auto;
}

/* ================================================================
BOTTOM SHEET MOBILE
================================================================ */

.gx-bottom-sheet{
  position:fixed;
  left:0;
  right:0;
  bottom:-100%;
  background:#fff;
  border-radius:18px 18px 0 0;
  padding:24px;
  transition:bottom .35s ease;
  z-index:1000;
  max-width:640px;
  margin:auto;
}

.gx-bottom-sheet.is-active{
  bottom:0;
}

/* header */

.gx-sheet-header{
  display:flex;
  justify-content:center;
  align-items:center;
  position:relative;
  margin-bottom:18px;
}

.gx-sheet-pill{
  width:40px;
  height:4px;
  background:#ddd;
  border-radius:4px;
}

.gx-sheet-close{
  position:absolute;
  right:0;
  top:-4px;
  border:none;
  background:none;
  font-size:20px;
  cursor:pointer;
}

/* contenido */

.gx-sheet-title{
  font-size:1.5rem;
  font-weight:800;
  color:#1C244B;
  margin-bottom:10px;
}

.gx-sheet-desc{
  font-size:1rem;
  color:#555;
  line-height:1.6;
  margin-bottom:25px;
}

.gx-sheet-price{
  font-size:1.3rem;
  font-weight:800;
  color:#E63946;
  margin-bottom:12px;
}

.gx-sheet-btn{
  display:block;
  width:100%;
  text-align:center;
  background:#1C244B;
  color:#fff;
  padding:15px;
  border-radius:12px;
  font-weight:700;
  text-decoration:none;
  font-size:1.1rem;
}

/* ================================================================
RESPONSIVE
================================================================ */

@media (max-width:992px){

  .fila1-imagenes2,
  .fila3-imagenes2{
    flex-direction:column;
  }

  .fila1-imagenes2 .imagen1,
  .fila1-imagenes2 .imagen2,
  .fila3-imagenes2 .imagen4,
  .fila3-imagenes2 .imagen3{
    flex:1 1 100%;
    max-width:100%;
    height:auto;
    aspect-ratio:16/9;
  }

  .fila2-imagenes2 .imagen-grande{
    aspect-ratio:16/9;
    height:auto;
  }

  /* en mobile desactivar tooltip hover */

  .gx-desktop-tooltip{
    display:none;
  }

}

.gx-sheet-content{
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.gx-sheet-content p{
  max-width:420px;
}