'Zoom whole content inside the div box

I want the whole content inside the div to zoom, but only div is zooming and content remaining same size. Something need to change in the CSS which I got from a free template and don't to know what to change. Any suggestions please?

.product-item {
  width: 20%;
  height: 380px;
  cursor: pointer;
}

.product-item::after {
  display: block;
  position: absolute;
  top: 0;
  left: -1px;
  width: calc(100% + 1px);
  height: 100%;
  pointer-events: none;
  content: '';
  border: solid 2px rgba(235, 235, 235, 0);
  border-radius: 3px;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.product-item:hover::after {
  box-shadow: 0 25px 29px rgba(63, 78, 100, 0.15);
  border: solid 2px rgba(235, 235, 235, 1);
  transform: scale(1.2);
}
<div class="product-item">
  <div class="product_image">
    <img src="assets/images/product_3.png" alt="">
  </div>
  <div class="favorite"></div>
  <div class="product_info">
    <h6 class="product_name"><a href="#">Mexican Pizza (Extra Toppings)</a></h6>
    <div class="product_price">$820.00</div>
  </div>
  <div class="add_to_cart_button"><a href="#">add to cart</a></div>
</div>


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source