.productItem{ float: left; width: calc(50% - 40px); margin: 20px; aspect-ratio: 1 / 1; position: relative; }
.productItem .container{ transition: 0.5s; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background:#eee;}
.productItem .container a{display:block; height: 100%;}
.productItem .container picture{ display:block; width:100%; height:100%; }
.productItem .container picture img{ display:block; width:100%; height:100%!important; object-fit:cover; }
.productItem .container h5{transition: 0.5s; font-size: 18px; width: calc(100% - 10px); position: absolute; bottom: 0; left: 0; background:#2e6dd4; color: #fff; text-align: center; padding: 5px; margin:0;}

.productItem picture *{height: 100%!important;}
.productItem p{text-align:center; }

.imageContainer .imageBox-thumbs{aspect-ratio:1 / 1; height:auto; width:calc(33.3% - 10px); padding:5px; display:inline-block; }
.imageContainer .imageBox-thumbs:last-of-type{width:calc(33.4% - 10px);}
.imageBox-big{aspect-ratio:1 / 1; height:auto; width:100%; display:inline-block; }
.imageBox-thumbs picture, .imageBox-big picture{display:block; width:100%; height:100%;}
.imageBox-thumbs picture img, .imageBox-big picture img{display:block; width:100%; height:100%!important; object-fit:cover;}
.imageContainer *{padding: 0; margin: 0;}
.imageBox-thumbs {object-fit: cover; overflow: hidden; }
.imageContainer picture *{transition: 0.5s; }
.productDetail .button {display:block; float: left; width: calc(48% - 20px); transition: 0.5s; padding: 20px 0 20px 0; font-size: 18px; margin: 10px; text-align: center; text-decoration: none!important; font-weight: bold; color: #fff!important; border: 2px solid #2e6dd4; background-color: #2e6dd4; }
.productDetail .button.alt { border: 2px solid #14ce45; background-color: #14ce45; }



@media only screen and (min-width: 1099px) {
	/* Hover effects only on big screens*/
	.productItem .container:hover{transform: scale(1.1);}
	.productItem .container:hover h5{color: #14ce45;}
	.productDetail .button.alt:hover{color: #14ce45!important; background-color: #fff;}
	.productDetail .button:hover{color: #2e6dd4!important; background-color: #fff;}
	.imageContainer picture:hover *{transform: scale(1.1);}
}
 
@media only screen and (max-width: 767px) {
    .item h5{ font-size: 10px; max-height: 40%; overflow: hidden;}
    .productItem{ float: none; width: calc(100% - 40px); margin: 20px; display: block; aspect-ratio: 1 / 1; height: auto; }
    .productDetail .button {float:none; width: 100%; margin: 15px 0;}
    .imageContainer .imageBox-thumbs{height:auto;}
}

@media only screen and (max-width: 425px) {
	.productDetail .button {font-size: 16px;}
}
