* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.cards {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cards__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 0.6rem;
}

.flex-col-4 {
  width: 25%;
}

@media (min-width: 10rem) {
  .cards__item {
    width: 100%;
  }
}

@media (min-width: 40rem) {
  .cards__item {
    width: 50%;
  }
}

@media (min-width: 77rem) {
  .flex-col-3 {
    width: 33.3333%;
  }
}

@media (min-width: 81em) {
  .flex-col-4 {
    width: 25%;
  }
}

.product-card {
  width: 100%;
  position: relative;
  border: 1px solid #dfdfdf;
  transition: transform 0.2s;
  background: #fafafa;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.product-card:hover {
  z-index: 9;
  transform: scale(1.05);
}

.product-details_copy {
  flex: 1;
  padding: 20px;
}

.product-details_copy > h4 {
  font-size: 16px;
  line-height: 20px;
  margin: 0;
}

.badge {
  position: absolute;
  left: 0;
  top: 20px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  background: red;
  color: #fff;
  padding: 3px 10px;
}

.product-tumb {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  overflow: hidden;
}

.product-tumb img {
  max-width: 100% !important;
  border-radius: 0;
  margin: 0;
  padding: 0;
}

.product-details {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.product-catagory {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ccc;
  margin-bottom: 18px;
}

.product-details h4 a {
  display: block;
  color: #363636;
  text-decoration: none;
  transition: 0.3s;
}

.product-details p {
  font-size: 15px;
  line-height: 22px;
  margin-bottom: 18px;
  color: #999;
}

.product-bottom-details {
  overflow: hidden;
  border-top: 1px solid #eee;
  background-color: #f7f7f7;
}

.product-bottom-details div {
  float: left;
  width: 50%;
}

.product-price {
  font-size: 15px;
  font-weight: 600;
  padding: 20px;
}

.product-price small {
  font-size: 80%;
  font-weight: 400;
  text-decoration: line-through;
  display: inline-block;
  margin-right: 5px;
}

.favorite-icon {
  text-align: right;
}

.favorite-icon > div > span {
  padding-left: 5px;
  font-size: 15px;
}

.favorite-icon div {
  display: inline-block;
  margin-left: 5px;
  transition: 0.3s;
  padding: 20px 0;
  padding-right: 20px;
  /* text-align: center; */
  transition: 0.3s;
  float: right;
  width: 100%;
  font-weight: bold;
}

.favorite-icon div > i {
  font-size: 20px;
  color: #98002e;
  transition: 0.3s;
}

.favorite-icon div:hover > i {
  transform: scale(1.2);
}

#view_details {
  position: absolute;
  top: 112px;
  left: 50%;
  margin-left: -85px;
  border: 2px solid #fff;
  color: #fff;
  font-size: 19px;
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  padding: 10px 0;
  width: 172px;
  opacity: 0;
  -webkit-transition: all 200ms ease-out;
  -moz-transition: all 200ms ease-out;
  -o-transition: all 200ms ease-out;
  transition: all 200ms ease-out;
}

#view_details {
  background: rgba(0, 0, 0, 0.5);
  /* opacity: .5; */
}
/* 
#view_details:hover{	
	background: rgba(255, 255, 255, .5);
	cursor:pointer;

} */

.product-card:hover #view_details {
  opacity: 1;
  width: 152px;
  font-size: 15px;
  margin-left: -75px;
  top: 115px;
  -webkit-transition: all 200ms ease-out;
  -moz-transition: all 200ms ease-out;
  -o-transition: all 200ms ease-out;
  transition: all 200ms ease-out;
}
