/*
Author: Ishan Jayman & Madhawa Opatha
Version: 1.0.0
*/

.cmtsfwc-Result li.product div.new_product_card{
    position: relative;
    display: block;
    width: calc(100% - 20px);
    height: calc(300px - 20px);
    left: 10px;
    top: 10px;
}

div.new_product_card:hover{
    box-shadow: 0 0 15px 4px rgba(0, 0, 0, 0.75);
}

.new_product_card-link{
    position: absolute;
    width: calc(100% + 20px);
    height: 300px;
    top: -10px;
    left: -10px;
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
}

.new_product_card-img{
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    padding: 5%;
    border-radius: 10px;
}

.new_product_card-info_sec_shadow{
    position: absolute;
    width: calc(100% - 20px);
    height: calc(120px - 20px);
    left: 10px;
    bottom: 0;
    box-shadow: 0 -2px 6px 5px rgba(0, 0, 0, 0.75);
}

.new_product_card-info_sec{
    position: absolute;
    bottom: 5px;
    left: 0;
    height: 120px;
    width: 100%;
}

ul.products li.product:not(.product-category)::before {
    box-shadow: unset;
    position: unset;
    left: unset;
    opacity: unset;
    content: unset;
    transition: unset;
    width: 100%;
    height: 100%;
    margin-top: unset;
    margin-left: unset;
}

div.new_product_card-info_sec h2.product-tit{
    position: absolute !important;
    top: 4px;
    left: 0;
    width: 100% !important;
    height: 40px;
    padding: 6px 10px 0 10px !important;
    line-height: 18px !important;
    font-size: 12px !important;
    font-weight: 100 !important;
    text-align: left !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.strikethrough {
    position: relative;
    font-size: 11px;
    color: rgba(0,0,0, 0.8);
}

.strikethrough:before {
    position: absolute;
    content: "";
    left: 0;
    top: 50%;
    right: 0;
    border-top: 0.5px solid;
    color: rgba(255,0,0,0.75);
    border-color: inherit;
    -webkit-transform:rotate(-5deg);
    -moz-transform:rotate(-5deg);
    -ms-transform:rotate(-5deg);
    -o-transform:rotate(-5deg);
    transform:rotate(-5deg);
}

.new_price{
    position: absolute;
    top: 54px;
    left: 10px;
    width: calc(100% - 20px);
}

.new_price h2{
    color: #000;
    font-size: 16px !important;
    line-height: 18px;
    text-align: left;
}

.new_discount_badge{
    position: absolute;
    top: -11px;
    left: 15px;
    height: 20px;
    line-height: 20px;
    font-size: 12px;
    color: #00794b;
    background-color: #eafdf3;
    padding: 2px 5px 2px 5px;
    border-radius: 5px;
}

.new_addtoCart_set{
    position: absolute;
    top: 85px;
    left: 8px;
    font-size: 14px;
    width: calc(100% - 16px);
    height: fit-content;
}

.new_outofStock, .new_addtoCart, .new_detailes, .new_moreInfo{
    display: block;
    font-size: 12px;
    border-radius: 20px;
    line-height: 30px;
    text-align: center;
    padding-right: 11px;
    padding-left: 11px;
    width: fit-content;
    border: 1px solid #34495e;
}

.new_detailes{
    width: calc(50% - 4px);
    position: absolute !important;
    top: 0;
    right: 0;
}

.new_addtoCart_container{
    width: calc(50% - 4px);
    position: absolute !important;
    top: 0;
    right: 0;
}

.new_outofStock, .new_moreInfo{
    color: #34495e;
    background-color: #fff;
}

.new_addtoCart{
    width: 100%;
    color: #fff;
    background-color: #34495e;
}

.new_detailes{
    color: #34495e;
    background-color: #fff;
    top: 0;
    left: 0;
}

.new_outofStock:hover ,.new_detailes:hover, .new_moreInfo:hover{
    color: #34495e;
}

.new_addtoCart::before, .new_outofStock::before, .new_detailes::before, .new_moreInfo::before{
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 4px;
    position: relative;
    top: 2px;
}

.new_outofStock::before{
    background-image: url(/wp-content/icons/outOfStock.png);
}

.new_addtoCart::before{
    background-image: url(/wp-content/icons/addcart_w.png);
}

.new_detailes::before, .new_moreInfo::before{
    background-image: url(/wp-content/icons/detailes.png);
}

ul.products li.product:not(.product-category) {
    padding-bottom: 55px;
}

li.product:not(.product-category):hover img {
    transform: scale(1);
}

@media only screen and (max-width: 768px) {
    ul.products li.product:not(.product-category) {
        padding-bottom: 35px !important;
    }
}

.go_to_link{
    cursor: pointer;
}

.go_to_link:hover{
    color: #0a4b78 !important;
}

.wc-forward{
    display: none !important;
}

.loading.ajax_add_to_cart.add_to_cart_button::after{
    margin-left: -10px;
}

.loading.ajax_add_to_cart.add_to_cart_button::before{
    background-image: none !important;
}

.switched > .add_to_cart_button{
    display: none;
}

.ts-product-quantity-widget{
    width: 100%;
    display: none;
}

.switched > .ts-product-quantity-widget{
    display: flex !important;
}

.ts-product-qty-btn{
    width: 30%;
    height: 32px;
    border: none !important;
    background: #34495e;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    user-select: none;
}

.ts-product-qty-input
{
    width: 40%;
    height: 32px;
    border: none;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    background: #34495e;
    outline: none;
    -moz-appearance: textfield;
}

.ts-product-qty-decrease{
    border-radius: 20px 0 0 20px;
}

.ts-product-qty-increase{
    border-radius: 0 20px 20px 0;
}

.ts-product-quantity-widget{
    border: 0;
}

.ts-product-quantity-widget.loading::after {
    margin: -10px 0 0 -10px;
}