.product-grid-item {
  margin-bottom: 16px;

  @media (min-width: 992px) {
    margin-bottom: 30px;

    &:hover {
      .product-bottom-btns {
        transform: translateY(0) !important;
      }

      .product-price {
        transform: translateY(100%);
      }
    }
  }

  .image {
    position: relative;
    overflow: hidden;
    border-radius: 6px;

    .cancel-favorite {
      position: absolute;
      top: 5px;
      right: 5px;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background-color: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 15px;
      color: #b00101;
      box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
      cursor: pointer;
      &:hover {
        color: #fff;
        background-color: #b00101;
      }
    }
  }

  .product-item-info {
    text-align: center;

    .product-name {
      font-size: 1rem;
      margin-top: 1rem;
      margin-bottom: .5rem;
      font-weight: bold;
      color: #222;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      a {
        color: inherit;
        &:hover {
          text-decoration: underline;
          color: $primary;
        }
      }
    }

    .product-bottom {
      position: relative;
      overflow: hidden;
    }

    .product-bottom-btns {
      transform: translateY(-100%);
      transition: transform .3s;

      .btn-add-cart {
        font-weight: bold;
        font-size: 16px;
        text-decoration: underline;
        color: $primary;
      }
    }

    .product-price {
      display: flex;
      justify-content: center;
      align-items: center;
      position: absolute;
      top: 0;
      width: 100%;
      transition: transform 0.3s;

      .price-new {
        font-size: 1rem;
        font-weight: bold;
        color: $price;
      }

      .price-old {
        font-size: .9rem;
        color: #768088;
        text-decoration: line-through;
        margin-left: 10px;
        margin-right: 10px;
      }
    }
  }
}