﻿
@font-face {
    font-family: 'vazir';
    src: url('../fonts/Vazir.ttf') format('truetype');
}


html, body {
    font-family: 'Iranian Sans', 'vazir', 'Tahoma', 'Geneva', sans-serif; 
    padding: 0;
    background-color:#ffffff !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-x: hidden; 
    box-sizing: border-box;
    direction: rtl; 
    margin-top:63px;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

#NavigationBarCustom {
  background-color: #f8f8f8 !important;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 45px;
  left: 0;
  width: 100%;
  z-index: 1050;
  padding: 0px 20px;
  direction: rtl; 
  text-align: right;
  height:105px;
  border-bottom:1px solid rgba(121, 121, 121, 0.35);
}

#NavigationBarCustom .navbar-nav {
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  justify-content: flex-start; 
}

#NavigationBarCustom .navbar-nav::-webkit-scrollbar {
  display: none;
}

#NavigationBarCustom .navbar-nav .nav-item {
  flex-shrink: 0;
  margin-left: 15px;
}

#NavigationBarCustom form {
  margin-right: 10px; /* فاصله بین لوگو و سرچ */
}

.NavLinkColor{
    color:gray !important;
    font-size :14px;
       
}
.NavLinkColor:hover{
    padding-bottom:5px;
    border-bottom:3px solid #ff2638;
}
.navbar-collapse.show {
    background-color: #b8d5ff;
}
.navbar-toggler-icon {
    background-color: rgb(13, 110, 253); 
}
.navbar-toggler {
    border-color: rgb(13, 110, 253) !important; 
    border-width:2px;
}

.LinkNav{
    font-size:15px;
    font-style:normal;

}

.nav-btn{
    margin:12px;
    border-radius:30px;
    font-size:16px;
    padding:15px;
}






.navbar.fixed-bottom {
  background-color: #ffffff !important;  
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.12) !important; 

}

.nav-link{
    color:gray !important;
      padding:0px;
  margin:0px;
  font-weight:normal;
}

.navbar.fixed-bottom .nav-link {
    font-size: 12px;
    text-align: center;
   
}
.navbar.fixed-bottom i {
    font-size: 12px;
}
.navbar.fixed-bottom .nav-link i {
  transition: transform 0.3s ease;
  margin-bottom: 5px; 
  margin-top:0px;
}

.navbar.fixed-bottom .nav-link:hover i {
  transform: translateY(-4px);

}

.navbar .nav-item form {
    display: flex;
    align-items: center;
}

.navbar .nav-item input {
    width:400px; 
    margin-right: 100px;
}

.navbar .nav-item button {
    margin-left: 10px;
}



.nav-item {
    position: relative;
    font-size:14px;
}

.nav-item a i{
font-size:14px;
}


.nav-item .dropdown-menu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    z-index: 1000;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    direction: rtl;
    text-align: right;
}


    .nav-item .dropdown-menu li{
        width: 100%;
    }


.nav-item:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
}



.dropdown-submenu:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    right: 100%;
    top: 0;
}

.dropdown-submenu a{
    font-size:13px;
}


.dropdown-menu {
    transition: all 0.3s ease;
}



.nav-item.dropdown .dropdown-toggle::after {
    display: none;
}









.search-bar {
  display: none;
  position: fixed;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  z-index: 2600;
  background-color: rgba(255, 255, 255, 1);
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  border-radius: 4px;
}

.search-bar.show {
  display: block;
}


#overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.3);
  z-index: 1100;
}


#overlay.active {
  display: block;
}


@media (min-width: 768px) {
  #search-toggle {
    display: none;
  }
}

#search-blue-bar {
  position: fixed;
  top: 45px;
  left: 0;

  width: 100%;
  height: 48px; 
  background-color: white;
  z-index: 1099; 
  border-bottom:1px solid rgba(100, 100, 100, 0.37);
}









  #categoryBox ul {
    padding-right: 0;
  }

  .category-item {
    background-color: #f8f9fa;
    color: rgba(93, 93, 94, 0.75);
  }

  .category-item:hover {
    background-color: #f8f9fa;
    color: #fe2638;
  }

  #subcategoryContainer {
    padding: 10px 15px;
    margin: 0; 
    background-color: transparent; 
    border: none; 
    box-shadow: none; 
  }

  #subcategoryContainer h6{
    font-size:12px;
    font-weight:600;

  }


  #subcategoryContainer ul li a {
    text-decoration: none;
    color: #333; 
  }

  #subcategoryContainer ul li a:hover {
    color: #fe2638; 
  }

