*{
  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%;
    }
 }


 
 



 

    /*---- C A R T ----*/
      
    .quick_order_box {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  margin-top: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  max-width: 500px;
  font-family: 'Cairo', sans-serif;
}

.quick_order_box h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #333;
  text-align: center;
}

.quick_order_box input {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.quick_order_box input:focus {
  border-color: #ff8716;
  outline: none;
}

#quickOrderBtn {
  background-color: #ff8716;
  color: #fff;
  border: none;
  padding: 12px;
  width: 100%;
  font-size: 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#quickOrderBtn:hover {
  background-color: #e76f10;
}
   


 
    
   .btn_add_cart {
  background: linear-gradient(135deg, #bd2929 , #d12e54 );
  color: #fff;
  font-family: "Cairo", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 14px 28px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

.btn_add_cart::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.btn_add_cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.btn_add_cart:hover::after {
  left: 100%;
} 

/* 🖱️ تأثير الضغط */
 .btn_add_cart:active {
  background: linear-gradient(135deg, #ff9a9e, #fad0c4);

  color: #ffeaea;
  transform: scale(0.98);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.2);
}

@media (max-width: 480px) {
  .btn_add_cart {
    font-size: 0.95rem;
    padding: 12px 20px;
  }
} 

    

  /*----START-SLIDE----*/

      .slide{
      margin-bottom: 100px;
     }

    .top_slide{
      position: relative;
      margin-bottom: 20px;
      padding: 20px 0;
      border-bottom: 1px solid var(--border-color);
    }

    .top_slide::after{
      position: absolute;
      content: '';
      bottom: -1px;
      left: 0;
      width: 100px;
      height: 2px;
      background: var(--main-color);
    }

    .top_slide h2{
      text-transform: capitalize;
    }

    .top_slide h2 span{
      font-weight: normal;
    }  

   /*----END-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:20%;
    }

    .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(--dark-color);
    }
    
    .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: 20%;
      transform: translateY(-50);
      transition: 0.3 ease-in-out;
     }
     .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;
     }  

      
     .size_option {
  display: inline-block;
  padding: 8px 12px;
  margin: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.2s;
}

.size_option.selected {
  background-color: #f0f0f0;
  border: 2px solid #000;
  color: #000;
}

.quantity_selector {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.quantity_selector button {
  padding: 5px 10px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#quantityInput {
  width: 50px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  border: 1px solid #ccc;
  border-radius: 4px;
}
 



     /* --S-L-I-D-E-R-S-- */
      .slider .container .mySwiper{
      position: relative;
      overflow: hidden;
      padding: 10px;
     }
     .slider .container .mySwiper .btn_Swip{
      position: absolute;
      top: 35px;
      right: 0;
      background: var(--main-color);
      color: #ffffff;
      font-weight: bold;
      padding: 0 18px;
      border-radius:5px ;
     }
     .slider .container .mySwiper .btn_Swip::after{
      font-size: 25px;
     }
     .slider .container .mySwiper .btn_Swip.swiper-button-prev{
      left: calc(100% - 90px);
     } 
      

      

 



      /*---R-E-S-O-P-N-S-I-V-E-----I-T-E-M-----P-Q-G-E---*/


         @media(max-width:1000px){
    

    


.product .img_product {
    position: relative;
    height: 180px;
    padding: 40px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
} 
   
           .spicprodct {
              width: 100px;
              height: 25px;
              
              
            }

      
  

 }

     

  /*----------add to cart----ضفحة المنتج----*/



/* ✅ الحاوية العامة */
 .product-section {
  padding: 30px 15px;
  background-color: #f9f9f9;
} 

/* ✅ بطاقة المنتج */
 .product-card {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.08);
  padding: 20px;
}

/* ✅ قسم الصور */
.img_item {
  flex: 1 1 300px;
  text-align: center;
}

.big_img {
  width: 100%;
  max-width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #ccc;
  position: relative;
}

.big_img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
  transform-origin: center center;
}

/* .big_img::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/img/default.jpg");
  opacity: 0.05;
  pointer-events: none;
} */

.sm_imgs {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 5px;
}

.sm_imgs img {
  width: 60px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid #ccc;
  transition: border 0.3s;
}

.sm_imgs img:hover {
  border-color: #333;
} 

/* ✅ قسم التفاصيل */
 .details_item {
  flex: 1 1 300px;
  padding: 10px;
}

.details_item .name {
  font-size: 24px;
  margin-bottom: 10px;
  color: #333;
}

.price {
  font-size: 20px;
  margin-bottom: 10px;
}

