@import url("https://cdn-uicons.flaticon.com/2.1.0/uicons-thin-straight/css/uicons-thin-straight.css");
@import url("https://cdn-uicons.flaticon.com/2.1.0/uicons-regular-rounded/css/uicons-regular-rounded.css");
@import url("https://cdn-uicons.flaticon.com/2.1.0/uicons-solid-straight/css/uicons-solid-straight.css");
@import url("https://cdn-uicons.flaticon.com/2.1.0/uicons-brands/css/uicons-brands.css");
@import url("https://cdn-uicons.flaticon.com/2.1.0/uicons-bold-rounded/css/uicons-bold-rounded.css");
@import url("https://cdn-uicons.flaticon.com/2.1.0/uicons-regular-straight/css/uicons-regular-straight.css");
@import url("https://cdn-uicons.flaticon.com/2.1.0/uicons-thin-rounded/css/uicons-thin-rounded.css");
/* ------------ GOOGLE FONTS ------------ */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  
}

*:not(.fa-solid):not(.fas) {
  font-family: Alexandria !important;
}

#homesec{
  display: none;
}


/* استثناء أيقونات Font Awesome */
i.fa-solid, i.fas {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900;
}

a {
  text-decoration: none;
  cursor: pointer;
}
h1 {
  font-size: 50px;
  line-height: 64px;
  color: black;
}
h2 {
  font-size: 46px;
  line-height: 64px;
  color: black;
}
h4 {
  font-weight: 700;
  line-height: 12px;
}
p {
  font-size: 16px;
  color: #465b52;
  margin: 15px 0 20px 0;
}
.section-p1 {
  padding: 40px 80px;
}
.section-m1 {
  margin: 40px 0;
}

  .follow .icon a {
    font-size: 40px;
    margin: 0 10px;
    color: #000;
    text-decoration: none;
  }
  .follow .icon a:hover {
    color: #0077ff;
  }

button.normal {
  font-size: 14px;
  font-weight: 600;
  padding: 15px 30px;
  color: #000;
  background-color: #ffffff;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: 0.2s;
}
button.white {
  font-size: 13px;
  font-weight: 600;
  padding: 11px 18px;
  color: #fff;
  background-color: transparent;
  cursor: pointer;
  border: 1px solid #fff;
  outline: none;
  transition: 0.2s;
}
body {
  width: 100%;
}

/* header start */

#header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 80px;
  background-color: #e3e6f3;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
  z-index: 999;
  position: sticky;
  top: 0;
  left: 0;
}

/* search (input-icon) css */
#contner-search {
  position: sticky;
  display: flex;
  align-items: center;
  justify-content: right;
  margin-right: -30px;
  align-content: center;
  font-size: x-large;
}
.icon-search {
  cursor: pointer;
  padding-right: 25px;
}
.icon-search:hover,
.closeSearchInput:hover {
  color: #088178;
}
/* animion when unvisibile */
.search-input {
  visibility: hidden;
  height: 0;         /* كان 2.125rem */
  width: 0%;
    padding: 0;        /* أضف هذا السطر */
  outline: none;
  transition: 0.7s ease-in;
  border: 0px solid transparent;
  direction: rtl;
  margin-right: 10px;
}
/* animion when visibile */
.search-input.active {
  visibility: visible;
  height: 2.125rem;
  padding: 0 1.25em;
  font-size: 14px;
  width: 100%;
  border: 1px solid #088178;
  border-radius: 4px;
  outline: none;
  margin-right: 20px;
}
.closeSearchInput {
  display: none;
  color: #000;
  transition: 0.3s;
}
.closeSearchInput.active {
  display: flex;
  padding-right: 25px;
}

#lg-bag span {
  background-color: #088178;
  border-radius: 50%;
  color: #fff;
  padding: 2px 11px;
}
/* -----------end-search-css---------- */
#navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
  #navbar i {

    display: none;
   
  }
#navbar li {
  list-style: none;
  padding: 0 20px;
  position: relative;
}
#navbar li a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  transition: 0.3s ease;
}

#navbar li a:hover,
#navbar li a.active {
  color: #088178;
}

#navbar li a.active::after,
#navbar li a:hover::after {
  content: "";
  width: 30%;
  height: 2px;
  background: #088178;
  position: absolute;
  bottom: -4px;
  left: 20px;
}

#mobile {
  display: none;
  align-items: center;
}

#close {
  display: none;
}

/*home page */

.hero {
  position: relative;
  overflow: hidden;
  height: 55vh;
  width: 100%;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.hero div {
  width: 100%;
}

.hero h4 {
  padding-bottom: 15px;
  font-size: 1.5rem; /* حجم مناسب للعنوان الفرعي */
  color: #333; /* لون النص */
  font-weight: 600; /* سماكة الخط */
}

.hero h2 {
  font-size: 2.5rem; /* حجم مناسب للعنوان الرئيسي */
  color: #222; /* لون النص */
  font-weight: 700; /* سماكة الخط */
  margin-bottom: 10px; /* تباعد من الأسفل */
}

.hero h1 {
  font-size: 3rem; /* حجم أكبر للعنوان البارز */
  color: #088178; /* لون النص */
  font-weight: 800; /* سماكة الخط */
  margin-bottom: 15px; /* تباعد من الأسفل */
}

.hero p {
  font-size: 1.2rem; /* حجم مناسب للنص العادي */
  color: #555; /* لون النص */
  margin-bottom: 20px; /* تباعد من الأسفل */
}

.hero a {
  background-image: url(sours/button.png);
  padding: 14px 80px 14px 65px;
  background-color: transparent;
  color: #088178;
  border: 0;
  background-repeat: no-repeat;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem; /* حجم مناسب للنص داخل الزر */
  transition: all 0.3s ease; /* إضافة تأثير عند التمرير */
}

.hero button:hover {
  transform: scale(1.05); /* تكبير الزر عند التمرير */
  opacity: 0.9; /* تخفيف الزر قليلاً */
}
#product1forSimilarItems {
  display: none;
}
#product1 {
  display: none;
}

.product1 {
  text-align: center;
}

.product1 .pro-container {
  display: flex;
  flex-wrap: wrap; /* السماح للعناصر بالانتقال إلى السطر التالي */
  gap: 15px; /* مسافة بين العناصر */
  justify-content: flex-start; /* ترتيب العناصر ابتداءً من البداية */
  padding-top: 20px;
}

.product1 .pro {
  width: calc(24% - 15px);
  min-width: 200px;
  max-width: 24%;
  padding: 15px 10px;
  border: 1px solid #cce7d0;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.05);
  margin: 10px 0;
  margin-bottom: 15px;
  transition: all 0.3s ease-in-out;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.product1 .pro:hover {
  transform: scale(1.05) rotate(1deg); /* تكبير العنصر + تدوير طفيف */
  box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.15); /* زيادة الظل */
  border-color: #088178; /* تغيير لون الحدود */
  background: #f9fdfb; /* تغيير لون الخلفية */
}

.product1 .pro img {
  width: 100%;
  height: 301px; /* تثبيت الارتفاع لتوحيد الحجم */
  object-fit: contain; /* عرض الصورة كاملة بدون قص */
  border-radius: 12px;
  background-color: #f8f8f8; /* لون خلفية عند وجود فراغات */
}



.product1 .pro .des {
  text-align: center;
  padding: 8px 0; /* تقليل التباعد الداخلي */
}

.product1 .pro .des span {
  color: #606063;
  font-size: 12px;
}

.product1 .pro .des h5 {
  padding-top: 7px;
  color: #1a1a1a;
  font-size: 14px;
}
.product1 .pro-container .pro .star {
  margin-top: 5px; /* إضافة مسافة بين النجوم وبقية المحتوى */
}


.product1 .pro .des h4 {
  font-size: 1em; /* تقليل حجم الخط */
  font-weight: bold; /* ضبط السماكة */
  color: #088178;
  direction: rtl;
    margin-top: 10px; /* إضافة مسافة بين النصوص */

}

.product1 .pro .carttt {
  width: 35px; /* تصغير أيقونة السلة */
  height: 35px;
  line-height: 35px;
  bottom: 15px; /* تحريك الأيقونة قليلاً للأعلى */
  right: 8px;
}
#banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-image: url("sours/banner/8068644-Photoroom-Photoroom.avif");
  width: 100%;
  height: 40vh;
  background-size: cover;
  background-position: center;
}
#banner h4 {
  color: #fff;
  font-size: 16px;
}
#banner h2 {
  color: #fff;
  font-size: 30px;
  padding: 10px 0;
}
#banner h2 span {
  color: #ef3636;
}

#banner button:hover {
  background-color: #088178;
  color: #fff;
}

#sm-banner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
#sm-banner .banner-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: end;
  
  min-width: 580px;
  height: 40vh;
  background-size: cover;
  background-position: left;
  padding: 30px;
}







#sm-banner h4 {
  color: #fff;
  font-size: 20px;
  font-weight: 300;
}
#sm-banner h2 {
  color: #fff;
  font-size: 28px;
  font-weight: 800;
}
#sm-banner span {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding-bottom: 15px;
}
#sm-banner .banner-box:hover button {
  background: #088178;
  border: 1px solid #088178;
}
#banner3 {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 80px;
}
#banner3 .banner-box {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  background-image: url("sours/banner/win.avif");
  min-width: 30%;
  height: 30vh;
  background-size: cover;
  background-position: center;
  padding: 20px;
  margin-bottom: 20px;
  text-align: right;
}
#banner3 .banner-box2 {
  background-image: url("sours/banner/chiled1.avif");
}
#banner3 .banner-box3 {
  background-image: url("sours/banner/loss.avif");
}
#banner3 h2 {
  color: #fff;
  font-weight: 900;
  font-size: 22px;
}
#banner3 h3 {
  color: #ec544e;
  font-weight: 800;
  font-size: 15px;
}
/*  newsletter section start */

#newsletter {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  background-image: url("sours/banner/b14.avif");
  background-repeat: no-repeat;
  background-position: 20% 30%;
  background-color: #041e42;
}
#newsletter h4 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
#newsletter p {
  font-size: 14px;
  font-weight: 600;
  color: #818ea0;
}
#newsletter p span {
  color: #ffbd27;
}
#newsletter .form {
  display: flex;
  width: 40%;
}
#newsletter input {
  height: 3.125rem;
  padding: 0 1.25em;
  font-size: 14px;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 4px;
  outline: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
#newsletter button {
  background-color: #088178;
  color: #fff;
  white-space: nowrap;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