#subcategoryContainer ul {
    list-style: none;
    padding-left: 0; 
    margin: 0; 
        
  }


  #subcategoryContainer ul li {
    margin: 0; 
    padding: 10px; 
    border: none;
    background-color: transparent; 
    color:rgba(96, 96, 96, 0.94);
    margin-right:5px;
    font-size:12px;
  }





  #categoryBox{
    display: none; 
    position: fixed; 
    top: 150px; 
    left: 0; 
    right: 80px; 
    background: white; 
    z-index: 1055; 
    border-top: 2px solid #ff2739; 
    padding: 20px; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width:68%;

  }

   #mainCategoryList {
    padding-left: 0; 
  }

  .category-item {
    cursor: pointer;
    list-style: none; 
    padding: 10px 15px; 
    margin: 0; 
    background-color: transparent; 
    border: none;
  }

  .category-item:hover,
  .category-item.active {
    background-color: #ffffff; 
    color: #fe2638 !important; 
  }


  .ParentTitle{
      font-size:14px;
      color:rgb(93, 93, 94);
      padding:0;
      direction:rtl;
      width:100%;
      margin:0px;
  }


  .rightNav{
    background-color:rgba(128, 128, 128, 0.05);
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 80vh;
    z-index: 9999;
    top: 100%;
    right: 0;
    direction: rtl;
  }


  .leftNav{
    overflow-y: auto;
    overflow-x: hidden;
    max-height:80vh;
    z-index: 9999;
    top: 100%;
    right: 0;
    direction: rtl;
  }

.ParentTitle:hover {
    transform: scale(1.1); 
    opacity:1;
    transition: transform 0.4s ease; 
    color:#fe2638 !important;
}









.button-container {
    display: flex; 
    gap: 20px;
    justify-content: center;
    margin-top: 20px; 
}

.button {
    width: 150px;
    height: 150px; 
   
    color: white; 
    border: none; 
    cursor: pointer;
    text-align: center;
    line-height: normal; 
    font-size: 12px; 
    border-radius: 5px; 
    display: flex; 
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    padding: 10px;
     font-family: 'Tahoma'
}

.btn-warning{
       color : white;


}

#GreenBtn{

       background-color: rgba(93, 93, 94, 0.75);
       color : white;
       margin-bottom:8px;
}

#GreenBtn:hover {
 
      background-color: #eda224;
      color : white;
}

.BlueBtn{
     background-color: #1e90ff;  
  
     color : white;
     margin-bottom:8px;
}



.BlueBtn:hover {
     background-color: #0871d7; 
 
      color : white;

}

.RedBtn{
 
     background-color: #fe2638;
     color : white;
      opacity :0.8;
      margin-bottom:8px;
}

.RedBtn:hover {
  
      background-color: #fe2638;
      opacity :1;
      color : white;
}




.RedBtn-outline{
     border-color: rgb(255, 39, 57); 
     color : rgb(255, 39, 57);
     font-size: 14px !important;
     background-color:transparent;
}

.RedBtn-outline:hover {
    background-color: #fe2638;
     color : white;
     font-size: 14px !important;
  
}







.OrangeBtn{
     background-color: #f68d28; 
     color : white;
     font-size: 14px !important;
     margin-bottom:8px;
}

.OrangeBtn:hover {
    background-color: #e18023;
     color : white;
  
}

.OrangeBtn-outline{
     border-color: #f68d28; 
     color : #f68d28;
     font-size: 14px !important;
     background-color:transparent;
}

.OrangeBtn-outline:hover {
    background-color: #f68d28;
     color : white;
     font-size: 14px !important;
  
}


.RedBtnNew{
     background-color: rgb(188, 45, 79); 
     color : white;
     font-size: 12px !important;
     margin-bottom:8px;
}

.RedBtnNew:hover {
    background-color: rgb(164, 39, 69);
     color : white;
  
}

.RedBtnNew-outline{
     border-color:rgb(188, 45, 79);; 
     color : rgb(188, 45, 79);;
     font-size: 12px !important;
     background-color:transparent;
}

.RedBtnNew-outline:hover {
    background-color: rgb(188, 45, 79);;
     color : white;
     font-size: 12px !important;
  
}

.VioletBtn{

      background-color: rgba(93, 93, 94, 0.75);
      color : white;
       opacity :0.8;
}

.VioletBtn:hover {
  
      background-color: #eda224;
      color : white;
}


.RedOrangeBtn {
    background-color: #d34927;
}

    .RedOrangeBtn:hover {
        background-color: #ef3608;
    }




.button img {
    font-size: 30px; 
    margin-bottom: 5px;
     
}

.icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}





