.serviceBox{
    color: #940A5D;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    padding: 25px 0 0;
    position: relative;
    z-index: 1;
    height: 230px;
    margin-bottom: 20px;
    background-color: #D61E30;
}
.serviceBox:before,
.serviceBox:after{
    content: '';
    /*background-color: #940A5D;*/
    background-color: #D61E30;
    height: 100px;
    width: 100px;
    border-radius: 20px;
    transform: translateX(-50%) rotate(45deg);
    position: absolute;
    left: 50%;
    z-index: -1;
}
.serviceBox:after{
    background-color: #999;
    height: 10px;
    width: 10px;
    border: 3px solid #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
.serviceBox .service-content{
    background-color: #f1f1f1;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.25);
}
.serviceBox .service-icon{
    font-size: 40px;
    line-height: 40px;
    margin: 0 0 10px;
    color: #3b3933;
}
.serviceBox .title{
    font-size: 21px;
    font-weight: 500;
    line-height: 26px;
    text-transform: capitalize;
    margin: 0 0 8px;
    
}
.serviceBox .description{
    color: #888;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: 0.5px;
    margin: 0;
}
.serviceBox.red{ color: #F24148; }
.serviceBox.red:before{ background-color: #F24148; }
.serviceBox.gray{ color: #779393; }
.serviceBox.gray:before{ background-color: #779393; }
.serviceBox.blue{ color: #10BACC; }
.serviceBox.blue:before{ background-color: #10BACC; }




@media only screen and (max-width: 990px){
    .serviceBox{ margin: 0 0 30px; }
}

@media only screen and (max-width: 480px){
    .serviceBox {
        height: 140px;
        margin-bottom: 100px;
    }

    .serviceBox .service-content {
        margin-top: -21px;
        padding: 4px;
        margin-bottom: 10px;
    }
}

/*product grid section*/
.product-grid{
    background-color: #fff;
    
    text-align: center;
    transition: all 0.3s ease 0s;
  }
  .product-grid .product-image{
    overflow: hidden;
    position: relative;
  }
  .product-grid .product-image a.image{ display: block; }
  .product-grid .product-image img{
    width: 100%;
    height: auto;
  }
  .product-image .pic-1{ transition: all 0.5s ease 0s; }
  .product-grid .product-image:hover .pic-1{ opacity: 0; }
  .product-image .pic-2{
    width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.5s ease 0s;
  }
  .product-grid .product-image:hover .pic-2{ opacity: 1; }
  .product-grid .product-links{
    padding: 0;
    margin: 0;
    list-style: none;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1;
  } 
  .product-grid .product-links li{
    margin: 0 0 10px;
    opacity: 0;
    transform: translate( 0,30%);
    transition: all 0.3s ease-in-out;
  }
  .product-grid .product-links li:nth-child(1){ transition-duration: 0.1s; }
  .product-grid .product-links li:nth-child(2){ transition-duration: 0.2s; }
  .product-grid .product-links li:nth-child(3){ transition-duration: 0.3s; }
  .product-grid:hover .product-links li{
    opacity: 1;
    transform: translate(0,-5%);
  }
  .product-grid .product-links li a{
    color: #222;
    background: #fff;
    font-size: 16px;
    text-align: center;
    line-height: 44px;
    height: 44px;
    width: 44px;
    border-radius: 50%;
    border: 1px solid #e3e3e3;
    display: block;
    box-shadow: 0 5px 10px 0 rgba(91,91,91,.1);
    transition: all .5s ease 0s;
  }
  .product-grid .product-links li:first-child a,
  .product-grid .product-links li a:hover{ color: #fd4132; }
  .product-grid .product-content{
    padding: 15px 15px 0;
  }
  .product-grid .title{
    font-size: 17px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 8px;
  }
  .product-grid .title a{
    color: #161e46;
    transition: all 0.3s ease 0s;
  }
  .product-grid .title a:hover{
    color: #fd4132;
  }
  .product-grid .rating{
    color: #efb123 !important;
    font-size: 13px;
    padding: 0;
    margin: 0 0 5px;
    list-style: none;
  }

  .product-grid .rating li{
    color: #efb123 !important;
    font-size: 13px;
   
  }
  .product-grid .price{
    color: #fd4132;
    font-family:'Darker Grotesque', sans-serif;
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 6px;
  }
  .product-grid .add-to-cart{
    color: transparent;
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 50px !important;
    border: 1px dashed #161e46;
    display: inline-block;
    position: relative;
    transition: all .2s ease;
    z-index: 1;
  }
  .product-grid .add-to-cart:hover{
    border: 1px solid transparent;
  }
  .product-grid .add-to-cart:before{
    content: attr(data-hover);
    color: #fff;
    background: #161e46;
    width: 100%;
    height: 100%;
    padding: 8px 0;
    border-radius: 50px;
    position: absolute;
    top: -3px;
    left: 5px;
    transition: all .2s ease;
    z-index: -1;
  }
  .product-grid .add-to-cart:hover:before{
    left: 0;
    color:#161e46;
    background: transparent;
    border: 1px dashed #161e46;
  }
  @media screen and (max-width: 990px){
    .product-grid{ margin: 0 0 30px; }
  }