body{
    background: #f8f8f8 !important;
}
.body-is-locked{
        overflow: hidden!important;
        -ms-touch-action: none!important;
        touch-action: none!important;
}
#search_right{
    padding-right: 0 !important;
}
#product--title {
    color: #535353;
    text-align: right;
    padding: 0 10px 10px;
    line-height: 30px;
    font-weight: 900 !important;
    width: 100%;
}
#product_img{
max-height: 270px;
width: 270px !important;
margin: 0 auto;
}
#product_price{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
}
.second_title{
    font-size: small;
    font-weight: 100 !important;
    display:block;
}
.product_amount{
    font-weight: bold !important;
    color: #000;
}
.offpricebox{
    display: flex;
    width: 100%;
    justify-content: flex-end;
    align-items: center;
}
.offpricebox .offpricenum{
    color: red;
    text-decoration: line-through;
}
.offpricebox .offpriceop{
    background: red;
    color: #fff;
    padding: 2px 7px 0;
    margin-right: 5px;
    display: flex;
    border-radius: 8px;
    justify-content: center;
    align-items: center;  
} 

    a.disabled {
        pointer-events: none;
        cursor: default;
    }
    .custom-main_page{
        display:none;
    }
    #sp-pos{display:none;}


    .news-card__text-wrapper {
        position: absolute;
        bottom: 0.5rem;
        left: 0%;
        right: 0;
        overflow: hidden;
        border-radius: 10px;
        /* width: 50%; */
        margin: 0 6px;
        padding: 1rem;
        color: white;
        /* background-color: rgba(0, 0, 0, 0.4); */
        transition: background-color 1.5s ease;
    }

    .news-card__details-wrapper {
        max-height: 0;
        opacity: 0;
        transition: max-height 1.5s ease, opacity 1s ease;
    }
.ordercat{
    display: flex;
    align-items: center;
}
.ordercat a{
padding: 0 10px;
}
.ordercat a:hover{
background: #f0edff;
}
.closesymb{
    position: absolute;
    left: 0;
    top: 15px;
    margin: 0 10px;
    display: none;
}
.search_show {
    display: none;
}
    @media (max-width: 992px) {
        .news-card:hover .news-card__read-more{
            width: 100%;
        }
.search_show {
    cursor: pointer;
    border-radius: 3px;
    display: inline-block;
    width: 185px;
    padding: 5px 0;
    margin: 5px 0;
}
.search_right_hide, .search_right_phone {
    display:none;
}
    }
@media (max-width: 992px) {
    
.search_hide_bg{
    margin-left: 10px !important;
    width: 121px;
    height: 50px;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    background: #f1f1f1 !important;
    padding: 0 !important;
    border-radius: 5px !important;
    border: 1px solid #ccc !important;
}      
    

.order-hide{
    display: none !important;
}
.order-show{
    display: block;
}
#search_hide, .sortingcat{
    background: #f1f1f1;
}
.sortingcat{
    padding: 0px 5px 0 5px;
    display: flex !important;
    align-items: center;
    height: 50px;
    border-radius: 5px;
    border: 1px solid #ccc;
    justify-content: center;
    align-items: center;
}
.sortingcat div{
    display: flex;
    flex-direction: row-reverse;
}
#ordering select#limit{
    padding: 0 !important;
    height: 25px;
    margin: 0 10px !important;
}
.ordercat{
    position: fixed;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 99999;
    top: 0;
    right: 0;
    left: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}
.closesymb{
    display: block;
} 
    
}


@media (min-width: 578px) and (max-width: 992px) {
    #product1{
        flex-direction: column;
    }      
}
@media (min-width: 992px){
    .leftcat:nth-child(4n) {
    border-left: none !important;
    }
}
@media (min-width: 768.98px) and (max-width: 992px) {
    .leftcat:nth-child(3n) {
    border-left: none !important;
    }
}
@media (min-width: 578px) and (max-width: 768.98px) {
    .leftcat:nth-child(2n) {
    border-left: none !important;
    }
}
@media (max-width: 992px) {

.search_right_phone{
    display: none;
}
   .search_left{
    margin: auto;
    float: none !important;
}  
.sortingcat{
    right: 150px !important;
}
        .news-card__details-wrapper{
            max-height: unset;
            opacity: 1;
        }
    #product1{
    display: flex;
    padding: 0;
    align-items: flex-start;
    }
        .inforbx{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 80%;
        }