.container {
    flex-grow: 0;

}

footer {
    background-color: #f0f0f1;
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    font-size: 20px; 
    z-index: 1;
    padding-top: 100px;
    margin-top: 150px; 
    flex: 1 0 auto; 
    padding-bottom:40px;
    
}

#footercustom{
     background-color:rgba(93, 93, 94, 0.75);
      border-top-left-radius:20px;
      border-top-right-radius:20px;
      padding:50px;
      border-bottom:3px solid #fe2638;
  
}

#footerCustpm2{
    background-color:rgb(93, 93, 94);
    border-bottom-left-radius:20px;
    border-bottom-right-radius:20px;
  
}


#footerr{
    font-size: 14px;
    box-shadow: 2px 2px 20px 2px rgba(65, 65, 65, 0.3);
    border-radius:20px;
    padding-bottom:20px;
    background-color:#c4c4ca;
}

.form-control {
    text-align: center !important;
    font-size: 14px !important;
}

.CostumInput {
    text-align: center !important;
    font-size: 14px !important;
    border-radius:1px;
    padding:20px;
    height:50px;

}

#ForgetTxt {
    color: #cecece;
}

.btn {
   
    font-size: 13px; 
}

.btn-square {
    width: 100px; 
    height: 100px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-align: center;
}



.icon-wrapper {
    margin-bottom: 15px; 
}


.text-wrapper {
    font-size: 11px; 
}

#dynamicIcon {
    width: 40px; 
    height: 40px; 
    margin-bottom: 10px; 
}

h2.custom-heading {
    color: #dfdede;
    font-family: Tahoma, sans-serif;
    font-weight: bold;
    font-size: 0.95rem;
    text-align: center;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.39);
    background-color: #2f3194;
    padding: 4px 10px;
}


label {
    color: gray ;  
}

.TxtboxForm{
    margin :30px;
}

.table{
    border-color :gray  ;
    border-width :  4px;
    width :auto ;
    border-style:solid;
    color : white ; 
}

.form-select{
    text-align :center ;
}

#selectedGMT{
    text-align : center ;
}

#outputName {
    text-align: center;
}

#outputGpio {
    text-align: center;
}

#DeviceSerialID {
    text-align: center;
}

#DeviceName {
    text-align: center;
}

.CenterAlignTxt {
    text-align: center;
}


.custom-table thead {
    background-color: rgba(95, 95, 95, 0.66); 
    color: white  !important;
    font-size :13px;

}

.custom-table tbody tr:nth-child(even) {
    background-color:rgb(223, 229, 251); 
    color: black;
    font-size: 12px;
}

.custom-table tbody tr:nth-child(odd) {
    background-color: rgba(206, 197, 184, 0.29);
    font-size: 12px;
}

.custom-table tbody tr:hover {
    background-color: #f68d28;
    color: white;
}

.custom-table th, .custom-table td {
    text-align: center !important;
    vertical-align: middle;
}

.custom-table th{

    border-left :solid;
    border-left-color:rgb(186, 186, 186) ;
    border-left-width: 1px;
}







.order-table{
    border:solid;
    border-color:rgba(35, 34, 34, 0.24);

}

.order-table thead {
    background-color: rgba(95, 95, 95, 0.55); 
    color: white  !important;
    font-size :12px;

}

.order-table tbody tr:nth-child(even) {
    background-color:rgb(251, 238, 223); 
    color: black;
    font-size: 12px;
    
}

.order-table tbody tr:nth-child(odd) {
    background-color: rgba(206, 197, 184, 0.20);
    font-size: 12px;
}

.order-table tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.19);
    color: rgb(60, 60, 60);
}

.order-table th, .order-table td {
    text-align: center !important;
    vertical-align: middle;
    padding:7px 15px 3px 15px;

}

.order-table th{
    border-left :solid;
    border-left-color:rgb(186, 186, 186) ;
    border-left-width: 1px;
    font-size:12px;
    padding:5px;

}





        #backButton {
            position: fixed;
            bottom: 40px; 
            left: 40px;
            background-color: transparent;
            border: none; 
            padding: 0; 
            cursor: pointer;
            z-index: 1000; 
        }

       
        #backButton img {
            width: 50px;
            height: 50px;
            opacity: 0.7; 
        }

      
        #backButton:hover img {
           
            opacity: 0.9; 
        }

#TabelCustombordered{
    color: dimgray ;
}

.aclass{
    color:gray  !important;
}

.aclass:hover{
    color:blue  !important;
}

