/* القاعدة العامة */

.catogreismenu{
  display:none;
}

.site-header{
    direction: rtl;
}


.image-box img.main-img {
  width: 100%;
  border-radius: 12px;
}

.sub-images {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.sub-images img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid #ddd;
  transition: border 0.2s;
}

.sub-images img:hover {
  border-color: #007bff;
}

.info-box {
  flex: 1;
  position: sticky;
  top: 20px;
}

.info-box h1 {
  margin-bottom: 10px;
}

.left-col {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}





/* منتجات مشابهة */
.related-products {
  margin-top: 40px;
}

.related-products h2 {
  margin-bottom: 15px;
}


/* Responsive للهواتف */
@media (max-width: 768px) {
  .product-main {
    flex-direction: column;
    justify-content: center;
    padding:15px;
  }

  .left-col {
    justify-content: space-between;
  }

  .sub-images img {
    width: 50px;
    height: 50px;
  }
  .titledescriptiondesc{
    display: flex !important;
    justify-content: space-between !important;
    background-color: #89CFF0;
    align-items: center;
  }
}
/* .loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(255, 255, 255);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 5px solid #ddd;
  border-top-color: #3498db;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
} */
 @media (max-width: 768px) {
.upper-product-selecton{
  flex-direction:column;
 }
 .skeleton.btn {
  width:100% !important;
 }
 .skeleton.title{
  width:100% !important;
 }
}
.product-skeleton {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width:1700px;
  width:100%;
  margin:0 auto;
  direction:rtl;
}
.upper-product-selecton{
  display: flex;
  justify-content: center;
  direction:rtl;
  gap: 15px;

}
.skeleton {
  background: #e0e0e0;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

/* Shimmer Effect */
.skeleton::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  height: 100%;
  width: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.6),
    transparent
  );
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  100% {
    left: 100%;
  }
}

/* أشكال السكليتون */
.skeleton.image {
  width: 100%;
  height: 280px;
}

.skeleton.title {
  width: 60%;
  height: 280px;
}

.skeleton.btn {
  width: 50%;
  height: 280px;
}
.skeleton.Similar-products {
  width: 100%;
  height: 280px;
}
.skeleton.breadcrumbs{
  width: 40%;
  height: 50px;
}

.toggle-desc-btn {
 display: none;

}

/* يظهر في الموبايل فقط */
@media (max-width: 768px) {
  .iconplusshow{
    display:block !important;
  }
  .textcolordesc{
    color:white;
    width:100px !important;
  }
  .fa-plus,
  .fa-xmark{
    color:white;
  }
  .startformbuy{
    display: flex;
    align-items:normal !important;
    flex-direction: column-reverse !important;
  }

   .titledescriptiondesc h3::before,
.titledescriptiondesc h3::after {
  display: none;
}
  .toggle-desc-btn {
    display: block;
  }

  .desc-content {
    display: none;
  }

  .desc-content.active {
    display: block;
  }

.specifications {
 padding:10px;
  flex-direction: column;
}
.titledescription h3{
 border:none !important;


}
/* الخطين */

}
.quantity-wrapper {
  margin: 20px 0;
}

.quantity-wrapper label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 15px;
}

.quantity-box {
  display: flex;
  align-items: center;
  width: fit-content;
  border: 1px solid #89CFF0;
  border-radius: 10px;
  overflow: hidden;
  background: white;
  width: 250px;
  justify-content: space-between;
}

/* أزرار + و - */
.qty-btn {
  width: 45px;
  height: 45px;
  border: none;
  background:white;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  color:black;
    padding: 0px;
}

.plus {
  border-right: 1px solid #89CFF0 !important;
  border-radius:0px;
}
.minus {
  border-left: 1px solid #89CFF0 !important;
  border-radius:0px;
}
.qty-btn:hover {
  background: #e3ebf7;
}

/* خانة الرقم */
.quantity-box input {
  width: 60px;
  height: 45px;
  border: none;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  background: white;
  outline: none;
}

/* شيل الأسهم الافتراضية */
.quantity-box input::-webkit-outer-spin-button,
.quantity-box input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity-box input[type=number] {
  border:none;
}
.whatsapp-options {
  position: absolute;
  bottom: 50px;
  right: 0;
  background: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  border-radius: 10px;
  padding: 10px;
  display: none;
  flex-direction: column;
  min-width: 160px;
}

.whatsapp-options ::before {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 10px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid white;
}
.wa-option {
  text-decoration: none;
  padding: 8px 10px;
  color: #333;
  border-radius: 6px;
  transition: 0.3s;
  font-size: 14px;
}

.wa-option:hover {
  background: #f1f1f1;
}
.seo-related{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 18px}
