@font-face{
    font-family: 'Yekan';
    font-weight: 200;
    src: url('/assets/font/Yekan.ttf');
    
}



*{
    box-sizing: border-box;
    color: #333;
    font-family: 'Yekan';
    font-weight: 200;
}

body{
    margin: 0;
    
    
}

.container{
    width: 100%;
    padding:0 60px ;
    background-color:#fff;


}
.header_icon_home{
    width: 15px;
    height: 15px;
    background: url(../image/home-web.png) center no-repeat;
    background-size: cover;
    display: inline-block;
    direction: rtl;
   

}


.header_icon_shop{

    width: 15px;
    height: 15px;
    background: url(../image/shop-store.png) center no-repeat;
    background-size: cover;
    display: inline-block;
    
}


.dropdown_icon{
  width: 10px;
  height: 10px;
  background: url(../image/dropdown.png) center no-repeat;
  background-size: cover;
  display: inline-block;


}
.sabad_icon{
    width: 25px;
    height: 15px;
    background: url(../image/sabad.png) center no-repeat;
    background-size: cover;
    display: inline-block;

}


.p_15{
    padding-left: 15px;
    padding-right: 15px;
    direction: rtl;
}

.p_16{
  
    text-align: center;
    
    
    
}
.p_16 :hover{
  color: orangered;
}

ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

a{
    text-decoration: none;
}

.header{
  min-height: 65px;
    width: 100%;
    height: auto;
    background-color: #fff;
    box-shadow: 0px 1px 2px #bbb;
    position: fixed;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    top: 0;
    left: 0;
    z-index: 1000;
    justify-content: space-between;

}
.header_logo{
    float: right;
    
}
.header_logo img{
    width: 100%;
    height: 65px;
}
.header_nav{
    float: right;
    margin-right: 20px;
    direction: rtl;
}


.header_icon_home,
.header_icon_shop{
  width: 15px;
  height: auto;
  display: block;
}
.dropdown_icon{
  width: 10px;
  height: auto;
  display: block;
}
.sabad_icon{
  width: 25px;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .header{
    min-height: 50px;
    padding: 5px 10px;
  }
  .header_icon_home,
  .header_icon_shop{
    width: 13px;
  }
  .dropdown_icon{
    width: 9px; 
  }
  .sabad_icon{
    width: 20px;
  }

  
}
.header_nav >li{
    display: inline-block;
    padding: 20px 10px ;
    float: right;
    cursor: pointer;
    direction: rtl;
    position: relative;


}
.dropdown_menu{
    position: absolute;
    background-color: #fff;
    width:150px;
    height: auto;
    top: 100%;
    right: 0;
    box-shadow: 0px 2px 3px #777;
    display: none;
    direction: rtl;
}

.dropdown .dropdown_menu{
    display: none;
}
.dropdown:hover .dropdown_menu{
    display: block;
}
.dropdown_menu li{
    font-size: 14px;
    padding: 8px;


}
.dropdown_menu li a{
    display: block;
    direction: rtl;
}
.dropdown_menu li:hover{
    background-color: #eee;


}




button{
    background-color: rgb(44, 185, 157);
    color:#fff ;
    border: none;
    padding: 6px 10px;
    margin: 15px 0px;
    border-radius: 5px;
    cursor: pointer;
    outline: none;
    float: left;
}

/*page_intro*/

.page_intro{
   /*رنگ گردینت*/
   
    width: 100%;
    height: 300px;
    padding: 10px 0;
}
.page_intro_right{
    width: 50%;
    height: 300px;
    float: right;
    text-align: right;
    
}

/*فروشگاه لوازم خانگی لیما*/
.page_intro_right h1{

    color: #fff;
    font-size: 50px;

}
.page_intro_right_btns{
margin: 0 auto;
width: 300px;

}
.page_intro_right_btn{

    color: #fff;
    background-color: transparent;
    border: 2px solid #fff;
    width: 130px;
    font-size: 15px;
    padding: 10px; 
    border-radius: 5px;
    float: right;
    margin-left: 8px;
    
}
.page_intro_left{
    width: 50%;
    height: 300px;
    float: right;
    
}