.form-check-input:checked {
      background-color: #fe2638; 
      border-color: #fe2638 ;

    }




 .bodyChat {
            font-family: Tahoma, sans-serif;
            direction: rtl;
            background-color: #ffffff;
            margin: 0;
            padding: 0;
            width: 100%;
        }
        .chat-container {
            width: 100%;
            max-width: 90%;
            margin: 0 auto;
            background-color: white;
            padding: 20px;
  
            height: 80vh;
            overflow-y: scroll;
        }
    
.message {
    display: flex;
    flex-direction: row-reverse; 
    margin-bottom: 10px;
}


.message.sent {
    justify-content: flex-end; 
}


.message.received {
    justify-content: flex-start; 
}


.message .content {

    background-color: #c6d9f8;
    padding: 10px;
    border-radius: 10px;
    max-width: 70%;
    word-wrap: break-word;
}


.message .received .content {
    background-color: #fff;
    border: 1px solid #ddd;
}


.message .sender {
    font-weight: bold;
    margin-left: 10px;
}


.message .time {
    font-size: 12px;
    color: #888;
    margin-left: 10px;
}

.flex-container {
    display: flex;
    flex-wrap: wrap; 
}

input[type="hidden"] {
    display: none !important; 
}


    .remove-btn {
        font-size: 10px;  
        padding: 2px 5px; 
        margin-right: 5px; 

      margin-bottom:0px;
    }

    .remove-btn:hover {
        background-color: #f31126; 
    }


  
.modal-content {
    border-radius: 15px; 
    opacity:0.95;
    background-color:#f6f6f6;
}


textarea, input[type="text"] {
    border-radius: 10px;
     border: 1px solid #ccc;
}


input[type="file"] {
    border-radius: 3px;
     border: 1px solid #ccc;
}


#InstallersName{
    border-radius: 10px;
     border: 1px solid #ccc;
     font-size:12px;
}


.btn-outline-secondary{
     font-size:12px;
     padding:3px;
}

#BtnAdd{
    font-size:60px;
    padding-left:20px;
    padding-right:20px;
}

.navbarIcon{
font-size:25px;
margin:10px;
}

.homeBtn{
    font-size:35px;
    padding:inherit;
    color:white;
}




.xxl-Style-1{
    font-size:xx-large;
    color:rgb(114, 115, 118);
    display: inline-block;
}

.xxl-Style-2{
    font-size:xx-large;
    color:rgb(13, 110, 253);
    display: inline-block;
    margin:10px;
}

.xxxl-Style-1{
    font-size:40px;
    color:rgb(114, 115, 118);
    display: inline-block;
}

.xxxl-Style-2{
    font-size:40px;
    color:rgb(13, 110, 253);
    display: inline-block;
    margin:10px;
}

.l-Style-1 {
    font-size: large;
    color: rgb(114, 115, 118);
    display: inline-block;
    text-align: justify; 
    line-height: 2;
    font-weight:400; 
}





.s-Style-1 {
    font-size: 13px;
    color: rgb(114, 115, 118);
    text-align: justify;
    line-height: 2;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;

    height: 52px; 
}

.s-Style-2 {
    font-size: 14px;
    color: rgba(3, 41, 156, 0.92);
    display: inline-block;
    text-align: justify; 
    line-height: 2; 
}


.s-Style-1-forPrice {
    font-size: 14px;
    color:rgb(31, 44, 88) !important;
    display: inline-block;
    text-align: justify; 
    line-height: 2; 
    font-weight:600;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.h4-Style{
    font-size: 22px;
    color: rgb(39, 35, 35);
    text-align: center; 
    margin-top:15px;
}

.CustomInput{
     font-size: 18px;
     color:rgb(55, 70, 78) !important;
     padding:10px;
     border-radius:40px !important;
     margin-bottom:20px !important;
     border-color:rgb(55, 70, 78) !important;
}

.h1-footer-Style{
    font-size: 14px;
    font-weight:300;
    color: rgba(255, 255, 255, 0.69);
    display: inline-block;
    text-align: justify; 
    line-height: 2; 
}



        @keyframes bounce {
            0% {
                transform: translate(0, 0);
            }
            25% {
                transform: translate(20px, -20px); 
            }
            50% {
                transform: translate(-20, 20); 
            }
            75% {
                transform: translate(-20px, -20px); 
            }
            100% {
                transform: translate(20, 20); 
            }
        }




    h1, h2, h3, h4, p {
        margin-bottom: 20px; 
    }


    ul, ol {
        margin-bottom: 20px;
    }


@media (max-width: 768px) {
  #mainCarouselMobile,
  #mainCarouselMobile .carousel-inner,
  #mainCarouselMobile .carousel-item,
  #mainCarouselMobile .carousel-item img {
    height: 20vh;         
    object-fit: cover;    
    width: 100%;           
    max-height: none;  
    border-radius:20px;
    padding-left:3px;
    padding-right:3px;

  }
}









