@font-face {
  font-family: "iranyekan";
  src: url(/fonts/iranyekanwebregularfanum.woff) format("opentype");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --body-color: #E0E0E0;
  --primary-color: #be997c;
  --text-color: rgb(48, 48, 48);
  --text-header-color: rgb(69 69 69);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}

body {
  background-color: var(--body-color);
  font-family: "iranyekan";
  overflow-x: hidden;
}

p {
  color: var(--text-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-header-color);
}

button {
  color: var(--text-header-color);
}

.flex {
  display: flex;
  justify-content: center;
}

/*header*/
.header {
  width: 100%;
  background: var(--body-color);
  direction: rtl;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  z-index: 3;
}

.header__top {
  display: flex;
  text-align: center;
  padding: 0.6rem 1rem 0.2rem 0;
  gap: 0.5rem;
  align-items: center;
}

.header-top__img {
  width: 55px;
}

.header-top__text {
  color: #f69623;
  font-size: 1.5rem;

}



.hrader__bottom {}

.nav {
  margin: 1.5rem;
}

.nav__food {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  list-style-type: none;
  gap: 1.2rem;
  overflow-x: scroll;
  padding: 0 1rem;
}

::-webkit-scrollbar {
  width: 8px;
}

.nav__food::-webkit-scrollbar {
  background-color: rgba(0, 0, 0, 0.072);
  height: 5px;
  border-radius: 1rem;
}

::-webkit-scrollbar-thumb {
  background: #0000001d;
  border-radius: 1rem;
}

.nav__food a {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* border: 1px solid #fff; */
  border-radius: 1rem;
  background-color: var(--body-color);
  padding: 0.6rem;
  box-shadow: -5px -3px 14px 3px #FDFDFD, 3px 3px 12px 0px #00000091;
  height: 6rem;
  width: 4rem;
  flex-shrink: 0;
  margin: 1rem 0;
  font-weight: bold;
  text-decoration: none;
  color: #000000;
}

.nav-food__item p {
  font-size: 0.9rem;
  font-weight: 600;
  color: #343434;
}

.nav-food__item:hover {
  background: #be997c;
}

.ul__img {
  width: 80%;
  height: 55%;
  filter: grayscale(1);
  margin-bottom: 0.4rem;
}

/*main*/
.food {
  padding: 1.3rem;
  padding-top: 250px;
  margin-top: -250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

main {
  display: flex;
  flex-direction: column;
  margin-top: 14rem;
  margin-bottom: 6rem;
  /* gap: 2.4rem; */
}

.title {
  padding: 0 0.3rem 0.3rem 0;
  width: 100%;
  display: flex;
  overflow: hidden;
  flex-direction: row-reverse;
  justify-content: space-between;
  gap: 1.2rem;
  align-items: center;
  padding: 0 1.3rem;
}

.image_icon_ul {
  filter: grayscale(1);
  opacity: 0.5;
}

.title-line {
  width: 100%;
  height: 1px;
  border: 1px solid #0000001d;
  border-radius: 1rem;
  box-shadow: 0 1px 2px 0px #ffffff7d;
}

.title img {
  width: 35px;
}

.food li {
  display: flex;
  /* justify-content: center; */
  flex-direction: column;
  align-items: center;
  border: 1px solid #dedede;
  border-radius: 1rem;
  background-color: var(--body-color);
  box-shadow: -6px -5px 14px 4px #FDFDFD, 3px 3px 14px 0px #0000007a;
  list-style-type: none;
  margin: 0.6rem;
  width: 100%;
  z-index: 2;
  padding: 0.4rem 0 0;
  gap: 0.5rem;
  overflow: hidden;
}

.li-header {
  display: flex;
  align-items: flex-start;
}

.li-header-right {
  width: 50%;
}

.food__image__container {
  aspect-ratio: auto 1 / 1;
  width: 100%;
  height: 100% !important;
  display: flex;
  flex-grow: 1;
  padding-right: 0.8rem;
}

.food__img {
  border: 1px solid #E0E0E0;
  border-radius: 0.7rem;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.li-header-left {
  width: 50%;
}

.food__info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
}

.food__info img {
  width: 19px;
  filter: invert(0.4);
}

.food__name {}

.location {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #5b5858;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-wrap: wrap;
}

.store {
  font-size: 0.8rem;
  color: #5b5858;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-wrap: wrap;
}

.li-middle {
  width: 100%;
}

.desc-label {
  margin-bottom: 0.3rem;
  display: block;
}

.food__text {
  font-size: 0.73rem;
  color: #656565;
  padding: 0.5rem 1.5rem;
  font-weight: bold;
}

.li-footer2 {
  display: flex;
  width: 100%;
  background-color: #c8c5c5;
  justify-content: center;
  height: 40px;
  align-items: center;
}

.price {
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  color: #545353;
  text-decoration: none;

}

.li_footer_icon {
  opacity: 0.5;
  width: 25px;


}

.phone {
  border: 1px solid #E0E0E0;
  border-radius: 10rem;
  box-shadow: -4px -4px 9px 2px #FDFDFD, 3px 3px 12px -1px #0000007a;
  padding: 3px;
  width: 35px;
}





.add_food {
  /* border: 1px solid #fff; */
  border: none;
  /* border-radius: 1rem; */
  /* background-color: var(--body-color); */
  /* box-shadow: -4px -4px 9px 2px #FDFDFD, 3px 3px 12px -1px #0000007a; */
  /* width: 8rem;
  height: 2rem; */
  /* margin: 0.5rem auto; */
  font-weight: bold;
  font-family: 'iranyekan';
  font-size: 0.77rem;
  cursor: pointer;
  padding: 0.3rem;
  background: #e8e8e8;
}

.food-price {
  /* border: 1px solid #fff; */
  /* border-radius: 1rem; */
  /* background-color: var(--body-color); */
  /* box-shadow: -4px -4px 9px 2px #FDFDFD, 3px 3px 12px -1px #0000007a; */
  /* width: 8rem;
  height: 2rem; */
  /* margin: 0.5rem auto; */
  padding: 0.1rem;
  font-weight: bold;
  font-size: 0.95rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-header-color);
}