/*--------------newsletter section end------------- */

/*  footer section start */
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
footer .col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
}

footer h4 {
  font-size: 14px;
  padding-bottom: 20px;
}

footer p {
  font-size: 13px;
  margin: 0 0 8px 0;
  direction: rtl;
}
footer a {
  font-size: 13px;
  text-decoration: none;
  color: #222;
  margin-bottom: 10px;
}

footer .follow {
  margin-top: 20px;
}
 .follow i {
  color: #465b52;
  padding-right: 4px;
  cursor: pointer;
}

footer .install .row img {
  border: 1px solid #088178;
  border-radius: 6px;
}
footer .install img {
  margin: 10px 0 15px 0;
}
 .follow i:hover,
footer a:hover {
  color: #088178;
}

footer .copyright {
  width: 100%;
  text-align: center;
}
/*--------------footer section end------------- */

/*    shop page    */
.header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 47%;
  object-fit: cover;
  z-index: 0;
}
#page-header {
	display: none;
  width: 100%;
  height: 36vh;
  background-size: cover;
  display: flex;
  text-align: center;
  justify-content: center;
  flex-direction: column;
  padding: 14px;
  background-position: top 6% right 0;
  direction: rtl;
}
#page-header h2,
#page-header p {
  color: var(--color-white);
}

.pagination {
  text-align: center;
}
.pagination a {
  padding: 10px;
  margin: 0 5px;
  text-decoration: none;
  background-color: #f1f1f1;
  border-radius: 5px;
}

.pagination a.active {
  background-color: var(--hover);
  color: white;
}

.pagination a:hover {
  background-color: #ddd;
}

#feature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
#feature .fe-box {
  width: 180px;
  text-align: center;
  padding: 25px 15px;
  box-shadow: 20px 20px 34px rgba(0, 0, 0, 0.03);
  border: 1px solid #cce7d0;
  border-radius: 4px;
  margin: 15px 0;
}

#feature .fe-box:hover {
  box-shadow: 10px 10px 54px rgba(70, 62, 221, 0.1);
}

#feature .fe-box img {
  width: 100%;
  margin-bottom: 10px;
}

#feature .fe-box h6 {
  display: inline-block;
  padding: 9px 8px 6px 8px;
  line-height: 1;
  border-radius: 4px;
  color: #088178;
  background-color: #fddde4;
}

#feature .fe-box:nth-child(2) h6 {
  background-color: #cdebbc;
}
#feature .fe-box:nth-child(3) h6 {
  background-color: #d1e8f2;
}
#feature .fe-box:nth-child(4) h6 {
  background-color: #cdd4f8;
}
#feature .fe-box:nth-child(5) h6 {
  background-color: #f6dbf6;
}
#feature .fe-box:nth-child(6) h6 {
  background-color: #fff2e5;
}
/*   single product page (sproduct) html start  */
#prodetails {
  display: none;
  margin-top: 20px;
}
#prodetails .single-pro-image {
  width: 100%;
  max-width: 500px;
  margin-right: 50px;
}

#MainImg {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

#MainImg:hover {
  transform: scale(1.03);
}

.small-img-group {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  margin-top: 10px;
  scroll-behavior: smooth;
  padding-bottom: 5px;
}

.small-img-group::-webkit-scrollbar {
  display: none;
}

.small-img-col {
  flex: 0 0 auto;
}

.small-img-col img.small-img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, border 0.2s;
}

.small-img-col img.small-img:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  border-color: #f39c12;
}

/* Responsive */
@media (max-width: 768px) {

  .small-img-group {
    gap: 10px;
  }
}
#prodetails .single-pro-details {
  width: 50%;
  padding-top: 30px;
}
/* الحاوية الأساسية */
#prodetails h2 {
  display: flex;
  flex-direction: column; /* السعر القديم فوق الجديد */
  direction: rtl;
  align-items: flex-end;
  font-size: 1.8rem;
  color: #000;
  margin: 10px 0;
}

/* السعر القديم */
#prodetails h2 span#old-price {
     text-decoration-line: line-through;
  text-decoration-color: red;
  text-decoration-thickness: 2px;
  color: #888;
 font-size: 1.7rem;
  margin-bottom: 5px;
}

/* السعر الجديد */
#prodetails h2 {
  font-weight: bold;
  color: #088178;
}
.discontline {
  text-decoration-line: line-through;
  text-decoration-color: red;
  text-decoration-thickness: 2px; /* اختياري لزيادة وضوح الخط */
}
#prodetails .single-pro-details h4 {
  padding: 40px 0 20px 0;
}

#prodetails .single-pro-details h2 {
  font-size: 33px;
}

#prodetails .single-pro-details select {
  display: block;
  width: 100%;
  max-width: 300px;
  padding: 10px 15px;
  margin-bottom: 15px;
  text-align: center;
  text-align-last: center; /* ❤️ المهم لأيفون */
  font-size: 1rem;
  font-weight: bold;
  border: 2px solid #088178;
  border-radius: 8px;
  background-color: #f9f9f9;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
}

#prodetails .single-pro-details select:hover,
#prodetails .single-pro-details select:focus {
  border-color: #055f57;
  outline: none;
  background-color: #eefdfd;
}
#counter {
  width: 25%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0px 9px;
  padding-bottom: 10px;
  padding-top: 10px;
}
#prodetails .single-pro-details input {
  width: 50px;
  height: 47px;
  padding-left: 10px;
  font-size: 16px;
  /* margin-left: 10px; */
}
/* the next code to hide the incrs and decres from input number  */
#amount::-webkit-inner-spin-button,
#amount::-webkit-outer-spin-button {
  -webkit-appearance: none;
}
#prodetails .single-pro-details span i {
  font-size: 35px;
  cursor: pointer;
}
#prodetails .single-pro-details i:hover {
  color: #088178;
}
#prodetails .single-pro-details input :focus {
  outline: none;
}

#prodetails .single-pro-details #btn1 {
  background-color: #088178;
  color: #fff;
  box-shadow: 0 0 1em rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}
#btn1:active {
  transform: scale(0.9);
}
/* this is order contenr code */
#prodetails .single-pro-details #order-contenr {
  display: none;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-items: center;
  border: 2px solid #088178;
  width: 448px;
  padding: 39px 0;
}
.tt-price-last {
  line-height: 26px !important;
  margin-right: 0 !important;
  padding: 9px;
  background: #efefefa6;
  border-radius: 7px;
  margin-top: 13px;
}
.AlertContenr {
  display: none;
  color: rgb(242, 93, 93);
  line-height: 26px ;
  margin-right: 0 !important;
  padding: 9px;
  border-radius: 7px;
  direction: rtl;
  font-weight: bold;
  justify-content: center;
  
}
.sale-price {
  margin-right: 0 !important;
  padding-right: 0;
  width: 48%;
  text-align: left;
  direction: rtl;
  color: #3a60c8;
  font-weight: bold;
}
.label-price {
  width: 49%;
  text-align: right;
  color: #00144d;
  font-size: 15px;
  font-weight: bold;
}
.tt-label-price {
  display: inline-block;
  width: 100%;
}
.tt-price span {
  display: inline-block;
}

#order-contenr table {
  border-spacing: 0 10px;
}
#prodetails .single-pro-details #order-contenr select,
option {
  height: 2.125rem;
  padding: 0 1.25em;
  font-size: 18px;
  width: 100%;
  border: 1px solid #088178;
  border-radius: 4px;
  outline: none;
  direction: rtl;
}
#prodetails .single-pro-details #order-contenr input {
  height: 2.125rem;
  padding: 0 1.25em;
  font-size: 18px;
  width: 100%;
  border: 1px solid #088178;
  border-radius: 4px;
  outline: none;
  direction: rtl;
  text-align-last: center;
}

#prodetails .single-pro-details span {
  line-height: 25px;
}
.product-details {
  max-width: 800px;
  margin: 20px auto;
  padding: 15px 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  direction: rtl; /* لأن النص عربي */
  color: #333;
  text-align: justify;
  line-height: 1.6;
}

.product-details h4 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: #008060;
  font-weight: 700;
}

.product-details span {
  display: block;
  font-size: 1rem;
  white-space: pre-line; /* يحافظ على الأسطر الجديدة في النص */
}
#categorize {
  display: grid;
  justify-items: center;
  gap: 44px;
}

#categorizetable {
  display: none;
  grid-template-columns: repeat(4, 1fr); /* تحديد 4 أعمدة متساوية */
  grid-auto-flow: row; /* عرض العناصر في صفوف */
  grid-template-rows: auto; /* ارتفاع الصفوف يتم تحديده تلقائياً */
  justify-items: center;
  gap: 20px 110px;
}

#categorizetable div {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#categorizetable img {
  width: 150px; /* زيادة عرض الصور */
  height: 150px; /* زيادة ارتفاع الصور */
  border-radius: 50%; /* جعل الصورة بشكل دائري */
  background-color: transparent; /* جعل خلفية الصورة شفافة */
  cursor: pointer;
}

#categorizetable div span {
  font-size: 20px; /* زيادة حجم النصوص داخل العناصر */
  margin-top: 10px; /* تباعد بين النص والصورة */
}

#categorize-container {
  background-color: #f5f5f5;
  color: black;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  outline: none;
  display: flex;
  justify-content: space-between;
  transition: ease 0.3s;
}

#categorize-container i {
  transition: transform 0.3s;
}

#categorize-container.act {
  border-top-left-radius: 50px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  transition: ease-in-out 0.3s;
}

#categorize-container.rotate i {
  transform: rotate(180deg); /* rotate the element 180deg  */
}