#mainCarousel,
#mainCarousel .carousel-inner,
#mainCarousel .carousel-item,
#mainCarousel .carousel-item img {

    object-fit: cover;
    height: auto;
    max-height: 500px;

}


.carousel-control-prev,
.carousel-control-next {
  position: absolute; 
  top: 50%; 
  transform: translateY(-50%); 
  z-index: 10;
  font-size: 2rem; 
  color: white; 
  background-color: rgba(0, 0, 0, 0.7); 
  border: none;
  padding: 10px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-block;
}

.carousel-control-prev {
  left: 5%; 
}

.carousel-control-next {
  right: 5%; 
}















.ProductCatagory{
    margin-left:30px;
}

.ProductCatagoryTitle{
    font-size:13px;
    margin-top:20px;
    font-weight:500;
}


.ProductCatagoryImage{
    max-width: 100px; 
    height: 100px; 

    object-fit: cover;
    opacity:0.7;
    transition: transform 0.3s ease; 
}

.faded-image-wrapper{
        margin-left:30px;
}



.faded-image-wrapper:hover .ProductCatagoryImage {
    transform: scale(1.1); 
    transition: transform 0.3s ease; 
    opacity:1;
}

.faded-image-wrapper:hover {
    transform: scale(1.1);
    opacity:1;
    transition: transform 0.3s ease;
}

.Product-container{
    background-color:#ff2638;
    width:80%;
    flex-grow:0;
    box-shadow: 1px 1px 2px rgba(65, 65, 65, 0.46);
    margin: 0 auto;
    border-radius:10px;
}

.Product-container2{
    background-color:rgb(0, 103, 255);
    width:80%;
    flex-grow:0;
    box-shadow: 1px 1px 2px rgba(65, 65, 65, 0.46);
    margin: 0 auto;
    border-radius:10px;

}

.Product-container3{
    background-color:rgba(82, 82, 82, 0.89);
    width:80%;
    flex-grow:0;
    box-shadow: 1px 1px 2px rgba(65, 65, 65, 0.46);
    margin: 0 auto;
    border-radius:10px;

}

.ProductKadr{
    background:white;
    border:0.2px inset rgba(114, 115, 118, 0.16);
    border-radius:10px;
    margin:8px;
    height:auto;
    width:170px;
}

.ProductKadr:hover{
    background:white;
    border:0.2px inset rgba(114, 115, 118, 0.16);
    opacity:0.7;
    transform: scale(1.1);
     transition: transform 0.4s ease;
     border:none;
}

.ProductKadrImage{
        object-fit: fit;
        height:120px;
        width:165px;
}






.ArticleKadr{
    background:white;

 
    margin:8px;
    height:auto;
    width:300px;
}

.ArticleKadr:hover{
    background:white;
    border:0.2px inset rgba(114, 115, 118, 0.16);
    opacity:0.7;
    transform: scale(1.2);
     transition: transform 0.4s ease;
     border:none;
}

.ArticleKadrImage{
        object-fit: fit;
        height:200px;
        width:300px;
}






.ProductKadr2{
    background:white;
    border:0.2px inset rgba(114, 115, 118, 0.16);
    border-radius:10px;
    margin:8px;
    height:auto;
    width:200px;
}

.ProductKadr2:hover{
    background:white;
    border:0.2px inset rgba(114, 115, 118, 0.16);
    opacity:0.7;
    transform: scale(1.1);
     transition: transform 0.4s ease;
     border:none;
}

.ProductKadrImage2{
        object-fit: fit;
        height:120px;
        width:190px;
}





.ProductView{
    background:white;
}

.ProductView:hover{
    background:white;
    border:0.2px inset rgba(114, 115, 118, 0.16);
    opacity:0.7;
}

.ProductViewImage{
    display: flex;

        height:400px;
        width:400px;
}


.ImgView {
    background:white;
    max-height: 400px; 
    overflow-y: auto;
    display: flex;
    flex-direction: column; 
    gap: 10px; 
    direction: ltr;
}
.ImgView img {
    cursor: pointer;
    max-width: 100%; 
    border-radius: 4px;
    transition: border-color 0.3s ease;
}




.ImgViewImage:hover{
    opacity:0.7;
}



.ContainerStyleLogin{
   background-color:#f3f3f4;
    border-radius:7px;

    height:auto;
}


