@import url("https://fonts.googleapis.com/css2?family=Baloo+Bhaijaan+2:wght@400..800&family=Cairo:wght@200..1000&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&family=Tajawal:wght@200;300;400;500;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "Tajawal", sans-serif;
  /* font-family: "Baloo Bhaijaan 2", sans-serif; */
}
:root {
  /* لون برتقالي */
  --color_orangandorang_1: oklch(532% 0.1 30);
  --color_purpleandwhite_2: oklch(70% 1 300);
  --color_purpleandwhite_3: #ff72ff;
  /* لون وردي */
  --color_blue_1: oklch(1% 1 300);
  --color_blue_2: oklch(53% 0.4 200);
  /* لون احمر */
  --color_red_1: oklch(40% 0.5 50);
  --color_red_2: oklch(1% 0.8 30);
  /* لون اخظر */
  --color_grean_1: oklch(1% 0.8 80);
  --color_grean_2: oklch(1% 0.4 70);
  /* لون ذهبي */
  --color_gold_1: oklch(60% 0.2 80);
  --color_gold_2: oklch(90% 0.2 50);
  /* لون احتياطي مستقبلا */
  /* --color_red_2:oklch(53% .2 200); */
}
main {
  width: 60%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  left: 50%;
  transform: translateX(-50%);
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  position: relative;
}
@media (max-width: 1425px) {
  main {
    width: 100%;
  }
}
.serch {
  width: 100%;
  min-height: 10vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-right: 5%;
}
.serch input {
  width: 200px;
  height: 30px;
  padding-right: 10px;
  direction: rtl;
  outline: none;
  border: 1px solid var(--color_blue_1);
  border-radius: 5px;
  color: var(--color_blue_1);
}
.serch input::placeholder {
  color: var(--color_blue_1);
}
.container {
  width: 400px;
  height: 500px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 5px gainsboro;
  border: 2px solid var(--color_blue_1);
  position: relative;
  filter: saturate(200%);
}
.container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease; /* حركة ناعمة */
  cursor: pointer;
}
.container .buying {
  width: 100px;
  height: 30px;
  background-color: var(--color_blue_1);
  position: absolute;
  bottom: 1%;
  outline: none;
  border: none;
  right: 1%;
  border-radius: 10px 0 10px 0;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}
.comment {
  color: white;
  position: absolute;
  bottom: 10%;
  direction: rtl;
  right: 5%;
  font-weight: bold;
  font-size: clamp(8px, 5vw, 15px);
}
::selection {
  background-color: var(--color_blue_1);
}
.love {
  position: absolute;
  bottom: 3%;
  direction: rtl;
  left: 5%;
  background-color: transparent;
  border: none;
  outline: none;
  transition: all 0.5s ease;
}
.love i {
  font-size: clamp(12px, 8vw, 20px);
  cursor: pointer;
}
.container .count {
  position: absolute;
  bottom: 0;
  color: white;
  left: 10%;
  direction: rtl;
}
.container .buying a {
  text-decoration: none;
  color: white;
}
.list {
  width: 320px;
  height: 420px;
  border: 2px solid var(--color_blue_1);
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%); /* أفضل من translate */
  display: flex;
  flex-direction: column;
  justify-content: center; /* توسيط عمودي */
  align-items: center; /* توسيط أفقي */
  padding: 20px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  text-align: center;
  gap: 20px;
  transition: all 0.5s linear;
}
.list input {
  width: 90%;
  height: 30px;
  border: 2px solid var(--color_blue_1);
  border-radius: 50px;
  direction: rtl;
  padding-right: 10px;
  outline: none;
  color: var(--color_blue_1);
  font-weight: bold;
}

.list h3 {
  color: var(--color_blue_1);
}
.list button {
  width: 100px;
  height: 40px;
  background-color: var(--color_blue_1);
  outline: none;
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
  font-weight: bold;
  cursor: pointer;
  border-radius: 20px 0;
}
#loding {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid white;
  border-top: 2px solid black;
  animation: lod 0.4s linear infinite;
  display: none;
}
@keyframes lod {
  100% {
    transform: rotate(360deg);
  }
}
.list label {
  width: 100px;
  height: 30px;
  background-color: var(--color_blue_1);
  color: white;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}
.Upload_photos {
  width: 100px;
  height: 40px;
  position: fixed;
  bottom: 5%;
  left: 50%;
  translate: -50% -50%;
  background-color: var(--color_blue_1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
  border-radius: 0px 30px 0px 30px;
  cursor: pointer;
  outline: none;
  border: none;
  font-size: 17px;
}
.error {
  color: black;
  font-weight: bold;
  font-size: 13px;
  font-family: "Baloo Bhaijaan 2", sans-serif;
  padding: 10px;
}
.descriptions {
  position: absolute;
  right: 0;
  width: 100px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background-color: var(--color_blue_1);
  border-radius: 100px 0 100px 0;
  font-weight: bold;
}
.deltted {
  position: absolute;
  left: 0;
  width: 100px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background-color: red;
  border-radius: 0 100px 0 100px;
  font-weight: bold;
  outline: none;
  border: none;
  cursor: pointer;
}
.Open_img {
  width: 100%;
  height: 100%;
  background-color: red;
  cursor: pointer;
}
.alert {
  width: 300px;
  height: 100px;
  position: fixed;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  border: 2px dashed var(--color_blue_1);
  z-index: 9999;
  background-color: oklch(90% 0.1 300);
  color: var(--color_blue_1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  direction: rtl;
  display: none;
  font-weight: bold;
}
.project {
  width: 100px;
  height: 30px;
  cursor: pointer;
  background-color: var(--color_blue_1);
  outline: none;
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  z-index: 999;
}
.images {
  width: clamp(350px, 80vw, 500px);
  height: clamp(520px, 70vw, 600px);
  position: fixed;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: 9999;
  object-fit: cover;
  filter: saturate(200%);
  border-radius: 10px;
  border: 2px solid black;
  display: none;
}
.black {
  width: 100%;
  height: 100%;
  background-color: black;
  position: fixed;
  z-index: 9999;
  display: none;
}
