/*
 MODELFORMY | GALERIA IMPRESION 3D

 - Cuadricula uniforme
 - Sin recortar imagenes
 - Sin sustituir archivos
 - Sin modificar otras galerias
*/

#impresion-3d .print-photo-gallery {
  max-width:1200px;
  margin-left:auto;
  margin-right:auto;
  margin-bottom:30px;
}

#impresion-3d .print-photo-gallery .design-grid {
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:24px!important;
  align-items:start!important;
}

#impresion-3d .print-photo-gallery .design-grid > figure {
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  min-width:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
}

#impresion-3d .print-photo-gallery .design-image {
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  position:relative!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:4 / 3!important;
  overflow:hidden!important;
  background:#d7ded5!important;
  border-radius:8px!important;
  box-shadow:0 1px 8px rgba(15,35,36,.08)!important;
}

#impresion-3d .print-photo-gallery .design-image img {
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  max-width:100%!important;
  max-height:100%!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center!important;
}

#impresion-3d .print-photo-gallery figcaption {
  width:100%;
  box-sizing:border-box;
  padding-top:12px!important;
}

#impresion-3d .print-photo-gallery figcaption h3 {
  margin-top:0!important;
  margin-bottom:8px!important;
  line-height:1.2!important;
}

#impresion-3d .print-photo-gallery figcaption p {
  margin-top:0!important;
  margin-bottom:0!important;
  line-height:1.55!important;
}

/* Imagen grande de preparacion */
#impresion-3d figure.print-preparation {
  display:block!important;
  width:100%!important;
  max-width:1200px!important;
  margin:28px auto!important;
}

#impresion-3d figure.print-preparation > a {
  display:block!important;
  width:100%!important;
}

#impresion-3d figure.print-preparation > a > img {
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-width:100%!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
}

#impresion-3d figure.print-preparation figcaption {
  padding-top:16px!important;
}

/* Tabletas */
@media(max-width:900px) {
  #impresion-3d .print-photo-gallery .design-grid {
    gap:16px!important;
  }
}

/* Celulares */
@media(max-width:650px) {
  #impresion-3d .print-photo-gallery .design-grid {
    grid-template-columns:minmax(0,1fr)!important;
    gap:22px!important;
  }

  #impresion-3d .print-photo-gallery .design-image {
    aspect-ratio:4 / 3!important;
  }

  #impresion-3d figure.print-preparation {
    margin:22px auto!important;
  }
}