.ContainerStyle{
   background-color:white;
    padding-right:25px;
    padding-top:10px;
    border-radius:10px;
    box-shadow: 1px 1px 10px rgba(65, 65, 65, 0.1);
    margin-top:15px;    
    margin-bottom:15px;    
    height:auto;
    margin-right:20px;
}

.ContainerStyle2{
   background-color:white;
    padding-right:25px;
    padding-top:10px;
    border-radius:7px;
    box-shadow: 1px 1px 10px rgba(65, 65, 65, 0.1);
    margin-top:15px;    
    margin-bottom:15px;
   
    height:auto;
    margin-right:auto;
}


.ContainerStyleArticle{
   background-color:rgba(187, 187, 187, 0.25);
    padding-right:25px;
    padding-top:10px;
    border-radius:7px;
    
    margin-top:15px;    
    margin-bottom:15px;
   
    height:auto;
    margin-right:auto;
}

.ContainerStyle4{
   background-color:white;

    padding-top:10px;
    border-radius:10px;
    box-shadow: 1px 1px 10px rgba(65, 65, 65, 0.1);
    margin-top:15px;    
    margin-bottom:15px;    
    height:auto;

    padding-left:10px;
    padding-right:10px;
}

.ContainerStyle5{
   background-color:#f0f0f1;
    padding-right:25px;
    padding-top:10px;
    border-radius:7px;
   
    margin-top:15px;    
    margin-bottom:15px;
   
    height:auto;
    margin-right:auto;
}

.toggle-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    margin-bottom: 10px;
    color:rgba(0, 0, 0, 0.80);
    font-weight:100;
    display: flex;
    justify-content: flex-start; 
    align-items: center; 
}



.toggle-button span {
    margin-right: 5px; 
}


.form-container {
    display: none;
     font-size: 13px;
}

.form-container.show {
    display: block;
}




.CustomSort{
   text-decoration:none;
   font-size:14px;
   color:rgba(20, 19, 19, 0.93);
   
}

.CustomSort:hover{
   color:rgba(20, 19, 19, 0.50);

}




    #container2-Footer {
        position: absolute; 
        top: -80px; 
        left: 10%;
        right:10%;
        width: 80%;
        background-color: #fe2638; 
        color: white;
        padding: 30px 30px !important; 
        
        z-index: 2;
        border-radius:15px;
        box-shadow: 2px 2px 7px rgba(65, 65, 65, 0.46);
        height:auto;
    }





.product-slider {
  overflow: hidden;
  position: relative;
  width: 95%;
  margin: auto;

}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  white-space: nowrap;
  flex-direction: row-reverse;
}


    .product-card {
      min-width: 180px;
    margin-right: 8px;
    background: #ffffff;
    padding: 0px;
    box-sizing: border-box;
    text-align: center;
    flex-shrink: 0;
    border-radius: 8px;
    }

    .product-card img {
      max-width: 100%;
      height: 100px;
      object-fit: cover;
    }

    .pronamespecial{
  display: inline-block;
  width: 170px;
  white-space: nowrap;       /* نذاشتن شکستن خط */
  overflow: hidden;          /* پنهان کردن اضافه */
  text-overflow: ellipsis;   /* گذاشتن سه نقطه (...) */
  font-size:12px;
  text-decoration:none;
  color:#f10345;
}

       .product-card2 {
    width: 180px;
    margin-right: 8px;
    background: #ffffff;
    padding: 5px;
    box-sizing: border-box;
    text-align: center;
    flex-shrink: 0;
    border-radius: 8px;
    }

    .product-card2 img {
      max-width: 100%;
      height: 100px;
      object-fit: cover;
    }

.product-card2 a {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;       /* نذاشتن شکستن خط */
  overflow: hidden;          /* پنهان کردن اضافه */
  text-overflow: ellipsis;   /* گذاشتن سه نقطه (...) */
  font-size:12px;
}

    .slider-wrapper {
      display: flex;
      align-items: center;
    }

#prevBtn {
    left: 10px;
  }

  #nextBtn {
    right: 10px;
  }

#prevBtn2 {
    left: 10px;
  }

  #nextBtn2 {
    right: 10px;
  }

  .nav-btnNew {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 30px;
    padding-bottom: 2px;
    padding-top: 2px;
    padding-left: 18px;
    padding-right: 18px;

    cursor: pointer;
    border-radius: 100%;
    transition: background 0.3s ease;
  }

  .nav-btnNew:hover {
    background-color: rgba(0, 0, 0, 0.7);
  }


     .custom-btn {
      border: 2px solid rgb(188, 45, 79);
      padding: 0;
      overflow: hidden;
      display: flex;
      width: 150px;
      height: 35px;
      border-radius: 10px;
      background-color: transparent;
      cursor: pointer;

    }

    .btn-quarter {
      background-color: rgb(188, 45, 79);
      color: white;
      flex: 1;
      text-align: center;
      line-height: 30px;
      font-size: 10px;
    }

    .btn-three-quarters {
      background-color: white;
      color: gray;
      text-decoration: line-through;
      flex: 3;
      text-align: center;
      line-height: 30px;
      font-size: 10px;
    }

    .custom-btn div {
      font-weight: bold;
      
    }


