.product-row {
    margin-right: -5px;
    margin-left: -5px;
}
.product-layout {
    padding-right: 5px;
    padding-left: 5px;
}
.product-thumb{
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid var(--theme-grey-f0-color);
}
.product-thumb .image {
    text-align: center;
    position: relative;
    overflow: hidden;
    background: #fff;
}
.product-thumb .image a {
    display: block;
}
.product-thumb .image img {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
.product-thumb:hover {
    box-shadow: 0 1px 10px 0 #f0f0f0;
}
.product-thumb .addcart {
    opacity: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin: auto;
    width: fit-content;
    text-transform: uppercase;
}
.product-thumb:hover .addcart {
    opacity: 1;
}
.sale-text {
    position: absolute;
    font-size: 14px;
    font-weight: 600;
    top: 0;
    left: 0;
    padding: 5px 11px;
    line-height: 20px;
    z-index: 1;
    background: var(--theme-red-color);
    color: #fff;
}
.sale-text span::before {
    content: "";
    position: absolute;
    border-bottom: 15px solid var(--theme-red-color);
    border-right: 15px solid transparent;
    right: -15px;
    top: 0;
}
.sale-text span::after {
    content: "";
    position: absolute;
    border-right: 15px solid transparent;
    border-top: 15px solid var(--theme-red-color);
    right: -15px;
    bottom: 0;
}
.thumb-description {
    position: relative;
    border-top: 1px solid var(--border-color);
    overflow: hidden;
}

.product-thumb .caption {
    padding: 20px 15px 15px;
    position: relative;
    text-align: center;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}
.product-thumb:hover .product-name,
.product-thumb:hover .price-rating {
    opacity: 0;
}
.product-thumb .price-rating {
    border-top: 1px solid var(--theme-grey-f0-color);
    padding: 15px 0 0;
}
.product-thumb .price {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    line-height: 20px;
    color: var(--theme-black-color);
}
.product-thumb .price-new {
    margin-right: 5px;
    color: var(--theme-red-color);
}
.product-thumb .price-old {
    text-decoration: line-through;
    display: inline-block;
    font-size: 16px;
    color: var(--theme-grey-d9-color);
    line-height: 20px;
}
.product-thumb .product-name {
    margin: 0;
    transition-duration: 500ms;
    -webkit-transition-duration: 500ms;
    -moz-transition-duration: 500ms;
    -ms-transition-duration: 500ms;
    -o-transition-duration: 500ms;

}
.product-thumb .product-name a {
    display: block;
    font-weight: 600;

    margin: 0 0 15px;

    height: 61px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;

    text-overflow: ellipsis;
    overflow: hidden;
}
.product-thumb .hover-img {
    left: 0;
    max-width: 100%;
    opacity: 0;
    position: absolute;
    right: 0;
    text-align: left;
    top: 0;
    transition-duration: 500ms;
    transform: translateY(100%);
    -moz-transform: translateY(100%);
    -webkit-transform: translateY(100%);
    -ms-transform: translateY(100%);
    -o-transform: translateY(100%);
}
.product-thumb:hover .hover-img {
    opacity: 1;
    -khtml-opacity: 1;
    -webkit-opacity: 1;
    -moz-opacity: 1;
    overflow: hidden;
    transform: translateY(0%);
    -moz-transform: translateY(0%);
    -webkit-transform: translateY(0%);
    -ms-transform: translateY(0%);
    -o-transform: translateY(0%);
    transition-duration: 500ms;
    -webkit-transition-duration: 500ms;
    -moz-transition-duration: 500ms;
    -ms-transition-duration: 500ms;
    -o-transition-duration: 500ms;
}

@media (max-width: 1600px){
    .product-thumb .caption {
        padding: 15px;
    }
}
@media (min-width: 992px) and (max-width: 1199px){
    .product-thumb .price-rating {
        flex-direction: column-reverse;
    }
    .product-thumb .product-name a {
        padding: 0;
        margin: 0 0 10px;
    }
    .product-thumb .price-rating {
        padding: 0;
        border: none;
    }
    .product-thumb .price {
        margin-top: 4px;
    }
}
@media (max-width: 991px){
    .product-thumb {
        margin-bottom: 20px;
    }
    .product-thumb .caption {
        padding: 10px;
    }
    .product-thumb:hover .product-name,
    .product-thumb:hover .price-rating {
        opacity: 1;
    }
    .product-thumb .product-name a {
        font-size: 14px;
        margin: 0 0 8px;
        padding: 0;
        height: 60px;
    }
    .product-thumb .price-rating {
        padding: 0;
        border: none;
    }
    .product-thumb .price {
        font-size: 16px;
    }
    .product-thumb .price-old {
        font-size: 14px;
    }
    .product-thumb .addcart {
        position: unset;
        opacity: 1;
        transform: none;
        padding: 7px 20px;
    }
    .product-thumb .price-rating {
        margin-bottom: 1rem;
    }
    .sale-text {
        font-size: 11px;
        width: 36px;
        height: 20px;
        line-height: 20px;
        padding: 0;
    }
    .sale-text span::before{
        border-bottom: 10px solid var(--theme-red-color);
        border-right: 10px solid transparent;
        right: -10px;
    }
    .sale-text span::after{
        border-right: 10px solid transparent;
        border-top: 10px solid var(--theme-red-color);
        right: -10px;
    }
    .product-thumb:hover .price{
        opacity: 1;
    }
}
@media (max-width: 767px){
    .product-thumb .price-rating {
        flex-direction: column;
    }
    .product-thumb .price {
        margin: 0 0 7px;
    }
    .product-thumb .addcart {
        padding: 7px 15px;
    }
}

@media (max-width: 680px){
    /*.special-image {
        width: auto;
        margin-right: 10px;
    }*/
}
@media (max-width: 575px){
}
@media (max-width: 480px){
}