.dropdown {
  position: relative;
  display: inline-block;
  width: 35%;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f5f5f5;
  max-height: 181px;
  width: 100%;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  z-index: 1;
  white-space: nowrap;
  flex-direction: column;
  overflow-y: scroll;
  text-align: center;
  direction: rtl;

  border-bottom-right-radius: 50px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content ul {
  list-style-type: none;
  padding: 0;
}

.dropdown-content li {
  padding: 10px;
}

.dropdown-content li:hover {
  cursor: pointer;
  background-color: #bfd2df;
}

/* ---------- add to cart BUTTON  ------------ */
.btn {
  background-color: #088178;
  color: #fff;
  padding: 23px 58px;
  border: none;
  border-radius: 4px;
  box-shadow: 0 0 1em rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  outline: none;
  cursor: pointer;
  position: relative;
  top: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/* click add to cart animtion */
.btn:active {
  transform: scale(0.9);
}

.btn__text {
  font-size: 14px;
  font-weight: 600;
  color: var(--color);
  position: absolute;
}

.btn__text--second {
  opacity: 0;
}

.btn__icon {
  font-size: 1rem;
  color: var(--color);
  position: absolute;
}

.btn__icon--cart {
  left: -20%;
}

.btn__icon--box {
  top: -50%;
}

/* --------- ANIMATION ----------- */
/* to make the cart btn change color after click event hapeen */
.btn.btn.active {
  background-color: #18b4aa;
  transition: 0.3s ease-out;
}
.btn.active .btn__text--first {
  animation: text1 0.3s forwards;
}

.btn.active .btn__text--second {
  animation: text2 3s forwards;
}

.btn.active .btn__icon--cart {
  animation: cart 2.5s forwards;
}

.btn.active .btn__icon--box {
  animation: box 1.5s forwards;
}

@keyframes text1 {
  100% {
    opacity: 0;
  }
}

@keyframes text2 {
  90% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes cart {
  30%,
  60% {
    left: 47%;
  }
  100% {
    left: 110%;
  }
}

@keyframes box {
  80% {
    color: var(--color);
  }
  90%,
  100% {
    top: 15%;
    color: transparent;
  }
}
#order-btn {
  background-color: #088178;
  color: #fff;
  padding: 23px 58px;
  border: none;
  border-radius: 4px;
  box-shadow: 0 0 1em rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  outline: none;
  cursor: pointer;
  position: relative;
  top: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#order-btn:active {
  transform: scale(0.9);
}

.suggestions {
    position: absolute;
    bottom: 100%;   /* 👈 بدل top */
    left: 0;
    width: 100%;
    margin-bottom: 5px; /* مسافة صغيرة بين القائمة والـ input */
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px;
    cursor: pointer;
    font-size: large;
    display: none;
    direction: rtl;
    list-style: none;
    z-index: 9999; /* عشان ما تختفي وراء عناصر ثانية */
    max-height: 250px; /* حد أقصى */
    overflow-y: auto; /* لو طويلة تطلع scroll */
}


.suggestions li {
  padding: 5px;
  cursor: pointer;
}

.suggestions li:hover {
  background-color: #f9f9f9;
}

#Deleverysuggestions {
  text-align: center;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 10px;
  cursor: pointer;
  display: none; /* يمكنك تغيير هذا إلى display: block; عند عرض الاقتراحات */
  list-style-type: none; /* لإخفاء النقاط في بداية القائمة */
	    max-height: 200px; /* حدد الطول المناسب لعدد العناصر */
  overflow-y: auto;
}

#Deleverysuggestions li {
  padding: 5px;
  cursor: pointer;
}

#Deleverysuggestions li:hover {
  background-color: #f9f9f9;
}

.quantity-cell {
  /* display: flex; */
  /* justify-content: center; */
  text-align-last: center;
}
.quantity-cell input {
  width: 27%;
  height: 20%;
  /* margin-top: 18px; */
  position: relative;
  bottom: 10px;
  text-align-last: center;
  font-size: large;
  font-weight: 500;
}
.quantity-cell i {
  cursor: pointer;
  margin: 0 12px; /* تضع هذا الهامش بين العناصر */
  font-size: 31px; /* زيادة حجم الرموز حسب الحاجة */
}

:root {
  --primary: #eeeef6;
  --text: rgb(254, 246, 246);
  --text-gray: #0a0a0a;
  --hover: #088178;
  --BtnClick: #18b4aa;
  --border: #3c3c3e;
  --error: #e3452f;
  --success: yellowgreen;
  --bg: #e8e8f9;

  /* for cart table */
  --color-white: #fff;
  --color-primary: #7380ec;
  --color-light: rgba(132, 139, 200, 0.18);
  --box-shadow: 0 2rem 3rem var(--color-light);
  --card-border-radius: 2rem;
  --card-padding: 1.8rem;
}

/* body {
    font-family: 'Work Sans',
    sans-serif;
    margin: 0;
    background: var(--bg);
} */

header {
  position: fixed;
  height: 5rem;
  padding: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  background: var(--primary);
  justify-content: end;
}

.navigation_group {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.navigation_group > .icon {
  cursor: pointer;
  /* width: 2.25rem; */
  height: 2.25rem;
  transition: all 0.2s ease-in-out;
  align-content: center;
  font-size: x-large;
}

.navigation_group > .icon:hover {
  transform: scale(1.1);
}
.profile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  object-fit: cover;
  border-radius: 50%;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.1));
  font-size: x-large;
  transition: transform 0.3s ease-in-out;
  /* border-radius: 30px; */
  border: 2px solid;
}

.profile:hover {
  transform: scale(1.05);
  transition: all 0.2s ease-in-out;
}
.dropdown_wrapper {
  direction: rtl;
  width: 19rem;
  top: 5.25rem;
  right: 1em;
  padding: 1rem;
  position: absolute;
  border-radius: 0.75rem;
  background: var(--primary);
  display: flex;
  flex-direction: column;
  color: var(--text);
  gap: 0.25rem;
  animation: fadeOutAnimation ease-in-out 0.3s forwards;
}
.dropdown_wrapper h2 {
  font-size: 1.15rem;
}

.dropdown_wrapper--fade-in {
  animation: fadeInAnimation ease-in-out 0.3s forwards;
}
.none {
  display: none;
}
.hide {
  opacity: 0;
  visibility: hidden;
  animation: fadeOutAnimation ease-in-out 0.3s forwards;
}

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
    visibility: hidden;
  }
  100% {
    opacity: 1;
    visibility: visible;
  }
}
@keyframes fadeOutAnimation {
  0% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}
.dropdown_group {
  padding: 0.75rem;
}

.divider {
  width: 100%;
  padding: 0;
  margin: 1rem 0;
  border: 1px solid var(--text-gray);
}

nav > ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  gap: 0.25rem;
}

nav > div > ul > li {
  height: 3rem;
  color: var(--text-gray);
  cursor: pointer;
  display: flex;
  flex-direction: row;
  border-radius: 0.5rem;
  align-items: center;
  gap: 1rem;
  padding-left: 0.5rem;
  width: 100%;
  font-weight: bold;
  transition: all 0.2s ease-in-out;
}
nav > div > ul > li:hover {
  background: var(--hover);
  color: var(--text);
}

nav > div > ul > li > i {
  font-size: x-large;
  margin-right: 11px;
}

/* nav > ul > li > svg {
                     stroke: var(--text-gray);
        height: 1.75rem;
        width: 1.75rem; 
        }

        nav > ul > li:hover > svg {
             stroke: var(--text);
        }


        nav > ul > li:hover > svg {
            stroke: var(--text);
            } */

.switch_account ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.25rem;
  flex-direction: column;
}
.switch_account li {
  display: flex;
  align-items: center;
  font-weight: bold;
  gap: 0.75rem;
  padding: 0.75rem;
  cursor: pointer;
  border-radius: 0.5rem;
}

.switch_account .active {
  color: var(--text);
  background: var(--hover);
}
.switch_account .active:hover {
  background: var(--BtnClick);
}

.switch_account li i {
  font-size: larger;
}

#sign-out-all {
  background: var(--hover);
  border: 1px solid var(--border);
  width: 100%;
  min-height: 3rem;
  margin-top: 1rem;
  border-radius: 0.5rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

#sign-out-all.logged-out:hover {
  color: var(--text);
  border: 1px solid var(--text);

  background-color: var(--error);
}

#sign-out-all:hover {
  color: var(--text);
  border: 1px solid var(--text);

  background-color: var(--BtnClick);
}

#sign-out-all i {
  font-size: larger;
}
.email {
  font-size: 0.95rem;
}
.marker {
  background: var(--success);
  min-width: 1rem;
  min-height: 1rem;
  margin-left: auto;
  border-radius: 50%;
  display: none;
}

.switch_account .active .marker {
  display: block;
}

#log-section {
  position: fixed;
  display: none; /* لإخفاء العنصر في البداية */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease-in-out;
}

/* تأثير الدخول الناعم للمودال */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.contern-log {
    position: relative; /* تغيير من absolute لسهولة التحكم في التوسط */
    margin: 40px auto; /* لتوسيط الصندوق في منتصف الصفحة */
    width: 90%; /* يشغل 90% من عرض الشاشة */
    max-width: 450px; /* لا يزيد عن 450 بكسل على الشاشات الكبيرة */
    padding: 30px 25px; /* تقليل الحشو ليتناسب مع المساحات الصغيرة */
    color: black;
    font-weight: bold;
    box-shadow: 20px 20px 30px rgb(0 0 0 / 35%);
    border-top-left-radius: 4%;
    border-top-right-radius: 10%;
    border-bottom-left-radius: 10%;
    border-bottom-right-radius: 4%;
    transition: all 0.334s ease-in-out;
    background: linear-gradient(120deg, #088178 20%, #18b4aa 50%, #56b0a2 80%);
    direction: rtl; /* لضمان اتجاه النص العربي */
}
.contern-log.chaneradiuslogin {
  border-top-left-radius: 10%;
  border-top-right-radius: 4%;
  border-bottom-left-radius: 4%;
  border-bottom-right-radius: 10%;
}
#close-icon {
  align-self: end;
  z-index: 1;
    position: sticky;
}
#close-icon > i {
  cursor: pointer;
}
.wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* min-height: 110vh;
            background: rgba(39, 39, 39, 0.4); */
}
.nav {
  align-self: center;
}
.nav-logo p {
  font-size: 25px;
  font-weight: 600;
}
.nav-menu ul {
  display: flex;
}
.nav-menu ul li {
  list-style-type: none;
}
.nav-menu ul li .link {
  text-decoration: none;
  font-weight: 500;

  padding-bottom: 15px;
  margin: 0 25px;
}
.link:hover,
.active {
  border-bottom: 2px solid #10a0bc;
}
.nav-button {
  display: flex;
}
.nav-button .btnloginout {
  width: 130px;
  height: 40px;
  font-weight: 500;
  background: var(--hover);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s ease;
  color: white;
}
.btnloginout:hover {
  background: var(--BtnClick);
}
#registerBtn {
  margin-left: 15px;
}
.btnloginout.white-btn {
  background: var(--BtnClick);
}
.btnloginout.btnloginout.white-btn:hover {
  background: var(--BtnClick);
}

