@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; 
}

.linehr{
    width: 15%; /* یا مثلا 60% که عرض خطت کمتر شه */
    height: 1px;
    background-color: #ccc;
    border: none;
    z-index:1000000;
}

.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;
}
.header1{
    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;
}
.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;
}
.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;
}



.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 span{
    padding-top: 15px;
    padding-bottom:15px;
    cursor: pointer;
    border-bottom:1px solid #e0e0e0;
    width:30%;
    direction:rtl;
}

.partproduct div:hover{
    color: rgb(73, 152, 69);
}
.sidershow{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%,-50%);
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.sidershow div{
    width: 15px;
    height: 6px;
    background-color: white;
    margin: 3px;
    cursor: pointer;
}


#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;
}
.partproduct {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: end;
    max-width: 100%;
    height: 100%;
    padding-right: 30px;
    background-image: none;
    background-position: right;
    background-size: cover;
    background-repeat: no-repeat;
    transition: background-position 0.3s, box-shadow 0.3s ease;
    box-shadow: none; /* بدون سایه به صورت پیش‌فرض */
    
}

.partproduct:hover {
    background-position: left;
    box-shadow: 0px 4.5px 5px #06FF89; /* سایه فقط هنگام هاور */
}






.bigdiv{
    width: 75%;
    max-width: 75%;
}
.sidediv{
    width: 25%;
    max-width: 25%;
    padding: 20px;
    
}

.homepageuser{
    padding: 40px;
    width: 60%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

i{
    cursor: pointer;
}
i:hover{
    color: #05a45a;
}

.exitbut{

    border: 0;
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
    margin-bottom: 3px;
    background-color: white;
}
.exitbut:hover{
    color: #05a45a;
}
.activepart{
    color: #05a45a;
}



.cariusel {
    position: relative;
    height:500px;
}

.imgdivcover {
    background-image: url("img/bigbanners/bigbanner1.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 500px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-image 0.5s ease-in-out;
}

#backtbut, #nextbut {
    top: 50%;
    transform: translate(0%,-50%);
    position: absolute;
    background-color: rgba(255, 255, 255, 0.544);
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
}

#backtbut {
    left: 2%;
}

#nextbut {
    right: 2%;
}
.nav-dots {
    display: flex;
    justify-content: center;
    z-index: 10;
    margin-top: 20px;
}

.nav-dot {
    width: 30px;
    height: 5px;
    background-color: #181636;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}


.nav-dot.active {
    background-color: #058a4c;
    box-shadow: 1px 1px 5px #058a4c;
}

.nav-dot:hover {
    background-color: #05c26a;
    box-shadow: 1px 1px 5px #06FF89;
}
.secpupcer {
    overflow: hidden; /* مخفی کردن آیتم‌های اضافی */
    width: 100%;
    position: relative;
    padding: 20px 0;
  }

  .secpupcer h2 {
    text-align: end;
    margin: 0 0 20px 0;
    font-size: 24px;
  }

  .pupitems {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    transition: transform 0.5s ease-in-out; /* برای حرکت نرم */
    position: relative;
  }

    .pupitemsa {
        height: 45px !important;
        width: 150px !important;
        margin-right: 10px !important;
        flex: 0 0 auto !important;
        margin-top: 10px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        color: rgb(255, 255, 255) !important;
        border: 1px solid #181636 !important;
        color: #058a4c !important;
        font-size: large !important;
        cursor: pointer !important;
        transition: box-shadow , 0.2s !important;
      }
  .pupitems a:hover{
    background-color: #181636;
    color: rgb(255, 255, 255);
    border-radius: 3px;
    box-shadow: 1px 1px 5px #06FF89;
    
  }

  /* دکمه‌های کنترل */
  .carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 70%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }

  .carousel-control.prev {
    left: -0px;
    z-index: 2;
  }

  .carousel-control.next {
    right: -0px;
    z-index: 2;
  }






  .suborg{
    margin: 10px;
    font-size: larger;
    display: flex;
    justify-content: end;
    align-items: end;
}  
.suborg1{
    display: flex;
    justify-content: start;
    align-items: start;  
    text-align: end;
    padding: 5px 5px; 
}

.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; /* اضافه کردن انیمیشن برای انتقال نرم */
    border-radius: 0px 5px 5px 0;
    color: white;
 
}
.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;

}


.basketboxactive:hover{
    left: 0px;
}


.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;
    
}
.fototerForPhone{
    display: none;
}
.mini1{
    width: 30px;
    height: 30px;
}

.footermain{
    background-color: rgb(240, 240, 240);
    margin-top: 60px;
    max-width: 100%;
    width: 100%;
}


.fototerForPhone{
    display: none;
}
.itemsfrist{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.itemsherephone{
    display: none;
}

#searchboxdiv{
    margin-left: -10px;
    
}




/* new */

.showitemsbox{
    background-color: white;
    height: 340px;
    min-height:340px;
    display: flex;
    border-radius: 3px;
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 20px 0;
    align-items: center;
}

.showitemsbox .carousel-items{
    display: flex;
    transition: transform 0.5s ease;
    justify-content: flex-start;
    align-items: center;
}