.discount-circle {
    width: 25px;         
    height: 25px;     
    background-color: #dc3545;
    color: #ffffff;
    font-size: 10px;     
    border-radius: 50%;   
    display: flex;
    align-items: center;  
    justify-content: center;
 
}







     .custom-btn-Pro {
      border: 2px solid #fe2638;
      padding: 0;
      overflow: hidden;
      display: flex;
      width: 150px;
      height: 35px;
      border-radius: 7px;
      background-color: transparent;
      cursor: pointer;
    }

    .btn-one-quarters {
      background-color: #fe2638;
      color: white;
      flex: 1;
      text-align: center;
      line-height: 35px;
       user-select: none;
    }

    .btn-two-quarters {
      background-color: white;
      color: gray;
      flex: 2;
      text-align: center;
      line-height: 35px;
       user-select: none;
    }





    .custom-btn div {
      font-weight: bold;
      font-size: 14px;
    }













#searchResultsMobile {
    position: absolute;
    top: 70%;

    background-color: white;
    width: 95%;
    border: 1px solid #ccc;
    z-index: 1000;
    display: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
}










#searchResults {
    position: absolute;
    top: 50%;
    background-color: white;
    width: 500px;
    border: 1px solid #ccc;
    z-index: 1000;
    display: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
}

.result-item {
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.product-thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    margin-left: 10px;
    
    
}

.ContainerStyle3{
   background-color:white;
    padding-left:20px;
    padding-right:20px;
   
    border-radius:7px;
    box-shadow: 1px 1px 10px rgba(65, 65, 65, 0.1);
    margin-top:15px;    
    margin-bottom:15px;
   
    height:auto;
    margin-right:auto;
}

.ProDetail{
    padding-left:30px;
    padding-right:30px;
    background-color:white;
}


.td-product{
   
   
    text-align: right;
    padding:10px;
}

.table-product{
    width: 100%; 
    border-collapse: separate; 
    border: 1px solid rgba(0, 0, 0, 0.1); 
    border-radius: 15px;
    overflow: hidden;
    border-spacing: 0;
}


.ProductPrice{
    font-size:18px;
    color:#00b33f
}


.td-attribute{
    width:100%; 
    
    border-bottom:1px solid rgba(0, 0, 0, 0.2); 
    padding-top:10px;
    padding-bottom:10px;
    padding-right:5%;
    padding-left:5%;
    font-size:14px;
}


.table-attribute{
    margin-left:30%;
    margin-right:30%;
}

.table-attribute-mobile{
    margin-left:10%;
    margin-right:10%;
}


#cartModal{
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 5px rgba(0,0,0,0.3);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1300;
    padding: 20px;
}

#closeCartModal{
    padding:3px 3px 3px 3px;  
    width:25px; 
    height:25px;
}




.cart-container {
    width: 100%;
    max-width: 900px;
    margin: auto;
    
    
}

.flex-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-header {
    font-weight: bold;
    border-bottom: 2px solid rgba(51, 51, 51, 0.65);
    padding-bottom: 8px;
    margin-bottom: 15px;
    font-size:11px;
}

.cart-row {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding-right:3px;
    padding-left:3px;
    margin-bottom: 15px; 
    background-color: #fff;
    transition: box-shadow 0.3s ease;
    font-size: 11px;

}

.cart-row:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
     background-color: #eeeaea;
}

.cart-col {

    flex-shrink: 0;
}

.image-col {
    flex: 0 0 60px;
}

.image-col img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
}

.name-col {
    flex: 1 1 auto;
    padding-right: 10px;
}

.qty-col {
    flex: 0 0 60px;
    text-align: center;
}

.subtotal-col {
    flex: 0 0 60px;
    text-align: left;
}

.cart-total {
    padding:20px 30px 20px 40px;
    background-color: #f10345;
    border-radius: 8px;
    font-size: 11px;
    margin-top: 15px;
    margin-bottom: 15px;
    color:white;
}

.total-label {
    font-weight: bold;
       font-size:14px;
}