.form-box {
  position: relative;
  display: flex;
  align-items: start;
  justify-content: center;
  width: 512px;
  height: 662px;
  overflow: hidden;
  z-index: 2;
}
.login-container {
  position: absolute;
  left: 4px;
  width: 500px;
  display: flex;
  flex-direction: column;
  transition: 0.5s ease-in-out;
}
.register-container {
  position: absolute;
  right: -520px;
  width: 500px;
  display: flex;
  flex-direction: column;
  transition: 0.5s ease-in-out;
}
#forgot-password-cn {
  position: absolute;
  left: -796px;
  top: 30%;
  transform: translateY(-50%);
  height: 43%;
  padding: 70px;
  background: linear-gradient(
    135deg,
    #088178,
    #18b4aa,
    #56b0a2
  ); /* تدرج لوني متعدد في زاوية 135 درجة */
  border-radius: 15px; /* حواف دائرية أكثر نعومة */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* إضافة تأثير الظلال بشكل ناعم */
  opacity: 0;
  transition: all 0.5s ease-in-out; /* تأثير حركة سلس */
  text-align: center;
  text-align-last: center;
  direction: rtl;
  border: 1px solid #ddd;
  color: white; /* تغيير النص إلى اللون الأبيض ليظهر بشكل جيد على الخلفية */
  font-size: x-large;
}

#forgot-password-cn input {
  font-size: 15px;
  background: rgb(255 255 255);
  height: 50px;
  width: 100%;
  padding: 0 10px 0 45px;
  border: none;
  border-radius: 30px;
  outline: none;
  transition: 0.2s ease;
  margin-top: 20px;
  margin-bottom: 20px;
}

#forgot-password-cn button {
  padding: 12px 30px;
  /* width: 130px; */
  /* height: 40px; */
  background: var(--BtnClick);
  border: 1px solid;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s ease;
  color: white;

  transition: background-color 0.3s ease;
  font-size: medium;
}

#forgot-password-cn button:hover {
  background-color: var(--hover); /* تأثير التمرير على الزر */
}

.top span {
  font-size: small;
  padding: 10px 0;
  display: flex;
  justify-content: center;
}
.top span a {
  font-weight: 500;
  margin-left: 5px;
  color: var(--color-white);
}
.Login-logout-h1 {
  font-size: 30px;
  text-align: center;
  padding: 10px 0 30px 0;
  color: var(--color-white);
}
.two-forms {
  display: flex;
  gap: 10px;
}
.input-field {
  font-size: 15px;
  background: rgb(255 255 255);

  height: 50px;
  width: 100%;
  padding: 0 10px 0 45px;
  border: none;
  border-radius: 30px;
  outline: none;
  transition: 0.2s ease;
}
.input-field:hover,
.input-field:focus {
  background: var(--primary);
  color: var(--text-gray);
}
::-webkit-input-placeholder {
  color: #000000;
}
.input-box {
  padding: 10px 0;
}

.input-box i {
  position: relative;
  top: -35px;
  left: 17px;
}
.submit {
  font-size: 15px;
  font-weight: 500;
  color: var(--primary);
  height: 45px;
  width: 100%;
  border: none;
  border-radius: 30px;
  outline: none;
  background: var(--hover);
  cursor: pointer;
  transition: 0.3s ease-in-out;
}
.submit:hover {
  background: var(--BtnClick);
  box-shadow: 1px 5px 7px 1px rgba(0, 0, 0, 0.2);
}
.two-col {
  display: flex;
  justify-content: space-between;
color: var(--color-white);
  font-size: small;
  margin-top: 10px;
}
.two-col .one {
  display: flex;
  gap: 5px;
}
.two label a {
  text-decoration: none;
}
.two label a:hover {
  text-decoration: underline;
}

/* shoping cart setcion */
#cartIMG {
  background-image: url("sours/cartimg/cart.avif");
  width: 100%;
  height: 18vh;
  background-size: cover;
  display: flex;
  text-align: center;
  justify-content: center;
  flex-direction: column;
  padding: 14px;
  color: white;
  font-size: 91px;
}
#cart-content {
  width: 100%;
  justify-items: center;
  display: grid;
  grid-template-columns: repeat(
    2,
    1fr
  ); /* تقسيم العرض إلى 2 أعمدة بنسب متساوية */
  direction: rtl;
}
#recent-item {
  margin-top: 2rem;
  justify-items: center;
  width: 96%;
  overflow-x: auto;
  grid-column: span 2; /* يأخذ العنصر الأول مساحة 2 أعمدة */
}
#recent-item h2 {
  margin-bottom: 0.8rem;
}

#recent-item a {
  text-align: center;
  display: block;
  margin: 1rem auto;
  color: var(--BtnClick);
}
#recent-item a:hover {
  color: var(--hover);
}
/* خلفية الصف العلوي للعناوين */

.tablecart thead tr:nth-child(1) {
  background-color: #f2f2f2; /* تحديد لون خلفية الصف الثاني */
  border-bottom: 1px groove; /* يمكنك تغيير لون الخط وسمكه حسب الرغبة */
  border-top: 1px groove; /* يمكنك تغيير لون الخط وسمكه حسب الرغبة */
}
.tablecart {
  width: 100%;
  max-width: 100%;
  background: var(--color-white);
  border-radius: var(--card-border-radius);
  padding: var(--card-padding);
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: all 300ms ease;
  font-size: 16px; /* تحسين قابلية القراءة */
  border: 1px solid #ddd;
  height: auto;
  border-spacing: 0;
  overflow: hidden; /* منع خروج المحتوى */
  user-select: none; /* تعطيل تحديد النص في الجدول */
}

/* تحسين شكل الصفوف */
.tablecart thead tr {
  background-color: #088178; /* لون مميز */

  font-weight: bold;
  text-transform: uppercase;
}

.tablecart th, 
.tablecart td {
  padding: 12px;
  border-bottom: 1px solid #ddd;
  user-select: none; /* تعطيل تحديد النص في الجدول */
}

/* تأثير Hover على الصفوف */
.tablecart tbody tr:hover {
  background-color: rgba(8, 129, 120, 0.1); /* لون خفيف عند التمرير */
  transition: background 0.3s ease;
}

/* تحسين شكل آخر صف */
.tablecart tbody tr:last-child td {
  border-bottom: none;
}

/* تأثير hover عند مرور الفأرة */
.tablecart:hover {
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
}

#tablecart tbody tr td:nth-child(4) {
  color: green;
  font-weight: bold;
}

#tablecart tbody tr td:nth-child(7) {
  color: green;
  font-weight: bold;
}

#recent-item table thead tr:first-child th {
  width: 15%;
}

#recent-item table tbody tr td img {
  width: 70px; /* تحديد عرض مناسب */
  height: 70px; /* ضمان أن الصورة متناسقة */
  border-radius: 10px; /* زوايا دائرية لاحترافية أكثر */
  object-fit: contain; /* التأكد من عدم تشويه الصورة */
  padding: 10px; /* تقليل المسافة الداخلية */
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1); /* إضافة ظل خفيف */
  transition: transform 0.3s ease-in-out; /* تأثير عند التمرير */
}

/* تأثير تكبير خفيف عند مرور الفأرة */
#recent-item table tbody tr td img:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* تنسيق قائمة الألوان داخل العمود الخامس */
.tablecart tbody tr td:nth-child(5) {
  text-align: center; /* جعل النصوص داخل العمود في المنتصف */
}

/* تنسيق عنصر select */
.color-select {
  width: 90px; /* ضبط العرض */
  padding: 5px; /* تقليل التباعد الداخلي */
  border: 1px solid #ccc; /* لون الحدود */
  border-radius: 5px; /* جعل الزوايا دائرية */
  background-color: #fff; /* لون الخلفية */
  font-size: 14px; /* حجم النص */
  cursor: pointer; /* جعل المؤشر يشير إلى أنه يمكن التفاعل */
  transition: all 0.3s ease-in-out; /* تأثير ناعم عند التفاعل */
}

/* تأثير عند تمرير الفأرة */
.color-select:hover {
  border-color: #088178; /* تغيير لون الحدود عند التمرير */
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2); /* إضافة ظل خفيف */
}

/* تحسين المظهر عند النقر */
.color-select:focus {
  outline: none;
  border-color: #088178;
  box-shadow: 0px 2px 5px rgba(8, 129, 120, 0.5);
}

/* تنسيق أيقونة الحذف داخل العمود الأول */
.tablecart tbody tr td:first-child {
  text-align: center; /* محاذاة المحتوى في المنتصف */
  width: 50px; /* ضبط عرض العمود */
}

/* تنسيق الأيقونة */
.ckrenoveitemformcart {
  font-size: 20px; /* حجم الأيقونة */
  color: #ff4d4d; /* لون أحمر للحذف */
  cursor: pointer; /* جعل المؤشر يشير إلى إمكانية التفاعل */
  transition: transform 0.3s ease, color 0.3s ease; /* تأثير سلس عند التفاعل */
}

/* تأثير عند تمرير الفأرة */
.ckrenoveitemformcart:hover {
  color: #d32f2f; /* لون أحمر أغمق عند التمرير */
  transform: scale(1.2); /* تكبير الأيقونة قليلاً عند التمرير */
}

/* تحسين تموضع الأيقونة */
.tablecart tbody tr td:first-child i {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%; /* ملء ارتفاع الخلية بالكامل */
}

/* تنسيق عام لخلية الكمية */
.quantity-cell {
  text-align: center; /* محاذاة المحتوى أفقياً */
  vertical-align: middle; /* محاذاة المحتوى عمودياً */
  min-width: 120px; /* عرض أدنى مناسب */
  white-space: nowrap; /* منع التفاف العناصر داخل الخلية */
}

/* تنسيق زر زيادة ونقصان الكمية */
.quantity-cell i {
  font-size: 22px;
  cursor: pointer;
  color: #088178;
  transition: transform 0.2s ease, color 0.2s ease;
  display: inline-block; /* لضمان عدم تأثر المحاذاة */
  margin: 0 5px; /* إضافة مسافة بين الأيقونات والإدخال */
}

/* تأثير عند التمرير على الأزرار */
.quantity-cell i:hover {
  color: #066a5b; /* لون غامق عند التفاعل */
  transform: scale(1.2); /* تكبير بسيط عند التمرير */
}

