/* CFM | Sticky independiente de las tres columnas de la ficha de producto.
   La galería (incluye medios de pago), el resumen (incluye precio) y el panel
   de cotización se mantienen a la vista mientras dure esta sección.
   Esta hoja se carga DESPUÉS de los estilos históricos que lo desactivaban. */
@media screen and (min-width:1200px) {
  body.ae35-body .ae51-detail.cfm-detail-v4 {
    overflow:visible!important;
  }
  body.ae35-body .ae52-top-grid.cfm-product-columns-v4 {
    display:grid!important;
    align-items:start!important;
    overflow:visible!important;
    position:relative!important;
  }
  body.ae35-body .ae52-top-grid.cfm-product-columns-v4 > :is(
    .cfm-product-gallery-v4,
    .cfm-product-info-v4,
    .cfm-product-quote-v4
  ) {
    position:-webkit-sticky!important;
    position:sticky!important;
    top:var(--cfm-sticky-top,18px)!important;
    bottom:auto!important;
    align-self:start!important;
    min-width:0;
  }
  /* La lente de aumento puede salir de la galería; no se tapa con los paneles. */
  body.ae35-body .ae52-top-grid.cfm-product-columns-v4 > .cfm-product-gallery-v4 {z-index:3!important}
  body.ae35-body .ae52-top-grid.cfm-product-columns-v4 > .cfm-product-gallery-v4.cfm-zoom-gallery-active {z-index:40!important}
  body.ae35-body .ae52-top-grid.cfm-product-columns-v4 > .cfm-product-info-v4 {z-index:2!important}
  body.ae35-body .ae52-top-grid.cfm-product-columns-v4 > .cfm-product-quote-v4 {z-index:2!important}
}
/* Tabletas y móviles: flujo normal para leer toda la información y usar el zoom. */
@media screen and (max-width:1199px) {
  body.ae35-body .ae52-top-grid.cfm-product-columns-v4 > :is(
    .cfm-product-gallery-v4,
    .cfm-product-info-v4,
    .cfm-product-quote-v4
  ) {
    position:static!important;
    top:auto!important;
    bottom:auto!important;
  }
}
/* La ficha termina antes de las pestañas técnicas: no invadimos el siguiente bloque. */
