* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Cairo", sans-serif;
  background: linear-gradient(#ffffff, #eae9e9);
  font-family: "El Messiri", sans-serif;
}
.error-message {
  font-size: 12px;
  color: red;
}
input {
  height: 50px;
  width: 100%;
  font-size: 18px;
  padding: 0 5px;
  background: #fff;
  border: 1px solid #000;
  outline: none;
  border-radius: 4px;
}

select {
  height: 50px;
  background: white;
  border-radius: 4px;
}
#Quantity {
  width: 80px;
  text-align: center;
}
.container {
  width: 500px;
  max-width: 95%;
  margin: 20px auto;
  position: relative;
}
form {
  width: 100%;
  display: flex;
  flex-direction: column;
  border: 3px solid rgb(165, 6, 6);
  padding: 10px;
  border-radius: 10px;
}
.container .imagePrice {
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  border: 1px solid #000;
  padding: 5px;
  border-radius: 10px;
  box-shadow: 1px 1px 1px 1px #afafaf;
  background: #fff;
}
.container .imagePrice img {
  height: 100%;
}
.container .imagePrice #product-price {
  font-size: 27px;
  color: rgb(35, 216, 11);
  font-weight: bold;
}
.container #product-name {
  font-size: 25px;
  border: none;
  color: green;
  outline: none;
  background-color: transparent;
  font-family: "El Messiri", sans-serif;
}
.container #product-name:focus {
  box-shadow: none;
}

/* button */
.button {
  position: relative;
  padding: 10px 22px;
  width: 150px;
  height: auto;
  border-radius: 6px;
  border: none;
  color: #fff;
  cursor: pointer;
  background-color: #0e8435;
  transition: all 0.2s ease;
  margin: 15px auto;
  font-size: 18px;
}

.button:active {
  transform: scale(0.96);
}

.error {
  border: 1px solid red;
}

.del h3 {
  font-size: 25px;
  color: #9a0f0f;
  position: relative;
  margin-bottom: 10px;
}
.del img {
  max-width: 100%;
}
.del h3::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  left: 0;
  bottom: 0;
  background: #9a0f0f;
  
}

.fa-phone {
  background: rgb(23, 188, 18);
  color: white;
  position: fixed;
  bottom: 20px;
  left: 20px;
  font-size: 22px;
  padding: 12px;
  border-radius: 50%;
}


.loader {
  position: relative;
  width: 120px;
  height: 90px;
  margin: 0 auto;
}

.loader:before {
  content: "";
  position: absolute;
  bottom: 30px;
  left: 50px;
  height: 30px;
  width: 30px;
  border-radius: 50%;
  background: #2a9d8f;
  animation: loading-bounce 0.5s ease-in-out infinite alternate;
}

.loader:after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  height: 7px;
  width: 45px;
  border-radius: 4px;
  box-shadow: 0 5px 0 #f2f2f2, -35px 50px 0 #f2f2f2, -70px 95px 0 #f2f2f2;
  animation: loading-step 1s ease-in-out infinite;
}

@keyframes loading-bounce {
  0% {
    transform: scale(1, 0.7);
  }

  40% {
    transform: scale(0.8, 1.2);
  }

  60% {
    transform: scale(1, 1);
  }

  100% {
    bottom: 140px;
  }
}

@keyframes loading-step {
  0% {
    box-shadow: 0 10px 0 rgba(0, 0, 0, 0),
            0 10px 0 #110a33,
            -35px 50px 0 #110a33,
            -70px 90px 0 #110a33;
  }

  100% {
    box-shadow: 0 10px 0 #110a33,
            -35px 50px 0 #110a33,
            -70px 90px 0 #110a33,
            -70px 90px 0 rgba(0, 0, 0, 0);
  }
}


#reload {
  display: none;
  z-index: 10;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.done {
  z-index: 11;
}

.warning {
  color: red;
  display: none; /* تخفي التنبيه افتراضيًا */
}

.images-pro {
  display: flex;
  width: 100%;
  flex-wrap: wrap;

}
.images-pro img {
  width: 100%;
  height: 50%;
}



.slider-container {
  position: relative;
  width: 100%;
}

.prev, .next {
  color: black;
  padding: 16px;
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  text-decoration: none;
  user-select: none;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 10px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}


.prev:hover, .next:hover {
  background-color: rgba(255, 255, 255, 0.8);
}