/* تنسيق إدخال الكمية */
.quantity-cell input {
  width: 50px; /* عرض مناسب */
  height: 30px; /* ارتفاع مناسب */
  text-align: center; /* محاذاة النص في المنتصف */
  font-size: 16px; /* حجم النص */
  border: 1px solid #cce7d0; /* إطار خفيف */
  border-radius: 5px; /* زوايا ناعمة */
  outline: none; /* إزالة الإطار عند التركيز */
  transition: border 0.2s ease;
  display: inline-block; /* للحفاظ على الترتيب الصحيح */
}

/* تأثير عند التركيز على الإدخال */
.quantity-cell input:focus {
  border-color: #088178; /* تغيير لون الإطار */
}


#ship-input {
  text-align: center;
  text-align-last: center;
  width: 59%;

  grid-row: 2; /* يوضع العنصرين الثاني والثالث في الصف الثاني */
}
#ship-input-contanr {
  width: 100%;
  background: var(--color-white);
  border-radius: var(--card-border-radius);
  border: 1px groove;
  padding: var(--card-padding);
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: all 300ms ease;
  font-size: medium;
  font: bold;
  border-collapse: separate;
  border-spacing: 0px;
  margin-bottom: 20px;
  border-spacing: 0 10px;
}
#ship-input-contanr input {
  height: 2.125rem;
  padding: 0 1.25em;
  font-size: 18px;
  border: 1px solid #088178;
  border-radius: 4px;
  outline: none;
  direction: rtl;
  margin: 7px 0px;
}
#cart-totals-content {
  text-align: center;
  width: 59%;
  grid-row: 2; /* يوضع العنصرين الثاني والثالث في الصف الثاني */
}

.cart-total {
  width: 100%;
  background: var(--color-white);
  border-radius: var(--card-border-radius);
  border: 1px groove;
  padding: var(--card-padding);
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: all 300ms ease;
  font-size: medium;
  font: bold;
  max-width: 100%;
  height: 248px;
  border-collapse: separate;
  border-spacing: 0px;
  margin-bottom: 20px;
}
.cart-total thead th {
  background-color: #f2f2f2; /* يمكنك تغيير اللون حسب الرغبة */
  border: 1px groove; /* يمكنك تغيير لون الخط وسمكه حسب الرغبة */
}
.cart-total thead td {
  border: 1px groove; /* يمكنك تغيير لون الخط وسمكه حسب الرغبة */
  color: green;
  font-weight: bold;
}
.cart-total:hover {
  box-shadow: none;
}

#cartsection {
  position: fixed;
  display: none; /* لإخفاء العنصر في البداية */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  overflow: auto;
  background-color: rgb(215 210 210 / 60%);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease-in-out;
}

#wrappercart {
  /* display: flex;*/
  /* flex-direction: column; */
  min-height: 94vh;
  max-height: 95vh;
  /* background:#f2f2f2; */
  border: 2px solid;
  width: 97%;
  margin: 30px;
  overflow-y: scroll;
  /* direction: rtl; */

  border-radius: 37px;
}

#closeiconforcart {
  margin-right: 25px;
  margin-top: 16px;
  position: sticky;
  top: 1%;
  left: 0;
  right: 2%;
  justify-self: self-end;
}
#closeiconforcart > i {
  cursor: pointer;
}

/* END shoping cart setcion */

/* my-profile setcion */
/* #my-profile: العنصر الأساسي */
#my-profile {
      background-color: rgba(0, 0, 0, 0.6);
  position: fixed;
  display: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
    backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease-in-out
}
/* .wrapper: محاذاة المحتوى بشكل مركزي */
.wrapperr {
  display: flex;
  flex-direction: column;
  justify-content: center; /* يضمن محاذاة المحتوى عموديًا في المنتصف */
  align-items: center; /* يضمن محاذاة المحتوى أفقيًا في المنتصف */
  height: 100%; /* تأكد من أن .wrapper يأخذ كامل المساحة المتاحة */
  z-index: -1;
}
/* .contern-my-profile: تنسيق صندوق المحتوى */
.contern-my-profile {
  position: relative; /* لن يحتاج إلى absolute لأن .wrapper سيقوم بمحاذاته */
  width: 50%;
  height: 75%;
  max-width: 800px;
  background: #f5f5f5;
    padding: 22px 73px;
  color: black;
  font-weight: bold;
  box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.35);
  border-radius: 16% 10% 16% 10%; /* زاوية منحنيات مخصصة */
  border: 3px solid #088178;
  display: flex;
  flex-direction: column;
  justify-content: center; /* محاذاة المحتوى بشكل عمودي داخل الصندوق */
  transition: all 0.334s ease-in-out; /* تأثير الانتقال عند التفاعل */
  overflow: hidden; /* لمنع العناصر الداخلية من الخروج */
  z-index: 1;
}

#closeiconfor-my-profile {
  align-self: end;
}

#closeiconfor-my-profile {
  cursor: pointer;
}

/* تنسيق العنوان 'My Profile' */
#my-profile h1 {
  text-align: center;
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
}
#my-profile form {
  direction: rtl;
  margin-bottom: 60px;
}

/* Create a flex container for the form row */
.form-row {
  display: flex; /* Use Flexbox to lay out the form fields in a row */
  gap: 20px; /* Space between each input field */
  justify-content: space-between; /* Distribute fields evenly across the row */
}

/* Style individual form groups */
.form-group {
  flex: 1; /* Each input will take equal space */
  min-width: 200px; /* Prevent inputs from becoming too narrow */
}

/* Style inputs */
.form-group input {
  width: 100%; /* Make inputs fill the width of their container */
  padding: 8px;
  border: 1px solid #088178;
  border-radius: 4px;
  margin: 7px 0px;
  font-size: 18px;
  direction: rtl;
  outline: none;
  text-align-last: center;
}

#my-profile form button {
  background-color: var(--hover);
  color: var(--color-white);
  margin-top: 62px;
}
/* END my-profile section  */

/* Account Settings section */
#Account-Settings {
  position: fixed;
  display: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
    backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease-in-out;
  background-color: rgba(0, 0, 0, 0.6);
}


#payment-method-td {
  padding: 12px 16px;
  background-color: #f9f9f9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center; /* لأنك تستخدم direction: rtl */
  flex-direction: row-reverse;
  border: 2px solid #088178;
  gap: 10px; /* تباعد بين الراديو والنص */
  font-size: 1rem;
  font-weight: bold;
  color: #088178;
  transition: background-color 0.3s ease;
}

.payment-method-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}


/* تنسيق مربعات الاختيار */
.payment-method-radio {
  margin-right: 8px; /* المسافة بين الراديو والتسمية */
  transform: scale(1.2); /* تكبير حجم الراديو */
}

/* تنسيق عند التمرير على الراديو */
.payment-method-radio:hover {
  transform: scale(1.3); /* تكبير الراديو عند التمرير */
  transition: 0.2s; /* تأثير انتقال عند التغيير */
}

/* تنسيق عند اختيار الراديو */
.payment-method-radio:checked + .payment-method-label {
  font-weight: bold;  /* جعل التسمية بالخط العريض عند اختيار الراديو */
  color: #007BFF;     /* تغيير اللون إلى الأزرق عند الاختيار */
}

/* تنسيق خاص لتسمية الراديو عند اختيار الخيار نقدًا */
#payment-method-cash:checked + .payment-method-label span {
  color: #28a745; /* تغيير اللون إلى الأخضر عند اختيار نقدًا */
}

/* تنسيق خاص لتسمية الراديو عند اختيار بطاقة ائتمان */
#payment-method-credit-card:checked + .payment-method-label span {
  color: #007BFF; /* تغيير اللون إلى الأزرق عند اختيار بطاقة ائتمان */
}

/* تنسيق العنوان 'My Profile' */
#Account-Settings h1 {
  text-align: center;
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
}
#Account-Settings form {
  direction: rtl;
  margin-bottom: 60px;
  gap: 23px;
  display: flex;
  flex-direction: column;
}
#Account-Settings form .form-row button {
  background-color: var(--color-white);
  color: var(--text-gray);
}

#Account-Settings form button {
  background-color: var(--hover);
  color: var(--color-white);
}
#closeiconfor-Account-Settings {
  align-self: end;
  cursor: pointer;
}
/* تنسيق الحاوية الخاصة بكلمة السر */
/* تنسيق الحاوية الخاصة بكلمة السر */
.password-container {
  position: relative;
  display: flex;
  align-items: center;
}

/* تنسيق زر العين */
.toggle-password {
  background: transparent;
  border: none;
  cursor: pointer;
  position: absolute;
  right: 10px;
  font-size: 18px;
}

/* تحسين الحقل ليظهر بشكل جيد */
.password-container input {
  width: 100%;
  padding: 8px;
  padding-right: 40px; /* إضافة مساحة لزر العين */
  border: 1px solid #088178;
  border-radius: 4px;
  font-size: 16px;
}

/* END Account Settings section */

/* Track My Orders section */
#Track-My-Orders {
  position: fixed;
  display: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
    backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease-in-out;
}



.contern-Track-My-Orders {
  position: relative; /* لن يحتاج إلى absolute لأن .wrapper سيقوم بمحاذاته */
  width: 80%;
  height: 90%;
  background: rgba(227, 230, 243, 0.564); /* خلفية ذات لون ثابت */
  padding: 22px 73px;
  color: black;
  font-weight: bold;
  box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.35);
  border-radius: 6% 4% 6% 4%; /* زاوية منحنيات مخصصة */
  border: 3px solid #088178;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* محاذاة المحتوى بشكل عمودي داخل الصندوق */
  transition: all 0.334s ease-in-out; /* تأثير الانتقال عند التفاعل */
  overflow: hidden; /* لمنع العناصر الداخلية من الخروج */
  z-index: 1;
  right: -100%;
  transition: all 0.5s ease-in-out; /* تأثير انتقال سلس */
  opacity: 50%;
}

.contern-Track-My-Orders.show {
  right: 0; /* العنصر يدخل إلى الشاشة */
  transition: all 0.5s ease-in-out; /* تأثير انتقال سلس */
  opacity: 100%;
}

#closeiconfor-Track-My-Orders {
  align-self: end;
  cursor: pointer;
  color: var(--hover);
}
#closeiconfor-Track-My-Orders:hover {
  color: var(--error);
}
#closeiconfor-your-report {
  align-self: end;
  cursor: pointer;
  color: var(--hover);
}
#closeiconfor-your-report:hover {
  color: var(--error);
}
.closeiconforall {
  cursor: pointer;
  color: var(--hover);
}
.closeiconforall:hover {
  color: var(--error);
}
.contern-Track-My-Orders h1 {
  align-self: center;
}
#tableTrack-My-Orders {
  height: 133px;
}