.new_post{
    width: 25%;
    height: auto;
   float: right;
   padding: 15px;
   


}
.new_post_card{

    padding: 15px;
    width: 100%;
    height: 400px;
    box-shadow: 0px 2px 3px #bbb;
}
.new_post_pic{
    width: 100%;
    height: 300px;
    

}
.new_post_pic img{
    width: 100%;
    height: 100%;
}
.new_post_title{
    margin: 0;
    float: right;
    direction: rtl;
    

}
.new_post_price{
    margin: 0;
    float: left;
    color: #777;
    font-size: 14px;
    /*خط انداختن روی قیمت تخفیفی*/
    text-decoration: line-through;

}
.new_post_descripthion{
    margin: 0;
    float: right;
    margin-left:  50%
    

}
.new_post_price_off{
    margin: 0;
    float: left;
    font-size: 14px;

}









@media screen and (max-width: 1200px){
.new_post{
    width: 50%;
}
.container{
    padding: 0 200px;
}
    
}
@media screen and (max-width: 950px){
 .container{
    padding: 0 60px;
 }
}
@media screen and (max-width: 950px){
.new_post{
    width: 100%;

}
}

.home_ad{
    padding-top: 40px;
    
}

    
.home_ad_right{
    background-color: rgb(44, 185, 157);
    width: 75%;
    height: 300px;
    float: right;


}
.home_ad_right img{
  width: 60%;
  height: 300px;
  margin-left:200px;
}

/*slider*/


.slider {
  position: relative;
  max-width: 800px;
  margin: auto;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
 
}
.slide img{
  width: 50%;
  height: auto;
  float: left;
display: block;
margin-left: 70px;
}

/*img {
  width: 50%;
    height: auto;
    float: left;
  display: block;
}*/

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 24px;
  padding: 16px;
  background-color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.home_ad_left{
    background-color: rgb(44, 185, 157);
    width: 25%;
    height: 300px;
    float: left;
    


}
.home_ad_left img{
  width: 100%;
  height: 300px;

}

/*.most_sales{
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 950px) {
  .most_sales_item{
    flex: 1 1 calc(50% - 20px);
  }
  
}
@media (max-width: 768px) {
  .most_sales_item{
    float: 1 1 100%;
  }
  
}
.most_sales h2{
    padding:  0 15px;
    font-size: 20px;
    font-weight: 400;
    margin: 20px 0;
    direction: rtl;
    
   
}
.most_sales_item .new_post_card{
  width: 100%;
  margin-bottom: 20px;
}

.most_sales_item{
    padding: 15px;
     
    height:auto;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    flex: 1 1 calc(33.333% - 20px);


}
@media (max-width: 950px) {
  .most_sales_item{
    flex-basis: calc(50% - 20px);

  }
  
}
@media (max-width: 768px) {
  .most_sales_item{
    flex-basis: 100%;
  }
  
}*/
.why_us_item{
    
    width: 25%;
    height: auto;
    float: right;
    padding: 15px;
}

.why_us_card{
    width: 100%;
    height: 300px;
    text-align: center;
}
.why_us_card img{
    width: 30%;
    height: 100px

}
.why_us_card h4{
    font-size: 15px;
    
   
    
}
.why_us_card p{
    font-size: 15px;
}

/*footer*/
/*footer{
    
background:rgb(44, 185, 157);

    width: 100%;
    bottom: 0;
    left: 0;
    border: none;
    max-width: 90%;
    height: auto;
    margin: 20px 0;

    display: flex;
    flex-direction: column;
    
    
  }
footer .content{
  background:rgb(44, 185, 157);

}
  footer::before{
    content: '';
    position: absolute;
    left: 0;
    top: 100px;
    height: 1px;
    width: 100%;
    background: #AFAFB6;
  }
  footer .content{
    max-width: 1250px;
    margin: auto;
    padding: 30px 40px 40px 40px;
  }
  footer .content .top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
  }*/
  .footer {
    
background:rgb(44, 185, 157);

    width: 100%;
    bottom: 0;
    left: 0;
    border: none;
    max-width: 90%;
    height: auto;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
  }

