/*===== GOOGLE FONTS =====*/
@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap");

/*===== VARIABLES CSS =====*/
:root {
  --header-height: 3rem;
  /*========== Colors ==========*/
  --first-color: #069c54;
  --first-color-alt: #048654;
  --title-color: #393939;
  --text-color: #707070;
  --text-color-light: #a6a6a6;
  --body-color: #fbfefd;
  --container-color: #ffffff;
  /*========== Font and typography ==========*/
  --body-font: "Poppins", sans-serif;
  --biggest-font-size: 2.25rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;
  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;
  /*========== Margenes ==========*/
  --mb-1: 0.5rem;
  --mb-2: 1rem;
  --mb-3: 1.5rem;
  --mb-4: 2rem;
  --mb-5: 2.5rem;
  --mb-6: 3rem;
  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}
@media screen and (min-width: 768px) {
  :root {
    --biggest-font-size: 4rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
  }
}
/*========== BASE ==========*/
*,
::before,
::after {
  box-sizing: border-box;
  font-family: "Cairo";
}
html {
  scroll-behavior: smooth;
  text-align: right !important;
  direction: rtl !important;
}
/*========== Variables Dark theme ==========*/
body.dark-theme {
  --title-color: #f1f3f2;
  --text-color: #c7d1cc;
  --body-color: #1d2521;
  --container-color: #27302c;
}
/*========== Button Dark/Light ==========*/
.change-theme {
  position: absolute;
  right: 1rem;
  top: 1.8rem;
  color: var(--text-color);
  font-size: 1rem;
  cursor: pointer;
}
body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.6;
}
h1,
h2,
h3,
p,
ul {
  margin: 0;
  font-size: 16px
}
ul {
  padding: 0;
  list-style: none;
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
}
/*========== CLASS CSS ==========*/
.section {
  padding: 4rem 0 2rem;
}
.section-title,
.section-subtitle {
  text-align: center;
}
.section-title {
  font-size: var(--h1-font-size);
  color: var(--title-color);
  margin-bottom: var(--mb-3);
}
.section-subtitle {
  display: block;
  color: var(--first-color);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-1);
}
/*========== LAYOUT ==========*/
.bd-container {
  max-width: 960px;
  width: calc(100% - 2rem);
  margin-left: var(--mb-2);
  margin-right: var(--mb-2);
}
.bd-grid {
  display: grid;
  gap: .75rem;
}
.l-header {
  width: 100%;
  position: fixed;
  top: 45px;
  left: 0;
  z-index: var(--z-fixed);
  background-color: var(--body-color);
}
/*========== NAV ==========*/
.nav {
  max-width: 1024px;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    padding: 1.5rem 0 1rem;
    text-align: center;
    background-color: var(--body-color);
    transition: 0.4s;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 1rem 1rem;
    z-index: var(--z-fixed);
  }
}
.nav__item {
  margin-bottom: var(--mb-2);
}
.nav__link,
.nav__logo,
.nav__toggle {
  color: var(--text-color);
  font-weight: var(--font-medium);
}
.nav__logo:hover {
  color: var(--first-color);
}
.nav__link {
  transition: 0.3s;
}
.nav__link:hover {
  color: var(--first-color);
}
.nav__toggle {
  font-size: 1.3rem;
  cursor: pointer;
}
/* Show menu */
.show-menu {
  top: calc(var(--header-height) + 50px);
}
/* Active menu */
.active-link {
  color: var(--first-color);
}
/* Change background header */
.scroll-header {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* Scroll top */
.scrolltop {
  position: fixed;
  right: 1rem;
  width: 40px;
  height: 50px;
  bottom: -20%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.3rem;
  background: rgba(6, 156, 84, 0.5);
  border-radius: 8px;
  z-index: var(--z-tooltip);
  transition: 0.4s;
  visibility: hidden;
}
.scrolltop:hover {
  background-color: var(--first-color-alt);
}
.scrolltop__icon {
  font-size: 1.8rem;
  color: var(--body-color);
}
/* Show scrolltop */
.show-scroll {
  visibility: visible;
  bottom: 1.5rem;
}
/* button-fixed */
.button-fixed {
  position: fixed;
  bottom: 10px;
  left: 0;
  width: 80%;
  margin-left: 100px;
  margin-right: 100px;
}
/*========== BUTTONS ==========*/
.button {
  display: inline-block;
  /* background-color: #069c54 !important; */
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  transition: 0.3s;
  cursor: pointer;
}
.button-fixed:hover,
.animated-btn:hover,
.button:hover {
  opacity: 0.9;
}
/*========== MENU ==========*/
.upper_bar {
  top: 0;
  position: fixed;
  z-index: 1000;
  background: black;
  color: yellow;
  width: 100%;
  padding: 10px;
  margin: 10;
  text-align: center;
}

.menu__container {
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
}
.menu__content {
  /* height: 100%; */
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--container-color);
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(3, 74, 40, 0.15);
  padding: 0.35rem;
  overflow: hidden;
}
.menu__content span {
  color: var(--title-color) !important;
  z-index: 3 !important;
}
.menu__content2 {
  width: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--container-color);
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(3, 74, 40, 0.15);
  padding: 0.75rem;
  padding: 20px;
  overflow: hidden;
  z-index: 0 !important;
}
.menu__content2 textarea,
.menu__content2 input {
  width: 100%;
  background-color: var(--body-color);
  margin-bottom: 10px;
  border: 1px solid var(--title-color);
  outline: none;
  padding: 10px;
  color: var(--title-color);
}
.menu__content1 {
  width: 48%;
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--container-color);
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(3, 74, 40, 0.15);
  padding: 0.75rem;
  min-height: 100vh !important;
  padding: 10px;
  overflow: hidden;
}
.menu__content1 .discount_percentage {
  /* position: absolute;
  bottom: 38%;
  left: 20px; */
  padding: 10px;
  background-color: red;
  color: #fff !important;
  border-radius: 50%;
  font-weight: bold;
  font-size: 22px;
}
.menu__content .discount_percentage {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 10px;
  background-color: var(--first-color);
  color: var(--title-color);
  border-radius: 50%;
  font-weight: bold;
  font-size: 15px;
  z-index: 9999;
}
.product__container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.menu__content1 select,
.menu__content1 input {
  width: 100%;
  background-color: var(--body-color);
  margin-bottom: 10px;
  border: 1px solid var(--title-color);
  outline: none;
  padding: 10px;
  color: var(--title-color);
}
.product__img {
  width: 100% !important;
  margin: 20px auto;
  transition: all 0.3s ease-in-out;
}
.product__img:hover {
  /* transform: scale(1.2); */
  cursor: pointer;
}
.img__box {
  height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.menu__img {
  width: 100px;
  align-self: center;
  margin-bottom: var(--mb-2);
  transition: all 0.3s ease-in-out;
}
.menu__img:hover {
  /* transform: scale(1.2); */
  cursor: pointer;
}
.menu__name,
.menu__preci {
  font-weight: bold;
  color: var(--title-color);
}
.menu__name {
  font-size: var(--normal-font-size);
}
.menu__detail,
.menu__preci {
  font-size: var(--small-font-size);
}
.menu__detail {
  margin-bottom: var(--mb-1);
}
/*========== FOOTER ==========*/
.footer__container {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  row-gap: 2rem;
}
.footer__logo {
  font-size: var(--h3-font-size);
  color: var(--first-color);
  font-weight: var(--font-semi-bold);
}
.footer__description {
  display: block;
  font-size: var(--small-font-size);
  margin: 0.25rem 0 var(--mb-3);
}
.footer__social {
  font-size: 1.5rem;
  color: var(--title-color);
  margin-right: var(--mb-2);
}
.footer__title {
  font-size: var(--h2-font-size);
  color: var(--title-color);
  margin-bottom: var(--mb-2);
}
.footer__link {
  display: inline-block;
  color: var(--text-color);
  margin-bottom: var(--mb-1);
}
.footer__link_1 {
  font-family: "Tajawal", sans-serif;
  display: inline-block;
  color: white;
  padding: 21px 5px;
  margin-bottom: var(--mb-1);
  background-color: rgb(141, 190, 0);
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  z-index: 1;
}
.footer__link:hover {
  color: var(--first-color);
}
.footer__copy {
  text-align: center;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  margin-top: 3.5rem;
}
.copy {
  color: #048654;
}
/* PRODUCT PAGE */
.gallery {
  text-align: center;
}
.gallery * {
  margin-bottom: 6px !important;
}
/*========== MEDIA QUERIES ==========*/
@media screen and (max-width: 576px) {
  .menu__content2 {
    width: 100%;
  }
  .menu__container {
    grid-template-columns: 1fr;
  }
  .relation {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .menu__img {
    width: 100%;
  }
  .menu__content1 {
    width: 100% !important;
  }
  .button-fixed {
    position: fixed;
    bottom: 10px;
    left: 0;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 3px;
  }
  .menu__content2,
  .menu__content1 {
    min-height: auto !important;
  }
  .menu__content1 .discount_percentage {
    /* bottom: 48%;
    left: 10px; */
    padding: 10px;
    font-size: 15px;
  }
  .menu__content1 .product_discount {
    font-size: 20px !important;
  }
  .menu__content1 .product_price {
    font-size: 18px !important;
  }
  .scrolltop {
    display: none !important;
  }
  .return__container {
    width: 100% !important;
  }
}
.return__container {
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}
.menu__content1 .product_discount {
  font-size: 30px;
  color: red;
}
.menu__content1 .product_price {
  font-size: 23px;
  margin-right: 10px;
  color: var(--text-color);
}
@media screen and (min-width: 768px) {
  body {
    margin: 0;
  }
  .section {
    padding-top: 8rem;
  }
  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }
  .nav__list {
    display: flex;
  }
  .nav__item {
    margin-left: var(--mb-5);
    margin-bottom: 0;
  }
  .nav__toggle {
    display: none;
  }
  .change-theme {
    position: initial;
    margin-left: var(--mb-2);
  }
  .menu__container {
    margin-top: var(--mb-6);
  }
  .menu__container {
    grid-template-columns: repeat(4, 210px);
    column-gap: 2rem;
  }
  .menu__content {
    padding: 0.5rem;
  }
  .menu__img {
    width: 100%;
  }
}
@media screen and (min-width: 960px) {
  .bd-container {
    margin-left: auto;
    margin-right: auto;
  }
}
/* For tall screens on mobiles y desktop*/
@media screen and (min-height: 721px) {
}

/* animation for button */
.button-fixed .animated-btn {
  color: #fff !important;
  padding-top: 2px !important;
  padding-bottom: 2px !important;
  animation: bouncing 1.5s infinite;
  animation-delay: 2s;
  animation-fill-mode: forwards;
  /* background-color: #048654; */
  font-weight: 900 !important;
  font-size: 23px !important;
  z-index: 2000 !important;
}
.animated-btn {
  color: #fff !important;
  padding-top: 2px !important;
  padding-bottom: 2px !important;
  font-size: 20px;
  font-weight: 900;
}
@keyframes bouncing {
  0%,
  10%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(0);
  }
  40%,
  60% {
    transform: translateX(-5px);
  }
}

