.product-item{
    display: flex;
    flex-direction: column;
    width: 33.33%;
    margin: 0;
    padding: 16px;
    border: 1px solid #ccc;
    border-top-color: rgb(204, 204, 204);
    border-left-color: rgb(204, 204, 204);
    border-top-color: transparent;
    border-left-color: transparent;
    transition: box-shadow .3s;
    position: relative;
}
.product-item:hover {
    z-index: 10;
    border-right-color: transparent !important;
    box-shadow: 0 3px 15px rgba(0,0,0,.2);
}
.product-item .badgeContainer{
    position: absolute;
    top: 4px;
    left: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.product-item .badgeContainer span{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
}
.product-item .badgeContainer span.stock{
    color: #000;
    background-color: #fde12c;
}
.product-item .badgeContainer span.hit{
    color: #fff;
    background-color: #e9242e;
}
.product-item > .img-link{
    display: flex;
    height: 300px;
}
.product-item > .img-link > picture{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.product-item > .img-link > picture > img{
    width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.product-item > .name-link{
    margin-bottom: 10px;
    color: #333;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
}
.product-item > ul{
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}
.product-item > ul > li{
    display: flex;
    font-size: 14px;
    font-weight: 400;
    color: #888;
}
.product-item > ul > li > *{
    flex-grow: 1;
    flex-basis: 0;
}
.product-item > ul > li > strong{
    font-weight: 400;
    color: #333;
}
.product-item > .footer{
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-top: auto;
}
.product-item > .footer > .btn{
    font-weight: 600;
}

.catalog-wrapper .product-item:nth-child(3n):nth-last-child(-n+4) ~ div {
    border-bottom-color: transparent;
}

.product-item > .footer > .price{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.product-item > .footer > .price > small{
    display: inline-block;
    position: relative;
    color: #3a3a3a;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 6px;
}
.product-item > .footer > .price > small::after{
    position: absolute;
    content: "";
    left: 2px;
    top: 50%;
    right: 0;
    border-top: 1px solid #000;
    transform: rotate(-5deg);
}
.product-item > .footer > .price > .price-wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    margin-top: auto;
}
.product-item > .footer > .price > .price-wrapper > strong{
    font-size: 20px;
    font-weight: 700;
}
.product-item > .footer > .price > .price-wrapper > span{
    height: 32px;
    display: flex;
    justify-content: center;
    text-align: center;
    background-color: #fee956;
    color: #333;
    font-size: 12px;
    border-radius: 12px;
    z-index: 10;
    flex-direction: column;
    line-height: 1;
    padding: 2px 25px;
}

.product-item > .footer > .price.stock > .price-wrapper > strong{
    color: var(--red);
}
.product-item > .footer > .price.megastock > .price-wrapper{
    padding: 1px;
    background-color: #e9242e;
    border-radius: 13px;
}
.product-item > .footer > .price.megastock > .price-wrapper > span{
    font-weight: 700;
}
.product-item > .footer > .price.megastock > .price-wrapper > strong{
    color: #FFFFFF;
}

@media (max-width: 991px) {
    .product-item {
        width: 50%;
    }
    .catalog-wrapper .product-item:nth-of-type(2n) {
        border-right: 1px solid transparent;
    }
}
@media (max-width: 700px) {
    .product-item {
        width: 100%;
        padding: 16px 0;
        box-shadow: none !important;
        border-top: none !important;
        border-right: none !important;
        border-left: none !important;
        border-bottom: 1px solid #ccc !important;
    }

}
