@font-face {
    font-family: iransans;
    font-style: normal;
    font-weight: normal;
    src: url('../../fonts/iransans/eot/IRANSansWeb(FaNum).eot');
    src: url('../../fonts/iransans/eot/IRANSansWeb(FaNum).eot') format('eot'),
        /* IE6-8 */
    url('../../fonts/iransans/woff/IRANSansWeb(FaNum).woff') format('woff'),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../../fonts/iransans/woff2/IRANSansWeb(FaNum).woff2') format('woff2'),
    url('../../fonts/iransans/ttf/IRANSansWeb(FaNum).ttf') format('ttf');
}
p{
    margin: 0 0;
}
body{
    font-family: iransans !important;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
*:before,
*:after {
    box-sizing: border-box;
}

/** new-products **/
.mj-me-home-new-products-section{
    margin: 10px 0;
}
.mj-me-new-products{
    width: 100%;
    height: fit-content;
    padding: 0 10px;
}
.mj-me-header-products{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
}

.mj-me-header-products-h4{
    font-family: 'iransans';
    color: #000;
    font-size: 18px;
}
.mj-me-header-products-a:hover{
    color: #33348E;
    box-shadow: 0 0 5px #aeaeae inset;
    border-radius: 15px;
    padding: 5px 10px;
}
.mj-me-header-products-a{
    color: #33348E;
    font-family: 'iransans';
    font-size: 11px;
    font-weight: bold;
    padding: 0 0 0 10px;
}
.mj-me-new-products-box{
    /*width: 100%;*/
    /*position: relative;*/
    /*display: grid;*/
    /*justify-items: center;*/
    /*grid-template-columns: 1fr 1fr 1fr ;*/
    /*gap: 10px;*/
    /*flex-wrap:wrap ;*/
}

.mj-me-new-products-box a{
    display: block;
    /*padding: 20px 20px;*/
    position: relative;
    height: 100%;
    /*width: 100%;*/
    background: #FFFFFF;
    border: 1px solid #F0F0FF;
    border-radius: 15px;
    text-align: center;
    /*flex: 0 0 48%;*/
}
.mj-me-new-product-var{
    display: block;
    text-align: right;
    font-size: 12px;
    margin-top: 5px;
}

.mj-me-new-product-var.color{
    display: block;
    text-align: right;
    font-size: 12px;
    margin-top: 5px;
}
.mj-me-new-product-var.color div{
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background: #0a58ca;
}

.mj-me-new-products-cards-body{
    padding: 10px 10px;
    position: relative;
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    border: 1px solid #F0F0FF;
    border-radius: 15px;
    text-align: center;
}
.mj-me-new-products-img{
    width: 100%;
   aspect-ratio: 1/1;
    object-fit: contain;
}
.mj-me-new-products-after {
    position: absolute;
    text-align: center;
    width: 40px;
    height: 15px;
    background-color: #FD2C2C;
    border-radius: 20px;
    top: 10px;
    left: 14px;
    z-index: 2;
    padding: 0px 0;
}
.mj-me-new-products-after span{
    color: #fff;
    font-family: 'iransans';
    font-size: 11px;
}
.mj-me-new-products-p{
    margin-top: 22px;
    font-weight: bold;
    font-family: 'iransans';
    font-size: 12px;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: 1;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.mj-me-new-products-price{
    margin-top: 5px;
    color: #4F50C0;
    font-family: 'iransans';
    font-size: 14px;
    display: block;
    text-align: right;
}
.mj-me-price{
    position: relative;
    font-family: 'iransans';
    font-size: 13px;
    color: #878787;
    display: block;
    text-align: right;
}
.mj-me-price::after{
    position: absolute;
    content: '';
    width: 55px;
    height: 1px;
    background-color: #878787;
    top: 9px;
    right: -2px;
    z-index: 999;
}

.mj-new-products-swiper-slide{
   height: unset !important;
}
.mj-category-home-swiper-slide{
     height: unset !important;
}


@media screen and (max-width: 428px){
    .mj-me-new-products-box{
        /*width: 100%;*/
        /*position: relative;*/
        /*display: grid;*/
        /*justify-items: center;*/
        /*grid-template-columns: 1fr  1fr !important ;*/
        /*gap: 10px;*/
        /*flex-wrap:wrap ;*/
    }

}

    @media screen and (max-width: 1600px) and (min-width: 1001px){

    .mj-me-new-products-cards-body{
        padding: 20px 20px;
        position: relative;
        width: 80%;
        height: 100%;
        background: #FFFFFF;
        border: 1px solid #F0F0FF;
        border-radius: 15px;
        text-align: center;
    }

    .mj-me-new-products-p{
        font-size: 13px;
    }
    .mj-me-new-products-price{
        font-size: 15px;
    }
}


