@font-face {
    font-family: 'IRANSansX';
    src: url('../fonts/IRANSansXRegular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'IRANSansX';
    src: url('../fonts/IRANSansX/IRANSansXBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
  }

*{
    font-family: 'IRANSansX', sans-serif; 

}
body{
    background-color: rgb(255, 255, 255);
    font-family: 'IRANSansX', sans-serif; 
}


a{
    text-decoration: none; 
    color: inherit; 
}

.nodecor{
        text-decoration: none; 
    color: inherit; 
}


.blackitem{
    background-color: #181636;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    width: 100%;
    color: rgb(255, 255, 255);
}


.header{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logoimgheader{
    width: 80px;
}
.logobox{
    display: flex;
    justify-content: end;
    align-items: center;
   
}


#searchbox{
    width: 440px;
    height: 50px;
    background-color: rgb(255, 255, 255);
    border: 1px solid #181636;
    transition: width ,border-radius , 0.5s;
}
#searchbox:hover{
    width: 530px;
    height: 50px;
    border-radius: 3px;
    box-shadow: 1px 1px 5px #06FF89;
}
.boxsearch{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
#inputsearch{
    background-color: rgb(255, 255, 255);
    border: 0;
    margin-right: 10px;
    direction: rtl;
}
#inputsearch:focus{
    border: 0;
    box-shadow: 1px 1px 5px #06FF89;
    outline: none;
}
.mainnavbarborder{
    border-bottom: 1px solid #171636;
    margin-top: 10px;
    max-width: 100%;
}

.headerbuts{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.btnbasket{
    width: 100px;
    height: 50px;
    background-color: #181636;
    border: 0;
    color: rgb(255, 255, 255);
    font-size: small; 
    transition:  border-radius , 0.2s;
}
.btnbasket:hover{
    background-color: #0f0d21;
    border-radius: 3px;
    box-shadow: 1px 1px 5px #06FF89;
}
.btnlogin{
    background-color: #05c26a;
    width: 100px;
    height: 50px;
    border: 0;
    color: white;
    transition:  border-radius , 0.2s;
    margin-left: 5px; 
}
.btnlogin:hover{
    background-color: #05a45a;
    border-radius: 3px;
    box-shadow: 1px 1px 5px #06FF89;
}




.mainalarm{
    background-color: #000000b7;
    width: 100%;
    height: 100%;
    transform: translate(-50%,-50%);
    position: fixed;
    margin: 0;
    top: 50%;
    left: 50%;
    padding: 0;
    z-index: 1;
}
.centeralarm{
    width: 30%;
    height: 150px;
    background-color: white;
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid #181636; 
    border-radius:0;
    transition: border, 0.2s;
}
.centeralarm:hover{
    border: 1px solid #181636;
    border-radius: 3px;
    box-shadow: 1px 1px 5px #06FF89;
    
}
.closealarm{
    position: absolute;
    bottom: 0;
    left: 100px;
    transform: translate(-50%,-50%);
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.closealarm button{
    width: 100px;
    max-width: 150px;
}


.navbar{
    margin-top: 10px;
    background-color: rgb(255, 255, 255);
    height: 40px;
    border-radius: 5px;
    display: flex;
    justify-content: space-around;
    align-items: center;
   
}
.navbar div{
    cursor: pointer;
    padding: 0px 25px 18px 25px;
}
.navbar div:hover{
    color: rgb(73, 152, 69);
    
}
.partproduct div{
    margin-top: 15px;
    cursor: pointer;
}

.partproduct div:hover{
    color: rgb(73, 152, 69);
}
#items{
    height: 350px;
    width: 100%;
    position: absolute;
    background-color: rgb(255, 255, 255);
    top: 550%;
    left: 50%;
    transform: translate(-50%,-50%);
    margin-top: 5px;
    z-index: 20;
    display: none;
    border: 1px solid #181636;
    border-top: 0;


} 

#blackacc{
    background-color: rgba(0, 0, 0, 0.364);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 10;
    display: none;
}