.swiper-slide {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}
.swiper-slide .card {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 30rem;
  padding: 10px 20px;
  text-align: center;
  border: 1px solid var(--first-color-alt);
  box-shadow: 5px -10px 15px #27302c;
  border-radius: 6px;
  margin: 5px;
}
.swiper-slide .card img {
  width: 80%;
  margin: auto;
}

/* accordion */
.container {
  margin: 20px auto;
  max-width: 700px;
}
.container .heading {
  text-align: center;
  font-size: 30px;
  padding: 10px;
  margin-bottom: 20px;
}
.container .accordion-container {
  padding: 0 20px;
}
.container .accordion-container .accordion {
  margin-bottom: 5px;
  cursor: pointer;
}
.container .accordion-container .accordion.active .accordion-heading {
  background: var(--first-color-alt);
}
.container .accordion-container .accordion.active .accordion-heading h3 {
  color: #fff;
}
.container .accordion-container .accordion.active .accordion-heading i {
  color: #fff;
  transform: rotate(180deg);
  transition: transform 0.2s 0.1s;
}
.container .accordion-container .accordion.active .accordion-content {
  display: block;
}
.container .accordion-container .accordion .accordion-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #fff;
  border: 2px solid #000;
  padding: 15px 20px;
}
.container .accordion-container .accordion .accordion-heading h3 {
  font-size: 18px;
}
.container .accordion-container .accordion .accordion-heading i {
  font-size: 25px;
}
.container .accordion-container .accordion .accordion-content {
  padding: 15px 20px;
  border: 2px solid #000;
  font-size: 15px;
  background: #fff;
  border-top: 0;
  display: none;
  animation: animate 0.2s linear backwards;
  line-height: 2;
  transform-origin: top;
}
@keyframes animate {
  0% {
    transform: scaleY(0);
  }
}

