*{
  padding: 0; /* إزالة المسافة الداخلية */
  margin: 0;  /* إزالة المسافة الخارجية */
  box-sizing: border-box; /* يجعل الحواف أسهل في التحكم */
  list-style: none; /* إزالة النقاط من القوائم */
  text-decoration: none; /* إزالة التسطير من الروابط */
  font-family: "inter", sans-serif; /* تحديد الخط الأساسي */
  color: var(--color_heqding);
}

:root{
    --main-color:  #ff8716 ;
    --dark-color: #222222 ;
    --parg-color: #666666 ;
    --dark-red: #d01418 ;
    --border-color: #6666662a ;
    --name-item: #0066c0 ;
}

 h1,h2,h3,h4,h5,h6{
    color: var(--dark-color);
 }
 p{
    color: var(--parg-color);
 }
 .container{
    width: 75%;
    margin:  auto;
 }
 @media(max-width:1500px){
    .container{
        width: 90%;
    }
 }

    /* H E A D E R */
 



   /* E N D -- H E A D E R */

    /*---- C A R T ----*/

   

 /*----E N D---C A R T ----*/

 /*-----S L I D E R------*/


  /*---E N D --S L I D E R---*/

  /*---START------FEATURES---*/

/*-----------------كود css-------------------------*/