#tableTrack-My-Orders tbody tr td:nth-child(5) {
  color: green;
  font-weight: bold;
}
#tableTrack-My-Orders tbody tr {
  transition: all 300ms ease;
}
#tableTrack-My-Orders tbody tr:hover {
  background-color: #f2f2f2;
  transition: all 300ms ease;
  font-weight: bold;
  cursor: pointer;
}

#tableTrack-My-Orders tbody tr td {
  padding: 10px; /* مسافة داخل الخلايا */
}

#details-contern-Track-My-Orders {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  z-index: 999;
  transition: all 0.5s ease; /* تأثير انتقال سلس */
  overflow-y: auto;
  opacity: 50%;
}

#details-contern-Track-My-Orders.show {
  left: 0; /* العنصر يدخل إلى الشاشة */
  transition: all 0.5s ease; /* تأثير انتقال سلس */
  opacity: 100%;
}
#details-contern-Track-My-Orders .container {
  max-width: 902px;
  max-height: 902px;
  margin: 20px auto;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  border: 3px solid #088178;
  direction: rtl;
  
  overflow-y: auto;
}

#details-contern-Track-My-Orders .header {
  display: flex;

  align-items: center;
  margin-bottom: 20px;
}

#details-contern-Track-My-Orders .header h1 {
  font-size: 1.5em;
  margin: 0;
}

#details-contern-Track-My-Orders .status {
  background-color: #e0f4ff;
  color: #007bff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.9em;
  margin-left: 10px;
}

#details-contern-Track-My-Orders .timeline {
  display: flex;
  justify-content: space-between;
  /* align-items: center; */
  margin: 20px 0;
  padding: 0;
  list-style: none;
  position: relative;
}

#details-contern-Track-My-Orders .timeline::before {
  content: "";
  position: absolute;
  top: 16%;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #ccc;
  z-index: 1;
}

#details-contern-Track-My-Orders .timeline li {
  position: relative;

  z-index: 2;
}

#details-contern-Track-My-Orders .timeline li:nth-child(2) {
  text-align: center;
}
#details-contern-Track-My-Orders .timeline li:nth-child(3) {
  text-align: center;
}
#details-contern-Track-My-Orders .timeline li:nth-child(4) {
  text-align: end;
}
#details-contern-Track-My-Orders .timeline li span {
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border-radius: 50%;
  background-color: #007bff;
  color: white;
  margin-bottom: 10px;
  z-index: 3;
}
#details-contern-Track-My-Orders .timeline li span.activee {

  background-color: var(--success);
  }
#details-contern-Track-My-Orders .details {
  margin-bottom: 20px;
  direction: rtl;
}

#details-contern-Track-My-Orders .details div {
  margin-bottom: 10px;
}

#details-contern-Track-My-Orders .details a {
  color: #007bff;
  text-decoration: none;
}

#details-contern-Track-My-Orders .order-items {
  margin-top: 20px;
}

#details-contern-Track-My-Orders .order-items table {
  width: 100%;
  border-collapse: collapse;
}

#details-contern-Track-My-Orders .order-items th,
#details-contern-Track-My-Orders .order-items td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: center;
}

#details-contern-Track-My-Orders .order-items th {
  background-color: #f9f9f9;
}

#details-contern-Track-My-Orders .order-items tbody tr td img {
  width: 80px; /* العرض */
  height: 80px; /* الطول */
  /*object-fit: cover;  التحكم في كيفية ملء الصورة */
  border-radius: 8px; /* زوايا دائرية لجعل الصورة تبدو أجمل */
  border: 1px solid #ddd; /* حدود رمادية خفيفة لإبراز الصورة */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* إضافة ظل خفيف */
}

.star i {
  color: #ccc; /* اللون الافتراضي للنجوم الفارغة */
  cursor: pointer;
}

.star i.filled {
  color: gold; /* اللون عند تعبئة النجمة */
}





#details-contern-Track-My-Orders .total {
  text-align: right;
  margin-top: 20px;
}
#closeiconfor-details-Track-My-Orders {
  align-self: end;
  cursor: pointer;
  font-size: 18px;
  color: var(--hover);
}
#closeiconfor-details-Track-My-Orders:hover {
  color: var(--error);
}

.backiconfor-details-Track-My-Orders {
  align-self: end;
  cursor: pointer;
  font-size: 18px;
  color: var(--hover);
}
.backiconfor-details-Track-My-Orders:hover {
  color: var(--error);
}

/* تغيير لون حالة الطلب حسب الحالة */
.status-shipped {
  color: #4caf50; /* أخضر */
  padding: 5px;
  border-radius: 5px;
}
.ORDER-CONFIRMED {
  color: var(--BtnClick);
  padding: 5px;
  border-radius: 5px;
}
.status-delivered {
  color: #2196f3; /* أزرق */
  padding: 5px;
  border-radius: 5px;
}

.status-processing {
  color: #ff9800; /* برتقالي */
  padding: 5px;
  border-radius: 5px;
}

#tableTrack-My-Orders .status-shipped {
  color: #4caf50; /* تم الشحن */
}

#tableTrack-My-Orders .status-delivered {
  color: #2196f3; /* تم التسليم */
}

#tableTrack-My-Orders .status-processing {
  color: #ff9800; /* قيد المعالجة */
}


#your-report {
  position: fixed;
  display: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
    backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease-in-out;
}

#details-contern-your-report {
  position: fixed;
  display: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease-in-out;
  background-color: rgba(0, 0, 0, 0.6);
}

#details-contern-your-reports.show {
  left: 0; /* العنصر يدخل إلى الشاشة */
  transition: all 0.5s ease; /* تأثير انتقال سلس */
  opacity: 100%;
}
.contern-your-reports {
  position: relative; /* لن يحتاج إلى absolute لأن .wrapper سيقوم بمحاذاته */
  width: 80%;
  height: 90%;
  background: rgba(227, 230, 243, 0.564); /* خلفية ذات لون ثابت */
  padding: 22px 73px;
  color: black;
  font-weight: bold;
  box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.35);
  border-radius: 6% 4% 6% 4%; /* زاوية منحنيات مخصصة */
  border: 3px solid #088178;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* محاذاة المحتوى بشكل عمودي داخل الصندوق */
  transition: all 0.334s ease-in-out; /* تأثير الانتقال عند التفاعل */
  overflow: hidden; /* لمنع العناصر الداخلية من الخروج */
  z-index: 1;
  right: -100%;
  transition: all 0.5s ease-in-out; /* تأثير انتقال سلس */
  opacity: 50%;
}
.container1 {
  position: relative;
  width: 62%;
  height: 97%;
  max-width: 800px;
  background: #f5f5f5;
  padding: 22px 73px;
  color: black;
  font-weight: bold;
  box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.35);
  border-radius: 16% 10% 16% 10%;
  border: 3px solid #088178;
  display: none;
  flex-direction: column;
  justify-content: center;
  transition: all 0.334sease-in-out;
  overflow: hidden;
  z-index: 1; }

  .contern-Track-My-Orders.show {
    right: 0; /* العنصر يدخل إلى الشاشة */
    transition: all 0.5s ease-in-out; /* تأثير انتقال سلس */
    opacity: 100%;
  }

  .container-reports {
    max-width: 600px;
    margin: auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.chat-box {
    border: 1px solid #ddd;
    padding: 10px;
    height: 200px;
    overflow-y: auto;
    background: #fff;
    margin-bottom: 10px;
}

.admin-message {
    background: #007bff;
    color: white;
    padding: 5px 10px;
    border-radius: 10px;
    margin: 5px;
    text-align: left;
}

.customer-message {
    background: #28a745;
    color: white;
    padding: 5px 10px;
    border-radius: 10px;
    margin: 5px;
    text-align: right;
}

.input-boxformsg {
    display: flex;
    gap: 10px;
}

.input-boxformsg textarea {
    flex-grow: 1;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.input-boxformsg button {
    padding: 10px 15px;
    border: none;
    background: #007bff;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}

.input-boxformsg button:hover {
    background: #0056b3;
}


#chatContainer{
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* إضافة ظل خفيف */

  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px); /* تأثير تمويه لإضفاء لمسة احترافية */
  animation: fadeIn 0.3s ease-in-out;
}
.chatContainerinner{
  max-width: 30%;
  height: 87%;
  margin: 20px auto;
  background: var(--color-background);
  padding: 20px;
  border-radius: 10px;
  border: 3px solid var(--color-primary);

  background-color: var(--color-white);
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  overflow-y: scroll;
}
.input-box-msg {
  display: flex;
  align-items: center;
  gap: 10px; /* مسافة بين العناصر */
  width: 100%;
  max-width: 600px;
  background: var(--color-white);
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.input-box-msg textarea {
  flex: 1; /* اجعل الـ textarea يتمدد ليشغل المساحة المتاحة */
  height: 45px;
  padding: 10px;
  font-size: 16px;
  font-family: Arial, sans-serif;
  border: 2px solid #ccc;
  border-radius: 8px;
  outline: none;
  resize: none;
  transition: border-color 0.3s ease-in-out;
  color: black;
  background-color: var(--color-white);
}
.input-box-msg textarea::placeholder {
  color: gray;
  text-align: center; /* التأكد من أن النص داخل placeholder في المنتصف */
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0.6; /* جعل النص شفافًا قليلاً */
}



.input-box-msg textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
}

.input-box-msg .button-send {
  padding: 10px 15px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  background-color: #007bff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  outline: none;
}

.input-box-msg .button-send:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

.input-box-msg .button-send:active {
  background-color: #004494;
  transform: scale(1);
}


.chat-box {
  height: 65%;
  width: 100%;
  overflow-y: auto;
  border: 1px solid #ddd;
  padding: 15px;
  background: var(--color-white);
  margin-top: 10px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  font-size: large;
  gap: 8px; /* مسافة بين الرسائل */
}
/* تنسيق الرسائل المشتركة */
.messagechat {
  padding: 10px 15px;
  border-radius: 12px;
  margin: 5px 0;
  display: inline-block;
  max-width: 75%; /* منع الرسالة من الامتداد لكامل الشاشة */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  opacity: 1; /* إزالة التأثير الافتراضي */
  transform: translateY(0); /* إزالة التأثير الافتراضي */
  word-wrap: break-word;  /* يجبر النص الطويل على الانكسار */
  overflow-wrap: break-word; /* يدعم كل المتصفحات */
  white-space: pre-wrap;  /* يحافظ على التنسيقات مثل الأسطر الجديدة */
}
#Track-My-Orders-footer{
  display: none;
}
.messagechat.new-message {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInmsg 0.3s forwards ease-in-out;
}
   
