:root {
  --main-color: #7f0000;
  --second-color: #6cbd45;
  --third-color: #f0e0e5;
  --black-color: #333;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
}

body {
  font-family: "Dancing Script", sans-serif;
  font-family: "Almarai", sans-serif;
  font-family: "Cairo", sans-serif;

  background-color: #fff;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 98%;
  margin: 10px auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

.ul {
  display: flex;
  flex-direction: row-reverse;
  transition: 5s;
  margin: 50px;
  /* margin-top: 6%; */
}

.ul li {
    position: fixed;
      z-index: 2;
}
.shopping_cart_Cart{
  position: relative !important;
}
.shopping_cart_Cart i{
  color: black !important;
}
.ul i {
  font-size: 25px;
  color: #12e31f;
}

.ul li .num {
  width: 25px;
  height: 25px;
  position: absolute;
  top: -17px;
  background-color: red;
  border-radius: 50%;
  right: -14px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ul li .cart_in {
  position: absolute;
  width: 180px;
  background-color: transparent;
  border: 1px solid #eee;
  /* transform: translateX(-133px); */
  text-align: center;
  border-radius: 4px;
  z-index: 10;
}

@media (max-width: 575px) {
  .ul li .cart_in {
    transform: translateX(-133px);
  }
}

.ul li .cart_in p {
  border-bottom: 1px solid #eee;
  margin: 2px auto;
  text-align: center;
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  align-items: center;
  padding: 8px 5px;
  font-weight: bold;
}

.ul li .cart_in a {
  background-color: #fff;
  color: #12e31f;
  display: block;
  border-radius: 3px;
  font-size: 21px;
  font-weight: bold;
}
.ul li .cart_in a:hover{
  background-color: #12e31f;
  color: white;
  transition: 0.5s;
}
.cart_in div {
  transition: 1s;
}

.filter {
  display: flex;
  justify-content: left;
  align-items: center;
  list-style: none;
  width: fit-content;
  border: 1px solid black;
  background-color: #ddd;
}

.filter {
  width: 200px;
  margin: 5px;
  border: 1px solid black;

  text-align: center;
  cursor: pointer;
  display: flex;
  justify-content: space-evenly;
  align-items: center;

}

.filter div {
  width: 50px;
  margin: 1px;
  background-color: #ccc;
  color: white;
}

.Products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  justify-items: center;
}

.main_div {
  width: 300px;
  height: 500px;
  background-color: #ffffff;
  margin-top: 15px;
  margin-bottom: 70px;
}

@media (min-width: 576px) {
  .main_div {
    margin-bottom: 70px;
  }
}

.main_div .product_a_img {
  display: block;
  width: 100%;
  height: 75%;
}

.product_a_img {
  position: relative;
  width: 100%;
  height: 50%;
  overflow: hidden;
}

/* .product_a_img:hover{
    position: absolute;
    width: 50px;
    height: 20px;
    background-color: #008966;
    top: 50%;
    left: 50%;
    transform: translate(-50% ,-50%);
} */
.product_img {
  /* position: absolute; */
  max-width: 130%;
  max-height: 100%;
  margin-left: -33px;
}

.product_img:hover {
  /* transform:  scale(1.5);
    transition: 0.7s; */
  transform: translateY(-153px) scale(2);
  transition: 1.9s;
}

.main_div h3 {
  /* direction: rtl; */
  text-align: center;
  font-family: "Cairo", sans-serif;
  letter-spacing: 1.3px;
  /* margin: 32px; */
}

.main_div .Add_To_Card {
  display: block;
  padding: 3px 4px;
  background-color: #12e31f;
  color: #ffff;
  text-align: center;
  border-radius: 8px;
  width: 50%;
  margin: 13px auto;
  font-weight: bold;
  font-size: 20px;
  cursor: pointer;
}

.main_div .Add2_To_Card {
  width: 50%;
  display: block;
  background-color: red;
  /* height: 171%; */
  color: white;
  margin-top: -36px;
  text-align: center;
  cursor: pointer;
}

.main_div .Add_To_Card:hover {
  background-color: white;
  color: #12e31f;
  transition: 0.5s;
  border: 1px solid #12e31f;
}

.price_dev {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  color: rgb(113 180 117);
  font-weight: bold;
  font-size: 18px;
  font-family: "Almarai", sans-serif;
}

.price_dev del {
  color: #77a464;
  font-weight: bold;
  font-family: "Almarai", sans-serif;
}

.span2 {
  margin-left: 5px;
}

.size {
  text-align: center;
}

.Desc {
  text-align: center;
  display: block;
}

.main_div .Desc {
  font-size: 17px;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: 1px;
}

.price_dev_cart {
  width: 62px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}

.shopping_cart i {
  color: black;
  cursor: pointer;
}

.Remove_From_Cart {
  display: block;
  padding: 3px 4px;
  background-color: #12e31f;
  color: #ffff;
  text-align: center;
  border-radius: 8px;
  width: 50%;
  margin: 13px auto;
  font-weight: bold;
  font-size: 20px;
  cursor: pointer;
  font-size: 18px;
}

.main_div .Remove_From_Cart:hover {
  background-color: white;
  color: #12e31f;
  transition: 0.5s;
}

.qty {
  font-size: 20px;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
}

.item_qty {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: black;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

form {
  position: relative;
  border: 1px solid var(--third-color);
  text-align: center;
  width: 80%;
  min-height: 80%;
  margin: 100px auto;
}

form div {
  display: flex;
  flex-direction: column;
}

form label {
  margin-right: auto;
  margin-left: 5%;
  font-weight: bold;
}

form div input {
  width: 90%;
  height: 40px;
  border: 1px solid #ccc;
  margin: auto;
  padding: 0px 6px;
  border-radius: 6px;
  font-size: 15px;
}

form div input:invalid {
  border: 1px solid red;
}

.input_date {
  text-align: center;
}

label span {
  color: red;
}

form div input:focus {
  outline: 1px solid rgb(204 204 204 / 50%);
}

.input_submit {
  font-weight: bold;
  cursor: pointer;
}

.Products_form {
  /* display: block; */
  margin-top: 280px;
}

.Products_cart {
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: auto;
  position: relative;
  display: none;
}

.Products_cart .main_div_cart {
  width: 100%;
  height: 107%;
  border: 1px solid rgb(204 204 204 / 50%);
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
}

.product_img_cart {
  min-width: 90px;
  height: 60px;
  object-fit: contain;
}

.product_h3_cart {
  width: 70px;
  font-size: 14px;
  /* margin: auto; */
  text-align: center;
}

.Remove_From_Cart {
  display: block;
  padding: 3px 4px;
  background-color: #12e31f;
  color: #ffff;
  text-align: center;
  border-radius: 50%;
  width: 13%;
  margin: 13px 6px;
  font-weight: bold;
  font-size: 20px;
  cursor: pointer;
  font-size: 14px;
  height: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.item .image {
  position: relative;
  width: 90%;
  margin: auto;
}

.item .image img {
  min-width: 100%;
  height: 500px;
  object-fit: contain;
}

.item .desc {
  direction: rtl;
}

.item .desc p {
  font-size: 20px;
}

.pages {
  width: 200px;
  height: 50px;
  /* background-color: #12e31f; */
  margin: 50px auto;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.pages a {
  padding: 5px 13px;
  color: #fff;
  margin: 2px;
  color: black;
  border-radius: 12px;
  border: 1px solid #777;
  font-weight: bold;
}

.pages a.active {
  background-color: rgb(113 180 117);
  color: white;
}

.div_input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-evenly;
  align-items: center;
  border: 1px solid #ccc;
}

@media (max-width: 575px) {
  .div_input {
    flex-direction: column;
  }
}

.div_input input {
  display: block;
    width: 14%;
  margin: 0;
  border: none;
}

@media (max-width: 575px) {
  .div_input input {
    width: 43%;
    text-align: center;
  }
}

.social {
  width: 100%;
  margin: 10px -1px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.social a {
  margin: 5px;
}

footer {
  width: 100%;
  padding: 23px 0 30px;
  color: #fff;
  background-color: black;
}

.input_remove {
  border: 2px solid #ccc !important;
  text-align: center;
  background-color: #f0f0f0;
  margin-left: 5px !important;
  /* font-weight: bold; */
  cursor: pointer;
}

/* .wrapper {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background-color: black;
  color: white;
  text-decoration: none;
}
.menu {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.menu li {
  /* margin-right: 32px; */

/* .menu li a {
  color: white;
}
.row-bot-bg h2 {
  background-color: #649c15;
  color: #fff;
  text-align: center;
  font-size: 50px;
}

@media (max-width: 575px) {
  .wrapper {
    justify-content: space-between;
    height: 50px;
  }
  .menu {
    justify-content: space-evenly;
    padding: 9px;
  }
  .menu li {
    margin: 0;
  }

  .menu li a {
    font-size: 7px;
    margin-right: 3px;
  }
  .wrapper a img {
    width: 55px;
    object-fit: contain;
    display: block;
  }

  nav {
    flex: 1;
  }
}

.row-bot-bg h2 {
  font-size: 24px;
}

@media (min-width: 578px) {
  .wrapper img {
    width: 151px;
    object-fit: contain;
  }

  .menu li {
    margin-right: 25px;
  }
}  */
.header {
  width: 100%;
  max-height: 105px;
  margin: auto;
  border: 1px solid red;
  background-color: black;
}

.header .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav {
  flex: 1;
}

.header .wrapper i {
  display: none;
}

.menu {
  display: flex;
  justify-content: flex-end;
}

.menu li {
  text-align: center;
  padding: 0;
  width: 100%;
}

.menu li a {
  color: white;
  font-size: 13px;
  font-weight: bold;
}

.header .wrapper h1 a img {
  width: 150px;
  object-fit: contain;
}

.title {
  width: 100%;
  height: 122px;
  background-color: #6fa720;
  display: grid;
  place-content: center;
}

.title h1 {
  text-align: center;
  color: white;
}

.title span {
  font-size: 12px;
  color: black;
}

footer {
  width: 100%;
  height: 50px;
  background-color: black;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer a {
  color: #6fa720;
}

@media (max-width: 575px) {
  .header .wrapper i {
    color: white;
    font-size: 25px;
    margin-right: 23px;
    position: relative;
    cursor: pointer;
    display: block;
  }

  .menu {
    display: flex;
    align-items: flex-end;
    flex-direction: column-reverse;
  }

  nav {
    position: absolute;
    z-index: 2;
    width: 100%;
    border: 1px solid #ccc;
    top: 177px;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    border-radius: 13px;
    background-color: white;
  }

  .menu li {
    text-align: right;
    padding: 0;
    width: 100%;
  }

  .menu li a {
    margin-right: 4px;
    border-bottom: 1px solid #ccc;

    width: 100%;
    display: block;
    padding: 0 28px 0 0;
    border-radius: 13px;
    color: black;
    font-size: 17px;
    font-weight: bold;
  }

  .header .wrapper h1 a img {
    width: 192px;
    object-fit: cover;
    margin-left: 10px;
  }

  .toggle {
    display: block;
  }
}

@media (min-width: 576px) and (max-width: 585px) {
  .menu li a {
    font-size: 9px;
  }
}

@media (min-width: 586px) and (max-width: 628px) {
  .menu li a {
    font-size: 9px;
  }
}

@media (min-width: 629px) and (max-width: 671px) {
  .menu li a {
    font-size: 10px;
  }
}

@media (min-width: 672px) and (max-width: 715px) {
  .menu li a {
    font-size: 11px;
  }
}

@media (min-width: 716px) and (max-width: 759px) {
  .menu li a {
    font-size: 12px;
  }
}

@media (min-width: 760px) and(max-width:776px) {
  .menu li a {
    font-size: 13px;
  }
}

@media (min-width: 777px) {
  .menu li a {
    font-size: 14px;
  }
}

.city {
  /* border: 1px solid red; */
  border-radius: 6px;
  width: 90%;
  margin: auto;
}

.radio_input {
  width: 100%;
  margin: auto;
  display: flex;
  justify-content: center;
  padding-left: 17px;
}

.radio_input label {
  width: 0;
  margin: 0;
  height: 0;
  font-weight: bold;
  margin-left: 30px;
}

.radio_input input {
  width: 24px;
  margin: 0;
  padding: 0;
}

.radio_input input:focus {
  outline: none;
}

.no_border {
  border: none;
  background-color: #e8f0fe;
  transition: 1s;
}

.stop {
  pointer-events: none;
}

select {
  height: 40px;
  width: 90%;
  border-radius: 6px;
  margin: auto;
  /* border:1px solid red; */
  padding: 5px;
  font-size: 14px;
  font-weight: bold;
  text-align: right;

}

select option{
  font-size: 18px;
    text-align: right;
}
.thx_image {
  width: 98%;
  position: relative;
  height: 100px;
  margin: 10% auto;
}


.thx_image img {
      position: absolute;
        max-width: 100%;
        min-height: 500%;
        margin: auto;
      
}

@media (max-width: 575px) {
  .thx_image img {
      position: absolute;
      max-width: 100%;
      min-height: 200%;
      margin: auto;
  
    }
   
}
.thx_image a {
  position: absolute;
  z-index: 2;
  left: 50%;
  transform: translateX(-50%);
  color: #8cc63e;
  font-weight: bold;
  font-size: 25px;


}


@media (max-width: 777px) {
  .thx_image a {
    position: absolute;
    z-index: 2;
    top: 50%;
    color: #8cc63e;
    font-weight: bold;
    font-size: 25px;
    width: 251px;
  }
}

form div label {
  padding-right: 5px;
  direction: rtl;
  margin-top: 6px;
}

form div .input_date,
form div .price_total,
form div .Fright,
form div .Total {
  direction: ltr;
  text-align: end;


}

form div .input_date {
  text-align: center;
}

form div .input_name,
form div .input_address,
form div .input_phone {
  direction: rtl;
  font-size: 15px;
}
.input_submit{
  font-weight: bold;
  font-size: 25px;
}
.note{
  color: red;
  font-weight: bold;
  font-size: 12px;
  text-align: right;
  letter-spacing: 1px;
}