@font-face {
  font-family: yekan-bakh;
  src: url(./fonts/yekanbakh-regular.ttf);
}
@font-face {
  font-family: yekan-bakh-bold;
  src: url(./fonts/Yekan\ Bakh\ FaNum\ 07\ Heavy.ttf);
}
body,
html {
  margin: 0;
  padding: 0;
  font-family: yekan-bakh;
  display: flex;
  flex-direction: column;
  align-items: center;
  user-select: none;
}
button {
  color: black;
  text-decoration: none;
}
a {
  text-decoration: none;
  color: black;
}
.landing-container {
  /* css for landing page */
  min-width: 320px;
  width: 100vw;
  height: 100vh;
  max-width: 767px;
  overflow-y: hidden;
  overflow-x: hidden;
  position: relative;
}
.landing-container img {
  width: 100%;
  height: 100vh;
  max-width: 760px;
  min-width: 500px;
  filter: blur(6px);
}
.overlayLanding {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #000000a8;
  pointer-events: none;
  z-index: 1;
}
.main-options {
  /* css for landing page */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.menu-button {
  /* css for landing page */
  width: 193px;
  height: 53px;
  padding: 8px 32px;
  border-radius: 118px;
  font-size: 24px;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  color: black;
  text-decoration: none;
  background-color: #f5f5dc;
  margin-bottom: 12px;
}
.aboutUs-button {
  /* css for landing page */
  width: 193px;
  height: 53px;
  padding: 8px 32px;
  border-radius: 118px;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: black;
  text-decoration: none;
  background-color: #a8d5ba;
}
/* header section css */
.header {
  width: 100vw;
  max-width: 767px;
  height: 200px;
  overflow-y: hidden;
  overflow-x: hidden;
  position: relative;
}
.headerImage img {
  width: 100%;
  max-width: 760px;
  min-width: 500px;
  filter: blur(4px);
}
.headerTitle {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translate(-50%, 0);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
  width: 80vw;
  z-index: 2;
}
.headerTitleName {
  font-size: 20px;
  font-family: yekan-bakh-bold;
  padding: 0px;
  margin-bottom: 6px;
}
.headerTitleDescription {
  font-size: 12px;
  font-weight: 400;
  padding: 0px;
  max-width: 767px;
  max-height: 50px;
  justify-self: center;
  align-content: center;
  margin: auto;
  overflow: hidden;
}
.pageContiner {
  margin-top: 35px;
  max-width: 767px;
}
/* about us page css */
#workingHours {
  display: flex;
  flex-direction: column;
  margin: 36px 20px;
  margin-top: 0px;
  position: relative;
}
.workingHoursTitle {
  font-size: 18px;
  font-family: yekan-bakh;
  font-weight: 400;
  margin-bottom: 10px;
  margin-top: 0;
}
.workingDays {
  display: flex;
  justify-content: space-between;
  padding: 0px 2px;
  font-size: 12px;
  border-bottom: 1px dashed #f1f1f1;
  margin: 0;
}
.workingDays:last-child {
  border: none;
}
#location {
  display: flex;
  flex-direction: column;
  margin: 36px 20px;
}
#location iframe {
  margin-top: 24px;
}
.addressTitle {
  font-size: 18px;
  font-family: yekan-bakh;
}
.address {
  font-size: 12px;
  font-family: yekan-bakh;
}
#contacting {
  margin: 36px 20px;
  margin-top: 50px;
}
.contactingTitle {
  font-size: 18px;
  font-family: yekan-bakh;
  color: black;
}
.phoneNumber {
  font-size: 12px;
  font-family: yekan-bakh;
  text-decoration: none;
  color: black;
}
/* menu page css */

