* {
    margin: 0;
    padding: 0;
}

.product-list {
    padding: 30px 10px;
}

.product-wrap {
    float: left;
    width: 33.33%;
    padding: 10px;
    box-sizing: border-box;
}

.product-item {
    position: relative;
    border: 1px solid grey;
    -webkit-box-shadow: 0px 5px 10px 2px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 5px 10px 2px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 5px 10px 2px rgba(0, 0, 0, 0.75);
}

.product-list:after {
    content: "";
    display: block;
    clear: both;
}

.product-img {
    position: absolute;
    margin: 10px;
    border: 1px solid grey;
    top: -40px;
    background-color: #fff;
}

img {
    width: 100%;
    height: 100%;
}

.product-img:before {
    content: "SALE";
    position: absolute;
    top: 50%;
    left: 20px;
    text-align: center;
    line-height: 50px;
    color: #fff;
    background-color: red;
    width: 100px;
    height: 50px;
    z-index: 1;
}

.product-img:after {
    content: "NEW";
    position: absolute;
    top: 50%;
    right: 20px;
    text-align: center;
    line-height: 50px;
    color: #fff;
    background-color: black;
    width: 100px;
    height: 50px;
    z-index: 1;
}

h5,
p,
span {
    margin: 20px 10px;
}

h5 {
    margin-top: 95%;
    font-size: 18px;
}

.sale-price {
    font-size: 30px;
}

.old-price {
    font-size: 25px;
    color: red;
    text-decoration: line-through;
    margin-left: 20px;
}

.action {
    font-size: 0px;
    margin-bottom: 10px;
    margin-top: 20px;
    padding-left: 10px;
    padding-right: 10px;
}

.button {
    font-size: 16px;
    display: inline-block;
    width: 48%;
    height: 40px;
    line-height: 40px;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
}

.add-to-cart {
    background-color: red;
    color: black;
}

.view {
    background-color: grey;
    color: black;
    margin-left: 4%;
}