.total-value {
    font-weight: bold;
       font-size:16px;
    text-align: left;
}

.price-col {
    flex: 0 0 60px;
    text-align: center;
}



.qty-col {
    flex: 0 0 60px;
    text-align: center;
}

.subtotal-col {
    flex: 0 0 60px;
    text-align: left;
}








.user-dropdown {
  display: none;
  position: fixed;
  top: 109px; 
  left: 25px;   
  background-color: white;
  border: 1px solid #ddd;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 5px;
  min-width: 160px;
  z-index: 2000;
  text-align: center;
  font-size:12px;
}


.user-dropdown-Mobile {
  display: none;
  position: fixed;
  top: 85px;
  left: 5px;
  background-color: white;
  border: 1px solid #ddd;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 5px;
  min-width: 160px;
  z-index: 2000;
  text-align: center;
  font-size:12px;
}


.user-dropdown .dropdown-item {
  margin-bottom: 8px;
 
}


.dropdown-item a{
     font-size:12px;
}


.card.border-warning {
    border: 2px solid #fe2638 !important;
    border-color:#fe2638 !important;
    background-color:rgba(254, 38, 56, 0.05);
}



.countdown-timer {
    font-family: 'IRANSans', sans-serif;
    font-size: 12px;
   
    color: rgba(255, 255, 255, 1.00);
    background: rgb(188, 45, 79);
    border-bottom-left-radius:10px;
    border-bottom-right-radius:10px;
    padding: 6px 12px;
  
    display: inline-block;
    direction: ltr;
}
.countdown-timer .time-part {
    display: inline-block;
    min-width: 24px;
    text-align: center;
}

.posterImge img{
    border-radius:10px;
  
    height: auto;

}

.whatsapp_float {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 120px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration:none;
}

.whatsapp_float:hover {
    background-color: #128C7E;
    text-decoration: none;
    color: white;
}

.whatsapp-icon {
    margin: 0;
    padding: 0;
}



.basalam_float {
    position: fixed;
    width: 80px;
    height: 40px;
    bottom: 120px;
    left: 20px;
    background-color: #fe5c36;
    color: black;
    border-radius: 10px;
    text-align: center;
    font-size: 12px;
    font-weight:bold;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration:none;
}

.basalam_float:hover {
    background-color: rgba(254, 92, 54, 0.90);
    text-decoration: none;
    color: black ;
}




.justified-text {
    text-align: justify;
    font-size: 14px; 

}








.category-block {
    border: 1px solid #efefef;
    border-radius: 8px;
    padding: 3px;
    margin: 0;
   
}

.toggle-category, .toggle-button {
    background-color: #ffffff;
    border: none;
    padding: 5px 5px;
    border-radius: 5px;
    cursor: pointer;
    text-align: right;
    font-size: 0.75rem;
    color:#343434;
}

.toggle-category:hover, .toggle-button:hover {
    background-color: #e2e6ea;
}

.arrowIcon, .categoryArrow {
    transition: transform 0.3s;
}

.form-container {
    padding-right: 10px;
}



.custom-pagination .page-item .page-link {
    background-color: #777779;  
    color: #ffffff;             
   
    border-radius: 5px;
    margin: 0 1px;
    padding: 5px 10px;
    transition: background-color 0.3s, color 0.3s;
    font-size:12px;
}


.custom-pagination .page-item .page-link:hover {
    background-color: #FF8C00;  
    color: #ffffff;
}

.custom-pagination .page-item.active .page-link {
    background-color: #f68d28; 
    color: #ffffff;
    border-color: #f68d28;
}


.custom-pagination .page-item {
    margin: 0 2px;
}




 .nav-new-icon {
    border-color: #4c4c4c !important;   
    color: #4c4c4c !important;      
    font-size:12px;  
  }


  .nav-new-icon:hover {
    background-color: #4c4c4c !important; 
    color: white !important;              
    border-color: #4c4c4c !important;    
  }

  .nav-btn-mobile{
      color: #808080 !important;   
  }



#notificationBar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: gray;
  color: #ffffff;
  padding: 10px 0;
  font-weight: bold;
  z-index: 2500;
  overflow: hidden;
}

#notificationWrapper {
  white-space: nowrap;
  overflow: hidden;
}

#notificationText {
  display: inline-block;
  padding-left: 0; /* برای شروع از بیرون سمت راست */
  animation: marquee 50s linear infinite;
}

#notificationText span {
  display: inline-block;
  margin-right: 250px; /* فاصله بین پیام‌ها */
}

@keyframes marquee {
  -100% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

#notificationText:hover {
  animation-play-state: paused; /* دسکتاپ */
}