.contenedora-img {
width: 250px;
height: 250px;
float: left;
overflow: hidden;
position: relative;
text-align: center;
cursor: default;
background: #fff;
}
.contenedora-img .mascara,.contenedora-img .contenido {
width: 250px;
height: 250px;
position: absolute;
overflow: hidden;
top: 0;
left: 0
}
.contenedora-img img {
display: block;
position: relative;

}
.contenedora-img h2 {
text-transform: uppercase;
color: #fff;
text-align: center;
position: relative;
font-size: 17px;
padding: 10px;
background: rgba(0, 0, 0, 0.9);
margin: 20px 0 0 0
}
.contenedora-img p {
font-size: 12px;
position: relative;
color: #fff;
padding: 10px 20px 10px;
text-align: center
}
.contenedora-img a.link {
display: inline-block;
text-decoration: none;
padding: 7px 14px;
background: #222;
color: #fff;
text-transform: uppercase;
box-shadow: 0 0 1px #000
}
.contenedora-img a.link:hover {
box-shadow: 0 0 5px #000
}




/*Galeria Producto 1*/
.P1 img {
transition: all 0.2s linear;
}
.P1 .mascara {
opacity: 0;
background-color:#0069B7;
transition: all 0.3s ease-in-out;

}
.P1 h2 {
transform: translateX(-200px);/*Desplazamos a la izquierda*/
opacity: 0;
transition: all 0.7s ease-in-out;
}
.P1 p {
transform: translateX(200px);/*Desplazamos a la derecha*/
opacity: 0;
transition: all 0.4s linear;
}
.P1 a.link{
opacity: 0;
transition: all 0.4s ease-in-out;
transform: translateY(100px)/*Desplazamos para abajo*/
}
.P1 :hover img {
transform: scale(1.1);/*Damos un ligero zoom a la imagen*/
}
.P1:hover .mascara {
opacity: 1;
}
.P1:hover h2,
.P1:hover p,
.P1:hover a.link {
opacity: 1;
transform: translateX(0px);/*Regresamos a las posiciones originales*/
}
.P1:hover p {
transition-delay: 0.1s;
}
.P1:hover a.link {
transition-delay: 0.2s; /*Aplicamos un pequeño retardo para que se muestre al final*/
transform: translateY(0px);
}