.cafeOrResturantbtn {
  width: 100vw;
  max-width: 767px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.cafeOrResturantbtn button {
  font-family: yekan-bakh;
  text-decoration: none;
  background-color: transparent;
  border: 1px solid #f5f5dc;
  font-size: 16px;
  padding: 4px 24px;
  border-radius: 127px;
  margin-left: 8px;
}
.foodCategoryScrollBar {
  max-width: 767px;
  width: 100vw;
  display: flex;
  align-items: center;
  overflow-x: scroll !important;
  font-family: yekan-bakh;
  white-space: nowrap;
  cursor: pointer;
  -ms-overflow-style: none;
  scrollbar-width: none;
  margin-top: 14px;
  padding-top: 10px;
}
.foodCategoryScrollBar::-webkit-scrollbar {
  display: none;
}
.foodCategoryScrollBarSticky {
  position: sticky;
  top: 0;
  z-index: 9997;
  background-color: white;
}

.scroll-button img {
  cursor: pointer;
}
.foodCategoryScrollBarList {
  display: flex;
  flex-direction: column;
  margin-left: 16px;
  cursor: pointer;
}
.svg-container {
  position: relative;
  z-index: 1000;
}
.categoryButtonDiv {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  margin: 0 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 0px 8px 0px #bebebe40;
}
.svg-active {
  background-color: #32453a;
}
.foodCategoryScrollBarList:first-child {
  margin-right: 10px;
}
.foodCategoryScrollBar button {
  width: 52px;
  height: 52px;
  background-color: transparent;
  border: none;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.texeT {
  font-family: yekan-bakh;
  font-size: 12px;
  color: #32453a;
  max-width: 55px !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  white-space: normal;
  height: 25px;
  text-align: center;
}
.serchBar {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 767px;
  height: 50px;
  margin-top: 20px;
  border: 1px solid #f1f1f1;
  padding-right: 12px;
}
.serchBar button {
  text-decoration: none;
  background-color: transparent;
  border: none;
}
.serchBar input {
  font-family: yekan-bakh;
  width: 90vw;
  border-radius: 127px;
  height: 41px;
  border: none;
}
.listOfMenu {
  display: flex;
  flex-direction: column;
  width: 100vw;
  max-width: 767px;
  margin-right: 0px;
  margin-bottom: 128px;
  align-items: center;
}
.itemsCategotyTitle {
  justify-self: start;
  align-self: flex-start;
  margin-right: 20px;
}
.itemsCard {
  position: relative;
  width: 82%;
  max-width: 490px;
  height: 156px;
  max-height: 200px;
  display: flex;
  border: 1px solid #f1f1f1;
  border-radius: 12px;
  padding: 12px 10px;
  margin-bottom: 12px;
  margin-right: 1%;
}
.itemsDescriptions {
  display: flex;
  width: 40%;
  flex-direction: column;
  align-items: start;
  font-family: yekan-bakh;
  border-left: 1px solid #f1f1f1;
  padding-left: 12px;
}
.itemName {
  font-size: 14px;
  color: black;
  font-weight: bold;
  /* font-family: yekan-bakh-bold; */
}
.itemDescriptions {
  display: flex;
  max-height: 50px;
}
.itemDescriptions img {
  width: 10px;
  height: 10px;
  margin-top: 25px;
  cursor: pointer;
}
.itemDescriptionsPopup {
  position: absolute;
  background-color: #7e7e7e;
  width: 109px;
  border-radius: 6px;
  padding: 10px;
  color: white;
  font-family: yekan-bakh;
  font-size: 10px;
  z-index: 10000;
}
.itemDescriptionsPopup p {
  color: white !important;
}
.itemDescriptionsText {
  font-size: 10px;
  color: #7e7e7e;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.6;
  max-height: 4.8em;
  text-overflow: ellipsis;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.itempPice {
  font-size: 14px;
  color: black;
  font-weight: bold;
}
.itmeImeagesAndAddBtn {
  display: flex;
  flex-direction: column;
  margin-right: 12px;
  align-items: end;
  justify-content: space-evenly;
}
.itemImage {
  width: 141px;
  height: 94px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.itemImage img {
  height: inherit;
  border-radius: 8px;
}
.addToCart {
  background-color: #f5f5dc;
  font-family: yekan-bakh;
  font-size: 12px;
  border: 1px solid #f1f1f1;
  border-radius: 54px;
  width: 75px;
  height: 28px;
  cursor: pointer;
}
.quantity-controls {
  background-color: #f5f5dc;
  font-family: yekan-bakh;
  font-size: 12px;
  border: 1px solid #f1f1f1;
  border-radius: 54px;
  width: 75px;
  height: 28px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  font-size: 12px;
  display: none;
}
.quantity-controls button {
  background-color: transparent;
  text-decoration: none;
  border: none;
}
.quantity-controls span {
  margin-top: 5px;
}
/* footer section css */
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
}
footer a {
  font-size: 12px;
  text-decoration: none;
  color: black;
}
.designdBy {
  display: flex;
}
footer img {
  width: 24px;
  height: 24px;
  margin-top: 12px;
}
.bottom-sheet.open {
  transform: translateY(0);
}

body.no-scroll {
  overflow: hidden;
}

.bottom-sheet-content::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}
.resizer {
  height: 10px;
  background-color: #ccc;
  cursor: ns-resize;
}

.overlay.activeee {
  display: block;
}
.no-scroll {
  overflow: hidden;
}
#closeBottomSheet {
  text-decoration: none;
  background-color: transparent;
  border: none;
  position: fixed !important;
  margin-bottom: 10px;
  font-size: 24px;
}
.bottomItemContainer {
  max-width: 760px;
  display: flex;
  margin: 20px;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: start;
  font-size: 3vw;
  margin-right: 10vw;
}
.invoice-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f1f1;
  margin-top: 8px;
}
.invoice-card-image {
  margin-left: 15px;
}
.invoice-card-image img {
  max-width: 110px !important;
  width: 22vw;
  border-radius: 10px;
}
.invoice-card-details {
  margin-top: 5px;
  margin-left: 70px;
}
.invoice-card-details h3 {
  margin: 0px;
}
.factorButtons{
  display: flex;
  flex-direction: row; 
  justify-content: center;
  align-items: center;
  margin-right: 10vw;
}
.factorButtons button{
  padding: 12px 8px;
  border-radius: 24px;
  min-width: 100px;
  height: auto;
  border: none;
  cursor: pointer;
}
.garson{
  background-color: #a8d5ba;
  margin-right: 16px !important;
}
.checkOut{
  background-color: #f5f5dc;
}
.bottom-sheet-bottom{
  display: flex;
}
#navigateBtn{
  width: 100%;
  min-height: 40px;
  height: auto;
  text-align: center;
  background-color: #a8d5ba;
  border-radius: 20px;
  border: none;
  margin-top: 12px;
  cursor: pointer;
}
/* -------------------- Bottom sheet -------------------- */
.btnSheet {
  background-color: #a8d5ba;
  color: black;
  width: 90%;
  height: 40px;
  border: none;
  border-radius: 54px;
  position: sticky;
  bottom: 12px;
  margin-right: 5%;
  margin-left: 5%;
  cursor: pointer;
  font-family: yekan-bakh;
  font-size: 14px;
  display: block;
  z-index: 1000;
}