#products{
  margin: auto !important;  
  padding: 0px;
}
.view-category #ordering{
    padding: 0 5px;
}
    }

    @media (min-width: 300px) {
        .news-card:hover .news-card__details-wrapper {
            max-height: 20rem;
            opacity: 1;
        }
        .news-card:hover .news-card__text-wrapper {

        }


        .news-card:hover .news-card__image {
            transform: scale(1.2);
            z-index: -1;
        }
    }

    .news-card__read-more {
        background: #0072ff;
        color: #fff;
        display: block;
        padding: 0.4rem 0.6rem;
        border-radius: 0.3rem;
        margin-top: 1rem;
        border: 1px solid #444;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        text-decoration: none;
        width: 50%;
        margin:0 auto;
        position: relative;
        z-index: 5;
        text-align: center;

        border: 2px solid;
        border-radius: 50px !important;
        font-size: 16px;
        border-color: #0f87f1;
        background-image: linear-gradient(150deg, #1a9dff 40%, transparent 60%);
        background-position: 99%;
        background-size: 400%;
        transition: 600ms ease-in-out;
    }
    .news-card__read-more:hover, .news-card__read-more:focus{
        text-decoration: none !important;
        color:#000 !important;

    }
    .news-card__read-more:hover{ color:#fff !important; background-position: 0; outline: 0 !important; }
    .news-card__read-more:focus{outline: 0 !important;}

    @media (max-width: 578px){
        .container-fluid{
            /*padding-left: 0;*/
            /*width: 100% !important;*/

        }
        .news-card__read-more{
            width: 50% !important;
            float: left;
            left: 10%;
        }
    }
    /*pagination */
    .pagination {
        display: inline-block;
    }

    .pagination a {
        color: black;
        float: left;
        padding: 8px 16px;
        text-decoration: none;
        transition: background-color .3s;
        border: 1px solid #ddd;
        margin: 0 4px;
    }

    .pagination a.active {
        background-color: #3c53c7;
        color: white !important;
        border: 1px solid #3c53c7;
    }
    .pagination a:hover:not(.active) {background-color: #ddd;}
	
/*category styles	*/
	
.category-high-class{
    padding: 3% 2% 8% 2%;
}
.category-class{
    margin: 30px 0px;
position: relative;
display: block;
padding: 0px !important;
display:flex;
flex-wrap: wrap;
justify-content: center;
}
.category-high-class #search_left #product_price{
    padding: 10px !important;
}
.search_left{
padding:0px !important;
float: left;
margin-top: 10px;
}
#ordering{
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: right;
    height: 60px;
    border-bottom: 1px solid #ccc;
    align-items: center;
}
#ordering select#limit{
    position: absolute;
    cursor: pointer;
    left: 0;
    margin: 5px 10px;
    display: inline-block;
    font-size: 14px;
    transition: 0.5s;
    padding: 0px 20px;
    outline: none;
    color: #000;
    outline: none;
    border-radius: 5px;
}
.orders {
    cursor: pointer;
    margin: 5px 10px;
    color: #888;
    height: 35px;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
    display: flex;
    width: auto;
}
.search_hide_bg{
    cursor: pointer;
    margin: -3px 10px;
    border-radius: 5px;
    display: inline-block;
}
.orders:hover{
color: #000 !important;
background:#fff;
}

div#product_title {
    text-align: center;
    height: 20px;
    padding: 0 10px;
}

.leftcat{
padding:0px;
min-height: 35em;
background: transparent;
    border-left: 1px solid #ccc;
    border-bottom: 1px solid #ccc;

}
.leftcat:hover{
box-shadow: 0 0 0px 0 rgba(0,0,0,0.7);
z-index:10;
}

div#product1{
margin-bottom: 0px;
background: #fff;
transition: 0.5s;
-webkit-transition: 0.5s;
-moz-transition: 0.5s;
-o-transition: 0.5s;
}
#products{

}
.leftcat #product1{
box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.20);
overflow: hidden;
height: 100%;
margin-bottom: 10px;
}
.leftcat #product1:hover{
box-shadow: 1px 1px 7px rgba(0, 0, 0, 0.20);
}


/*media screen styles*/

@media (max-width: 578px) {
#product1:hover{
 box-shadow: none !important;   
}
#product_img {
width: 35% !important;
margin: unset !important;
}
#product_price {
    bottom: 0;
    left: 0;
    position: absolute;
    text-align: center;
}
.leftcat {
    width: 100% !important;
    margin: 10px 0 !important;
}

    .row-fluid .leftcat .c-price.span-c-price{
        top: 55%;
        left: -2%;
    }
    .row-fluid .leftcat .span_status{
        bottom: -45px;
left: 0 !important;
text-align: center !important;
right: 30% !important;
margin: 30px 20px;
    }
    .category-class .leftcat .span_status span{
        padding: 5px;
width: 100%;
display: block;
margin: auto;
    }
    .row-fluid .leftcat #add_bagcat.add_bag_category{
        bottom: 15px !important;
        right: auto !important;
        left: 2px !important;
        margin: 0px;
        bottom: 15px !important;
        right: 30% !important;
        left: 0 !important;
        margin: auto;
        z-index: 9;
    }
    .leftcat #product1 .span-c-price{
        text-align: center;
        top: 62%;
    }
    #price_product2_page{
        text-align: left;
    padding-right: 10px;
    padding-left: 5px;
    }
    .leftcat #product1 .overflowing_comp_stat{
        bottom: 0px !important;
    }
    .category-class .leftcat .darsadetakhfifcat{
        top: -30px;
        left: auto;
    }
    .category-class .leftcat .c-promotion__discount_ps span{
        margin-left: -15px;
    }
    .category-class .leftcat .darsadetakhfifcat span {
    padding: 35px 20px 20px 20px;
font-size: 10px !important;
line-height: 1.4em;
    }

    .view-product .main_p_f_u ul.main_f_u{
    line-height: 2.5em !important;
}