.btnafteraddtocart{
  background-color: #18b4aa;
}

/* رسالة المستخدم */
/* ✅ تحسين رسائل المستخدم */
.user-msg {
  background: linear-gradient(to right, #a3c9a8, #c7e3c9); /* تدرج أخضر فاتح وهادئ */
  color: #1f3b56;
  text-align: right;
  align-self: end;
  border-radius: 15px 15px 15px 0; /* تنسيق الفقاعة */
}

/* ✅ سهم لرسائل المستخدم */
.user-msg::after {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: transparent #d4e6f1 transparent transparent;
}

/* إضافة سهم صغير للإشارة إلى صاحب الرسالة */
.user-msg::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: transparent transparent transparent #a3c9a8;
}


/* رسالة الأدمن */
.admin-msg {
  
  background: linear-gradient(to right, #d4e6f1, #eaf4fc); /* تدرج أزرق هادئ */
  color: #2d4a2f;
  text-align: left;
  align-self: start;

  padding: 12px 18px;
  border-radius: 15px 15px 0px 15px; /* زوايا مستديرة مع تحديد الحافة اليسرى السفلى */
  font-weight: bold;
  max-width: 70%; /* منع الرسائل من الامتداد أكثر من اللازم */
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.2);
  position: relative;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: pre-wrap;
}
.buttondeleteforedit{
  position: relative;
  padding: 10px 2px;
  margin: 0 28px;
  border-radius: 7px;
  min-width: 90px;
  cursor: pointer;
  color: var(--color-white);
  background: var(--BtnClick);
  transition: all 0.3s;
}

.report-button {
  background-color: #007bff; /* اللون الأزرق */
  color: white; /* النص باللون الأبيض */
  padding: 10px 20px; /* إضافة مسافة داخلية */
  border: none; /* إزالة الحدود */
  border-radius: 5px; /* إضافة زوايا مدورة */
  font-size: 16px; /* حجم الخط */
  cursor: pointer; /* تغيير المؤشر عند المرور فوق الزر */
  transition: background-color 0.3s ease; /* تأثير التغيير السلس للون الخلفية */
}

.report-button:hover {
  background-color: #0056b3; /* تغيير اللون عند التمرير فوق الزر */
}

.report-button:active {
  background-color: #004085; /* تغيير اللون عند النقر على الزر */
}

.report-button:focus {
  outline: none; /* إزالة التركيز عند النقر */
}

.report-button i {
  margin-right: 5px; /* إضافة مسافة بين الأيقونة والنص */
}


#reportsTableBody tr{
margin: 0px;
}

/* أيقونة صغيرة مع الرسالة */
.admin-msg::before {
  content: "👨‍💼"; /* يمكنك استبدالها بأيقونة SVG إن أردت */
  position: absolute;
  left: 10px;
  top: 10px;
  font-size: 18px;
}

.status-container {
  margin-top: 20px;
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.status-container label {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-right: 10px;
}

#status-select {
  padding: 8px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  transition: all 0.3s ease;
}

#status-select:focus {
  border-color: #007bff;
  outline: none;
}

.status-container select {
  margin-top: 5px;
}


/* تأثير الرسائل عند الظهور */
@keyframes fadeInmsg {
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* 🎉 صندوق العرض */
.offer-box {
  text-align: center;
  background: linear-gradient(135deg, #000, #088178);
  padding: 20px;
  border-radius: 12px;
  margin: 20px auto;
  max-width: 400px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  animation: pulse 2s infinite;
}

.offer-box h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #fff;
	direction: rtl;
}

.offer-box p {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #fff;
}

/* ⏳ عداد الوقت */
#countdown {
  font-size: 1.8rem;
  font-weight: bold;
  background: #fff;
  color: #ff4d4d;
  padding: 10px 20px;
  border-radius: 8px;
  display: inline-block;
  font-family: Alexandria, 'Tajawal', 'Segoe UI', Arial, sans-serif; /* دعم العربية */
  font-variant-numeric: tabular-nums; /* أرقام بعرض ثابت */
  direction: rtl;
  letter-spacing: 2px;
}

/* 👀 عدد الزوار */
#liveViewers {
  font-size: 14px;
  font-weight: bold;
  color: #3ce745;
  margin-top: 10px;
	direction: rtl;
}

/* ✅ الكمية المتبقية */
#stockInfo {
  font-size: 14px;
  font-weight: bold;
  color: #c62828;
  margin-top: 5px;
	direction: rtl;
}

/* 🔔 إشعارات الطلب (Toast) */
#toast {
  position: fixed;
  top: 18px;
  left: -17px; /* البداية من اليسار */
  background: rgba(8, 129, 120, 0.6); /* خلفية شبه شفافة */
  color: #fff;
  font-weight: bold;
  padding: 12px 22px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  font-size: 10px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  max-width: 90%;
  white-space: nowrap;
  backdrop-filter: blur(4px);
  transform: translateX(-100%); /* خارج الشاشة يسار */
  transition: all 0.5s ease;
}

#toast.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(20px); /* يظهر داخل الشاشة */
}



/* 🚀 زر الانتقال للحجز */
.scroll-to-order-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: linear-gradient(135deg, #000000, #088178);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
  z-index: 998;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
  animation: pulse 1.5s infinite;
}
.scroll-to-order-btn:hover {
   background: linear-gradient(135deg, #18b4aa, #088178);
  transform: scale(1.05);
}
.scroll-to-order-btn.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(30px);
}

/* ✨ حركة النبض */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* 🔹 نسخة الموبايل */
@media (max-width: 768px) {
  .scroll-to-order-btn {
    padding: 12px 20px;
    font-size: 15px;
    bottom: 71px;
    left: 15px;
  }
  .offer-box {
    max-width: 90%;
    padding: 15px;
  }
  #countdown {
    font-size: 1.5rem;
    padding: 8px 16px;
  }
  .toast {
    font-size: 13px;
    padding: 10px 14px;
  }
   .contern-log {
    position: fixed;
    top: 77px;
    left: 28px;
    width: 90%;
    height: 72%;

    padding: 20px 15px;

overflow-x: hidden;
    overflow-y: auto;
    box-shadow: none;

    background: linear-gradient(
      160deg,
      #088178 20%,
      #18b4aa 50%,
      #56b0a2 80%
    );
  }
.contern-log #close-icon{
    color: black;
}
  .form-box {
    width: 100%;
  }

  .login-container,
  .register-container,
  .forgot-password-container {
    width: 100%;
  }

  .Login-logout-h1 {
    font-size: 22px;
    text-align: center;
    margin-bottom: 15px;
  }

  .input-box {
    width: 100%;
    margin-bottom: 12px;
  }

  .input-field {
    width: 100%;
    height: 45px;
    font-size: 15px;
  }

  .submit {
    width: 100%;
    height: 45px;
    font-size: 16px;
    border-radius: 8px;
  }

  .two-forms {
    flex-direction: column;
    gap: 10px;
  }

  .nav-button {
    display: flex;
    gap: 10px;
  }

  .btnloginout {
    width: 100%;
    height: 42px;
    font-size: 15px;
  }

  .top span {
    font-size: 14px;
    text-align: center;
    display: block;
  }

  .closeiconforall {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 22px;
  }
    #my-profile {
    padding: 10px;
  }

  .wrapperr {
    justify-content: flex-start;
    padding-top: 40px;
  }

  .contern-my-profile {
    width: 100%;
    height: auto;
    max-width: 100%;

    padding: 20px 15px;
    border-radius: 20px;
    border-width: 2px;

    box-shadow: none;
    overflow-y: auto;
  }

  #closeiconfor-my-profile {
    font-size: 22px;
    margin-bottom: 10px;
  }

  #my-profile h1 {
    font-size: 20px;
    margin-bottom: 15px;
  }

  #my-profile form {
    margin-bottom: 20px;
  }

  /* تحويل صف الاسم إلى عمود */
  .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .form-group {
    min-width: 100%;
  }

  .form-group input {
    font-size: 16px;
    padding: 12px;
  }

  #my-profile form button {
    width: 100%;
    margin-top: 25px;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
  }

    /* الغطاء */
  #your-report {
    padding: 10px;
  }

  .wrapperr {
    justify-content: flex-start;
    padding-top: 40px;
  }

  /* ===== صندوق البلاغات ===== */
  .container1 {
    width: 100%;
    height: auto;
    max-width: 100%;
    padding: 15px;
    border-radius: 15px;
    box-shadow: none;
  }

  #closeiconfor-your-report {
    font-size: 22px;
    margin-bottom: 10px;
    align-self: flex-end;
    cursor: pointer;
  }

  /* ===== الجدول ===== */
  .tablecart {
    width: 100%;
    font-size: 14px;
    overflow-x: auto;
    display: block;
  }

  .tablecart thead {
    display: none; /* نخفي العناوين */
  }

  .tablecart tbody tr {
    display: block;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
  }

  .tablecart tbody td {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
  }

  .tablecart tbody td::before {
    content: attr(data-label);
    font-weight: bold;
    color: #088178;
  }

  /* ===== Pagination ===== */
  #paginationforreport {
    margin-top: 15px;
    justify-content: center;
    flex-wrap: wrap;
  }

  /* ===== الشات ===== */
  #chatContainer {
    padding: 10px;
  }

  .chatContainerinner {
    max-width: 100%;
    height: 95%;
    margin: 0;
    border-radius: 0;
    padding: 15px;
  }

  .chat-box {
    height: 70%;
    font-size: 15px;
  }

  .messagechat {
    max-width: 90%;
    font-size: 14px;
  }

  .input-box-msg {
    max-width: 100%;
    padding: 8px;
  }

  .input-box-msg textarea {
    height: 40px;
    font-size: 14px;
  }

  .input-box-msg .button-send {
    padding: 8px 12px;
    font-size: 14px;
  }
}