.naveitems{
    font-size: small;
    direction: rtl;
    align-items: center;
    margin-bottom: -10px;
    padding-bottom: 15px;
}
.naveitems div:hover{
    color: #06FF89;
    cursor: pointer;
}
.saleitem{
    width: 100%;
    height: 425px;
    max-width: 25%;
    border: 1px solid rgba(0, 0, 0, 0);
    text-align: center;
    transition: border , 0.2s;
    position: relative;
}
.saleitem:hover{
    box-shadow: 1px 1px 5px #06FF89;
    border-radius: 3px;
    border: 1px solid #181636;

}
.itemimg{
    width: 250px;
    height: 250px;
}
.saleitem div{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: small;
}




.btnorg{
    height: 40px;
    font-size: medium !important;
}




.filterbox{
    background-color: rgb(255, 255, 255);
    border: 1px solid #181636;
    max-width: 20%;
    width: 95%;
    margin-left: 10px;
    direction: rtl;
    border-radius: 0px;
    position: sticky;
    top: 10px;
    transition: border-radius , 0.2s;
}
.filterbox:hover{
    box-shadow: 1px 1px 5px #06FF89;
    background-color: rgb(255, 255, 255);
    border-radius: 3px;
}


.itsbtnforsale{
    position: absolute;
    bottom: 0%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.itsCOLORforsale{
    position: absolute;
    bottom: 24%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.pricediv{
    position: absolute;
    display: inline-block;
    bottom: 10%;
    left: 50%;
    transform: translate(-50%,-50%);
    
}
.divrate{
    position: absolute;
    display: inline-block;
    bottom: 21%;
    left: 50%;
    transform: translate(-50%,-50%);
}


.btnbasketactive{
    width: 100px;
    height: 50px;
    background-color: #0f0d21;
    border: 0;
    color: rgb(255, 255, 255);
    font-size: small; 
    transition:  border-radius , 0.2s;
    box-shadow: 3px 3px 20px #06FF89;
    border-radius: 3px;
}


.basketbox{
    position: fixed;
    top: 20%;
    left: -330px;
    z-index: 100;
    background-color: #181636;
    width: 270px;
    height: 420px;
    transition: left 0.5s ease; /* اضافه کردن انیمیشن برای انتقال نرم */
    color: white;
 
}
.basketboxactive{
    position: fixed;
    top: 20%;
    left: -230px;
    z-index: 100;
    background-color: #181636;
    width: 270px;
    height: 420px;
    transition: left 0.5s ease; /* اضافه کردن انیمیشن برای انتقال نرم */
    color: white;
}
.basketboxactive:hover{
    left: 0px;

}
.holdersider{
    position: relative;
    width: 100%;
    height: 100%;
}
.siderhelp{
    position: absolute;
    top: 50%;
    right: -28px;
    transform: translate(-50%,-50%);
    background-color: #181636;
    width: 30px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0px 5px 5px 0;

}




.gotoboxpageactive{
    width: 100px;
    height: 22px;
    background-color: #0f0d21;
    justify-content: center;
    align-items: center;
    display: flex;
    z-index: 2;
    position: absolute;
    bottom: -20px;
    transition: bottom 0.5s ease;
    border-radius: 0 0px 3px 3px;
    cursor: pointer;
}
.gotoboxpageactive:hover{
    background-color: #0d0551;
}
.gotoboxpage{
    width: 100px;
    height: 22px;
    background-color: #0f0d21;
    justify-content: center;
    align-items: center;
    display: flex;
    z-index: -1;
    position: absolute;
    bottom: 0px;
    transition: bottom 0.5s ease;
    border-radius: 0 0px 3px 3px;
    cursor: pointer;
    
}

.bigdivhere{
    max-width: 75%;
    width: 100%;
}
.containerforalldivs{
    max-width: 95%;
    margin-top: 60px;
}

.footermain{
    background-color: rgb(240, 240, 240);
    margin-top: 60px;
    max-width: 100%;
    width: 100%;
}


.fototerForPhone{
    display: none;
}



 

.itemsherephone{
    display: none;
}


.sortplacediv{
    display: flex;
    flex-wrap: wrap;
    direction: rtl;

}

.partdiv{
    width:150px;
    height:50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}



















@media (max-width : 1600px){
    .itemimg{
        width: 200px;
        height: 200px;

    }
    .btnorg{
        height: 35px;
        font-size: medium !important;
    }
}






@media (max-width : 1300px){
    .bigimage{
        max-width:40% !important;
    }
    .naveitems{
        display:none !important;
    }
    
    
    .sortplacediv{
        display: flex;
        flex-wrap: wrap;
        direction: rtl;
        justify-content:center;
    }

    
    .bigdivhere{
        max-width: 100%;
        width: 100%;
    }
    .saleitem{
        width: 49%;
        height: 450px;
        max-width: 100%;
        border: 1px solid rgba(0, 0, 0, 0.329);
        margin-right: 5px;
        text-align: center;
        transition: border , 0.2s;
        position: relative;
        direction: rtl;
        padding:10px;
        margin-bottom: 5px;

    }
    .saleitem div{
     border-radius: 1px;
    }
    .itemimg{
        width: 115px;
        height: 115px;
    }
    .readyforphone{
        display: flex;
        width: 100%;
        flex-direction: row;
        align-items: end;
        justify-content: center;

    }
    .filterbox{
        display: none;
    }
    .itsbtnforsale{
        position: absolute;
        bottom: 0px;
        left: 50%;
        transform: translate(-50%,-50%);
        font-size: small !important;

    }
    .pricediv{
        direction: ltr;
        position: absolute;
        display: inline-block;
        bottom: 11%;
        left: 50%;
        transform: translate(-50%,-50%);
    }
    .pricediv div{
        margin-right: 5px;
    }
    .divrate{
        position: absolute;
        display: inline-block;
        bottom: 27%;
        left: 50%;
        transform: translate(-50%,-50%);
    }
    .naveitems{
        display: none;
    }
    .navbar{
        display: none;
    }
    .containerforalldivs{
        max-width: 95%;
        margin-top: 10px;
    }
    #searchboxdiv{ 
        display: flex;
        justify-content: center;
        align-items: center;
        width: 40%;
    }
    .footermain{
        display: none;
    }

     .fototerForPhone {
        margin-top: 100px;
        height: 60px;
        background-color: rgb(240, 240, 240);
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 13px;
        padding-left: 10px;
        position: fixed;
        bottom: 0;
        transition: transform 0.3s ease-in-out; /* اضافه کردن انیمیشن */
    }
    
    .fototerForPhonehide {
        transform: translateY(100%);
    }
    .fototerForPhone div{
        height: 60px;
        width: 100%;
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
    }
    .selected{
        background-color: #181636;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #05a45a;
        border-radius: 3px;
    }
    .itemsherephone{
        width: 100%;
        height: 300px;
        background-color: #0f0d21;
        bottom: -300px;
        position: fixed;
        transition: bottom 0.5s ease;
        color: white;
        border-radius: 3px 3px 0 0px;
        display: block;
    }
    .itemsherephoneactive{
        width: 100%;
        height: 300px;
        background-color: #0f0d21;
        bottom: 0 !important;
        position: fixed;
        transition: bottom 0.5s ease;
        color: white;
        border-radius: 3px 3px 0 0px;
        display: block;
    }
    
    .itemsherephone span{
        height: 40px;
        margin-top: 5px;
    }
    .itemsherephoneactive span{
        height: 40px;
        margin-top: 5px;
    }
    .lablelogin{
        display: none;
    }
    .lableshop{
        display: none;
    }
    .btnbasket{
        width: 50px;
    }
    .btnlogin {
        width: 70px;
    }
    .gotoboxpageactive{
        display: none;
    }
    .gotoboxpage{
        display: none;
    }
    .btnlogin{
        display: flex;
        justify-content: center;
        align-items: center;
    } 
    .basketboxactive{
        position: fixed;
        top: 20%;
        left: 0px;
        z-index: 100;
        background-color: #181636;
        width: 270px;
        height: 420px;
        transition: left 0.5s ease; /* اضافه کردن انیمیشن برای انتقال نرم */
        color: white;
    }
    
}










@media (max-width : 990px){
    .bigimage{
        max-width:55% !important;
    }
    .bigdivhere{
        max-width: 100%;
        width: 100%;
    }
    .saleitem{
        width: 100%;
        height: 450px;
        max-width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.329);
        text-align: center;
        transition: border , 0.2s;
        position: relative;
        direction: rtl;
        padding: 12px;
        margin-bottom: 10px;

    }
    .saleitem div{
     border-radius: 1px;
    }
    .itemimg{
        width: 115px;
        height: 115px;
    }
    .readyforphone{
        display: flex;
        width: 100%;
        flex-direction: row;
        align-items: end;
        justify-content: center;

    }
    .filterbox{
        display: none;
    }
    .itsbtnforsale{
        position: absolute;
        bottom: 0px;
        left: 50%;
        transform: translate(-50%,-50%);
        width: 200px;
    }
    .pricediv{
        direction: ltr;
        position: absolute;
        display: inline-block;
        bottom: 11%;
        left: 50%;
        transform: translate(-50%,-50%);
    }
    .divrate{
        position: absolute;
        display: inline-block;
        bottom: 27%;
        left: 50%;
        transform: translate(-50%,-50%);
    }
    .naveitems{
        display: none;
    }
    .navbar{
        display: none;
    }
    .containerforalldivs{
    max-width: 95%;
    margin-top: 10px;
    }
    #searchboxdiv{
        display: none;
    }
    .footermain{
        display: none;
    }

    .fototerForPhone {
        margin-top: 100px;
        height: 60px;
        background-color: rgb(240, 240, 240);
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 13px;
        padding-left: 10px;
        position: fixed;
        bottom: 0;
        transition: transform 0.3s ease-in-out; /* اضافه کردن انیمیشن */
    }
    
    .fototerForPhonehide {
        transform: translateY(100%);
    }
    .fototerForPhone div{
        height: 60px;
        width: 100%;
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
    }
    .selected{
        background-color: #181636;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #05a45a;
        border-radius: 3px;
    }
    .itemsherephone {
        width: 100%;
        height: 300px;
        background-color: #0f0d21;
        bottom: -300px;
        position: fixed;
        transition: bottom 0.5s ease;
        color: white;
        border-radius: 0; /* پیش‌فرض بدون گوشه گرد */
    }
    
    .itemsherephone.itemsherephoneactive {
        bottom: 0;
        border-radius: 3px 3px 0 0; /* گوشه‌های گرد وقتی فعال شد */
    }
    
    .itemsherephone span {
        height: 40px;
        margin-top: 5px;
    }
    .lablelogin{
        display: none;
    }
    .lableshop{
        display: none;
    }
    .btnbasket{
        width: 50px;
    }
    .btnlogin {
        width: 70px;
    }
    .gotoboxpageactive{
        display: none;
    }
    .gotoboxpage{
        display: none;
    }
    .btnlogin{
        display: flex;
        justify-content: center;
        align-items: center;
    } 
    .basketboxactive{
        position: fixed;
        top: 20%;
        left: 0px;
        z-index: 100;
        background-color: #181636;
        width: 270px;
        height: 420px;
        transition: left 0.5s ease; /* اضافه کردن انیمیشن برای انتقال نرم */
        color: white;
    }
    
}   