.footer-container {
  display: flex;
  justify-content: center;
  max-width: 1200px;
  
  gap: 50px;
  margin-right: 20px;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: white;
  
}

.footer-column ul {
  list-style: none;
  padding: 0;
  color: white;
}

.footer-column ul li {
  margin-bottom: 8px;
  color: white;
}

.footer-column ul li a {
  text-decoration: none;
  color: #ddd;
}

/* ریسپانسیو کردن برای موبایل */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}
  .content .top .logo-details{
    color: #fff;
    font-size: 30px;
    
  }
 
  .content .top .media-icons{
    display: flex;
  }
  .content .top .media-icons a{
    height: 40px;
    width: 40px;
    margin: 0 8px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: #fff;
    font-size: 17px;
    text-decoration: none;
    transition: all 0.4s ease;
  }
  .top .media-icons a:nth-child(1){
    background:rgb(44, 185, 157);
background: linear-gradient(90deg, rgba(223,167,34,1) 0%, rgba(255,98,1,1) 64%);
    
    
  }
  .top .media-icons a:nth-child(1):hover{
    color: #4267B2;
    background: #fff;
  }
  .top .media-icons a:nth-child(2){
    background: orange;
  }
  .top .media-icons a:nth-child(2):hover{
    color: #1DA1F2;
    background: #fff;
  }
  .top .media-icons a:nth-child(3){
    background: orangered;
  }
  .top .media-icons a:nth-child(3):hover{
    color: #E1306C;
    background: #fff;
  }
  .top .media-icons a:nth-child(4){
    background: #fff;
  }
  .top .media-icons a:nth-child(4):hover{
    color: #0077B5;
    background: #fff;
  }
  .top .media-icons a:nth-child(5){
    background: white;
  }
  .top .media-icons a:nth-child(5):hover{
    color: #FF0000;
    background: #fff;
  }
  footer .content .link-boxes{
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
  footer .content .link-boxes .box{
    width: calc(100% / 5 - 10px);
  }
  .content .link-boxes .box .link_name{
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 10px;
    position: relative;
  }
  .link-boxes .box .link_name::before{
    content: '';
    position: absolute;
    left: 188;
    bottom: -3px;
    height: 2px;
    width: 35px;
    background: #fff;
  }
  .content .link-boxes .box li{
    margin: 6px 0;
    list-style: none;
  }
  .content .link-boxes .box li a{
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.4s ease
  }
  .content .link-boxes .box li a:hover{
    opacity: 1;
    text-decoration: underline;
  }
  .content .link-boxes .input-box{
    margin-right: 55px;
  }
  .link-boxes .input-box input{
    height: 40px;
    width: calc(100% + 55px);
    outline: none;
    border: 2px solid #AFAFB6;
    background: white;
    border-radius: 4px;
    padding: 0 15px;
    font-size: 15px;
    color: black;
    margin-top: 5px;
  }
  .link-boxes .input-box input::placeholder{
    color: #AFAFB6;
    font-size: 16px;
  }
  .link-boxes .input-box input[type="button"]{
    background: #fff;
    color: black;
    border: none;
    font-size: 18px;
    font-weight: 500;
    margin: 4px 0;
    opacity: 0.8;
    cursor: pointer;
    transition: all 0.4s ease;
  }
  .input-box input[type="button"]:hover{
    opacity: 1;
  }
  footer .bottom-details{
    width: 100%;
    background: white;
  }
  footer .bottom-details .bottom_text{
    max-width: 1250px;
    margin: auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
  }
  
  .bottom-details .bottom_text a{
    margin-right: 10px;
  }
  @media (max-width: 900px) {
    footer .content .link-boxes{
      flex-wrap: wrap;
    }
    footer .content .link-boxes .input-box{
      width: 40%;
      margin-top: 10px;
    }
  }
  @media (max-width: 700px){
    footer{
      position: relative;
    }
    .content .top .logo-details{
      font-size: 26px;
    }
    .content .top .media-icons a{
      height: 35px;
      width: 35px;
      font-size: 14px;
      line-height: 35px;
    }
    footer .content .link-boxes .box{
      width: calc(100% / 3 - 10px);
    }
    footer .content .link-boxes .input-box{
      width: 60%;
    }
    .copyright_text {
    
      font-size: 12px;
      text-align: center;
      
      
    }
  }
  @media (max-width: 520px){
    footer::before{
      top: 145px;
    }
    footer .content .top{
      flex-direction: column;
    }
    .content .top .media-icons{
      margin-top: 16px;
    }
    footer .content .link-boxes .box{
      width: calc(100% / 2 - 10px);
    }
    footer .content .link-boxes .input-box{
      width: 70%;
      margin-left: 90px;
    }
  }
/*page_signup*/
.btn_index_singup{
    margin-left: 20px;
}
.signup{
    width: 80%;
    height: 700px;
    margin: 20px auto 0px auto;
   
}
.signup .user-information{
    width: 50%;
    height: 100%;
    float: right;
    background-color: #fff;

}

.signup .user-information .title-user-information{
    text-align: center;
    margin-top: 100px;
}
.signup .user-information .title-user-information h2{
    font-size: 30px;
    margin-bottom: 0px;
    color: black;
}

.signup .user-information .title-user-information p{
    font-size:15px;
    color: black;
    margin-top: 0px;
}
.signup .user-information .user-request{
    text-align: center;
    position: relative;
    margin-top: 60px;
    

}
.signup .user-information .user-request .username{
    
    width: 100%;
    height: 50px;
    font-size: 16px;
    text-align: right;
    direction: rtl;
    padding-right: 10px;
    background-color: #f6f6f6;
    border-radius: 5px;
    border: none;
    padding-right:30px;
    
    
    
    
}

.signup .user-information .user-request .username-f{
    width: 60%;
    height: 50px;
    position: relative;
    margin: 0 auto 20px auto;
}
.signup .user-information .user-request .username-f img{
    width: 30px;
    
    position: absolute;
    padding-top: 14px;
    padding-right: 8px;
    padding-left: 5px;


}

.signup .user-information .user-request .email-f{
    width: 60%;
    height: 50px;
    position: relative;
    margin: 0 auto 20px auto;
}

.signup .user-information .user-request  .email{
    
    width: 100%;
    height: 50px;
    font-size: 16px;
    text-align: right;
    direction: rtl;
    padding-right: 10px;
    background-color: #f6f6f6;
    border-radius: 5px;
    border: none;
    padding-right:30px;
    
}


.signup .user-information .user-request .email-f img{
    width: 30px;
    position: absolute;
    padding-top: 18px;
    padding-right: 8px;
    padding-left: 5px;
    
    


}

.signup .user-information .user-request .phone-f{
    width: 60%;
    height: 50px;
    position: relative;
    margin: 0 auto 20px auto;
}

.signup .user-information .user-request  .phone{
    
    width: 100%;
    height: 50px;
    font-size: 16px;
    text-align: right;
    direction: rtl;
    padding-right: 10px;
    background-color: #f6f6f6;
    border-radius: 5px;
    border: none;
    padding-right:30px;
    
}


.signup .user-information .user-request .phone-f img{
    width: 35px;
    position: absolute;
    padding-top: 12px;
    padding-right: 8px;
    padding-left: 5px;
    
    


}


.signup .user-information .user-request .pass-f{
    width: 60%;
    height: 50px;
    position: relative;
    margin: 0 auto;
}





.signup .user-information .user-request  .pass{
    
    width: 100%;
    height: 50px;
    font-size: 16px;
    text-align: right;
    direction: rtl;
    padding-right: 10px;
    background-color: #f6f6f6;
    border-radius: 5px;
    border: none;
    padding-right:30px;
    
}


.signup .user-information .user-request .pass-f img{
    width: 35px;
    position: absolute;
    padding-top: 12px;
    padding-right: 8px;
    padding-left: 5px;
   
    
    
    


}

.btn-si{
    background-color: rgb(44, 185, 157);
    color:#fff ;
    border: none;
    float: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 30px;
   width: 60%;
   height: 35px;
    
    
}
.signup .user-information .before-si-login{
    
    margin: 0 auto;
    width: 60%;
    text-align: center;
}
.signup .user-information .before-si-login a{
    color: rgb(44, 185, 157);
    font-weight: bold;
}


.signup .signup-information{
    width: 50%;
    height: 100%;
    float: right;
}
.signup .signup-information img{
    width: 100%;
    height: auto;
    margin-top: 50px;
}
/*single.php*/
.breadcrumbs{
    direction: rtl;
    padding: 20px 0;
}
.breadcrumbs a::after{
  content: '>';
  display: inline-block;
}
.single_product_right{
    float: right;
    width: 50%;
    height: 500px;
    

}
.single_product_left{
    float: right;
    width: 50%;
    height: 500px;
    margin-top: 80px;
    

}
.teedad{
  font-weight: bold;

  
}


/*.single_product_left{
    float: right;
    width: 33%;
    height: 500px;
    margin-top: 80px;
    
    
}*/
.single_product_pic img{
    width: 50%;
    height: auto;
    margin-right: 200px;
    margin-top: 100px;
    
    padding: 15px;
    box-shadow: 0px 6px 3px #bbb;


}
.single_product_body h1{
    font-weight: bold;
    font-size: 22px;
}
.single_product_price{
    color: #777;
    font-size: 18px;
    
}
.single_product_prubs p{
    font-weight: bold;

}
.btnsabad{
 background-color: rgb(44, 185, 157);
 width: 50%;
 height: 40px;
 margin-left:550px;
 margin-top: 40px;
}


/*sabadkharid*/
.sabad_product_right{
    float: right;
    width: 50%;
    height: 500px;

}
.sabad_product_left{
    float: right;
    width: 50%;
    height: 500px;
    margin-top: 80px;
}

/*صفحه تماس با ما*/
.btn_index_singup{
  margin-left: 20px;
}
.contact_us{
  width: 100%;
  height: 700px;
  margin: 20px auto 0px auto;
 
}
.contact_us .user-information{
  width: 100%;
  height: 100%;
  float: right;
  background-color: #fff;

}

.contact_us .user-information .title-user-information{
  text-align: center;
  margin-top: 100px;
}
.contact_us .user-information .title-user-information h2{
  font-size: 30px;
  margin-bottom: 0px;
  color: black;
}

.contact_us .user-information .title-user-information p{
  font-size:15px;
  color: black;
  margin-top: 0px;
}
.contact_us .user-information .user-request{
  text-align: center;
  position: relative;
  margin-top: 60px;
  

}
.contact_us .user-information .user-request .username{
  
  width: 100%;
  height: 50px;
  font-size: 16px;
  text-align: right;
  direction: rtl;
  padding-right: 10px;
  background-color: #f6f6f6;
  border-radius: 5px;
  border: none;
  padding-right:30px;
  
  
  
  
}

.contact_us .user-information .user-request .username-f{
  width: 60%;
  height: 50px;
  position: relative;
  margin: 0 auto 20px auto;
}


.contact_us .user-information .user-request .email-f{
  width: 60%;
  height: 50px;
  position: relative;
  margin: 0 auto 20px auto;
}

.contact_us .user-information .user-request  .email{
  
  width: 100%;
  height: 50px;
  font-size: 16px;
  text-align: right;
  direction: rtl;
  padding-right: 10px;
  background-color: #f6f6f6;
  border-radius: 5px;
  border: none;
  padding-right:30px;
  
}




.contact_us .user-information .user-request .phone-f{
  width: 60%;
  height: 50px;
  position: relative;
  margin: 0 auto 20px auto;
}

.contact_us .user-information .user-request  .phone{
  
  width: 100%;
  height: 50px;
  font-size: 16px;
  text-align: right;
  direction: rtl;
  padding-right: 10px;
  background-color: #f6f6f6;
  border-radius: 5px;
  border: none;
  padding-right:30px;
  
}





.contact_us .user-information .user-request .pass-f {
  width: 60%;
  height: 50px;
  position: relative;
  margin: 0 auto;
  
}





.contact_us .user-information .user-request  .pass{
  
  width: 100%;
  height: 50px;
  font-size: 16px;
  text-align: right;
  direction: rtl;
  padding-right: 10px;
  background-color: #f6f6f6;
  border-radius: 5px;
  border: none;
  padding-right:30px;
  
}




.btn-si{
  background-color: rgb(44, 185, 157);
  color:#fff ;
  border: none;
  float: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 30px;
 width: 60%;
 height: 35px;
  
  
}
.contact_us .user-information .before-si-login{
  
  margin: 0 auto;
  width: 60%;
  text-align: center;
}
.contact_us .user-information .before-si-login a{
  color: rgb(44, 185, 157);
  font-weight: bold;
}


.contact_us .signup-information{
  width: 50%;
  height: 100%;
  float: right;
}
.contact_us .signup-information img{
  width: 100%;
  height: auto;
  margin-top: 50px;
}


/*panel*/
.body_adpro{
  font-family: Arial, sans-serif;
  background-color: white;
  margin: 0;
  padding: 20px;
  direction: rtl;
}

.h1_adpro {
  color: rgb(44, 185, 157);
  text-align: center;
}
.h2_adpro {
  color: rgb(44, 185, 157);
  text-align: center;
}

.form_adpro {
  background: white;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

input[type="text"],
input[type="number"],
input[type="file"] {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.add_product {
  background-color: rgb(44, 185, 157);
  color: white;
  border: none;
  height: 40px;
  width: 100%;
  cursor: pointer;
  
}

button:hover {
  background-color: orange;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.table th,
.table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

.table th {
  background-color: #f2f2f2;
}
/*about.php*/
.body1 {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 20px;
  direction: rtl;
}

header {
  text-align: center;
  margin-bottom: 20px;
}

h1 {
  color: rgb(44, 185, 157);
}

main {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

section {
  margin-bottom: 20px;
}

h2 {
  color: rgb(44, 185, 157);
}

p {
  line-height: 1.6;
}

ul {
  list-style-type: disc;
  padding-left: 20px;
}

footer {
  text-align: center;
  margin-top: 20px;
  color: #777;
}
/*login_admin.php*/
.log_admin{
  
width: 100%; 
}
/*hesab.php*/




.h1_hesab{
  background-color: rgb(44, 185, 157);
  color: white;
}

main {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  direction: rtl;
  
}

.products {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.product {
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px;
  margin: 10px;
  width: calc(30% - 20px);
  background-color: #fff;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product img {
  max-width: 100%;
  border-radius: 5px;
}





form {
  display: flex;
  flex-direction: column;
  direction: rtl;
}

label {
  margin: 10px 0 5px;
  direction: rtl;
}

input[type="text"],
input[type="tel"],
select {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  direction: rtl;
}

input[type="submit"] {
  background-color: rgb(44, 185, 157);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.submit_py{
  background-color: rgb(44, 185, 157);
}

input[type="submit"]:hover {
  background-color: orange;
}

.footer_py {
  text-align: center;
  margin-top: 20px;
  width: 100%;
  height: 80px;
  color: #777;
}
.footer_py p{
  text-align: center;
  color: white;
  
}




.form_search_pro{
  height: auto;
}
.search_menu_profile{
  margin-top: 50px;
}
.h2_profile {
  margin-bottom: 20px;
  color: rgb(44, 185, 157);
  text-align: center;
  font-size: 30px;
  font-weight: bold;
}

.form_profile {
  background: white;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}



.btn_profile {
  padding: 10px;
  background-color: rgb(44, 185, 157);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
}

.btn_profile:hover {
  background-color: orange; /* رنگ پس‌زمینه دکمه در حالت هاور */
}

.error {
  color: red;
  margin: 10px 0;
}

/* ================================
   Responsive Overrides
   Add this at the END of style.css
================================ */

/* General fixes */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

img, video, iframe, svg {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

/* Fixed header spacing */
.main {
  padding-top: 80px;
}

/* Header and nav */
.header {
  width: 100%;
  left: 0;
  right: 0;
  z-index: 9999;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Hamburger button */
.hamburger {
  display: none;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  user-select: none;
}

/* Desktop nav */
.header_nav {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.header_nav li {
  position: relative;
}

.header_nav a {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

/* Dropdown */
.dropdown_menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 1000;
}

/* Post cards fix */
.post-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.post-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
}

.post-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.post-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
}

/* Generic grid/flex helpers */
.row,
.flex {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Table wrapper */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
}

/* Forms */
input, textarea, select, button {
  max-width: 100%;
}

/* ================================
   Tablet
================================ */
@media (max-width: 1024px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .header_nav {
    gap: 12px;
  }

  .post-cards-container {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

/* ================================
   Mobile
================================ */
@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .main {
    padding-top: 68px;
  }

  .hamburger {
    display: block;
  }

  .header .container {
    flex-wrap: wrap;
  }

  .header_nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 0 0;
  }

  .header_nav.active {
    display: flex;
  }

  .header_nav li {
    width: 100%;
  }

  .header_nav a {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f7f7f7;
  }

  .dropdown_menu {
    position: static;
    width: 100%;
    min-width: 100%;
    box-shadow: none;
    border-radius: 0;
    margin-top: 6px;
  }

  .row,
  .flex {
    flex-direction: column;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .post-cards-container {
    grid-template-columns: 1fr;
  }
}

/* ================================
   Small Mobile
================================ */
@media (max-width: 576px) {
  body {
    font-size: 14px;
    line-height: 1.7;
  }

  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .main {
    padding-top: 62px;
  }

  h1 { font-size: 22px; }
  h2 { font-size: 20px; }
  h3 { font-size: 18px; }

  .header_nav a {
    font-size: 14px;
  }

  button, .btn, input, textarea, select {
    min-height: 44px;
  }
}

/* Very small screens */
@media (max-width: 360px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .header_nav a {
    font-size: 13px;
    padding: 10px 12px;
  }
}

/* Responsive for Why Us Section */
@media (max-width: 768px) {
    .why_us_item {
        width: 100% !important; /* هر آیتم کل عرض صفحه را بگیرد */
        float: none !important;  /* حذف خاصیت شناوری */
        margin-bottom: 20px;     /* فاصله بین کارت‌ها در موبایل */
    }

    .why_us_card {
        height: auto !important; /* ارتفاع خودکار برای جلوگیری از دفرمه شدن متن‌ها */
        padding: 20px;           /* کمی فاصله داخلی برای زیبایی */
    }
}
/* Single page responsive fixes */
@media (max-width: 768px) {
  .single_product_right,
  .single_product_left {
    width: 100% !important;
    float: none !important;
    height: auto !important;
    margin-top: 20px !important;
  }

  .single_product_left {
    margin-top: 10px !important;
  }

  .single_product_pic img {
    width: 90% !important;
    height: auto !important;
    margin: 20px auto 0 !important;
    display: block !important;
    padding: 10px !important;
    box-sizing: border-box;
  }

  .btnsabad {
    width: 100% !important;
    height: auto !important;
    margin: 20px 0 0 !important;
    display: block !important;
  }
}

@media (max-width: 480px) {
  .single_product_pic img {
    width: 100% !important;
  }

  .btnsabad {
    font-size: 14px;
    padding: 10px 12px;
  }
}
