
@font-face {
	font-family: 'Yekan';
	src: url( 'http://localhost/new/fonts/yekan/Yekan.eot' );
	src: url( 'http://localhost/new/fonts/yekan/Yekan.eot?#iefix' ) format( 'embedded-opentype' ),
		url( 'http://localhost/new/fonts/yekan/Yekan.woff2' ) format( 'woff2' ),
		url( 'http://localhost/new/fonts/yekan/Yekan.woff' ) format( 'woff' ),
		url( 'http://localhost/new/fonts/yekan/Yekan.ttf' ) format( 'truetype' ),
		url( 'http://localhost/new/fonts/yekan/Yekan.svg#Yekan' ) format( 'svg' );
	font-weight: normal;
	font-style: normal;
}
/* -----------------tag styles:-------------------- */
body{
font-family: 'Yekan'!important;
background-color:#e2eff3;

}
a{
    color: black;
    text-decoration: none !important;
    -webkit-tap-highlight-color:transparent;

}
html {
    font-size:4vw ;
}
/* -----------------------------tag styles ends------------------------------ */
.font1{
    font-family: 'Yekan';
}
.body_container{margin: 6.5rem .5rem 6.5vh .5rem;}

.border_radius_8px{
    border-radius: 8px;
}

#bottom_menu{ 
    display: flex;
    position: fixed;
    height: 6vh;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 10000;
    align-items: flex-end;
    justify-content:space-between;
    padding: 0px 5VW;
    background-color: #9ed1e9;
}

.bottom_menu_items{
    display: flex;
    width: 6rem;
    flex-direction: column;
    align-items: center;
    color: black;
}



.good_counter_bascket{
     display: flex;
     align-items: center;
     justify-content: center;
     width: 3vw;
    height: 3vw;
    border-radius: 50%;
    background-color: #ff0066;
    color: white;
    text-align:center;
    font-weight: 500;
    font-size: .6em;
}

/* --------------------------four_banner starts--------------------------- */
#four_banner{
    display: flex;
    height: auto;
    justify-content: space-evenly;
    flex-wrap: wrap;
    background-color: #9ed1e9;
    border-radius: 5px;
    padding: 0.4rem 0;
}
.four_banner_elements{
    margin: 1vw 0px !important;
    width: 47%;
    flex: 0 0 auto;

}

.four_banner_elements_img{
    width: 100%; 
    height:100%;
    border-radius: 8px;

}/* --------------------------four_banner ends--------------------------- */
/* --------------------------slider starts--------------------------- */

.slider-container { 
     margin: 0px 0px 1rem 0px;
     overflow: hidden;
     position: relative; 
     border-radius: 0px 0px 10px 10px;
}

.slider1 {
    display: flex;
    transition: transform 1s ease-in-out;
    
    
}

.slide { min-width: 100%;
    height: 20vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f3f3f3;
    border-radius: 10px;
         }
.nav-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: white; border: none; cursor: pointer; padding: 10px; }
.prev { left: 1px;border-radius: 50% 5px 5px 50%;display: flex;}
.next { right: 1px;border-radius: 5px 50% 50% 5px; }

.slider_title{
display: flex;
direction: rtl;
justify-content: space-between;
margin: .5rem 0rem 0px 0px;
padding: 0.5rem 1rem;
font-weight: 600;
font-size: .875rem;
line-height:1;
background-color: #9ed1e9;
border-radius: .5rem .5rem 0rem 0rem;
}
.lookup{
    font-size: 0.8rem;
    font-weight: 500;
}

.slider_slide_img{
    width: 100%;
    height: 100%;
    border-radius: 0px 0px 10px 10px;
}
/* --------------------------slider ends--------------------------- */
/* --------------------------products starts--------------------------- */
.products_container{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.product_link{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    text-shadow: 0 0 8px rgba(0, 123, 255, 0.7);
    color: #007bff; /* رنگ متن آبی */
    font-weight: bold; /* ضخیم‌تر کردن متن برای وضوح بهتر */

}
.product{
    direction: rtl;
    display: flex;
    flex-direction: column;
    width: 44%;
    align-items: center;
    justify-content: space-around;
    margin: 1vh 0vh 0vh 0vh ;
    padding: 2vw;
    border-radius: .8rem;
    background-color: #bae0f1;
    }

.product_img{
    display: flex;
    width: 100%;
    border-radius: 1rem;
    background-color: white;
}
.product_des{
    display: flex;
    flex-direction: column;
    width: 40vw;
    font-size: 0.7rem;
    height: 100%;
    justify-content: space-evenly;
    margin-top: .5rem;
}
.product_des_items{
    display: flex;
    line-height: 150%;
    justify-content:center;    
}
.product_visit{

    font-weight: 600;
}

.price{
    font-weight: 600;
}
.price-no-discount{
    text-decoration-line: line-through;
    color:#757373;
}
.discount_percent{
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.8rem;
      background-color: #e63946;
      border-radius: 40%;
      width:2rem;
      height: 2rem;
      position: absolute;
      top: 0px;
      right: 0px;
      z-index: 100;}
/* --------------------------products ends--------------------------- */









/* ---------------------------------------مدیا کوئری دسکتاپ------------------------------------- */
@media (min-width: 768px) {
    body{
        width: 80%;
        max-width:  1200px;
        justify-self: center;
    }
    .navbar{display: none;}
    .body_container{
        display: flex;
        flex-direction: column;  
        margin: 0rem .5rem 6.5vh .5rem;
    }
    #body_container_part1{
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        flex-direction: row-reverse;
        justify-content: space-between;
        margin: .5rem 0px;
    }    
    /* -------------------body_container_part1--------------- */
    /* -------------------four_banner------------------ */
    #four_banner{
        width: 47%;
        padding: 0px;
    }
    .four_banner_elements{margin:.5vw .1vw !important}
    /* -------------------four_banner end------------------ */
    #latest_slider{
    width: 51%;
    background-color: #9ed1e9;
    border-radius: 10px;
    
    }
    .slider_title{
        font-size:clamp(10px , .2rem ,17px);
        padding: 0.1rem .5rem;
        margin-top: 0px;
        border-radius: 10px 10px 0px 0px
    }
    .slide{height: auto;}
    .slider_slide_img{}
    .lookup{font-size: .2rem;}
    /* -------------------body_container_part1 end--------------- */

    /* -------------------product start--------------- */
    .product{width: 13%;padding: 10px;border-radius: .3rem;}
    .products_container{margin-bottom: .3rem;}
    .product_img{border-radius: .5rem;}
    .discount_percent{
        min-width: 30px;
        min-height: 30px;
        width: .7rem;
        height: .7rem;
        max-width: 40px;
        max-height: 40px;
        font-size: 15px;
        }
    .product_des{width:auto;}
    .product_des_items{font-size: 14px;line-height: 1;}
    .product_link{font-size: 16px;}
    /* -------------------product end--------------- */

    #bottom_menu{
        display: none;
    }
    .cart_container{
        width: 2rem;
        height: 2rem;
        max-width: 70px;
        max-height: 70px;
        border-radius: 8px;
        bottom: .5rem;
        left: .5rem;
    }
    
    .cart_icon , .cart_product_count{font-size: 20px;}
    .cart_product_count{padding: 3px 5px ;margin-right: 3px;}


}
