
      /* شاشة تحميل تغطي الصفحة */
#preloader1 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

  /* From Uiverse.io by bociKond */ 
.loader1 {
  width: 44.8px;
  height: 44.8px;
  color: #ff0044;
  position: relative;
  background: radial-gradient(11.2px,currentColor 94%,#0000);
}

.loader1:before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(10.08px at bottom right,#0000 94%,currentColor) top    left,
          radial-gradient(10.08px at bottom left ,#0000 94%,currentColor) top    right,
          radial-gradient(10.08px at top    right,#0000 94%,currentColor) bottom left,
          radial-gradient(10.08px at top    left ,#0000 94%,currentColor) bottom right;
  background-size: 22.4px 22.4px;
  background-repeat: no-repeat;
  animation: loader 1.5s infinite cubic-bezier(0.3,1,0,1);
}

@keyframes loader {
  33% {
    inset: -11.2px;
    transform: rotate(0deg);
  }

  66% {
    inset: -11.2px;
    transform: rotate(90deg);
  }

  100% {
    inset: 0;
    transform: rotate(90deg);
  }
}
    /* الشكل العام */
.product-page-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* في الحاسوب: جنبًا إلى جنب */
@media (min-width: 768px) {
  .product-page-container {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .pro-side, .form-side {
    flex: 1;
    max-width: 48%;
  }
}

    .thumbnail {
        transition: all 0.3s;
        border: 1px solid #ddd;
        border-radius: 4px;
        flex: 0 0 auto; /* كل صورة بعرضها الطبيعي */
        width: 70px; /* حجم مناسب للهاتف والحاسوب */
        height: 60px;
        margin: 0 5px;
        object-fit: cover;
        opacity: 0.6;
        cursor: pointer;
        box-sizing: border-box;
    }
    
    .thumbnail:hover {
        opacity: 0.8 !important;
        border-color: #999;
    }
    
    .thumbnail.active {
        opacity: 1 !important;
        border-color: #000;
    }
    
    .thumb-prev, .thumb-next {
        background: rgba(255,255,255,0.7);
        padding: 5px 10px;
        border-radius: 4px;
    }
    
    .thumb-prev:hover, .thumb-next:hover {
        background: rgba(255,255,255,0.9);
    }

.product-price {
font-weight: bold;
background: linear-gradient(30deg, #ff6600, #ff0066);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
 background-clip: text;
 color: transparent;
 }

    .gradient-button {
  background: linear-gradient(45deg, #ff6600, #ff0066);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 13px 16px;
  font-size: 16px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  width: 100%;
}

.gradient-button:hover {
  opacity: 0.85;
}

.quantity-btn {
  background: linear-gradient(45deg, #ff6600, #ff0066);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 16px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.quantity-btn:hover {
  opacity: 0.85;
}
 /* المقاس و اللون  */
.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.color-choice {
    display: flex;
    align-items: center;
    border: 1px solid #12bb3f79;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.color-choice:hover {
    background-color: #0b6d567a;
}

.color-choice input[type="radio"] {
    display: none;
}

.color-choice input[type="radio"]:checked + .color-circle {
    outline: 2px solid #000;
    outline-offset: 2px;
}

.color-circle {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #aaa;
    margin-left: 6px;
}

.color-name {
    font-size: 14px;
}

.form-group.full-width {
    width: 100%;
}
.form-group.half-width {
    width: 49%;
    display: inline-block;
    
}
  .cover-side-order {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: hidden;
  }

  .cover-side-order img {
    width: 400px;

    height: auto;
    display: block;
  }

  @media (min-width: 1024px) {
    .cover-side-order img {
      width: 600px;
    }
  }
  .note {
    font-weight: 500;
    font-size: 14px;
    background: linear-gradient(45deg, #ff660096, #ff0066bf);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.order-button {
  display: inline-block;
  background: linear-gradient(45deg, #ff6600, #ff0066);
  color: white;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.order-button:hover {
  opacity: 0.85;
}

    /* إظهار الزر فقط في الهاتف */
.order-button {
  display: block;
  text-align: center;
  background-color: #ffc107;
  color: black;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
}

/* إخفاء في شاشات الحاسوب */
@media (min-width: 768px) {
  .order-button {
    display: none !important;
  }
}
form {
    border: 1px solid #ff4d4f;
}
  /* التصميم العام */
  footer {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 40px 0 20px;
    font-family: 'Tajawal', Arial, sans-serif;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
  }
  
  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
  }
  
  /* روابط التواصل الاجتماعي */
  .social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
  }
  
  .social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
  }
  
  .social-links a:hover {
    background: #3498db;
    transform: translateY(-3px);
  }
  
  /* روابط الموقع */
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 0 15px;
  }
  
  .footer-link {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 16px;
    position: relative;
    padding: 5px 0;
  }
  
  .footer-link:hover {
    color: #f1c40f;
  }
  
  .footer-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #f1c40f;
    transition: width 0.3s ease;
  }
  
  .footer-link:hover::after {
    width: 100%;
  }
  
  /* قسم حقوق النشر */
  .copyright-section {
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
  }
  
  .copyright-text {
    margin: 0;
    color: #bdc3c7;
    font-size: 14px;
  }
  
  #storeName {
    color: #f1c40f;
    font-weight: bold;
  }
  
  .payment-methods {
    margin-top: 10px;
    color: #95a5a6;
    font-size: 13px;
  }
  
  /* التجاوب مع الأجهزة المختلفة */
  @media (max-width: 768px) {
    .footer-links {
      flex-direction: column;
      gap: 15px;
    }
    
    .social-links {
      gap: 15px;
    }
    
    .social-links a {
      width: 40px;
      height: 40px;
      font-size: 16px;
    }
  }

    /* ستايل النافذة المنبثقة */
    .ban-popup {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    }

    .ban-popup.show {
        opacity: 1;
        visibility: visible;
    }

    .ban-message {
        background: #fff;
        padding: 25px;
        text-align: center;
        border-radius: 8px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
        max-width: 90%;
        width: 420px;
        border-top: 5px solid #d9534f;
        animation: fadeIn 0.3s ease-in-out;
    }

    .ban-message h2 {
        color: #d9534f;
        font-size: 22px;
        margin-bottom: 15px;
    }

    .ban-message p {
        color: #333;
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .ban-message button {
        background: #d9534f;
        color: white;
        border: none;
        padding: 10px 20px;
        font-size: 16px;
        border-radius: 5px;
        cursor: pointer;
        transition: background 0.3s ease-in-out;
    }

    .ban-message button:hover {
        background: #c9302c;
    }

    @keyframes fadeIn {
        from {
            transform: scale(0.9);
            opacity: 0;
        }
        to {
            transform: scale(1);
            opacity: 1;
        }
    }


        .custom-alert {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 10000;
            min-width: 300px;
            max-width: 90%;
            animation: slideIn 0.3s ease-out;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            border-radius: 8px;
            overflow: hidden;

        }
        
        .custom-alert.error {
            background: #fff5f5;
            border-left: 4px solid #ff4d4f;
        }
        
        .custom-alert.success {
            background: #f6ffed;
            border-left: 4px solid #52c41a;
        }
        
        .alert-content {
            padding: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
            color: black;
            text-align: center;
        }
        
        .custom-alert i {
            font-size: 20px;
        }
        
        .custom-alert.error i {
            color: #ff4d4f;
        }
        
        .custom-alert.success i {
            color: #52c41a;
        }
        
        .close-alert {
            margin-left: auto;
            background: none;
            border: none;
            font-size: 18px;
            cursor: pointer;
            color: #000000;
        }
        
        .input-error {
            border-color: #ff4d4f !important;
            box-shadow: 0 0 0 2px rgba(255,77,79,0.2);
        }
        
        .fade-out {
            animation: fadeOut 0.3s ease-out forwards;
        }
        
        @keyframes slideIn {
            from { transform: translateX(100%); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }
        
        @keyframes fadeOut {
            from { opacity: 1; }
            to { opacity: 0; }
        }
    /* نافذة التكبير */
    .image-modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        text-align: center;
    }
    
    .modal-content {
        max-width: 90%;
        max-height: 90%;
        margin: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .close-btn {
        position: absolute;
        top: 20px;
        right: 30px;
        color: white;
        font-size: 35px;
        font-weight: bold;
        cursor: pointer;
    }
    
    .image-nav {
        position: absolute;
        top: 50%;
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 0 20px;
        box-sizing: border-box;
    }
    
    .nav-btn {
        color: white;
        font-size: 30px;
        cursor: pointer;
        background: rgba(0, 0, 0, 0.5);
        padding: 10px 15px;
        border-radius: 50%;
    }


    #priceId {
        display: flex;
        align-items: center;
        background-color: #28a745; /* أخضر */
        color: white;
        padding: 4px 6px;
        border-radius: 8px;
        font-weight: bold;
        font-size: 16px;
        margin-top: 10px;
        gap: 8px;
    }

    #priceId::after {
        content: "";
        font-size: 18px;
    }
    .summary-item {
        align-items: center;
        border-bottom: 1px dashed #7e7e7e;
    }

    .summary-value {
          background : linear-gradient(30deg, #ff6600, #ff0066);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    }

      