/* ===== Start Responsive Design ===== */
/* @media (max-width: 1100px) {
  body{
    padding-top: 270px;
  }


  header .top_header .container {
    flex-wrap: wrap;
  }

  header .top_header .search_box {
    order: 3; 
    width: 80%;
    margin: 20px auto 0;
  }

  
  header .top_header .logo {
    width: 140px;
  }

  header .top_header .search_box select {
    width: 200px;
  }

  /* جعل حقل الإدخال يأخذ ما تبقى 
  header .top_header .search_box .input {
    width: calc(100% - 200px);
  }

  /* تصميم قائمة الروابط الرئيسية لتظهر كقائمة جانبية عند تصغير الشاشة 
  header .botton_header .nav_links {
    position: fixed;
    top: 0;
    left: -400px;
    bottom: -10000px;
    background: #fff;
    width: 400px; /* عرض القائمة الجانبية *
    flex-direction: column; /* ترتيب العناصر عموديًا *
    align-items: center; /* توسيط العناصر أفقيًا *
    padding-top: 100px; /* مسافة علوية للروابط *
    border: 1px solid #b5b5b596; /* إطار خفيف حول القائمة *
transition: 0.3s ease-in-out;
    
  }

  header .botton_header .nav_links.active{
    left: 0;
  }

  /* تنسيق كل عنصر في القائمة الجانبية *
  header .botton_header .nav_links li {
    font-size: 18px;
    height: auto;
  }

  /* زر إغلاق القائمة (يظهر داخل القائمة نفسها) *
  .close_menu {
    display: block;
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 30px;
   
  }

  /* زر فتح القائمة (يظهر خارج القائمة في مكان مناسب) *
  .open_menu {
    display: block;
    font-size: 25px;
    
  }

  /* تنسيق أيقونة زر فتح القائمة *
  .open_menu i {
    color: var(--main_color);
    border: 1px solid var(--main_color);
    height: 40px;
    width: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 3px;
  }
  header .botton_header .category_nav{
    width: auto;
  }
   header .botton_header .category_nav .category_btn p{
    font-size: 13px;
    margin: 0 10px;
   }
    header .botton_header nav{
      gap: 20px;
    }

    .banners_4 .container{
      flex-wrap: wrap;
    }
        .banners_4 .container .box{
          width: 49%;
          margin-bottom: 20px;
          justify-content: space-around;
        } 


        /* لجعل صندوق البحث يستجيب للشاشات الصغيرة *

}  
/* ===== End Responsive Design ===== */
/* لجعل صندوق البحث يستجيب للشاشات الصغيرة *



@media (max-width:1000px) {
  .slider .banner_2{
    display: none;
  }
  .slider .container .slide-swp{
    width: 100%;
  }

   footer .container{
    flex-wrap: wrap;
   }
    
  footer .container .big_row{
    width: 30;
    margin-bottom: 20px;
  }
  footer .container .row{
    width: 30;
    margin-bottom: 20px;
  }
  
}

@media (max-width: 800px) {

  .top_slide h2{
    font-size: 16px;
    padding: 10px 25px;
  }
  .product .name_product{
    font-size: 14px;
  }
  .price p{
    font-size: 16px;
  }
  .price .old_price{
    font-size: 12px;
  }
  .product .icons .btn_add_cart{
    font-size: 14px;
    padding: 3px 5px;
  }
   .banners .banners_boxs{
    flex-wrap: wrap;
   }
   .banners .banners_boxs .box{
    width: 100%;
    margin-bottom: 20px;
   }
   .banners .banners_boxs.banner_3_img .box{
    width: 49%;
   }


  footer .container .big_row {
    width: 50%;
    margin-bottom: 30px;
  }

  footer .container .row {
    width: 50%;
    margin-bottom: 30px;
  }

  footer .bottom_footer .container {
    flex-direction: column;
    gap: 10px;
  }
}




@media (max-width:700px) {
  header .botton_header .category_nav{
    display: none;
  }
   header .botton_header .search_box{
    width: 100%;
   }
    header .botton_header .search_box select{
      width: 140px;
    }
  header .botton_header .search_box input{
    width: calc(100% -140px);
  }
 header .botton_header .nav_links{
    
  width: 100%;
   left: -100%;

} 
}
/*---------------

/* ===== Start Responsive Design ===== *
@media (max-width: 1100px) {
  body {
    padding-top: 270px;
  }
  header .top_header .container {
    flex-wrap: wrap;
  }
  header .top_header .search_box {
    order: 3;
    width: 80%;
    margin: 20px auto 0;
  }
  header .top_header .logo {
    width: 140px;
  }
  header .top_header .search_box select {
    width: 200px;
  }
  header .top_header .search_box .input {
    width: calc(100% - 200px);
  }
  header .botton_header .nav_links {
    position: fixed;
    top: 0;
    left: -400px;
    bottom: -10000px;
    background: #fff;
    width: 400px;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
    border: 1px solid #b5b5b596;
    transition: 0.3s ease-in-out;
  }
  header .botton_header .nav_links.active {
    left: 0;
  }
  header .botton_header .nav_links li {
    font-size: 18px;
    height: auto;
  }
  .close_menu {
    display: block;
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 30px;
  }
  .open_menu {
    display: block;
    font-size: 25px;
  }
  .open_menu i {
    color: var(--main_color);
    border: 1px solid var(--main_color);
    height: 40px;
    width: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 3px;
  }
  header .botton_header .category_nav {
    width: auto;
  }
  header .botton_header .category_nav .category_btn p {
    font-size: 13px;
    margin: 0 10px;
  }
  header .botton_header nav {
    gap: 20px;
  }
  .banners_4 .container {
    flex-wrap: wrap;
  }
  .banners_4 .container .box {
    width: 49%;
    margin-bottom: 20px;
    justify-content: space-around;
  }
}

@media (max-width: 1000px) {
  .slider .banner_2 {
    display: none;
  }
  .slider .container .slide-swp {
    width: 100%;
  }
  footer .container {
    flex-wrap: wrap;
  }
  footer .container .big_row {
    width: 30;
    margin-bottom: 20px;
  }
  footer .container .row {
    width: 30;
    margin-bottom: 20px;
  }
}

@media (max-width: 800px) {
  .top_slide h2 {
    font-size: 16px;
    padding: 10px 25px;
  }
  .product .name_product {
    font-size: 14px;
  }
  .price p {
    font-size: 16px;
  }
  .price .old_price {
    font-size: 12px;
  }
  .product .icons .btn_add_cart {
    font-size: 14px;
    padding: 3px 5px;
  }
  .banners .banners_boxs {
    flex-wrap: wrap;
  }
  .banners .banners_boxs .box {
    width: 100%;
    margin-bottom: 20px;
  }
  .banners .banners_boxs.banner_3_img .box {
    width: 49%;
  }
  footer .container .big_row {
    width: 50%;
    margin-bottom: 30px;
  }
  footer .container .row {
    width: 50%;
    margin-bottom: 30px;
  }
  footer .bottom_footer .container {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 700px) {
  header .botton_header .category_nav {
    display: none;
  }
  header .botton_header .search_box {
    width: 100%;
  }
  header .botton_header .search_box select {
    width: 140px;
  }
  header .botton_header .search_box input {
    width: calc(100% - 140px);
  }
  header .botton_header .nav_links {
    width: 100%;
    left: -100%;
  }

  /* ترتيب الهيدر للجوال *
  header .top_header .container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 10px 0;
  }
  .open_menu {
    position: absolute;
    left: 10px;
    top: 10px;
    font-size: 22px;
    z-index: 1000;
  }
  header .logo {
    margin: 0 auto;
    width: 120px;
  }
  .header_icons {
    position: absolute;
    right: 10px;
    top: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .search_box {
    order: 3;
    width: 100%;
    margin-top: 50px;
    display: flex;
  }
  .search_box select {
    width: 35%;
  }
  .search_box input {
    width: calc(65% - 40px);
  }
  .search_box button {
    width: 40px;
  }
  header .botton_header .nav_links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background: #fff;
    flex-direction: column;
    padding-top: 60px;
    transition: 0.3s;
    z-index: 2000;
  }
  header .botton_header .nav_links.active {
    left: 0;
  }
  .close_menu {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 25px;
  }
}
/*------------------*/





 





