:root {
  --width: 250px;
}

/* IDEA FROM https://codepen.io/groenhuizen/pen/qEVrKO */
.cross-selling {
  font-family: sans-serif;
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
}
.cross-selling h2 {
  margin-top: 50px;
  margin-left: 15px;
}
.cross-selling a {
  position: relative;
  float: left;
  
  width: var(--width); /* width: 350px; */
  height: 210px;
  overflow: visible;
  margin: 20px;
  display: block;
  background-color: #000;
  text-decoration: none;
}
.cross-selling a div {
  position: relative;
  z-index: 1;
  width: var(--width); /* width: 353px; */
  height: 218px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  -webkit-background-size: cover;
  overflow: hidden;
  /*
  -webkit-box-shadow: 0 0 3px 2px rgba(0,0,0,0.2);
  box-shadow: 0 0 3px 2px rgba(0,0,0,0.2);
  */
  -webkit-transform: translate(-4px,-4px);
  -moz-transform:    translate(-4px,-4px);
  -ms-transform:     translate(-4px,-4px);
  -o-transform:      translate(-4px,-4px);
  transform:         translate(-4px,-4px);
  -webkit-transition: width .2s, height .2s, -webkit-transform .2s, -webkit-box-shadow .2s;
  -moz-transition:  width .2s, height .2s, -moz-transform .2s, box-shadow .2s;
  transition:  width .2s, height .2s, transform .2s, box-shadow .2s;
}
.cross-selling a div:before {
  content: "";
  display: block;
  width: 600px;
  height: 400px;
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  opacity: 1;
  background-image: linear-gradient(45deg, black 25%, rgba(0,0,0,0) 50%);
 /**
  * background: -moz-linear-gradient(left,  rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.85) 20%, rgba(0,0,0,0) 60%); /* FF3.6+ */
  * background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(0,0,0,0.9)), color-stop(20%,rgba(0,0,0,0.85)), color-stop(60%,rgba(0,0,0,0))); /* Chrome,Safari4+ */
  * background: -webkit-linear-gradient(left,  rgba(0,0,0,0.9) 0%,rgba(0,0,0,0.85) 20%,rgba(0,0,0,0) 60%); /* Chrome10+,Safari5.1+ */
  * background: -o-linear-gradient(left,  rgba(0,0,0,0.9) 0%,rgba(0,0,0,0.85) 20%,rgba(0,0,0,0) 60%); /* Opera 11.10+ */
  * background: -ms-linear-gradient(left,  rgba(0,0,0,0.9) 0%,rgba(0,0,0,0.85) 20%,rgba(0,0,0,0) 60%); /* IE10+ */
  * background: linear-gradient(to right,  rgba(0,0,0,0.9) 0%,rgba(0,0,0,0.85) 20%,rgba(0,0,0,0) 60%); /* W3C */
  * filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e6000000', endColorstr='#00000000',GradientType=1 ); /* IE6-9 */
  */
  -webkit-transition: all 1s ease-in-out;
  -moz-transition: all 1s ease-in-out;
  -ms-transition: all 1s ease-in-out;
  -o-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
}
.cross-selling a:hover div:before {
  opacity: 0.7;
}
.cross-selling a:hover div {
  width: var(--width); /* width: 350px; */
  height: 226px;
  /*
  -webkit-box-shadow: 0 0 3px 4px rgba(0,0,0,0.2);
  box-shadow: 0 0 3px 4px rgba(0,0,0,0.2);
  */
  -webkit-transform: translate(-8px,-8px);
  -moz-transform:    translate(-8px,-8px);
  -ms-transform:     translate(-8px,-8px);
  -o-transform:      translate(-8px,-8px);
  transform:         translate(-8px,-8px);
}
.cross-selling a:active div {
  width: var(--width) /* width: 353px; */
  height: 218px;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transform: translate(-4px,-4px);
  -moz-transform:    translate(-4px,-4px);
  -ms-transform:     translate(-4px,-4px);
  -o-transform:      translate(-4px,-4px);
  transform:         translate(-4px,-4px);
}
.cross-selling a span {
  width: 100%;
  position: absolute;
  display: block;
  overflow: hidden;
  z-index: 20;
  padding: 0; /* padding: 15px 20px; */
  margin: 0;
  bottom: 0px;
  left: 0;
}
.cross-selling a span h3 {
  padding: 0 10px;
  color: #fff;
  text-transform: uppercase;
}
.cross-selling a:hover span h3 {}
.cross-selling a span p {
  padding: 0 20px;
  opacity: 0;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin: 5px 0 0 0; /* WAS 0 */
  max-height: 0;
  -webkit-transition: all 1s ease-in-out;
  -moz-transition: all 1s ease-in-out;
  -ms-transition: all 1s ease-in-out;
  -o-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
}
.cross-selling a:hover span p {
  background-color: rgba(0,0,0,0.7);
  padding-top: 10px;
  padding-bottom: 10px;
  z-index:-1;
  opacity: 1;
  font-size: 14px;
  max-height: 200px;
}