.current_price {
  color: #cea021;
  font-weight: bold;
}

.old_price {
  text-decoration: line-through;
  color: #999;
  margin-left: 10px;
}

.stock_note {
  font-weight: bold;
  font-size: 16px;
}

.stock_note.in_stock {
  color: #4caf50; /* أخضر */
}

.stock_note.low_stock {
  color: #ff9800; /* برتقالي */
}

.stock_note.out_of_stock {
  color: red;
}

.text_p {
  margin: 15px 0;
  color: #555;
  line-height: 1.6;
}

/* ✅ نموذج الطلب السريع */
.quick_order_box {
  margin-top: 20px;
  background: #f1f1f1;
  padding: 15px;
  border-radius: 8px;
}

.quick_order_box h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.quick_order_box input {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.quick_order_box button {
  background-color: #4caf50;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
} 

/* ✅ عنصر الشحن */
.shipping-secret {
  background-color: #f9f9f9;
  padding: 10px;
  margin: 10px 0;
  border: 1px dashed #aaa;
  font-size: 15px;
  color: #333;
  direction: rtl;
} 



/* ✅ خيارات المنتج */
.option_group {
  margin: 15px 0;
}

.option_group label {
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
}

.options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.option {
  padding: 8px 12px;
  border: 1px solid #ccc;
  cursor: pointer;
  border-radius: 5px;
  background-color: #fff;
  box-shadow: 0 0 2px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.option:hover {
  border-color: #333;
}

.option.selected {
  border-color: #e88b43;
  background-color: #fbe3d0;
}

.color_option {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  padding: 0;
}

  /* ✅ تحديد الكمية */
.quantity_selector {
  display: flex;
  align-items: center;
  gap: 5px;
  
}
.quantity_selector button {
  width: 30px;
  height: 30px;
  font-size: 18px;
  cursor: pointer;
}

.quantity_selector input {
  width: 50px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  height: 30px;
}

/* ✅ زر الطلب */
#quickOrderBtn {
  background: #e88b43;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

#quickOrderBtn:hover {
  background-color: #d97a2f;
}

/* ✅ استجابة الشاشات المتوسطة */
@media (min-width: 1025px) and (max-width: 1366px) {
  .product-card {
    flex-direction: row;
    gap: 40px;
    padding: 25px;
    align-items: flex-start;
  }

  .img_item {
    flex: 1;
    max-width: 45%;
  }

  .details_item {
    flex: 1;
    max-width: 55%;
  }

  .big_img img {
    width: 100%;
    height: auto;
    border-radius: 12px;
  }

  .sm_imgs img {
    width: 70px;
    height: 70px;
  }

  .quick_order_box {
    padding: 20px;
    border-radius: 12px;
  }

  .quick_order_box input,
  .quick_order_box button {
    font-size: 17px;
    padding: 12px;
  }

  .btn_add_cart {
    font-size: 18px;
    padding: 14px;
    width: 100%;
  }
}

/* ✅ استجابة الهاتف */
@media (max-width: 1024px) {
  .product-card {
    /* flex-direction: column; */
    padding: 15px;
    gap: 20px;
  }

  .img_item,
  .details_item {
    width: 100%;
    text-align: center;
    
  }
 
  .big_img img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .sm_imgs img {
    width: 50px;
    height: 60px;
    margin: 5px;
  }

  .price {
    font-size: 18px;
  }

  .quick_order_box {
    margin-top: 20px;
    padding: 10px;
    width: 1000px;
    justify-items: center;
    margin-left: 70px;
  }

  .quick_order_box input,
  .quick_order_box button {
    width: 100%;
    font-size: 15px;
  }

  .btn_add_cart {
    width: 100%;
    margin-top: 10px;
    font-size: 16px;
  }

  .color_option {
    width: 30px;
    height: 30px;
    margin: 5px;
  } 

    /* ✅ تحديد الكمية */
.quantity_selector {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: center
}



} 


@media (max-width: 800px) {
  .img_item {
  flex: 1 1 300px;
  text-align: center;
  }
.big_img {
  width: 100%;
  max-width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #ccc;
  position: relative;
}

.big_img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
  transform-origin: center center;
} 
 .quick_order_box {
  
    margin-left: 0px;
  }

}
@media (max-width: 450px) {
  .product {
    width: 100%;
    padding: 15px 10px;
    border-radius: 6px;
  }

  .product .img_product img,
  .product .img_product .img_hover {
    width: 100%;
    height: auto;
    border-radius: 6px;
  }

  .product .name_product {
    font-size: 14px;
    margin-top: 8px;
  }

  .stars {
    font-size: 12px;
    margin: 10px 0;
  }

  .price {
    gap: 6px;
    font-size: 14px;
  }

  .price .old_price {
    font-size: 12px;
  }

  .product .icons {
    right: -60px;
    top: 25%;
  }

  .product:hover .icons {
    right: 10px;
  }

  .product .icons i {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 16px;
  }

  .product .sale_present {
    font-size: 12px;
    padding: 3px 8px;
    top: 10px;
    right: 10px;
  }

  .size_option {
    padding: 6px 10px;
    font-size: 13px;
  }

  .quantity_selector {
    gap: 6px;
  }

  .quantity_selector button {
    padding: 4px 8px;
    font-size: 16px;
  }

  #quantityInput {
    width: 40px;
    font-size: 14px;
  }

  .slider .container .mySwiper {
    padding: 5px;
  }

  .slider .container .mySwiper .btn_Swip {
    font-size: 14px;
    padding: 0 12px;
  }

  .slider .container .mySwiper .btn_Swip::after {
    font-size: 20px;
  }
}


