 body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  
}
/* الحاوية العامة */
.layout-wrapper1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  padding: 15px;
  box-sizing: border-box;
  direction: rtl;
}

/* حاوية المعرض */
.container2 {
float: left;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 15px;
  width: 64%;
 height: 652px;
  box-sizing: border-box;
  transition: all 0.3s ease-in-out;
}

/* حاوية النموذج */
.container3 {
  float: right;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 25px 30px;
  width: 35%;
   direction: rtl;
   height: 652px;
  box-sizing: border-box;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
}

/* التأثير عند التحويم */
.container3:hover, .container2:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* عناصر الإدخال والتحديد */
input, select {
  width: 100%;
  padding: 10px;
  font-size: 15px;
  font-weight: bold;
  border-radius: 6px;
  border: 1px solid #28a745;
  box-sizing: border-box;
}

/* زر الإرسال */
.btn-submit {
  width: 100%;
  padding: 12px;
  font-size: 20px;
  font-weight: bold;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
}
.btn-submit:hover {
  background-color: #218838;
}

/* مربع السعر */
.summary {
  margin-top: 10px;
  padding: 15px 20px;
  background: #f9f9f9;
  border: 1px solid #28a745;
  border-radius: 12px;
  font-size: 16px;
  color: #333;
  line-height: 1.8;
}
.summary span {
  color: #28a745;
  font-weight: bold;
}

/* خيارات التوصيل */
.delivery-type-group {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px;
  background-color: #fdfdfd;
  border: 1px solid #28a745;
  border-radius: 10px;
  margin: 5px 0;
}

/* 🎯 Responsive Mobile Adjustments */
@media (max-width: 768px) {
  .layout-wrapper1 {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .container3,
  .container2 {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .delivery-type-group {
    flex-direction: column;
  }

  .btn-submit {
    font-size: 18px;
  }

  input, select {
    font-size: 14px;
  }
}
.gallery-horizontal {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}
.main-image-container img {
  width: 670px;
  height: 620px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #ccc;
}
.thumbnails-vertical {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.thumbnails-vertical img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
}
.thumbnails-vertical img:hover,
.thumbnails-vertical img.active-thumbnail {
  border-color: #28a745;
  box-shadow: 0 0 6px rgba(40, 167, 69, 0.5);
}

@media (max-width: 600px) {
    .container2 {
  max-width: 100%;
  margin: auto;      
  height: auto;
  font-weight: bold;
}

 .gallery-horizontal {
  max-width: 100%;
  margin: auto;      

 } 

  .main-image-container img {
    width: 100%;
    
    height: auto;
    object-fit: contain;

  }
  .thumbnails-vertical {
    flex-direction: row;
    justify-content: center;
    
  }
  .thumbnails-vertical img {
    width: 40px;
    height: 40px;
    padding:auto;
  }
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 4px 8px;
  border: 1px solid #28a745;
  border-radius: 8px;
  background-color: #fff;
  margin-top: 10px;
   
}
.qty-btn {
  width: 28px;
  height: 28px;
  background-color: #28a745;
  color: white;
  font-size: 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.qty-btn:hover {
  background-color: #218838;
}
.quantity-control input[type="number"] {
  width: 45px;
  text-align: center;
  font-size: 15px;
  border-radius: 6px;
  padding: 3px;
  border: 1px solid #ccc;
}
.delivery-type-group {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 5px;
  background-color: #fdfdfd;
  border: 1px solid #28a745;
  border-radius: 10px;
  margin: 10px 0;
  overflow-x: auto;
  height: 80px;
}
@media (max-width: 600px) {
  .quantity-control {
    max-width: 150px;
    gap: 6px;
  }
  .qty-btn {
    width: 26px;
    height: 26px;
    font-size: 16px;
  }
  .quantity-control input[type="number"] {
    width: 38px;
    font-size: 14px;
  }
}
 .containertext {
      max-width: 680px;
      background-color: #ffe940;
      margin-top: 0px;
      margin: auto;
      padding:  30px;
      border-radius: 16px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.1);
      line-height: 1.8;
        direction: rtl;

    }

    h1 {
      color: #006064;
      font-size: 28px;
      text-align: center;
      margin-bottom: 20px;
    }

    p {
      font-size: 18px;
      margin-bottom: 15px;
    }

    .features, .sizes {
      background-color: #e0f7fa;
      padding: 20px;
      border-radius: 12px;
      margin-top: 25px;
    }

    .section-title {
      font-size: 22px;
      margin-bottom: 15px;
      color: #004d40;
      font-weight: bold;
    }

    .feature-item, .size-item {
      font-size: 17px;
      margin-bottom: 10px;
      position: relative;
      padding-right: 28px;
    }

    .feature-item::before {
      content: "✔️";
      position: absolute;
      right: 0;
    }

    .size-item::before {
      content: "🧦";
      position: absolute;
      right: 0;
    }

    @media (max-width: 600px) {
      .containertext {
        padding: 15px;
          direction: rtl;

      }

      h1 {
        font-size: 22px;
      }

      .section-title {
        font-size: 18px;
      }

      .feature-item, .size-item {
        font-size: 15px;
      }
    }
    
    
    
.gallery {
    background-color: #fdfdfd ;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  direction: rtl;
}

.product-gallery {
  width: 100%;
  max-width: 500px;
  margin: auto;
}

.product-image-vertical1 {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.product-image-vertical1 img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid transparent;
  transition: transform 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}



/* 📱 للهواتف */
@media (max-width: 600px) {
  .product-gallery {
    padding: 0 10px;
  }

  .product-image-vertical1 img {
    border-radius: 8px;
  }
}