.showitemsbox a{
    width: 200px;
    background-color: white;
    border-radius: 3px;
    margin: 5px 10px;
    padding: 10px;
    flex: 0 0 auto;
    height:320px;
    cursor:pointer;
}

.product-card {
    width: 200px;
    background-color: #fff;
    border-radius: 8px;
    margin: 8px 10px;
    padding: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    flex: 0 0 auto;
    height: 320px;
    cursor: pointer;
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.image-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    overflow: hidden;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-info {
    padding-top: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-name {
    font-size: 14px;
    text-align: center;
    font-weight: 500;
    min-height: 36px;
    color: #222;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    font-size: 15px;
    color: #111;
}

.product-price .currency {
    font-size: 12px;
    color: #777;
}

.color-options {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    gap: 6px;
}

.color-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.1s ease;
}

.color-circle:hover {
    transform: scale(1.1);
    border-color: #aaa;
}

.color-circle.selected {
    border-color: #000;
    transform: scale(1.15);
}






.carousel-control2{
    position: absolute;
    top: 50%;
    background-color: rgba(0, 0, 0, 0.3);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transform: translateY(-50%);
    padding: 10px;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.5);
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 70%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.prev{
    left: 10px;
}

.next{
    right: 10px;
}

.showitemsboxtitle{
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    margin: 3px 5px;
    padding: 10px;
    font-size: x-large;
}


.moshaverebtn{
    position:relative;
    width:10% !important;

}




@media (max-width : 1366px){
    .imgdivcover{
        height: 400px;
        width: 100%;
        max-width: 100%;
        margin-bottom: 10px;
    }
    .cariusel{
        height: 400px;
    }
    .nav-dot {
        width: 30px;
        height: 5px;
        background-color: #181636;
        margin: 0 5px;
        cursor: pointer;
        transition: background-color 0.3s;
        
    }
    #searchboxdiv{
        margin-right: 0px;
    }
    .partproduct span{
        padding-top: 15px;
        padding-bottom:15px;
        cursor: pointer;
        border-bottom:1px solid #e0e0e0;
        width:45%;
        direction:rtl;
    }
    
}
@media (max-width : 1200px){
    .imgdivcover{
        height: 200px;
        width: 100%;
        max-width: 100%;
        margin-bottom: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 3px;
    }
    .cariusel{
        height: 200px;
        width: 95%;
        border-radius: 3px;
    }
    .nav-dot {
        width: 20px;
        height: 5px;
        background-color: #181636;
        margin: 0 5px;
        cursor: pointer;
        transition: background-color 0.3s;
        margin-top: -5px;
    }
    .phonesiderdiv{
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 3px;
        margin-top: 10px;
    }
    .pupitems{
        margin-top: -25px;
    }
    .pupitemsa {
        height: 45px !important;
        width: 150px !important;
        margin-right: 10px !important;
        flex: 0 0 auto !important;
        margin-top: 10px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        color: rgb(255, 255, 255) !important;
        border: 1px solid #181636 !important;
        color: #058a4c !important;
        font-size: large !important;
        cursor: pointer !important;
        transition: box-shadow , 0.2s !important;
      }
      .fsm-6{
        font-size: large !important;
      }
      .nondisplay{
        display: none !important;
      }
      .secpupcer{
        height: 60px;
        margin-top: -30px;
      }
      .carousel-control {
        display: none !important;
      }
      .carousel-control.prev {
        left: 10px;
      }
    
      .carousel-control.next {
        left: 50px;
      }

      .header1{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        }
    

        .itemsfrist{
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            margin: 10px 0;
        }
        .flexcolm{
            flex-direction: column-reverse !important;
        }
        .w95m{
            max-width: 95% !important;
        }
        







    .bigdivhere{
        max-width: 100%;
        width: 100%;
    }
    .saleitem{
        width: 49%;
        height: 250px;
        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;
        margin-bottom: 5px;

    }
    .saleitem div{
     border-radius: 1px;
    }
    .itemimg{
        width: 100px;
        height: 100px;
    }
    .readyforphone{
        display: flex;
        width: 100%;
        flex-direction: row;
        align-items: end;
        justify-content: center;

    }
    .filterbox{
        display: none;
    }
    .itsbtnforsale{
        position: absolute;
        bottom: -5%;
        left: 50%;
        transform: translate(-50%,-50%);
        font-size: small !important;

    }
    .pricediv{
        position: absolute;
        display: inline-block;
        bottom: 13%;
        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: 0; /* پیش‌فرض بدون گوشه گرد */
        display: block;
    }
    
    .itemsherephone.itemsherephoneactive {
        bottom: 0;
        border-radius: 3px 3px 0 0; /* گوشه‌های گرد وقتی فعال شد */
        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;
    }
    #searchboxdiv{
        display: none;
    } 



    .basketboxactive{
        position: fixed;
        top: 20%;
        left: -0px;
        z-index: 100;
        background-color: #181636;
        width: 270px;
        height: 420px;
        transition: left 0.5s ease; /* اضافه کردن انیمیشن برای انتقال نرم */
        color: white;
    }
    
}

.w100{
    width: 100%;
}