.food__name {
  font-size: 17px;
}



.footer {
  width: 100%;
  background: var(--body-color);
  padding: 0 1rem;
  /* border-top-right-radius: 1.5rem;
  border-top-left-radius: 1.5rem; */
  position: fixed;
  bottom: 0;
  height: 60px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 3px 11px 6px #0000003d;
  z-index: 3;
  border-top: 1px solid #c3c3c3;
}

.footer__right {
  width: 50%;
  height: 65%;
  border-left: 1px solid #c2c2c2;
}

.footer_right__btn {
  border: 1px solid #E0E0E0;
  border-radius: 1rem;
  background-color: var(--body-color);
  box-shadow: -4px -4px 9px 2px #FDFDFD, 3px 3px 12px -1px #0000007a;
  /* height: 2.5rem; */
  font-size: 17px;
  font-family: "iranyekan";
  /* width: 90%; */
  padding: 0.3rem 1rem;
  font-weight: bold;
  font-size: 0.9rem;
  display: flex;
  gap: 0.4rem;
  align-items: center;
}


.footer__left,
.footer__right {
  width: 50%;
  height: 65%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.footer a {
  text-decoration: none;
  color: #393939;
  font-weight: bold;
}

.footer img {
  transform: rotate(253deg);
  opacity: 0.6;
  width: 26px;
}

.footer-left__insta,
.footer-left__call {
  border: 1px solid #E0E0E0;
  border-radius: 10rem;
  box-shadow: -4px -4px 9px 2px #FDFDFD, 3px 3px 12px -1px #0000007a;
  padding: 3px;
  width: 35px;
}


.item_image_popup {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgb(3 3 3 / 86%);
  z-index: 10;
  top: 0;
  justify-content: center;
  align-items: center;
  animation: roco_item_popup 0.3s ease-in-out;
}

.item_image_popup_inner {
  position: relative;
  width: 80%;
  max-width: 500px;
  background: #242424;
  padding: 0.7rem 0.7rem 1.4rem;
  border: 3px solid #3a3a3a;
  border-radius: 4px;
  box-shadow: 0 0 15px 3px #000;
  color: #e1e1e1;
}

.item_image_popup_inner img {
  width: 100%;
}

.item_image_popup_close {
  position: absolute;
  background: rgb(54, 52, 50);
  width: 40px;
  height: 40px;
  top: -43px;
  right: 8px;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 300;
  border-top-right-radius: 6px;
  border-top-left-radius: 6px;
  cursor: pointer;
}

.item_image_popup_info {
  justify-content: space-between;
  flex-direction: row-reverse;
  padding: 0 0.3rem;
  margin-top: 0.5rem;
  font-family: 'Aviny';
  font-size: 1.6rem;
  line-height: 1;
}

@keyframes roco_item_popup {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-webkit-keyframes roco_item_popup {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.hamburger_menu-active {
  transform: translateX(0);
}

.hamburger_menu {
  width: 270px;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--body-color);
  border-right: 3px solid #ffffff29;
  z-index: 21;
  transform: translateX(-100%);
  transition: all 0.3s ease-in-out;
}

.hamburger_menu_top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0.8rem 1rem;
}

.hamburger_menu_list,
.hamburger_menu_clear {
  color: #0600008c;
}


.hamburger_menu_items {
  display: flex;
  flex-direction: column;
  list-style-type: none;
  padding: 1.5rem 0.9rem;
  gap: 0.9rem;
  justify-content: flex-start;
  height: calc(100% - 10rem);
  overflow-y: scroll;
}

.orders-item {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding-bottom: 0.7rem;
  align-items: center;
}

.orders-item::after {
  content: '';
  width: 70%;
  height: 0;
  position: absolute;
  bottom: 0;
  right: 15%;
  border: 1px solid #0000001d;
  border-radius: 1rem;
  box-shadow: 0 1px 2px 0px #ffffff7d;
}

.orders-item_name {
  font-size: 0.85rem;
  max-width: 130px;
}

.orders-item_price {
  font-size: 0.9rem;
  font-weight: bold;
  display: flex;
  gap: 0.3rem;
}

.orders-item_price_qty {
  direction: ltr;
  font-weight: normal;
}

.orders-item img {
  width: 22px;
  object-fit: contain;
}

.hamburger_menu_clear {
  border: 1px solid #E0E0E0;
  border-radius: 1rem;
  background-color: var(--body-color);
  box-shadow: -4px -4px 9px 2px #FDFDFD, 3px 3px 12px -1px #0000007a;
  font-size: 0.8rem;
  font-family: "iranyekan";
  font-weight: bold;
  padding: 0.2rem 1rem;
}

.transparent_layer {
  width: 100vw;
  height: 100vh;
  z-index: 20;
  position: fixed;
  opacity: 0.6;
  display: none;
  top: 0;
  left: 0;
  background-color: rgb(16, 16, 16);
}

.total-price-area {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 0.7rem 1rem;
  border-top: 2px solid #0000001d;
}

.total-price-area__text {
  font-size: 0.8rem;
  font-weight: bold;
  color: #818181;
}

.total-price-area__price {
  font-weight: bold;
  color: #474747;
  margin-top: 0.2rem;
}

.orders-total-qty {
  display: none;
  height: 20px;
  padding: 0 0.4rem;
  display: inline-block;
  background: var(--primary-color);
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #FDFDFD;
  box-shadow: -2px -2px 4px 1px #fdfdfd91, 2px 2px 6px -1px #00000091;
  color: #FDFDFD;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-price-and-remove {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.copyright {
  color: rgb(109 109 109);
  width: 100%;
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  flex-direction: column;
  align-items: center;
}

.copyright a {
  color: #b07242;
  text-decoration: none
}

.loading-place-label {
  font-weight: bold;
}

.item-container{
  min-width: 100%;
}



/* RESPONSIVE */
@media (min-width: 450px){

}

@media (min-width: 650px) {
  .nav__food {
    display: none;
  }

  .header-top__img {
    width: 60px;
  }

  main {
    margin-top: 120px;
  }

  .title {
    margin-bottom: 1rem;
    padding: 0 2rem;
  }

  .food {
    flex-wrap: wrap;
    flex-direction: row;
    gap: 4%;
    justify-content: flex-start;
    row-gap: 2rem;
    margin-bottom: 3rem;
  }

  .food li {
    width: 48%;
    margin: 0;
    flex-shrink: 1;
    align-self: stretch;
    justify-content: space-between;
    align-items: flex-start;
  }

  .title-line {
    border: 2px solid #f79726;
}
}

@media (min-width: 1100px) {
  .food {
    gap: 2%;
    row-gap: 2.5rem;
    margin-bottom: 4rem;
}

.food li {
  width: 30%;
}
}