.products_li_n, .products_li_s {
    opacity: .5;
}
.products {
    list-style: none;
    margin: 0 0 0 0 !important;
    padding: 0 !important;
}
.products li {
    position: relative;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: bottom;
    width: calc(100% / 7);
    padding: 0 20px 20px 0 !important;
    margin: 0 !important;
}
.products li:before {
    display: none !important;
}
.products li a {
    color: #474747;
}
.products li a:hover {
    color: #1F3E85;
}

.product-img-container {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products li a img,
.products li a picture {
    max-width: 100%;
    height: auto;
    margin: 0 auto 10px auto;
}
.product_name {
    display: block;
    font-size: 12px;
    line-height: 17px;
    height: 34px;
    overflow: hidden;
    font-weight: 300;
    text-transform: uppercase;
}
.product_info {
    margin: 5px 0 0 0;
}
.product_size {
    font-size: 15px;
    line-height: 1em;
    font-weight: 400;
    float: left;
}

.product-card-badge {
    position: absolute;
    top: 25px;
    width: auto;
    height: 25px;
    border: 1px solid rgba(218, 218, 218, 0.5);
    background-color: #f5f5f5;
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 0 8px;
    font-size: 10px;
}

.badge-p {
    display: none;
}

.badge-p::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: green;
}

.badge-z::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: #efef07;
}
.badge-u::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: #ff961d;
}
.badge-n::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: #ff0a0a;
}
.badge-s::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: #424242;
}

.globalprice {
    font-size: 17px;
    line-height: 1em;
    font-weight: 400;
    float: right;
    color: #1F3E85;
    margin-right: -16px;
}
.globalprice sup {
    position: relative;
    font-size: 7px;
    line-height: 1em;
    font-weight: 400;
    top: -3px;
}
.globalprice sub {
    position: relative;
    font-size: 8px;
    line-height: 1em;
    font-weight: 600;
    top: -4px;
    left: -16px;
}
.word_price {
    position: relative;
    display: inline-block;
    transform: rotate(-90deg);
    font-size: 7px;
    text-transform: lowercase;
    margin: 0 -2px 0 0;
    top: -4px;
    left: 4px;
}
.price-num{
    text-decoration: line-through;
    color: red;
}
.oldprice small {
    text-decoration: none;
    color: red;
}
.badge-discount {
    position: absolute;
    color: red;
    font-size: 12px;
    width: 60px;
    text-align: center;
    border: 1px solid #e7e7e7;
    background-color: #fff;
}
.badge-discount::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: red;
}
.sale-price {
    font-size: 17px;
    line-height: 1em;
    font-weight: 400;
    float: right;
    color: red;
    margin-right: -16px;
}
.sale-price sup {
    position: relative;
    font-size: 7px;
    line-height: 1em;
    font-weight: 400;
    top: -3px;
}
.sale-price sub {
    position: relative;
    font-size: 8px;
    line-height: 1em;
    font-weight: 600;
    top: -4px;
    left: -16px;
}
.old-price{
    position: relative;
    right: 35px;
    top: -5px;
    font-size: 12px;
    color: grey;
}
.old-price::after{
    content: "";
    position: absolute;
    left: -10%;
    top: 50%;
    width: 120%;
    height: 1px;
    background: grey;
    transform: rotate(-35deg) scaleY(0.7);
    transform-origin: center;
}
.addToFav-listing{
    display: inline-block;
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
    border: 1px solid #ccc;;
}
@media screen and (max-width:1048px) {
    .withsidebar .products {
        margin-right: -20px;
    }
}
@media screen and (max-width:960px) {
    .products li {
        width: 25%;
    }
}
@media screen and (max-width:760px) {
    .withsidebar .products li {
        width: 33%;
    }
}
@media screen and (max-width:560px) {
    .products li {
        width: 33.333333%;
    }
    .withsidebar .products li {
        width: 33.333333%;
    }
}
@media screen and (max-width:450px) {
    .products li {
        width: 50%;
    }
    .withsidebar .products li {
        width: 100% !important;
    }
}

