
.products li {
    width: 25%;
}
.withsidebar .products li {
    width: 32%;
}
.products li {
    position: relative;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: bottom;
    padding: 0 20px 20px 0 !important;
    margin: 0 !important;
}
.products {
    list-style: none;
    margin: 0 0 0 0 !important;
    padding: 0 !important;
}
.products li a img, .products li a picture {
    max-width: 100%;
    height: auto;
    margin: 0 auto 10px auto;
}
.badge-discount {
    position: absolute;
    color: #C41D3A;
    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: 5px;
    height: 100%;
    background: #C41D3A;
}
.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 10px 0;
    display: block;
    height: 16px;
}
.globalprice {
    font-size: 17px;
    line-height: 1em;
    font-weight: 400;
    float: right;
    color: #222;
    margin-right: -16px;
}
.addToFav-listing {
    display: inline-block;
    padding: 1px 5px;
    font-size: 11.3px;
    line-height: 1.5;
    border-radius: 3px;
    border: 1px solid #ccc;
}
.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;
}
.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;
}
.sale-price {
    font-size: 17px;
    line-height: 1em;
    font-weight: 400;
    float: right;
    color: #C41D3A;
    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;
}
.product_name {
    display: block;
    font-size: 12px;
    line-height: 14px;
    height: 28px;
    overflow: hidden;
    color: #666;
}
.product_name:hover {
    color: #222;
}
.product_price_wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    padding: 5px 0 0 0;
    color: #C41D3A;
}
.product_price {
    position: relative;
    padding: 0 0 0 9px;
}
.product_price_zena {
    position: absolute;
    top: 9px;
    left: -6px;
    font-size: 7px;
    line-height: 1em;
    transform: rotate(-90deg);
    font-weight: 600;
    text-transform: uppercase;
    opacity: .75;
}

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


.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;
}

@media screen and (max-width: 450px) {
    .products li {
        width: 100% !important;
    }
}
@media screen and (max-width:560px) {
    .opoczno_products li {
        width: 33.333333% !important;
    }
}
@media screen and (max-width:450px) {
    .opoczno_products li {
        width: 50% !important;
    }
}