/* accordion */
.accordion {
  /* background-color: #eee; */
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: right;
  border: none;
  outline: none;
  transition: 0.4s !important;
}
.active,
.accordion:hover {
  /* background-color: #ccc; */
}
.panel {
  background-color: #444;
  color: white;
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.7s ease-out;
}
.accordion:after {
  content: "\02795"; /* Unicode character for "plus" sign (+) */
  font-size: 13px;
  color: #777;
  float: left;
  margin-left: 5px;
}
.active:after {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
}

.comment-container {
  display: flex !important;
  gap: 15px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 15px;
}
.comment-container .right {
  text-align: center;
}
.comment-container .right img {
  width: 50px;
  margin-top: 20px;
}
.comment-container .name {
  color: var(--first-color-alt);
  font-weight: bold;
}
.comment-container .date {
  color: #777;
}
.comment_btn:hover {
  background-color: var(--first-color);
  cursor: pointer;
}

.available {
  background-color: gray !important;
  text-align: center;
}
.available::placeholder {
  color: #333 !important;
  font-size: 16px;
}

.upsell_container {
  display: flex;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  margin-top: var(--mb-0);
  width: 100% !important;
  gap: 10px;
}
.upsell_container form {
  width: 100%;
}
.upsell_btn_1,
.upsell_btn_2 {
  width: 100%;
  padding: 20px;
  font-weight: bold;
}
  .upsell_btn_1 {
  background-color: #db5252;
  color: white;
  border-color: #db5252;
}
.upsell_btn_2 {
  background-color: #4BB82B;
  color: white;
  border-color: #4BB82B;
}


.downsell_btn_1,
.downsell_btn_2 {
  width: 100%;
  padding: 20px;
  font-weight: bold;
}
  .downsell_btn_1 {
  background-color: #db5252;
  color: #ffffff;
    border: 1px solid #db5252 !important;
}
.downsell_btn_2 {
  background-color: #4BB82B;
  color: white;
  border-color: #4BB82B;
}
@media screen and (max-width: 576px) {
  .upsell_container {
    grid-template-columns:  1fr !important;
    flex-direction: column;
  }
  .upsell_btn_1 {
    padding: 7px;
  }
  .upsell_btn_2 {
    padding: 20px;
    font-size: 16px;
  }
  .downsell_btn_1 {
    padding: 7px;
  }
  .downsell_btn_2 {
    padding: 20px;
  }
}