.view-category .orders{
    margin: 5px 10px;
    border-radius: 5px;
}

.view-category .pagn-order{
    right: 0;
    width: 140px;
    margin: 0px auto;
}
.view-category .category-high-class{
    /*// padding: 3% 5% 8% 2%;*/
}

.view-category .leftcat #product1{

}

.row-fluid .leftcat .c-price.span-c-price{
    left: 0%;
}
.view-category .leftcat #product1 .span-c-price .spanpricep{
    width: auto;
}
.row-fluid .leftcat #add_bagcat.add_bag_category{
    right: 30% !important;
}
.leftcat #product1 .overflowing_comp_stat{
    bottom: 6px !important;
position: absolute;
}
}

@media (max-width: 430px) {
.view-product #title_product > h2{
        line-height: 2rem;
        font-size: 15px;
}
}
@media (max-width: 400px) {
	
.row-fluid .leftcat #add_bagcat.add_bag_category{
        bottom: 20px !important;
        right: 30% !important;
        left: 0 !important;
        margin: auto;
        z-index: 9;
}
.row-fluid .leftcat .span_status{
        bottom: -45px;
left: 0 !important;
text-align: center !important;
right: 30% !important;
margin: 30px 20px;
}
.row-fluid .leftcat .c-price.span-c-price{
        width: 70% !important;
}
.leftcat #price_product2_page{
        text-align: center !important;
        float: unset;
}
}

    @media (max-width: 575.98px) {
::-webkit-scrollbar{
    display: none !important;
}
div#product_img {
        width: 40%;
}
#ordering select#limit{
        width: 40px !important;
}

    .leftcat{
        width:100% !important;
        padding:0px;
        border: none;
        border-bottom: 1px solid #ccc;
    }
    .leftcat div#product_title{
    /*height: 55px;*/
    /*width: 70%;*/
    text-align: center !important;
    /*float: left;*/
    }
    .leftcat div#product_img{

    }
    .leftcat #product1 #model {
    font-size: 12px !important;
    padding: 5px 0 0 !important;
    text-align: center !important;
    }
    .row-fluid .leftcat .c-price.span-c-price{
        top: 55%;
        left: -2%;
    }
    .row-fluid .leftcat .span_status{
        bottom: -45px;
left: 0 !important;
text-align: center !important;
right: 30% !important;
margin: 30px 20px;
    }
    .category-class .leftcat .span_status span{
        padding: 5px;
width: 100%;
display: block;
margin: auto;
    }
    .row-fluid .leftcat #add_bagcat.add_bag_category{
        bottom: 15px !important;
        right: auto !important;
        left: 2px !important;
        margin: 0px;
        bottom: 15px !important;
        right: 30% !important;
        left: 0 !important;
        margin: auto;
        z-index: 9;
    }
    .leftcat #product1 .span-c-price{
        text-align: center;
        top: 62%;
    }
    #price_product2_page{
        text-align: left;
    padding-right: 10px;
    padding-left: 5px;
    }
    .leftcat #product1 .overflowing_comp_stat{
        bottom: 0px !important;
    }
    .category-class .leftcat .darsadetakhfifcat{
        top: -30px;
        left: auto;
    }
    .category-class .leftcat .c-promotion__discount_ps span{
        margin-left: -15px;
    }
    .category-class .leftcat .darsadetakhfifcat span {
    padding: 35px 20px 20px 20px;
font-size: 10px !important;
line-height: 1.4em;
    }

    .view-product .main_p_f_u ul.main_f_u{
    line-height: 2.5em !important;
}

.view-category .orders{
    margin: 5px 10px;
    border-radius: 5px;
}

.view-category .pagn-order{
    right: 0;
    width: 140px;
    margin: 0px auto;
}
.view-category .category-high-class{
     padding: 3% 2% 8% 2%;
}

.view-category .leftcat #product1{

}
.view-category .category-high-class #search_left #product_price{

}
.row-fluid .leftcat .c-price.span-c-price{
    left: 0%;
}
.view-category .leftcat #product1 .span-c-price .spanpricep{
    width: auto;
}
.row-fluid .leftcat #add_bagcat.add_bag_category{
    right: 30% !important;
}
.leftcat #product1 .overflowing_comp_stat{
    bottom: 6px !important;
position: absolute;
}

.pagination a, .pagination span{
    width: 45px !important;
    padding: 8px !important;
}
    }
        @media (max-width: 380px) {

        div#product_img{
            width: 70% !important;
        }

#ordering select#limit{

    display:none !important;
}

    }  