/*  start media query   */
/*   ipad screen */
@media (max-width: 799px) {
  .section-p1 {
    padding: 40px 40px;
  }

  #navbar.active {
    right: 0px;
    box-shadow: 0 40px 60px rgb(0 0 0 / 72%);
  }
  #navbar li {
    margin-bottom: 25px;
  }
  #mobile {
    display: flex;
    align-items: center;
  }
  #mobile i {
    color: #1a1a1a;
    font-size: 24px;
    padding-left: 20px;
  }
  #close {
    display: initial;
    position: absolute;
    top: 30px;
    left: 30px;
    color: #222;
    font-size: 13px;
  }
  #lg-bag {
    display: flex;
  }
  #lg-bag1 {
    display: flex;
    align-items: center;
  }
  #lg-bag1 span {
    background-color: #088178;
    border-radius: 50%;
    color: #fff;
    padding: 2px 11px;
  }
  #mobile li {
    list-style: none;
  }
  #feature {
    justify-content: center;
  }
  #feature .fe-box {
    margin: 15px 15px;
  }
  #product .pro-container {
    justify-content: center;
  }
  #banner {
    height: 20vh;
  }
  #sm-banner .banner-box {
    min-width: 100%;
    height: 30vh;
  }
  #banner3 {
    padding: 0 40px;
  }
  #banner3 .banner-box {
    width: 28%;
  }
  #counter {
    gap: 0 17px;
  }
  #prodetails .single-pro-details button {
    margin-top: 7px;
  }
  #newsletter .form {
    width: 70%;
  }
  #contner-search1 {
    display: flex;
    align-items: center;
    justify-content: right;
    margin-right: -30px;
  }
  .icon-search {
    padding-right: 12px;
  }
  .icon-search:hover,
  .closeSearchInput:hover {
    color: #088178;
  }
  /* animion when unvisibile */
  .search-input {
    margin-right: 12px;
  }
  /* animion when visibile */
  .search-input.active {
    margin-right: 22px;
  }
  .closeSearchInput.active {
    padding-right: 0px;
  }
  .nav-button {
    display: none;
  }
  .nav-menu.responsive {
    top: 100px;
  }
  .nav-menu {
    position: absolute;
    top: -800px;
    display: flex;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    width: 100%;
    height: 90vh;
    backdrop-filter: blur(20px);
    transition: 0.3s;
  }
  .nav-menu ul {
    flex-direction: column;
    text-align: center;
  }
}

/*   iphone x and up screen */
@media (max-width: 477px) {
	  .header-bg {
  height: 42%;
}
  #categorizetable {
    grid-template-columns: repeat(
      2,
      1fr
    ); /* Display 1 column on screens with width 477px */
  }

  #categorizetable img {
    width: 140px; /* Decrease image width for screens with width 477px */
    height: 140px; /* Decrease image height for screens with width 477px */
  }

  #categorizetable div span {
    font-size: 22px; /* Decrease font size for screens with width 477px */
  }
  .dropdown {
    width: 90%;
  }
  .section-p1 {
    padding: 20px;
  }
  #header {
    position: fixed;
    bottom: 0;   /* 👈 بدلاً من أعلى الشاشة */
    top: auto;
    left: 0;
    width: 100%;
    height: 60px; /* ارتفاع مناسب */
    padding: 8px 12px;
    justify-content: space-around; /* توزيع الأيقونات بالتساوي */
  }
    #header .store-icon {
    display: none; /* إخفاء الشعار في الموبايل لتقليل المساحة */
  }
/* 🎯 شريط التنقل أسفل الشاشة */
#header .navigation_group {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
 background: var(--primary); /* خلفية بيضاء أو استخدم var(--primary) لو تحب */
  border-top: 1px solid #ddd;
  padding: 0.4rem 0.2rem;
  z-index: 1000;
}
    #header .navigation_group i,
  #header .navigation_group #lg-bag,
  #header .navigation_group .profile {
    font-size: 20px; /* حجم أيقونات مناسب للموبايل */
    cursor: pointer;
  }

  /* زر القائمة (الهامبرغر) يكون ظاهر */
  #mobile {
    display: block;
  }

  /* نخلي زر البار في الوسط أو أي مكان مناسب */
  #mobile #bar {
    font-size: 22px;
    cursor: pointer;
  }
    /* 🔹 الأيقونات داخل الناف بار */
#header .navigation_group .icon,
#header .navigation_group ul#navbar li a,
#header .navigation_group .profile {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #444;
  text-decoration: none;
  transition: color 0.2s ease;
}
  /* 🔹 أيقونات القائمة */
#header .navigation_group ul#navbar {
  display: flex;
  list-style: none;
}

#header .navigation_group ul#navbar li {
  display: flex;
  align-items: center;
  justify-content: center;
}
    .dropdown_wrapper {
    width: 100%;             /* ياخذ العرض كامل */
    height: 60%;             /* يغطي نصف الشاشة تقريبًا */
    bottom: 0;               /* يظهر من أسفل */
    right: 0;
    left: 0;
    top: auto;
    border-radius: 1rem 1rem 0 0; /* زوايا علوية دائرية */
    padding: 1.5rem;
    position: fixed;         /* مثبت بأسفل الشاشة */
    overflow-y: auto;        /* لو المحتوى طويل ينزل سكرول */
    animation: slideUp 0.3s ease forwards;
  }

  .dropdown_wrapper h2 {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 1rem;
  }

/* 🔹 أنيميشن سحب لأعلى (موبايل) */
@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }}

  #navbar .nav-text {
    display: none;
  }
  #navbar i {
    font-size: 1.7em;
    display: inline-block;
    vertical-align: middle;
  }
  #navbar li a {
    padding: 8px 10px;
  }
  #navbar li {
         margin-bottom: 0; 
    }
  h1 {
    font-size: 38px;
  }
  h2 {
    font-size: 32px;
  }
  #feature {
    justify-content: space-between;
  }
  #feature .fe-box {
    width: 155px;
    margin: 0 0 15px 0;
  }

  .product1 .pro {
      width: calc(50% - 10px);
    max-width: 50%;
    min-width: auto; /* إلغاء الـ 200px حتى ينسجم في الموبايل */
  }
/* جعل الصورة متجاوبة مع مساحة الكرت */
.product1 .pro img {
  width: 100%;
  height: 200px;        /* 👈 طول ثابت */
  object-fit: cover;    /* يحافظ على تناسق الصورة */
  border-radius: 10px;
  margin-bottom: 10px;
}

/* العنوان والوصف */
.product1 .pro h5,
.product1 .pro p {
  text-align: center;
  margin: 5px 0;
}

/* السعر وزر الشراء */
.product1 .pro .price {
  font-size: 16px;
  font-weight: bold;
  margin: 10px 0;
}

  #banner {
    height: 40vh;
  }
  #sm-banner .banner-box {
    height: 40vh;
  }
  #sm-banner .banner-box2 {
    margin-top: 20px;
  }
  #banner3 {
    padding: 0 20px;
  }
  #banner3 .banner-box {
    width: 100%;
  }
  #newsletter {
    padding: 40px 20px;
  }
  #newsletter .form {
    width: 100%;
  }
  footer .copyright {
    text-align: start;
  }

.hero {
    height: 45vh; /* أقل ارتفاع للهواتف */
  }

  .hero-content {
    padding: 30px 15px; /* تقليل الحشوة */
  }

  .hero h4 {
    font-size: 1.1rem;
    padding-bottom: 8px;
    color: #222;
  }

  .hero h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }

  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 15px;
  }

  .hero a {
    padding: 12px 40px 12px 35px; /* تقليل حجم الزر */
    font-size: 0.9rem;
 
  }

  #lg-bag {
    display: flex;
    align-items: center;
  }
  #lg-bag span{
    padding: 4px 4px;
  }
  .navigation_group .profile{
    width: 31px;
    height: 33px;
      margin-right: 20px;
  }

  /* cart section */
  
  #cartsection{
    justify-items: center;
    overflow: hidden;
  }
  #wrappercart {
    width: 90%;
    margin: 30px;
    min-height: 94vh;
    max-height: 70vh;
  }
  
  #cart-content{
    grid-template-columns:none;
  }
  .tablecart{
    padding:0;
  }
  #recent-item {
    grid-column:auto;
    justify-items:self-start;
  }
  #recent-item h2{
    justify-self: end;
  }
  
  #ship-input{
    width: fit-content;
  }
  #ship-input-contanr{
    padding:1.2rem;
  }
 #ship-input-contanr input{
    width: 246px;
 }
  #payment-method-td {
    flex-direction: column-reverse;
  
    text-align: right;
  }

 

.cart-total{
  
     width: 300px;
     height: 248px;
      padding: 1.2rem;
}

  #cart-totals-content{
    width: fit-content;
    grid-row:3;
  }
  .cart-total thead td{
    width: 110px;
  }
  #cartIMG{
    font-size: 35px;
  }

   /* end cart section */

  /* single product page */

  #prodetails {
    display: none;
    flex-direction: column;
  }
	 #prodetails .single-pro-image {
  margin: auto;
}
  #prodetails .single-pro-details {
    width: 100%;
    display: contents;
    text-align: center;
    justify-items: center;
  }
   #prodetails h2 {
    font-size: 1.4rem;
    align-items: center;
  }

  #prodetails h2 span#old-price {
    margin-bottom: 4px;
  }
	  #prodetails .single-pro-details select {
    font-size: 0.95rem;
    padding: 8px 12px;
    max-width: 100%;
  }
  #contner-search1 {
    display: flex;
    align-items: center;
    justify-content: right;
    margin-right: -30px;
  }
  .icon-search {
    padding: 0 7px;
  }
  .icon-search:hover,
  .closeSearchInput:hover {
    color: #088178;
  }
  /* animion when unvisibile */
  .search-input {
    margin-right: 12px;
  }

  /* animion when visibile */
  .search-input.active {
    margin-right: 12px;
    width: 68%;
  }
  .closeSearchInput.active {
    padding-right: 0px;
  }
  /* this is the start option for the icon to make the animation smoote when its back*/
  .store-icon {
    opacity: 100;
    transition: 1s cubic-bezier(1, 0, 0, 0);
    width: 120px;
  }
  /* to make the icon store hidden when click the search icon */
  .store-icon.act {
    opacity: 0;
    visibility: hidden;
    width: 0;
    transition: 0.3s;
  }
  #prodetails .single-pro-details #order-contenr {
    width: auto;
    border: 0px;
    border-bottom: 2px solid #088178;
    border-top: 2px solid #088178;
    align-items: center;
  }
  .wrapper {
    min-height: 100vh;
  }
  .form-box {
    position: unset;
  }
  .register-container,
  .login-container {
    width: 100%;
    padding: 0 20px;
  }
  .register-container .two-forms {
    flex-direction: column;
    gap: 0;
  }
  .login-container {
    width: 100%;
  }
 
}