/* overlay */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.35);
  z-index: 9998;
  transition: opacity 180ms ease;
  opacity: 0;
}
.overlay.activeee {
  display: block;
  opacity: 1;
}

/* bottom sheet container */
.bottom-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #ffffff;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.12);
  transform: translateY(110%);
  transition: transform 260ms cubic-bezier(.22,.9,.32,1);
  will-change: transform, height;
  max-height: 90vh;            /* total visual limit for sheet */
  overflow: hidden;            /* keep rounded corners clean */
  display: flex;
  flex-direction: column;
}

/* When open */
.bottom-sheet.open {
  transform: translateY(0%);
}

/* handle (drag line) */
.bottom-sheet .sheet-handle {
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: grab;
  -webkit-tap-highlight-color: transparent;
  padding-top: 8px;
  padding-bottom: 8px;
}
.bottom-sheet .sheet-handle .handle-line {
  width: 42px;
  height: 6px;
  border-radius: 4px;
  background: #e6e6e6;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

/* content area: JS sets max-height dynamically to ensure sheet grows up-to 90vh */
.bottom-sheet .bottom-sheet-content {
  padding: 10px 16px 18px 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: block;
  box-sizing: border-box;
}

/* invoice card */
.invoice-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f1f1;
}
.invoice-card-image img {
  width: 68px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
}
.invoice-card-details h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}
.invoice-card-details p {
  margin: 4px 0 0 0;
  font-size: 13px;
  color: #666;
}

/* totals area */
.bottom-sheet .totals {
  margin-top: 12px;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bottom-sheet .totals .row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #444;
}
.bottom-sheet .totals .total-amount {
  font-size: 18px;
  font-weight: 800;
  color: #000;
  margin-top: 6px;
}

/* action buttons container */
.factorButtons {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  align-items: center;
  justify-content: space-between;
}
.factorButtons .garson,
.factorButtons .checkOut {
  flex: 1;
  padding: 12px 8px;
  border-radius: 20px;
  min-width: 120px;
  border: none;
  cursor: pointer;
  font-family: yekan-bakh;
  font-size: 14px;
}
.garson { background-color: #a8d5ba; }
.checkOut { background-color: #f5f5dc; }

/* keep a small spacer so actions never butt up to the sheet bottom visually */
.bottom-sheet .action-spacer { height: 12px; }

/* responsive tweaks */
@media (min-width: 420px) {
  .invoice-card-image img { width: 110px; height: 78px; }
  .bottom-sheet { border-radius: 18px; }
}


/* responsive */
@media only screen and (min-width: 768px) {
  .landing-container {
    background-size: contain;
  }
  .itemDescriptionsPopup {
    right: 230px;
  }
  .btnSheet {
    max-width: 512px;
    margin-right: 17%;
  }
  .bottomItemContainer {
    margin-right: 25%;
    margin-left: 25%;
  }
}
@media only screen and (min-width: 450px) {
  .itemsDescriptions {
    width: 70%;
  }
}
@media only screen and (min-width: 600px) {
  .bottomItemContainer {
    font-size: 16px;
  }
}
