.products {
    padding: 40px 0;
}

.itemlist {
    font-family: 'Oswald Regular', Helvetica, Arial;
}

.itemlist ul{
    width: 100%;
    margin: 0;
    padding: 0;
    list-style-type: none;
    text-align: center;
    font-size: 0;
}

.itemlist ul li{
    display: inline-block;
    vertical-align: top;
    /*min-width: 150px;*/
    min-height: 260px;
    margin: 20px 1.5%;
    border: 1px solid #e8e8e8;
    position: relative;
}

.itemlist ul li:first-child,
.itemlist ul li:nth-child(4n+1) {
    margin-left:0;
}

.itemlist ul li:nth-child(4n) {
    margin-right:0;
}

.itemlist ul li:hover {
    border-color: #D23636;
}

.last_added li {
    width: 22.4%;
}

.products li {
    width: 22.4%;
}

.featured li, .categories li {
    width: 22.4%;
}

.item_image_wrap {
    padding: 20px 10% 0;
    position: relative;
    overflow: hidden;
    height: 252px;
    -moz-transition: all 0.45s ease;
    -webkit-transition: all 0.45s ease;
    -o-transition: all 0.45s ease;
    -ms-transition: all 0.45s ease;
    transition: all 0.45s ease;
}

a.item_image {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    text-decoration: none;
    height: 100%;
}

a.item_image img {
    width: 100%;
    height: auto;
    border: 0;
    -webkit-transition: opacity 0.3s ease-in-out;
    -moz-transition: opacity 0.3s ease-in-out;
    -ms-transition: opacity 0.3s ease-in-out;
    -o-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
}

a.item_image img:hover{
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
}

a.item_image:hover:before {
    content:"VER";
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -25px;
    margin-left: -25px;
    display: block;
    width: 50px;
    height: 50px;
    color: #A0853F;
    font-size: 30px;
}

.item_info {
    padding: 20px 5px;
    margin: 10px 0;
}

.categories .item_info {
    min-height: initial;
}

* {
@include box-sizing(border-box);
}

.last_added .item_name {
    height: 60px; /* Fallback for non-webkit */
}

.products .item_name, .featured .item_name, .categories .item_name {
    height: 60px; /* Fallback for non-webkit */
}

.item_category {
    height: 10px;
}

.clamp {
    display: block; /* Fallback for non-webkit */
    display: -webkit-box;
    max-width: 100%;
    margin: 0 auto;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item_name a {
    color: #333;
    text-decoration: none;
    font-size: 13px;
}

.item_category {
    font-family: "Arial";
    font-size: 10px;
    color: #CCC;
    padding: 5px;
}

.featured .item_name a{
    font-size: 13px;
    font-weight: normal;
    color: #000;
}

.item_price_links {
    padding: 0 6%;
}

.item_discount {
    display: block;
    font-size: 12px;
    background-color: #666;
    color: #FFF;
}

.item_price {
    height: 35px;
}

.featured .item_price {
    height: 45px;
}

.item_price .money, .item_price .new_price {
    font: normal 20px 'Oswald Regular';
    color: #D23636;
}

.item_price .old-price {
    font: normal 12px 'Oswald Regular';
    color: #333;
    text-decoration: line-through;
}

.item_price .compare-at-price {
    padding: 0 0 0 3px;
    font: bold 12px 'Oswald Regular';
    color: #bbb;
    text-decoration: line-through;
}

li .item_links {
    position: absolute;
    bottom: -40px;
    width: 100%;
    left: 0;
    -moz-transition: all 0.45s ease;
    -webkit-transition: all 0.45s ease;
    -o-transition: all 0.45s ease;
    -ms-transition: all 0.45s ease;
    transition: all 0.45s ease;
}

li:hover .item_links {
    bottom: 0;
    -moz-transition: all 0.45s ease;
    -webkit-transition: all 0.45s ease;
    -o-transition: all 0.45s ease;
    -ms-transition: all 0.45s ease;
    transition: all 0.45s ease;
}

.item_links a {
    display: inline-block;
    font: normal 11px 'Oswald Regular';
    text-transform: uppercase;
    text-decoration: none;
    height: 20px;
    line-height: 20px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

a.btn-cart {
    border-radius: 0;
    padding: 5px 0;
    margin: 0;
    color: #FFF;
    font-weight: bold;
    background-color: #D23636;
    width: 100%
}

a.btn-cart:hover {
    background-color: #333;
}

.featured a.btn-cart {
    background-color: #D23636;
}

.featured a.btn-cart:hover {
    background-color: #000;
}

a.btn-cart img {
    width: 20px !important;
    height: auto !important;
    vertical-align: middle;
}

a.btn {
    background: #424242;
    background: -webkit-linear-gradient(top, #424242 0%,#313131 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#424242), color-stop(100%,#313131));
    background: -moz-linear-gradient(top, #424242 0%, #313131 100%);
    background: -ms-linear-gradient(top, #424242 0%,#313131 100%);
    background: -o-linear-gradient(top, #424242 0%,#313131 100%);
    background: linear-gradient(to bottom, #424242 0%,#313131 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#424242', endColorstr='#313131',GradientType=0 );
}

.helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.empty_category {
    font-size: 14px;
}

@media screen and (max-width: 1200px){
    a.btn-cart img {
        width: 15px !important;
    }
}

@media screen and (max-width: 980px) {
    .itemlist{
        width:100%;
        padding: 0;
    }
    .itemlist ul li, .itemlist ul li.middle_item {
        min-width: 220px;
    }
}

@media screen and (max-width: 320px) {



    .last_added h1 span, .products h1 span {
        padding: 0;
        background-color: transparent;
    }

    .last_added h1 span:after, .products h1 span:after {
        display: none;
    }

    .itemlist ul li, .itemlist ul li.middle_item {
        width: 90%;
        min-width: initial;
        margin: 10px 0;

        clear: both;
    }

    .item_info {
        padding: 20px 0;
        margin: 0 10px 10px;
    }
}
