.product-grid {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 40px;
 @media screen and (max-width: 990px) {
  gap: 20px;
 }
 @media screen and (max-width: 500px) {
  gap: 16px;
 }
 .product-grid__item {
  position: relative;

  a {
   text-decoration: none;
   color: inherit;
   display: flex;
   border: 1px solid #b4bac0;
   border-radius: 8px;
   overflow: hidden;
   flex-direction: column;
   padding: 50px;
   gap: 32px;
   height: 100%;
   @media screen and (max-width: 990px) {
    padding: 30px;
    gap: 20px;
   }
   @media screen and (max-width: 500px) {
    padding: 24px;
    gap: 16px;
   }
   &:hover {
    box-shadow: inset 0 0 0 3px #7a932b;
   }
  }
 }
 .product-grid__image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  img {
   height: auto;
   width: 100%;
   position: absolute;
   top: 0;
   left: 0;
   transition: opacity 0.3s ease-in-out;
  }

  .product-grid__image--primary {
   opacity: 1;
   z-index: 1;
  }

  .product-grid__image--secondary {
   opacity: 0;
   z-index: 1;
  }
 }

 .product-grid__item a:hover {
  .product-grid__image--primary {
   opacity: 0;
  }

  .product-grid__image--secondary {
   opacity: 1;
  }
 }

 .product-grid__badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: #f7716a;
  color: white;
  border-radius: 50px;
  font-size: 22px;
  font-weight: 500;
  z-index: 2;
  height: 45px;
  padding-inline: 16px;
  width: max-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  @media screen and (max-width: 990px) {
   font-size: 14px;
   height: 32px;
   padding: 4px 12px;
   top: 16px;
   right: 16px;
  }
 }
 .product-grid__title {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  margin-bottom: 32px;
  @media screen and (max-width: 990px) {
   font-size: 16px;
   margin-bottom: 16px;
   margin-left: -30px;
   margin-right: -30px;
  }
 }
 .product-grid__price {
  font-size: 34px;
  font-weight: 600;
  margin: 0;
  span {
   white-space: nowrap;
  }
  @media screen and (max-width: 990px) {
   font-size: 24px;
  }
  @media screen and (max-width: 500px) {
   font-size: 18px;
  }
 }
 .product-grid__price--old {
  font-weight: 400;
  color: #be6a6a;
  font-size: 70%;
  margin-right: 8px;
 }
 .product-grid__tax {
  font-size: 14px;
  font-weight: 600;
  @media screen and (max-width: 990px) {
   font-size: 12px;
  }
 }
}