/*-----------------كود css-------------------------*/


   /*-----END--FEATURES-----*/

   /*---START--BANNER---*/
   
    /*----END-BANNER----*/

    /*----START-SLIDE----*/


    /*---PRODUCT-CART-STYLE---*/
      
      .product{
      position: relative;
      background: #fff;
      padding: 20px 30px;
      text-align: center;
      overflow: hidden;
      box-shadow: 5px 5px 10px #94949428;
      border: 1px solid var(--border-color) ;
      border-radius: 5px;
      width: 45%;
    }


    .product .sale_present{
      position: absolute;
      top: 20px;
      right: 20px;
      z-index: 2;
      background: var(--dark-red);
      color: #fff;
      padding: 4px 12px;
      font-size: 14px;
    }


    
    .product .img_product{
      position: relative;
    }
    .product .img_product img{
      width: 100%;
      transition: 0.3s ease-in-out;
    }

    .product:hover .img_product img{
     opacity: 0;
    }

    .product .img_product .img_hover{
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      opacity: 0;
      scale: 0.1;
    }
    .product:hover .img_product .img_hover{
      opacity: 1;
      scale: 1;
    }

    .product .name_product {
      font-size: 16px;
    }

    .product .name_product a{
      color: var(--name-item);
    }
    
    .product .name_product a:hover{
      text-decoration: underline;
    }

     .stars{
      margin: 15px 0;
     }
     .stars i{
      color: var(--main-color);
     }
     .price{
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 10px;
     }

     .price p{
      color: var(--main-color);
      font-weight: bold;

     }
     .price .old_price{
      color: var(--parg-color);
      text-decoration: line-through;
      font-size: 13px;
      font-weight: normal;
     }

     .product.icons{
      display: flex;
      flex-direction: column;
      gap: 10px;
      position: absolute;
      right: -80px;
      z-index: 3;
      top: 50%;
      transform: translateY(-50);
     }
     .product.icons i{
      color: var(--dark-color);
      background: #fff;
      width: 50px;
      height: 50px;
      line-height: 50px;
      border: 1px solid var(--border-color);
      border-radius: 50%;
      text-align: center;
      cursor: pointer;
      transition: 0.3s ease;
     }


     .product.icons i.active{
      background: var(--main-color);
      cursor: auto;
      pointer-events: none;
      position: relative;
      overflow: hidden;
     }

     .product.icons i.active::after{
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #0000004f;
      z-index: 5;
     }



     .product.icons i:hover{
      background: var(--main-color);
     }
     .product:hover .icons{
      right: 20px;
     }


     /*تم اضافته من قبل محمد نوار */
    /*.swiper-wrapper{
     display: flex;
      justify-content: space-between;
      border: 1px solid var(--main-color);
    }*/


    /*-----I-T-E-M--D-E-T-A-I-L--P-A-G-E-----*/

    .item_detail{
      background: #ffffff;
      padding: 50px 0 ;
    }
    .item_detail .container{
      display: flex;
      justify-content:space-between;
      align-items: center;
    }
    .item_detail .img_item{
      width: 35%;
    }
    .item_detail .img_item .big_img img{
      width: 100%;
    }
    .item_detail .img_item .sm_imgs{
      display: flex;
      justify-content: space-between;
      cursor: pointer;
    }
     .item_detail .img_item .sm_imgs img{
      width: 25%;
     }
     .item_detail .details_item{
      width: 58%;
      
     }
     .item_detail .details_item h1{
      margin-bottom: 30px;
     }
     .item_detail .details_item h5{
      font-weight:500 ;
      margin-bottom:20px ;
      font-size: 16px;
     }
     .item_detail .details_item h5 span{
      color: var(--main-color);
     }

     .item_detail .details_item .price{
      justify-content: left ;
      margin: 20px 0 ;
      gap:20px ;
     }
      .item_detail .details_item .price p{
        font-size: 22px;
      }
      .item_detail .details_item .text_p{
        line-height: 1.5;
      }
      .item_detail .details_item h4{
        font-size: 20px;
        margin-top: 20px;
      }
      .item_detail .details_item button{
        border: none;
        outline: none;
        background:var(--main-color);
        color: var(--dark-color);
        font-weight: bold;
        padding: 14px 35px;
        border-radius: 5px;
        margin: 30px 0;
        font-size: 18;
        cursor: pointer;
        text-transform: uppercase;
        transition: 0.3s;
      }
      .item_detail .details_item button:hover{
        scale: 1.1;
      }
      .item_detail .details_item .icons{
        display: flex;
        gap: 20px;
      }
      .item_detail .details_item .icons i{
        width: 50px;
        height: 50px;
        background: #efeeee;
        text-align: center;
        line-height: 50px;
        border-radius: 50%;
        border: 1px solid var(--border-color);
        cursor: pointer;
        transition: 0.3s ease-in-out;
      }
      .item_detail .details_item .icons i:hover{
        background: var(--main-color);
      }

      /*---R-E-S-O-P-N-S-I-V-E-----I-T-E-M-----P-Q-G-E---*/


      @media(max-width:1000px){
        .item_detail .container{
          flex-direction: column;
        }
         .item_detail.img_item{
          width: 50%;
          margin-bottom: 40px;
         }
          .item_detail .details_item{
            width: 100%;
          }
      }
      @media(max-width:700px){
         .item_detail .img_item{
          width: 80%;
         }
      }
      @media(max-width:500px) {
      
         .item_detail .details_item h1{
          font-size: 20px;
         }
          .item_detail .details_item .text_p{
            font-size: 14px;
          }
           .item_detail .details_item h4{
            font-size: 18px;
           }
            .item_detail .details_item button{
              font-size: 16px;
            }
      }

      /*---A-L-L--P-R-O-D-U-C-T-S--P-A-G-E---*/

      .top_page{
        text-align: center;
        padding: 50px 0;
      }
      .top_page h1 {
        font-size: 40px;
        color: var(--main-color);
        margin-bottom: 25px;
      }
      .top_page p{
        font-size: 18px;
        width: 60%;
        margin: auto;
        color: var(--parg-color);
      }
      .all_products .container{
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
      }

      .all_products .filter{
        background: #ffffff;
        width: 280px;
        text-transform: capitalize;
        padding: 20px 25px;
        border: 1px solid var(--border-color);
        border-radius: 5px;
        position: sticky;
        top: 20px; /* المسافة من الأعلى */
        z-index: 10;
      }
      .all_products .filter input:checked{
        accent-color: var(--main-color);
      }
      .all_products .filter h4{
        margin-bottom: 10px;
        margin-top: 25px;
        padding-bottom: 10px;
        border-bottom: 1px solid var(--border-color);
      }

      .all_products .filter span{
        font-size: 14px;
        cursor: pointer;
      }

      .all_products .filter .filter_item .item{
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 10px;
      }
      .all_products .filter .filter_item .item .color{
        width: 20px;
        height: 20px;
        border-radius: 5px;
      }

      .all_products .products_dev{
        width: calc(100% - 300px);
        display: flex;
        flex-wrap: wrap;
        gap: 2.5%;
      }
      .all_products .products_dev .product{
        width: 22%;
        margin-bottom: 30px;
      }
      .btn_filter{
        color: #2a2929;
      }
      .pagination{
        padding: 10px 20px;
        background: #fff;
        border: 1px solid var(--border-color);
        display: flex;
        justify-content: center;
        align-items: center;
        width: max-content;
        margin: auto;
        margin-bottom: 40px;
      }
      .pagination .btn_page{
        font-size: 22px;
        padding: 0 15px;
        cursor: pointer;
        transition: 0.3s ease-in-out;
      }
      .pagination .btn_page:hover{
        color: var(--main-color);
      }
      .pagination .num_page{
        border: 1px solid transparent;
        width: 100%;
        padding: 10px 15px;
        font-size: 18px;
      }
      .pagination .num_page.active,
      .pagination .num_page:hover{
        border: 1px solid var(--main-color);
        cursor: pointer;
      }
      .all_products .btn_filter{
        display: none;
      }  

      .btn_close_filter {
  display: none; /* افتراضيًا مخفي */
}

      @media (max-width:1500px) {
        .all_products .products_dev .product{
          width: 31%;
        }
      }
      @media (max-width:1000px) {
        .all_products .container{
          position: relative;
          padding-top: 60px;
        }
       .all_products .filter{
        position: absolute;
        left: 0;
        top: 60px;
        width: 40%;
        opacity: 0;
        z-index: -100;
        transition: 0.3s opacity ease-in-out;
       } 
       .all_products .filter.active{
        z-index: 100;
        opacity: 1;
       }
       .all_products .products_dev{
        width: 100%;
        gap: 0;
        justify-content: space-between;
       }
       .btn_close_filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #f44336; /* أحمر جذاب */
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 10px;
}

.btn_close_filter:hover {
  background-color: #d32f2f;
}

      }
      .all_products .btn_filter{
        display: block;
        position: absolute;
        top: 0px;
        padding:12px 30px ;
        background: var(--main-color);
        border-radius: 5px;
        font-size: 18px;
        text-transform: capitalize;
      }
      @media (max-width:650px) {
                .all_products .products_dev .product{
          width: 48%;
        }
        .top_page h1{
          font-size: 22px;
        }
        .top_page p{
          font-size: 14px;
          width: 100%;
        }
        .top_page{
          padding-top: 10px;
        } 
        .btn_close_filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #f44336; /* أحمر جذاب */
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 10px;
}

.btn_close_filter:hover {
  background-color: #d32f2f;
}

      }
      
      @media (max-width:450px){
        .all_products .filter{
          width: 100%;
        }
        .btn_close_filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #f44336; /* أحمر جذاب */
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 10px;
}

.btn_close_filter:hover {
  background-color: #d32f2f;
}  

.product .img_product img{
  width: 100%;
  height: 100%;
}

      } 






      