@media (max-width: 330px) {
  .product {
    width: 100%;
    padding: 11px 7px;
    border-radius: 4px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
  }

  .product .img_product img,
  .product .img_product .img_hover {
    width: 100%;
    height: auto;
    border-radius: 4px;
  }

  .product .name_product {
    font-size: 12px;
    margin-top: 5px;
    line-height: 1.3;
    font-weight: bold;
  }

  .stars {
    font-size: 9px;
    margin: 6px 0;
    color: #ffc107;
  }

  .price {
    gap: 5px;
    font-size: 12px;
    flex-direction: column;
    margin-top: 4px;
  }

  .price .old_price {
    font-size: 10px;
    color: #999;
    text-decoration: line-through;
  }

  .product .icons {
    right: -45px;
    top: 20%;
    transition: 0.3s ease-in-out;
  }

  .product:hover .icons {
    right: 6px;
  }

  .product .icons i {
    width: 32px;
    height: 32px;
    line-height: 32px;
    font-size: 13px;
  }

  .product .sale_present {
    font-size: 10px;
    padding: 2px 5px;
    top: 6px;
    right: 6px;
    border-radius: 3px;
    background-color: #f44336;
    color: #fff;
  }

  .size_option {
    padding: 5px 7px;
    font-size: 11px;
  }

  .quantity_selector {
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 6px;
  }

  .quantity_selector button {
    padding: 3px 5px;
    font-size: 12px;
  }

  #quantityInput {
    width: 32px;
    font-size: 11px;
  }

  .slider .container .mySwiper {
    padding: 4px;
  }

  .slider .container .mySwiper .btn_Swip {
    font-size: 12px;
    padding: 0 8px;
  }

  .slider .container .mySwiper .btn_Swip::after {
    font-size: 15px;
  }
}



@media (max-width: 280px) {
  .product {
    width: 100%;
    padding: 9px 6px;
    border-radius: 4px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
  }

  .product .img_product img,
  .product .img_product .img_hover {
    width: 100%;
    height: auto;
    border-radius: 4px;
  }

  .product .name_product {
    font-size: 10.5px;
    margin-top: 4px;
    line-height: 1.3;
    font-weight: bold;
  }

  .stars {
    font-size: 8.5px;
    margin: 6px 0;
    color: #ffc107;
  }

  .price {
    gap: 4px;
    font-size: 11.5px;
    flex-direction: column;
    margin-top: 4px;
  }

  .price .old_price {
    font-size: 10px;
    color: #999;
    text-decoration: line-through;
  }

  .product .icons {
    right: -40px;
    top: 20%;
    transition: 0.3s ease-in-out;
  }

  .product:hover .icons {
    right: 6px;
  }

  .product .icons i {
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 12px;
  }

  .product .sale_present {
    font-size: 9.5px;
    padding: 2px 5px;
    top: 6px;
    right: 6px;
    border-radius: 3px;
    background-color: #f44336;
    color: #fff;
  }

  .size_option {
    padding: 4px 6px;
    font-size: 10.5px;
  }

  .quantity_selector {
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 6px;
  }

  .quantity_selector button {
    padding: 2px 5px;
    font-size: 12px;
  }

  #quantityInput {
    width: 30px;
    font-size: 11px;
  }

  .slider .container .mySwiper {
    padding: 3px;
  }

  .slider .container .mySwiper .btn_Swip {
    font-size: 11px;
    padding: 0 8px;
  }

  .slider .container .mySwiper .btn_Swip::after {
    font-size: 15px;
  }
}





