:root {
  --white-color: #c8c8c8;
  --primary-color: #ff8b00;
}

body {
  font-family: "peyda";
  background: #202020;
  background: #000;
}

a {
  color: var(--white-color);
}

svg {
  fill: #e5e5e5;
}

#menu-topbar {
  height: 50px;
  background: #202020;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  justify-content: flex-end;
}

.topbar-my-account {
  color: #cdcdcd;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.78rem;
  cursor: pointer;
}

.topbar-my-account svg {
  width: 20px;
  height: 20px;
  fill: #fdfdfd;
}

.price {
  font-family: "kalameh";
  font-weight: 300;
}

.burger-menu-button {
  display: none;
}

.burger-menu-button svg path {
  stroke: #ffffff;
  stroke-width: 1.8px;
}

/* menu header */
.menu-header {}

.header-top {
  display: flex;
  padding: 3rem 1.5rem 1rem;
  gap: 0.4rem;
  flex-direction: column;
  align-items: center;
}

.header-logo {
  width: 50%;
}

.header-logo img {
  width: 100%;
  filter: drop-shadow(0px -4px 8px #000000b8);
  width: 100%;
  padding: 1rem;
  aspect-ratio: 1 / 1;
  background: #fff;
}

.header-logo img {
  border-radius: 1.2rem;
}

.header-intro {
  width: 90%;
}

.restaurant-name {
  font-size: 2rem;
  color: #cfcfcf;
  text-align: center;
  /* background: #00000026;
  padding: 0.4rem 0.3rem; */
}

.header-intro p {
  font-size: 0.9rem;
  color: #b5b5b5;
  text-align: justify;
  /* background: #00000026;
  padding: 0.1rem 0.3rem; */
}

/* Restaurant Status Styles */
.restaurant-status {
  display: flex;
  flex-direction: column;
  /* gap: 0.3rem; */
  margin-top: 0.8rem;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.status-indicator svg {
  flex-shrink: 0;
}

.status-open {
  color: #4caf50;
}

.status-closed {
  color: #f44336;
}

.working-hours {
  font-size: 0.75rem;
  color: #888;
  margin-top: 0.2rem;
}

.crm-overview {
  width: 100%;
  padding: 0 1.15rem;
  margin: 0.9rem 0 0;
  box-sizing: border-box;
  color: #e8e8e8;
}

.crm-overview__card {
  width: 100%;
  box-sizing: border-box;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: #222;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.15s ease, background 0.2s ease;
}

.crm-overview__card:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.crm-overview__card:active {
  transform: scale(0.985);
}

.crm-overview__row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 0.8rem;
}

.crm-overview__tier-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.crm-overview__info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.crm-overview__name {
  font-size: 1rem;
  font-weight: 600;
  color: #f4f4f4;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.crm-overview__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  min-width: 0;
}

.crm-overview__tier-label {
  font-size: 0.8rem;
  color: #cfcfcf;
  line-height: 1.2;
}

.crm-overview__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.crm-overview__points,
.crm-overview__credit-value {
  display: inline-flex;
  align-items: baseline;
  gap: 0.18rem;
  font-family: "kalameh", sans-serif;
  direction: rtl;
}

.crm-overview__points {
  font-size: 0.8rem;
  color: #cfcfcf;
}

.crm-overview__unit {
  font-size: 0.62rem;
  color: rgba(180, 180, 180, 0.8);
  font-family: "peyda", sans-serif;
}

.crm-overview__credit {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.15rem;
  text-align: left;
}

.crm-overview__credit-label {
  font-size: 0.68rem;
  color: rgba(190, 190, 190, 0.8);
}

.crm-overview__credit-value {
  font-size: 0.92rem;
  color: #f0f0f0;
}

.crm-overview__empty-note {
  margin: 0.7rem 0 0;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.74rem;
  color: rgba(190, 190, 190, 0.88);
  line-height: 1.4;
}

.crm-overview:not(.hide)+.overview {
  margin-top: 1.2rem;
}

/* Customer offers strip (coupons + cashback) */
.customer-offers {
  margin-top: 0.7rem;
  padding: 0 0.1rem;
  font-family: inherit;
}

.crm-overview .customer-offers {
  margin-top: 0.75rem;
}

.club-membership-section .customer-offers {
  margin: 0.85rem 0 0.25rem;
}

.customer-offers__header {
  margin-bottom: 0.45rem;
}

.customer-offers__title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #f3f3f3;
  font-family: inherit;
}

.customer-offers__subtitle {
  margin: 0.15rem 0 0;
  font-size: 0.72rem;
  color: #9a9a9a;
  line-height: 1.4;
  font-family: inherit;
}

.customer-offers__track {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.1rem 0.05rem 0.4rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.customer-offers__track::-webkit-scrollbar {
  height: 3px;
}

.customer-offers__track::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.customer-offer-card {
  flex: 0 0 auto;
  width: 6.1rem;
  min-height: 5.1rem;
  scroll-snap-align: start;
  border-radius: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #2e2e2e;
  padding: 0.55rem 0.55rem 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.35rem;
  color: #f5f5f5;
  text-align: start;
  font-family: inherit;
}

.customer-offer-card--cashback {
  background: #27322c;
  border-color: rgba(110, 231, 183, 0.18);
}

.customer-offer-card__badge {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.62rem;
  font-weight: 600;
  padding: 0.12rem 0.38rem;
  border-radius: 999px;
  background: rgba(255, 153, 0, 0.14);
  color: #ffc266;
  font-family: inherit;
}

.customer-offer-card--cashback .customer-offer-card__badge {
  background: rgba(110, 231, 183, 0.12);
  color: #9af0c4;
}

.customer-offer-card__title {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: inherit;
}

.customer-offer-card__value {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffb347;
  line-height: 1.25;
  font-family: inherit;
  word-break: break-word;
}

.customer-offer-card__value--fixed {
  font-size: 0.68rem;
}

.customer-offer-card--cashback .customer-offer-card__value {
  color: #7dffa8;
}

.customer-offer-card__meta {
  display: none;
}

.customer-offers__empty {
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  color: #8f8f8f;
}

.checkout-discount-offers {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0 0 0.55rem;
  margin-bottom: 0.15rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  font-family: inherit;
}

.checkout-discount-offer-card {
  flex: 0 0 auto;
  width: 5.8rem;
  min-height: 4.6rem;
  scroll-snap-align: start;
  border-radius: 0.65rem;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  background: #2e2e2e;
  color: #f3f3f3;
  padding: 0.5rem 0.5rem 0.45rem;
  text-align: start;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.3rem;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: inherit;
}

.checkout-discount-offer-card:hover {
  border-color: rgba(255, 153, 0, 0.5);
}

.checkout-discount-offer-card.is-selected {
  border-color: #ff9900;
  box-shadow: 0 0 0 2px rgba(255, 153, 0, 0.18);
  background: #3a3228;
}

.checkout-discount-offer-card__badge {
  font-size: 0.6rem;
  font-weight: 600;
  color: #ffc266;
  font-family: inherit;
}

.checkout-discount-offer-card__title {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: inherit;
}

.checkout-discount-offer-card__value {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffb347;
  line-height: 1.25;
  font-family: inherit;
  word-break: break-word;
}

.checkout-discount-offer-card__value--fixed {
  font-size: 0.64rem;
}

.overview {
  margin-top: 4rem;
  color: var(--white-color);
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.overview__title {
  display: flex;
  gap: 0.4rem;
}

.overview__title svg {
  width: 20px;
  height: 20px;
  fill: #5e5e5e;
}

.menu-overview {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0;
}

.menu-overview__title {
  display: flex;
  width: 100%;
  align-items: flex-end;
  gap: 0.3rem;
  justify-content: center;
}

.menu-overview__title svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
}

.overview__categories {
  width: 100%;
  padding: 1rem 0.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 5%;
  row-gap: 1rem;
}

.overview__category {
  /* width: calc((100% - 2rem) / 3); */
  width: calc((100% - 10%) / 3);
  max-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem;
  /* background: #363636; */
  border-radius: 1rem;
  cursor: pointer;
  padding-bottom: 0.2rem;
}

.overview__category__name,
.categories-nav__category__name {
  font-size: 0.8rem;
  text-align: center;
  white-space: nowrap;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  direction: rtl;
}

.overview__category img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 1.65rem;
  border: 2px solid #565656;
}

.overview__button {
  background: #363636;
  width: 90%;
  display: flex;
  justify-content: center;
  padding: 0.6rem;
  border-radius: 1rem;
  margin-bottom: 3rem;
}

.overview__category__name {
  color: var(--white-color);
}

.overview__button {
  color: var(--white-color);
}

/* ─── آیتم‌های پیشنهادی (carousel) ─── */
.recommended-section {
  --rec-card-w: 140px;
  --rec-img: 140px;
  --rec-gap: 0.85rem;
  --rec-pad-inline: 1.15rem;
  width: 100%;
  margin: 0.85rem 0 1.75rem;
  padding: 1.15rem 0 1rem;
  border-radius: 1.4rem;
  position: relative;
  overflow: visible;
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(255, 139, 0, 0.12), transparent 55%),
    linear-gradient(165deg, rgba(42, 42, 42, 0.92) 0%, rgba(22, 22, 22, 0.88) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 40px -28px rgba(0, 0, 0, 0.85);
}

.recommended-section__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.05rem;
  padding: 0 1.1rem;
}

.recommended-section__line {
  flex: 1;
  height: 1px;
  max-width: 72px;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 139, 0, 0.45),
      transparent);
  opacity: 0.9;
}

.recommended-section__heading {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.recommended-section__badge {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(255, 139, 0, 0.28), rgba(255, 139, 0, 0.08));
  border: 1px solid rgba(255, 139, 0, 0.35);
  box-shadow: 0 0 16px -4px rgba(255, 139, 0, 0.45);
  flex-shrink: 0;
}

.recommended-section__badge svg {
  fill: #ffb347;
}

.recommended-section__title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  color: #f5f5f5;
  letter-spacing: -0.01em;
  line-height: 1.3;
  white-space: nowrap;
}

.recommended-carousel {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  direction: rtl;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--rec-pad-inline);
  scroll-behavior: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
  /* عمودی برای اسکرول صفحه؛ افقی با JS تا با اسکرول صفحه قاطی نشود */
  touch-action: pan-y;
  padding-block: 0.2rem 0.15rem;
  /* فقط لبه مخالف شروع محو شود تا اولین کارت سمت راست کامل دیده شود */
  mask-image: linear-gradient(to left,
      transparent 0,
      #000 1.1rem,
      #000 100%);
  -webkit-mask-image: linear-gradient(to left,
      transparent 0,
      #000 1.1rem,
      #000 100%);
}

.recommended-carousel.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.recommended-carousel::-webkit-scrollbar {
  display: none;
}

.recommended-carousel__track {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--rec-gap);
  width: max-content;
  min-width: 100%;
  box-sizing: border-box;
  padding: 0.25rem var(--rec-pad-inline) 0.45rem;
  touch-action: pan-y;
}

.recommended-carousel__card {
  box-sizing: border-box;
  flex: 0 0 var(--rec-card-w);
  width: var(--rec-card-w);
  min-width: var(--rec-card-w);
  max-width: var(--rec-card-w);
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  appearance: none;
  border: none;
  background: transparent;
  border-radius: 1.15rem;
  padding: 0;
  overflow: visible;
  cursor: pointer;
  text-align: center;
  color: inherit;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  touch-action: pan-y;
  transform: none !important;
}

.recommended-carousel__card:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 4px;
  border-radius: 1.2rem;
}

.recommended-carousel__media {
  position: relative;
  box-sizing: border-box;
  width: var(--rec-img);
  height: var(--rec-img);
  min-width: var(--rec-img);
  max-width: var(--rec-img);
  min-height: var(--rec-img);
  max-height: var(--rec-img);
  margin: 0 auto;
  border-radius: 1.2rem;
  overflow: hidden;
  flex-shrink: 0;
  background: #1a1a1a;
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, 0.1),
    0 0 0 4px rgba(255, 139, 0, 0.12),
    0 14px 28px -12px rgba(0, 0, 0, 0.75);
}

.recommended-carousel__media img {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}

.recommended-carousel__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg,
      transparent 55%,
      rgba(0, 0, 0, 0.28) 100%);
}

.recommended-carousel__body {
  margin-top: 0.5rem;
  padding: 0 0.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28rem;
  width: 100%;
  box-sizing: border-box;
}

.recommended-carousel__name {
  box-sizing: border-box;
  width: 100%;
  height: 2.5em;
  font-size: 0.82rem;
  font-weight: 500;
  color: #f0f0f0;
  line-height: 1.25;
  max-width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.recommended-carousel__price {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.18rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 139, 0, 0.12);
  border: 1px solid rgba(255, 139, 0, 0.22);
  color: #ffb347;
  font-size: 0.74rem;
  font-family: "kalameh", sans-serif;
  font-weight: 400;
  direction: rtl;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
}

.recommended-carousel__price-prefix {
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.55);
  font-family: "peyda", sans-serif;
}

.recommended-carousel__toman {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.5);
  font-family: "peyda", sans-serif;
}

.recommended-carousel__plus {
  position: absolute;
  left: 0.45rem;
  bottom: 0.45rem;
  z-index: 2;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  color: #1a1a1a;
  background: linear-gradient(145deg, #ffc56a 0%, #ff8b00 100%);
  /* box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.25),
    0 6px 14px -6px rgba(255, 139, 0, 0.7); */
}

.recommended-carousel__plus svg {
  display: block;
  fill: none;
  stroke: currentColor;
}

@media (max-width: 379px) {
  .recommended-section {
    --rec-card-w: 126px;
    --rec-img: 126px;
    --rec-gap: 0.7rem;
    --rec-pad-inline: 1rem;
  }

  .recommended-section__title {
    font-size: 0.95rem;
  }
}

@media (min-width: 480px) {
  .recommended-section {
    --rec-card-w: 148px;
    --rec-img: 148px;
  }

  .recommended-carousel__name {
    font-size: 0.88rem;
  }
}

/* --- ?????? ?? ???? --- */
.back-to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 4.3rem;
  z-index: 40;
  width: 2.35rem;
  height: 2.35rem;
  border: none;
  border-radius: 50%;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(36, 36, 36, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top svg {
  width: 16px;
  height: 16px;
  fill: #f0f0f0;
}

.back-to-top:active {
  transform: scale(0.94);
}

.bottom-actions.hide+.back-to-top {
  bottom: 1.15rem;
}

#menu-wrapper {
  background-image: url("/img/wall8.jpg");
}

/* nav */
.categories-nav-container {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 8;
}

.categories-nav {
  display: flex;
  overflow-x: scroll;
  width: 100%;
  gap: 2rem;
  padding: 1rem 7%;
  flex-direction: row-reverse;
  margin-bottom: 4rem;
  background: #000000;
  position: relative;
  padding-top: 1.5rem;
  border-bottom: 3px solid #555555;
  box-shadow: 0 2px 20px 10px #000000ab;
  flex-direction: row;
}

.all-categories {
  position: absolute;
  background: #555555;
  top: 142px;
  right: 50%;
  z-index: 10;
  transform: translateX(50%);
  padding: 0.2rem 0.6rem;
  border-bottom-right-radius: 1rem;
  border-bottom-left-radius: 1rem;
  font-size: 0.8rem;
}

.categories-nav__category {
  transition: all 0.4s ease-in-out;
  width: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  gap: 0.2rem;
  filter: grayscale(0.3);
  opacity: 0.8;
}

.category-link-active {
  transform: scale(1.2);
  filter: grayscale(0);
  opacity: 1;
}

.categories-nav__category img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2rem;
  border: 2px solid #565656;
}

.category-link-active img {
  border: 2px solid #757575;
}

.categories-container {
  color: #fdfdfd;
  padding-bottom: 2rem;
}

.category-container {
  padding-top: 155px;
  margin-top: -155px;
}

.category__name {
  text-align: center;
  margin: 1.3rem;
  font-size: 1.3rem;
}

.category {
  padding: 6%;
  transition: all 0.4s ease-in-out;
  /* opacity: .6; */
}

.active-category {
  /* opacity: 1; */
}

.items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.item {
  padding: 1rem;
  border: 2px solid #ffffff14;
  border-radius: 1.5rem;
  background: #000000;
  position: relative;
}

.item--recommended {
  padding-top: 2.55rem;
  background:
    radial-gradient(ellipse 85% 70% at 0% 0%, rgba(255, 139, 0, 0.22), transparent 75%),
    linear-gradient(160deg, #1c140a 0%, #0d0d0d 78%, #000000 100%);
  border-color: rgba(255, 139, 0, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 180, 70, 0.14),
    0 14px 32px -22px rgba(255, 139, 0, 0.45);
}

.item__suggested-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.75rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  max-width: min(58%, 11.5rem);
  padding: 0.22rem 0.55rem 0.22rem 0.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgb(255 142 0 / 39%), rgb(255 175 0 / 38%));
  color: #ff9d00;
  box-shadow: 0 6px 16px -8px rgba(255, 139, 0, 0.7);
  pointer-events: none;
}

.item__suggested-badge svg {
  flex-shrink: 0;
  fill: #ff9d00;
}

.item__suggested-badge__text {
  font-size: 0.65rem;
  /* font-weight: 600; */
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-top {
  display: flex;
  gap: 1rem;
}

.item__image {
  width: 40%;
  aspect-ratio: 1 / 1;
  cursor: pointer;
}

.item__image img {
  width: 100%;
  /* height: 100%; */
  object-fit: cover;
  /* border-radius: 50%; */
  border-radius: 30%;
  aspect-ratio: 1 / 1;
}

.item__info {
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.item__name {
  font-weight: bold;
  font-size: 1.1rem;
}

.item__contents {
  font-size: 0.72rem;
  font-weight: normal;
  color: #dcdcdc;
  margin-top: 0.2rem;
}

.price-container {
  display: flex;
  justify-content: space-between;
  margin-top: 0.7rem;
}

.item_price_value {
  font-size: 1rem;
}

.price--free {
  letter-spacing: 0;
  font-size: 0.9rem;
}

.item__price__inner {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.item__price__toman svg {
  width: 19px;
  height: 19px;
  fill: #ffffff;
}

.add-item-button {
  font-family: "peyda";
  padding: 0.1rem 0.5rem;
  background: #ffffff;
  border: none;
  border-radius: 0.4rem;
  outline: none;
  cursor: pointer;
}

.item-variables {
  padding-top: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content max-content;
  column-gap: 0.55rem;
  row-gap: 0.7rem;
  align-items: center;
  border-top: 1px solid #ffffff30;
  margin-top: 0.9rem;
}

.variable {
  display: contents;
}

.variable_price_value {
  font-size: 0.87rem;
}

.variable__name {
  line-height: 1;
  font-size: 0.84rem;
  min-width: 0;
  /* overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; */
}

.variable .item__price__inner {
  white-space: nowrap;
}

.variable__action {
  white-space: nowrap;
}

/* وقتی سفارش‌گیری غیرفعال است، ستون اکشن خالی بماند تا قیمت‌ها جابه‌جا نشوند */
.item-variables .variable__action.hide {
  display: block !important;
  visibility: hidden;
  pointer-events: none;
  width: 0;
  min-width: 0;
  height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 0;
}

.item__tag img {
  height: 20px;
}

.item__tag svg {
  fill: #e60000;
  height: 20px;
  width: auto;
}

.item__tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.6rem;
  color: #c7c7c7;
}

.item__tag {
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.category-link-active {
  transform: scale(1.2);
  filter: grayscale(0);
  opacity: 1;
}

/* view item popup */
.view-item-wrapper {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.313);
  z-index: 60;
  backdrop-filter: blur(6px);
  display: none;
  transition: all 0.4s ease-in-out;
  opacity: 0;
}

.view-item {
  transform: translateY(0);
  transition: all 0.4s ease-in-out;
  width: 80%;
  position: fixed;
  top: 50%;
  background: #2d2d2d;
  right: 50%;
  transform: translate(50%, -50%);
  max-width: 350px;
  border-radius: 2rem;
  color: #e8e8e8;
  box-shadow: 0 0 40px 0px #00000070;
  border: 2px solid #434343;
  padding-bottom: 0.6rem;
  /* overflow-y: scroll; */
  max-height: 80vh;
}

.view-item__image {
  padding: 1rem 1rem 0rem;
}

.view-item__image img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 3px 9px 3px #0000003d;
  max-height: 40vh;
  object-fit: cover;
}

.view-item__info {
  padding: 1rem;
  padding-top: 0;
}

.view-item__info__name {
  font-size: 1.2rem;
  padding: 1.2rem 0 0.1rem;
}

.view-item__info__contents {
  font-size: 0.9rem;
  color: #cccccc;
  text-align: justify;
}

.view-item__close {
  width: 35px;
  height: 35px;
  position: absolute;
  top: -46px;
  right: 20px;
  cursor: pointer;
}

.view-item__close svg {
  width: 100%;
  height: 100%;
  fill: #fdfdfd;
  filter: drop-shadow(0px 0px 6px #000);
}

.view-item__pricearea {
  text-align: center;
  display: flex;
  font-size: 1.3rem;
  gap: 0.2rem;
  justify-content: center;
}

.view-item__pricearea svg {
  width: 24px;
  height: 24px;
}

.view-item__action {
  padding: 0.5rem 0.7rem;
  justify-content: center;
  display: flex;
}

.view-item__action button {
  width: 100%;
  padding: 0.4rem;
  font-family: "peyda";
  border-radius: 1rem;
  font-size: 0.95rem;
  cursor: pointer;
  border: navajowhite;
  outline: none;
}

.view-item__variables {
  padding: 0 1rem 1rem;
}

.view-item__variables .variable_price_value {
  font-size: 1rem;
}

.show-modal {
  /* transition: all .4s ease-in-out; */
  opacity: 1 !important;
  display: flex !important;
}

.show-modal .view-item {
  /* transform: translate(50%, calc(-50% - 50px)); */
  transform: translate(50%, -50%);
  /* transition: all .4s ease-in-out; */
}

.qty-control-container {
  display: flex;
  /* gap: .4rem; */
}

.qty-plus {
  padding: 0.4rem;
  width: 28px;
  height: 28px;
  background-image: url(/img/plus3.png);
  background-size: 18px;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: center;
}

.qty-minus {
  padding: 0.4rem;
  width: 28px;
  height: 28px;
  background-image: url(/img/minus.png);
  background-size: 18px;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: center;
}

.qty-value {
  font-size: 1.2rem;
  margin-top: 3px;
}

.single-price {
  border-top: 1px solid #ffffff30;
  margin-top: 0.5rem;
}

/* bottom navbar */
.bottom-navbar {
  width: 100%;
  height: 60px;
  background: rgb(0, 0, 0);
  position: fixed;
  bottom: 0;
  right: 0;
  display: flex;
  z-index: 50;
  border-top: 4px solid #303030;
  /* box-shadow: 0 -3px 20px -2px #000000; */
}

.bottom-nav {
  width: 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.3rem;
  gap: 0.35rem;
  justify-content: flex-end;
  cursor: pointer;
  padding-bottom: 0.5rem;
  transition: all 0.3s ease-in-out;
}

.bottom-nav__icon {
  height: 60%;
}

.bottom-nav__icon img,
.bottom-nav__icon svg {
  height: 100%;
  max-width: 24px;
  fill: #e2e2e2;
}

.restaurant-logo {
  border-radius: 20%;
}

.restaurant-logo img {
  background: #fdfdfd;
}

.bottom-nav__anchor {
  font-size: 0.75rem;
  text-align: center;
  line-height: 0.7;
  color: #dfdfdf;
}

.orders-icon {
  width: 53px;
  background: #f7f7f7;
  height: 53px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: -23px;
  transition: all 0.3s ease-in-out;
}

#waiter-nav .bottom-nav__icon img {
  filter: invert(1);
  max-width: 32px;
}

.orders-icon svg {
  fill: #161616;
  max-width: 28px;
  transition: all 0.3s ease-in-out;
}

.bottom-nav-orders-anchor2 {
  display: none;
}

.orders-nav__active .orders-icon {
  background: #ff6c00;
}

.orders-nav__active svg {
  fill: #eaeaea;
}

.orders-nav__active .bottom-nav-orders-anchor1 {
  display: none;
}

.orders-nav__active .bottom-nav-orders-anchor2 {
  display: block;
  font-weight: bold;
}

.cart-items-count {
  /* position: absolute; */
  width: 18px;
  background: #f2f2f2;
  height: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1rem;
  top: 30px;
  right: -5px;
  font-size: 0.75rem;
  color: #363636;
  padding-top: 2px;
  display: none;
  transition: all 0.3s ease-in-out;
  font-family: "kalameh";
}

.orders-nav__active .cart-items-count {
  display: flex;
}

.open-orders-count {
  width: 18px;
  background: #f2f2f2;
  height: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1rem;
  top: 30px;
  right: -5px;
  font-size: 0.75rem;
  color: #363636;
  padding-top: 2px;
  display: none;
  transition: all 0.3s ease-in-out;
  font-family: "kalameh";
}

.sector {
  width: 100%;
  height: 100lvh;
  background: #2e2e2e;
  position: fixed;
  top: 115%;
  z-index: 30;
  transition: all 0.4s ease-out;
  color: #ececec;
}

.active-sector {
  top: 0;
}

.back {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
}

.back svg {
  width: 20px;
  height: 20px;
  fill: #e2e2e2;
}

.sector-header {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem;
  border-bottom: 1px solid #ffffff3d;
}

.sector__title {
  font-size: 1.1rem;
}

.sector-container {
  padding: 1rem;
  overflow-y: auto;
  height: inherit;
  padding-bottom: 11rem;
}

.order-place {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  padding: 1rem 0.2rem;
  gap: 0.5rem;
}

.order-place__body {
  display: flex;
  /* align-items: center; */
  gap: 1rem;
  margin-top: 0.6rem;
  width: 100%;
  justify-content: unset;
}

.on-table-qr-warning {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.7rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.7rem;
  background: #3a1c1c;
  border: 1px solid #e0484833;
  border-right: 4px solid #e04848;
  color: #ff9d9d;
  font-size: 0.82rem;
  line-height: 1.6;
}

.on-table-qr-warning svg {
  flex-shrink: 0;
  fill: #e04848;
}

.on-table-qr-warning.hide {
  display: none;
}

.menu-online-ordering-disabled-notice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.7rem;
  background: #3a1c1c;
  border: 1px solid #e0484833;
  border-right: 4px solid #e04848;
  color: #ff9d9d;
  font-size: 0.82rem;
  line-height: 1.6;
}

.menu-online-ordering-disabled-notice svg {
  flex-shrink: 0;
  fill: #e04848;
}

.menu-online-ordering-disabled-notice.hide {
  display: none;
}

.order-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.8rem;
  padding: 0.4rem;
  border-radius: 1rem;
  border: 3px solid #ffffff1a;
  border-radius: 0.8rem;
  background: #414141;
  width: 100px;
  gap: 0.3rem;
  cursor: pointer;
  text-align: center;
  line-height: 1.1;
}

.order-place__icon-img {
  width: 50px;
  filter: invert(0.9);
}

.order-type input[type="radio"] {
  display: none;
}

.order-type:has(input[type="radio"]:checked) {
  border-color: #ff9900;
  background: #ffaf0014;
}

.order-place__icon {
  width: 60px;
  background: #4e4e4e;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1rem;
}

.order-place__icon img {
  width: 80%;
  filter: invert(0.9);
}

.order-place__place {
  font-size: 0.9rem;
  font-family: "kalameh";
}

.change-place-button {
  background: none;
  border: none;
  font-family: "peyda";
  color: #ffb800;
  cursor: pointer;
  padding: 0.3rem 0;
  font-size: 0.75rem;
}

.order-place__title {
  font-weight: bold;
}

.cart {
  padding: 0.5rem;
  /* background: #3e3e3e; */
  border-radius: 1rem;
  margin-bottom: 0.6rem;
  /* border: 2px solid #555555; */
  margin-top: 1rem;
}

.cart-item__image {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 1.1rem;
}

.cart__header {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.cart-items {
  width: 100%;
}

.cart-item {
  display: flex;
  gap: 1rem;
  width: 100%;
  align-items: center;
  border-bottom: 1px solid #494949;
  padding-bottom: 0.6rem;
}

.cart-item__variable {
  font-size: 0.8rem;
  color: #cdcdcd;
  margin-right: 0.4rem;
}

.cart-item__details {
  flex-grow: 1;
  gap: 0.1rem;
  display: flex;
  flex-direction: column;
}

.cart-item__price {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.cart-item__price__control {
  display: flex;
  gap: 0.3rem;
}

.cart-item__price__value {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.85rem;
  color: #cdcdcd;
}

.toman {
  font-size: 0.7rem;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;
}

.cart-desc textarea {
  width: 100%;
  height: 70px;
  background: #3b3b3b;
  border: none;
  border-radius: 1rem;
  padding: 0.5rem 0.7rem;
  font-family: "peyda";
  border: 1px solid #636363;
  color: #e9e9e9;
  font-size: 0.9rem;
}

.cart-desc textarea:focus {
  outline: 2px solid rgb(150, 150, 150);
}

.cart-desc {
  display: flex;
  flex-direction: column;
  margin-top: 2.3rem;
}

.cart-detail__price svg {
  width: 18px;
  height: 18px;
  fill: #d0d0d0;
}

.cart-details {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem 0;
  margin: 1rem 0 0.5rem;
}

.cart-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #d7d7d7;
  font-size: 0.8rem;
}

.cart-detail__price {
  display: flex;
  gap: 0.2rem;
}

.cart-detail-total {
  font-size: 1rem;
  border-top: 1px solid #525252;
  padding-top: 0.7rem;
  margin-top: 0.2rem;
}

.order-credit-section {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border: 1px solid #3d3d3d;
  border-radius: 0.75rem;
  background: #2a2a2a;
}

.order-credit-section.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.order-credit-toggle {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}

.order-credit-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.order-credit-toggle__box {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  border: 2px solid #ff6c00;
  border-radius: 0.3rem;
  position: relative;
}

.order-credit-toggle input:checked+.order-credit-toggle__box {
  background: #ff6c00;
}

.order-credit-toggle input:checked+.order-credit-toggle__box::after {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.05rem;
  width: 0.35rem;
  height: 0.65rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.order-credit-toggle__content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.order-credit-toggle__title {
  font-size: 0.95rem;
  font-weight: bold;
  color: #f0f0f0;
}

.order-credit-toggle__hint {
  font-size: 0.8rem;
  color: #a8a8a8;
}

/* Checkout discount code (classic / classic-video base) */
.checkout-discount-block {
  margin: 0.35rem 0 0.25rem;
  padding: 0 0.3rem 0.35rem;
  font-family: inherit;
}

.checkout-discount-toggle {
  display: inline;
  padding: 0;
  margin: 0.35rem 0 0.35rem;
  border: 0;
  background: transparent;
  color: #ff9900;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-align: start;
  font-family: inherit;
}

.checkout-discount-toggle:hover {
  text-decoration: underline;
}

.checkout-discount-expand {
  margin-top: 0.45rem;
}

.checkout-discount-code-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.checkout-discount-input {
  flex: 1;
  min-width: 0;
  border: 2px solid #ffffff1a;
  border-radius: 0.7rem;
  background: #414141;
  color: #f3f3f3;
  padding: 0.7rem 0.85rem;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  outline: none;
  font-family: inherit;
}

.checkout-discount-input::placeholder {
  color: #9a9a9a;
  letter-spacing: normal;
  text-transform: none;
  font-family: inherit;
}

.checkout-discount-input:focus {
  border-color: #ff9900;
  box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.18);
}

.checkout-discount-apply-btn {
  flex-shrink: 0;
  min-width: 4.75rem;
  border: 0;
  border-radius: 0.7rem;
  background: #ff9900;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0 0.95rem;
  cursor: pointer;
  font-family: inherit;
}

.checkout-discount-apply-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.checkout-discount-error {
  margin-top: 0.5rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.6rem;
  background: #3a1d1d;
  border: 1px solid #7f2d2d;
  color: #ffb4b4;
  font-size: 0.84rem;
  line-height: 1.5;
  font-family: inherit;
}

.checkout-discount-applied {
  margin-top: 0.55rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  background: #1f3a2a;
  border: 1px solid #2f6b4a;
  color: #b6f0cd;
  font-family: inherit;
}

.checkout-discount-applied__main {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.checkout-discount-applied__main strong {
  font-size: 0.9rem;
  color: #d7ffe6;
  font-family: inherit;
}

.checkout-discount-applied__meta {
  font-size: 0.8rem;
  color: #97d8b2;
  font-family: inherit;
}

.checkout-discount-applied__scope {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.76rem;
  line-height: 1.45;
  color: #b7e4c7;
  font-family: inherit;
}

.checkout-discount-remove-btn {
  flex-shrink: 0;
  border: 1px solid #7f2d2d;
  background: transparent;
  color: #ffb4b4;
  border-radius: 0.55rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.cart-discount-row .cart-detail__price .price {
  color: #7dffa8;
}

@media (max-width: 420px) {
  .checkout-discount-code-row {
    flex-direction: column;
  }

  .checkout-discount-apply-btn {
    min-height: 2.6rem;
  }
}

.cart-detail-gross-total,
.cart-detail-credit {
  font-size: 0.8rem;
  color: #a8a8a8;
}

.credit-only-payment {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid #ff6c00;
  border-radius: 0.75rem;
  background: #2a2a2a;
}

.credit-only-payment__icon {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ff6c00;
  color: #fff;
}

.credit-only-payment__content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.credit-only-payment__name {
  font-size: 0.95rem;
  font-weight: bold;
  color: #f0f0f0;
}

.credit-only-payment__desc {
  font-size: 0.8rem;
  color: #a8a8a8;
}

.view-order-credit-row .success-order__item__name,
.view-order-credit-row .view-order-credit-price {
  color: #4caf50;
}

.cart-detail__price--credit .price {
  color: #4caf50;
}

#checkout .cart-detail-total {
  font-size: 1rem;
  color: inherit;
}

.btn {
  width: 100%;
  height: 40px;
  border: none;
  border-radius: 0.6rem;
  font-family: "peyda";
  font-size: 0.9rem;
  cursor: pointer;
  background: #585858;
  color: #d8d8d8;
}

.buttons {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
}

.submit-button {
  background: #ff6c00;
  color: #fdfdfd;
  font-size: 1rem;
}

/* حالت شبه‌غیرفعال: دکمه کم‌رنگ‌تر می‌شود ولی همچنان قابل کلیک است تا خطا نمایش داده شود */
.btn.is-blocked {
  opacity: 0.5;
  cursor: not-allowed;
}

.no-bg {
  background: none;
  height: 25px;
}

.empty-cart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
  color: #dcdcdc;
  font-size: 1.1rem;
}

.empty-cart img {
  width: 150px;
  filter: invert(0.75);
}

.cart .other-buttons {
  margin-top: 2rem;
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.payment-method {
  padding: 0.5rem 0.8rem;
  border: 3px solid #ffffff1a;
  border-radius: 0.8rem;
  background: #414141;
  position: relative;
}

.payment-method__desc {
  font-size: 0.8rem;
  color: #ababab;
}

.payment-methods input {
  display: none;
}

.radio-circle {
  height: 24px;
  width: 24px;
  border: 3px solid #ff9900;
  border-radius: 50%;
  display: inline-block;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.radio-circle::after {
  content: "";
  display: block;
  height: 11px;
  width: 11px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ff9900;
  opacity: 0;
  transition: opacity 0.2s;
}

.payment-radio-input:checked~.payment-method-label .radio-circle::after {
  opacity: 1;
}

.payment-method-label {
  padding-right: 2rem;
  display: flex;
  flex-direction: column;
}

.payment-details__title {
  font-weight: bold;
  margin-bottom: 0.7rem;
}

.payment-details {
  padding: 2.5rem 0.3rem 1.3rem;
}

.login-modal-wrapper {
  position: fixed;
  background: #0000005e;
  top: 0;
  bottom: 0;
  z-index: 1000;
  right: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
}

.login-modal {
  background: #3d3d3d;
  width: 86%;
  padding: 1rem;
  border-radius: 1rem;
  color: #fdfdfd;
  border: 3px solid #5d5d5d;
  position: relative;
}

.login-modal__title {
  text-align: center;
  color: rgb(232, 232, 232);
}

.get-number__number {
  display: flex;
  flex-direction: column;
  margin-top: 0.8rem;
  border-top: 1px solid #ffffff21;
  padding-top: 0.8rem;
}

#phone-number {
  background: #636363;
  border: 2px solid #7b7b7b;
  height: 40px;
  border-radius: 0.7rem;
  text-align: center;
  direction: ltr;
  font-size: 1rem;
  font-family: "kalameh";
  outline: none;
  color: #d8d8d8;
  letter-spacing: 1px;
}

#phone-number:focus {
  border: 3px solid #a9a9a9;
}

.phone-number-error {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: #ff6b6b;
  text-align: center;
  min-height: 1rem;
}

.get-number__number label {
  font-size: 0.8rem;
  color: #dfdfdf;
  margin-bottom: 0.4rem;
}

.login-modal__buttons {
  margin-top: 1rem;
}

.login-modal-close {
  position: absolute;
  top: -40px;
  fill: #e4e4e4;
  cursor: pointer;
}

.login-modal-close svg {
  width: 25px;
  height: 25px;
}

.login-modal__buttons button {
  font-size: 1rem;
}

.insert-otp-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.insert-otp-container__title {
  font-size: 0.8rem;
  color: #dfdfdf;
  gap: 0.2rem;
}

.otp-inputs {
  display: flex;
  gap: 0.7rem;
  flex-direction: row-reverse;
  justify-content: center;
}

.otp-inputs input {
  width: 40px;
  height: 40px;
  background: #7b7b7b;
  border: none;
  border-radius: 0.9rem;
  outline: none;
  text-align: center;
  font-weight: bold;
  font-family: "kalameh";
  color: #e9e9e9;
  font-size: 1.3rem;
  padding-top: 5px;
  direction: ltr;
}

.otp-inputs input:focus {
  border: 3px solid #a9a9a9;
}

.resend-otp__timer {
  font-family: "kalameh";
  margin-left: 0.2rem;
}

.insert-otp-container__title {
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.collect-name-container {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.collect-name-container__desc {
  font-size: 0.8rem;
  color: #c8c8c8;
  text-align: center;
  margin: 0 0 0.6rem;
}

#signup-first-name,
#signup-last-name {
  background: #636363;
  border: 2px solid #7b7b7b;
  height: 40px;
  border-radius: 0.7rem;
  text-align: center;
  font-size: 1rem;
  font-family: "peyda";
  outline: none;
  color: #d8d8d8;
  width: 100%;
  box-sizing: border-box;
  padding: 0 0.8rem;
}

#signup-first-name:focus,
#signup-last-name:focus {
  border: 3px solid #a9a9a9;
}

.signup-gender-options {
  display: flex;
  gap: 0.6rem;
}

.signup-gender-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: #636363;
  border: 2px solid #7b7b7b;
  height: 40px;
  border-radius: 0.7rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: #d8d8d8;
}

.signup-gender-option input {
  accent-color: #ff9900;
}

.signup-gender-option:has(input:checked) {
  border-color: #ff9900;
  background: #4a4a4a;
  color: #ffffff;
}

.change-number-button {
  background: none;
  border: none;
  color: #ffa200;
  cursor: pointer;
  padding: 0.3rem 0;
  font-size: 0.7rem;
  font-family: "dana";
  margin-right: 0.3rem;
  line-height: 0.3;
}

.resend-otp {
  font-size: 0.7rem;
  color: #dfdfdf;
}

.otp-area__title {
  text-align: center;
  font-size: 0.9rem;
  color: #e0e0e0;
  margin-bottom: 0.5rem;
}

.change-order-type-modal-wrapper {
  position: fixed;
  background: #0000005e;
  top: 0;
  bottom: 0;
  z-index: 1000;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(9px);
  max-width: 480px;
}

.change-order-type-modal {
  background: #3d3d3d;
  width: 86%;
  padding: 1rem;
  border-radius: 1rem;
  color: #fdfdfd;
  position: relative;
}

.change-place-label {
  padding: 0.7rem;
  display: flex;
  flex-direction: column;
  border: 2px solid #6e6e6e;
  border-radius: 0.9rem;
  background: #555555;
}

.order-recieve-type {
  margin: 1rem 0;
}

.order-recieve-type__desc {
  font-size: 0.8rem;
  color: #b4b4b4;
}

.order-recieve-type input {
  display: none;
}

.order-recieve-type input:checked+label {}

.change-order-type-modal__close svg {
  width: 30px;
  height: 30px;
  fill: #d0d0d0;
}

.change-order-type-modal__close {
  position: absolute;
  top: -40px;
  cursor: pointer;
}

.order-recieve-type-input:checked~.change-place-label .radio-circle::after {
  opacity: 1;
}

.order-recieve-type__title {
  position: relative;
  padding-right: 2rem;
  margin-bottom: 0.4rem;
}

.radio-circle-place {
  right: 0;
}

.recieve-table {
  display: block;
  justify-content: center;
  margin-top: 0.5rem;
  padding-top: 0.8rem;
  border-top: 1px solid #ffffff26;
}

.recieve-table label {
  font-size: 0.8rem;
}

.table-place-select {
  width: 100%;
  height: 40px;
  background: #929292;
  border-radius: 0.7rem;
  color: #fdfdfd;
  font-weight: bold;
  font-family: "kalameh";
  padding: 0rem 0.3rem;
  outline: none;
}

.table-number-select {
  width: 100%;
  height: 40px;
  background: #929292;
  border-radius: 0.7rem;
  color: #fdfdfd;
  font-weight: bold;
  font-family: "kalameh";
  padding: 0rem 0.3rem;
  outline: none;
}

.show-with-animation {
  display: block;
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cart__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#clear-cart {
  background: none;
  border: none;
  font-family: "kalameh";
  color: #adadad;
  font-size: 0.68rem;
  cursor: pointer;
  padding: 0.25rem 0.6rem;
  background: #3c3c3c;
  border-radius: 0.7rem;
}

#clear-cart:hover {
  color: #ffa200;
}

.order-progress {
  padding: 1rem;
  background: #ffffff0d;
  border-radius: 0.7rem;
}

.progress-body {
  background: #6b6b6b;
  width: 100%;
  height: 8px;
  border-radius: 1rem;
  margin-top: 0.5rem;
}

.progress-thumb {
  height: 100%;
  background: #ff7c42;
  width: 20%;
  border-radius: 1rem;
}

.success-order-items svg {
  width: 1rem;
  height: 1rem;
  fill: #f1f1f1;
}

.success-order-icon {
  display: flex;
  justify-content: center;
}

.success-order-icon img {
  width: 150px;
}

.success-text {
  text-align: center;
}

.success-order-code {
  text-align: center;
  margin: 0 0 1rem;
}

.order-detail {
  display: flex;
  justify-content: space-between;
  margin: 0.3rem 0;
}

.order-details {
  padding: 1.2rem 0rem;
  background: #ffffff0d;
  padding: 1rem;
  border-radius: 1rem;
}

.success-order-items li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.3rem;
}

.success-order__item__name {
  font-size: 0.82rem;
  font-weight: normal;
  display: flex;
  gap: 0.5rem;
}

.success-order__item__price {
  display: flex;
  gap: 0.2rem;
  font-size: 0.85rem;
}

.itm__qty {
  font-family: "kalameh";
  color: rgb(173, 173, 173);
  font-size: 0.8rem;
}

.success-order-items__title {
  margin-bottom: 0.2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1.1rem;
  font-size: 0.9rem;
  font-weight: normal;
  margin-top: -0.3rem;
}

.success-order-items {
  margin: 1rem 0 2rem;
  background: #ffffff0d;
  padding: 1rem;
  border-radius: 1rem;
}

.order-detail span:first-child {
  font-size: 0.82rem;
  color: rgb(222 222 222);
}

.order-detail span:nth-child(2) {
  font-size: 0.82rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.seperator {
  width: 100%;
  height: 1px;
  background: #7b7b7b;
  margin: 1rem 0 0.3rem;
}

.bold {
  font-weight: bold;
}

.order-status {
  font-size: 0.9rem;
}

.success-order-code {
  font-size: 0.75rem;
  display: flex;
  gap: 0.2rem;
  justify-content: center;
  color: #848484;
}

.final-price-row {
  color: #fff;
}

/* .final-price-row div{
    font-size: 0.85rem;
} */

.total-price-row div {
  font-size: 0.7rem !important;
}

.progress {
  display: flex;
  justify-content: center;
  position: relative;
}

.donut {
  width: 70%;
  transform: rotate(270deg);
}

circle {
  transition: all 1s linear;
}

#c1 {
  transition: all 1s linear;
  stroke: #585858;
  stroke-width: 1;
  stroke-linecap: round;
  fill: transparent;
}

#c2 {
  transition: all 1s linear;
  stroke: #ff6822;
  stroke-width: 1.5;
  stroke-linecap: round;
  fill: transparent;
}

.progress-icon {
  width: 60px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.progress-icon img {
  width: 100%;
}

.progress-icon svg {
  width: 100%;
}

.sand-top,
.sand-bottom,
.sand-clock {
  will-change: transform;
  transform-origin: 50% 30px;
}

.sand-clock {
  -webkit-animation: clock 4.5s 1.875s ease-in-out infinite;
  animation: clock 4.5s 1.875s ease-in-out infinite;
  transform-origin: 50% 50%;
  width: 80px;
  height: 100px;
  fill: #fff;
}

.sand-top {
  -webkit-animation: clock-sand-top 4.5s ease-in-out infinite;
  animation: clock-sand-top 4.5s ease-in-out infinite;
}

.sand-bottom {
  -webkit-animation: clock-sand-bottom 4.5s ease-in-out infinite;
  animation: clock-sand-bottom 4.5s ease-in-out infinite;
  transform: scale(0);
}

@-webkit-keyframes clock {

  20%,
  50% {
    transform: rotate(180deg);
  }

  70%,
  100% {
    transform: rotate(360deg);
  }
}

@keyframes clock {

  20%,
  50% {
    transform: rotate(180deg);
  }

  70%,
  100% {
    transform: rotate(360deg);
  }
}

@-webkit-keyframes clock-sand-top {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes clock-sand-top {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@-webkit-keyframes clock-sand-bottom {
  0% {
    transform: scale(0);
  }

  50% {
    transform: scale(1);
  }

  100% {
    transform: scale(0);
  }
}

@keyframes clock-sand-bottom {
  0% {
    transform: scale(0);
  }

  50% {
    transform: scale(1);
  }

  100% {
    transform: scale(0);
  }
}

.not-payed {
  color: #ff4022;
  font-weight: bold;
}

.payed {
  color: #30e400;
  font-weight: bold;
}

.order-status-text {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  font-weight: normal;
}

.order--code {
  font-family: "kalameh";
  letter-spacing: 2px;
}

.success-order-counter {
  display: flex;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  gap: 0.4rem;
}

.order--counter {
  color: var(--primary-color);
  font-size: 1.4rem;
  line-height: 1.3;
}

.cooking-icon,
.order-done-icon,
.order-cancel-icon {
  width: 100px;
}

.order-ready-icon {
  width: 130px;
}

.view-order-payment-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.open-orders {
  width: 100%;
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 1rem 0 3.5rem;
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0.5rem 0 3rem;
}

.closed-order {
  display: flex;
  padding: 0.7rem 0.4rem;
  background: #3e3e3e;
  border-radius: 0.9rem;
  gap: 0.5rem;
  cursor: pointer;
  border: 2px solid #ffffff21;
}

.closed-order__progress {
  text-align: center;
  font-weight: bold;
  font-size: 0.8rem;
  width: 66px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-left: 1px solid #ffffff21;
  padding-left: 0.5rem;
  color: #dedede;
}

.closed-order__body {
  display: flex;
  flex-direction: column;
  width: 57%;
  flex-grow: 1;
  gap: 0.3rem;
  color: #dedede;
}

.closed-order__body__top {
  white-space: nowrap;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.85rem;
}

.closed-order__body__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  padding-left: 0.5rem;
}

.order--place {
  font-family: "kalameh";
}

/* ─── حساب من ─── */
.my-account__content {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 1.15rem;
}

.my-account__card {
  width: 100%;
  box-sizing: border-box;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: #2c2c2c;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 24px -16px rgba(0, 0, 0, 0.65);
}

.my-account__profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.my-account__profile-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1;
}

.my-account__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-details {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
}

.user__name {
  font-weight: 600;
  font-size: 1rem;
  color: #f4f4f4;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user__mobile {
  font-size: 0.8rem;
  color: rgba(190, 190, 190, 0.88);
  font-family: "kalameh", sans-serif;
  direction: ltr;
  text-align: right;
}

#edit-account {
  background: #ffffff40;
  border: none;
  font-family: "kalameh";
  padding: 0.2rem 0.5rem;
  border-radius: 0.4rem;
  color: #fdfdfd;
  font-size: 0.8rem;
  cursor: pointer;
}

.my-account__logout {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  flex-shrink: 0;
  padding: 0.42rem 0.65rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(220, 220, 220, 0.92);
  font-family: "peyda", sans-serif;
  font-size: 0.78rem;
  fill: currentColor;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.my-account__logout svg {
  width: 15px;
  height: 15px;
}

.my-account__logout:active {
  background: rgba(255, 255, 255, 0.1);
}

.my-account__section-title {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(190, 190, 190, 0.88);
  line-height: 1.35;
}

.my-account__stats {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
}

.my-account__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
}

.my-account__stat-sep {
  width: 1px;
  height: 2.2rem;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.my-account__stat-value {
  font-family: "kalameh", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #f0f0f0;
  line-height: 1.2;
}

.my-account__stat-label {
  font-size: 0.72rem;
  color: rgba(180, 180, 180, 0.85);
  line-height: 1.3;
}

.my-account__action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  margin-top: 0.15rem;
  padding: 0.78rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #e8e8e8;
  font-family: "peyda", sans-serif;
  font-size: 0.88rem;
  fill: currentColor;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.my-account__action svg {
  width: 14px;
  height: 14px;
  opacity: 0.75;
}

.my-account__action:active {
  background: rgba(255, 255, 255, 0.1);
}

/* باشگاه مشتریان — یکپارچه با حساب من */
.my-account .club-membership-section {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.my-account .club-membership-card {
  gap: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: #2c2c2c;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 24px -16px rgba(0, 0, 0, 0.65);
}

.my-account .club-credit-banner {
  position: relative;
  overflow: hidden;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #323232;
  box-shadow: 0 8px 24px -16px rgba(0, 0, 0, 0.65);
}

.my-account .club-credit-banner__glow {
  display: none;
}

.my-account .club-credit-banner__label {
  font-size: 0.68rem;
  color: rgba(190, 190, 190, 0.8);
  margin-bottom: 0.25rem;
}

.my-account .club-usable-credit-value {
  font-size: 1.15rem;
  color: #f0f0f0;
  text-shadow: none;
}

.my-account .club-credit-banner__unit {
  font-size: 0.72rem;
  color: rgba(180, 180, 180, 0.85);
}

.my-account .club-credit-banner__pending {
  margin-top: 0.45rem;
  font-size: 0.7rem;
  color: rgba(200, 200, 200, 0.9);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.my-account .club-tier-panel {
  padding: 0.95rem 1rem;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.my-account .club-tier-current__image-wrap img {
  width: 52px;
  height: 52px;
}

.my-account .club-tier-current__label {
  font-size: 0.68rem;
  color: rgba(190, 190, 190, 0.8);
}

.my-account .club-tier-name {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.1rem 0.45rem;
}

.my-account .club-tier-points__value {
  font-size: 1rem;
  color: #e0e0e0;
}

.my-account .club-tier-points__label {
  font-size: 0.72rem;
  color: rgba(180, 180, 180, 0.85);
}

.my-account .club-progress-wrap {
  margin-top: 0.85rem;
}

.my-account .club-progress-text {
  font-size: 0.76rem;
  color: rgba(200, 200, 200, 0.9);
  margin-bottom: 0.45rem;
}

.my-account .club-progress-text strong {
  color: #f0f0f0;
}

.my-account .club-progress-goal__image-wrap {
  width: 46px;
  height: 46px;
  border-width: 2px;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
  animation: none;
}

.my-account .club-progress-goal__image-wrap::before {
  display: none;
}

.my-account .club-progress-goal__image-wrap img {
  width: 32px;
  height: 32px;
}

.my-account .club-progress-goal__badge {
  font-size: 0.58rem;
  color: rgba(190, 190, 190, 0.85);
}

.my-account .club-progress-goal__name {
  font-size: 0.72rem;
  color: #e0e0e0;
}

.my-account .club-progress-goal__hint {
  font-size: 0.62rem;
  color: rgba(170, 170, 170, 0.85);
}

.my-account .club-progress-bar__track {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.08);
}

.my-account .club-progress-bar__fill {
  /* background: linear-gradient(90deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.55)); */
  /* box-shadow: none; */
}

.my-account .club-progress-labels {
  font-size: 0.68rem;
  color: rgba(170, 170, 170, 0.85);
}

.my-account .club-max-tier-message {
  margin-top: 0.75rem;
  padding: 0.55rem 0.7rem;
  font-size: 0.76rem;
  color: rgba(210, 210, 210, 0.95);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.65rem;
}

.my-account .club-membership-empty {
  padding: 1.25rem 1rem;
  border-radius: 1rem;
  background: #2c2c2c;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 24px -16px rgba(0, 0, 0, 0.65);
  text-align: center;
}

.my-account .club-membership-empty__icon {
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}

.my-account .club-membership-empty__title {
  font-size: 0.92rem;
  color: #f0f0f0;
  margin-bottom: 0.35rem;
}

.my-account .club-membership-empty__desc {
  font-size: 0.76rem;
  color: rgba(180, 180, 180, 0.9);
  line-height: 1.45;
  max-width: 26rem;
  margin: 0 auto;
}

.orders-count__value,
.orders-total-price span:first-child {
  font-size: 1.05rem;
  color: #f0f0f0;
  font-weight: 600;
  line-height: 1.2;
  font-family: "kalameh";
}

.user-orders {
  margin-top: 3rem;
}

/* waiter modal */
.waiter-modal-wrapper,
.modal-wrapper {
  position: relative;
  background: #0000001c;
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 60;
  backdrop-filter: blur(9px);
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
  transition: all 0.4s ease-in-out;
  opacity: 0;
}

.waiter-modal,
.modal {
  width: 82%;
  max-width: 315px;
  background: #353535;
  border-radius: 2rem;
  border: 2px solid #ffffff38;
  padding: 1rem;
  color: rgb(255, 255, 255);
  transition: all 0.4s ease-in-out;
  position: fixed;

  top: 60%;
  right: 50%;
  transform: translate(50%, -50%);
}

.show-modal .waiter-modal,
.show-modal .modal {
  transform: translate(50%, calc(-50% - 50px));
}

.waiter-modal__title,
.modal__title {
  font-weight: bold;
  font-size: 1rem;
  margin-top: 1rem;
}

.map-location__title {
  font-size: 0.8rem;
}

.waiter-modal__desc,
.modal__desc {
  margin: 0.2rem 0 1.5rem;
  font-size: 0.9rem;
  color: #d5d5d5;
}

.waiter-modal__buttons,
.modal__buttons {
  display: flex;
  align-items: center;
  margin: 1.7rem 0 0.2rem;
}

.waiter-modal__buttons button:first-child {
  width: 65%;
}

.waiter-modal__buttons button:last-child {
  width: 35%;
}

.waiter-modal__buttons button {
  font-size: 0.9rem;
}

.waiter-modal__request-type .order-recieve-type-input,
.modal__request-type .order-recieve-type-input {
  display: none;
}

.waiter-modal__request-types,
.modal__request-types {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.order-type-details {
  width: 100%;
  margin-top: 0.8rem;
}

.order-type-description-box {
  padding: 0.8rem 1rem;
  border: 3px solid #ffffff1a;
  border-radius: 0.8rem;
  background: #414141;
}

.detail-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.order-type-description-box__title span:nth-child(2) {
  font-size: 0.9rem;
  font-weight: bold;
  margin-right: 0.1rem;
}

.order-type-description-box__title span:first-child {
  font-size: 0.8rem;
  color: #c4c4c4;
}

.order-type-description-box__button {
  background: none;
  border: none;
  color: #ebebeb;
  font-family: "kalameh";
  color: #ff9900;
  cursor: pointer;
  font-size: 0.8rem;
}

.order-type-description-box__description {
  font-size: 0.8rem;
  color: #c3c3c3;
}

.create-address {
  padding: 1rem;
  background: #ffffff12;
  border-radius: 0.8rem;
  margin-top: 1rem;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 2px solid #ffffff14;
  color: #d7d7d7;
  font-size: 0.9rem;
  gap: 0.2rem;
  cursor: pointer;
}

.create-address svg {
  width: 36px;
  height: 36px;
  background: #ffc48021;
  border-radius: 50%;
  flex-shrink: 0;
  fill: #ff6c00;
}

.map-location {
  position: relative;
}

.map-location__inner {
  width: 100%;
  height: 320px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  margin-top: 10px;
}

#address-map {
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* مارکر مرکز نقشه */
.map-center-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  z-index: 1000;
  pointer-events: none;
  font-size: 40px;
  color: #e74c3c;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* استایل‌های فرم آدرس */
.address-form {
  padding: 20px 0;
}

.form-group {
  margin-bottom: 0.8rem;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #eaeaea;
  font-size: 0.7rem;
}

.form-group label .required {
  color: #e74c3c;
  margin-right: 3px;
}

.form-group label .optional {
  color: #95a5a6;
  font-size: 12px;
  font-weight: normal;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: #3498db;
}

.form-control::placeholder {
  color: #bdc3c7;
}

textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

.form-row {
  display: flex;
  gap: 15px;
}

.form-row .form-group {
  flex: 1;
}

.map-location {
  position: relative;
}

/* دکمه یافتن خودکار */
.auto-detect-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px 0;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  cursor: pointer;
  transition: all 0.3s;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 2rem;
  position: absolute;
  bottom: 10px;
  z-index: 10;
  left: 10px;
}

.leaflet-control-attribution {
  display: none;
}

.auto-detect-btn__icon {
  width: 26px;
  height: 26px;
  display: block;
  animation: pulse 2s ease-in-out infinite;
  fill: #2c2c2c;
}

.auto-detect-btn__spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid #cfd4da;
  border-top-color: #3498db;
  border-radius: 50%;
  box-sizing: border-box;
  animation: auto-detect-spin 0.7s linear infinite;
}

.auto-detect-btn.is-loading .auto-detect-btn__icon {
  display: none;
  animation: none;
}

.auto-detect-btn.is-loading .auto-detect-btn__spinner {
  display: block;
}

.auto-detect-btn:disabled,
.auto-detect-btn.is-loading {
  cursor: wait;
  opacity: 0.9;
}

.auto-detect-btn:hover:not(:disabled) {
  background: #e9ecef;
  border-color: #adb5bd;
}

@keyframes auto-detect-spin {
  to {
    transform: rotate(360deg);
  }
}

.twine-form-row {
  flex-direction: row-reverse;
  gap: 1rem;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* انیمیشن برای تغییر مراحل */
.address-step {
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* responsive */
@media (max-width: 480px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 430px) {
  .order-ready-icon {
    width: 100px;
  }
}

@media (min-width: 480px) {
  body {
    display: flex;
    justify-content: center;
    background: #000000;
  }

  #menu-all-wrapper {
    max-width: 480px;
    position: relative;
    border-right: 3px solid #3f3f3f;
    border-left: 3px solid #3f3f3f;
    background: #202020;
  }

  .bottom-navbar {
    max-width: 480px;
    right: 50%;
    transform: translateX(50%);
  }

  .bottom-navbar {
    border-right: 3px solid #2e2e2e;
    border-left: 3px solid #2e2e2e;
    border-top: 4px solid #202020;
  }

  .sector {
    width: 480px;
  }

  .login-modal-wrapper {
    max-width: 480px;
    width: 100%;
    transform: translateX(-50%);
    right: unset;
    left: 50%;
  }
}

.address-item {
  padding: 0.5rem 0.9rem;
  background: #ffffff12;
  border-radius: 0.8rem;
  margin-top: 0.7rem;
  /* height: 90px; */
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  border: 2px solid #ffffff14;
  color: #d7d7d7;
  font-size: 0.9rem;
  gap: 0.2rem;
  cursor: pointer;
}

.addresses-list {
  display: flex;
  flex-direction: column;
}

.change-address-modal-wrapper .modal,
.add-address-modal-wrapper .modal {
  max-height: 75vh;
  overflow-y: auto;
}

.change-address-modal-wrapper .modal .modal__close,
.add-address-modal-wrapper .modal .modal__close {
  width: 26px;
  height: 26px;
  position: absolute;
  top: 23px;
  right: unset;
  left: 22px;
  cursor: pointer;
}

.address-item__address {
  font-size: 0.73rem;
  color: #b9b9b9;
}

.empty-address {
  font-size: 0.8rem;
  margin-top: 2rem;
  color: #9f9f9f;
  text-align: center;
}

.success-order-timer {
  text-align: center;
  color: #8f8f8f;
  font-size: 0.8rem;
  margin-top: -0.7rem;
  margin-bottom: 0.7rem;
}

.bottom-actions {
  display: flex;
  position: fixed;
  bottom: 0;
  /* background: linear-gradient(0deg, black, transparent); */
  width: 100%;
  max-width: 480px;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  z-index: 9;
}

.bottom-actions__buttons {
  display: flex;
  width: 100%;
  gap: 0.6rem;
  height: 60px;
  backdrop-filter: blur(3px);
  align-items: center;
}

.bottom-actions button {
  background: #ff6c00;
  border: none;
  padding: 0.5rem;
  font-family: "peyda";
  border-radius: 0.7rem;
  width: 50%;
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  gap: 0.3rem;
}

#view-orders-button {
  background: #606060;
  width: 50%;
}

.waiter-modal-float {
  position: absolute;
  left: 20px;
  bottom: 60px;
  background: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 1000;
  animation: float 3s ease-in-out infinite;
  flex-direction: column;
  box-shadow: 0 0 28px 5px #0000007d;
}

.waiter-modal-float:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.2);
}

.waiter-modal-float img {
  width: 28px;
}

.waiter-button-text {
  font-size: 0.7rem;
}

.no-buttons .bottom-actions__buttons {
  display: none;
}

.no-buttons .waiter-modal-float {
  bottom: 10px;
}

#my-account-button {
  display: none;
  width: 100%;
  background: #606060;
}

.only-my-account-button #orders-nav,
.only-my-account-button #view-orders-button,
.only-my-account-button #login-button {
  display: none;
}

.only-my-account-button #my-account-button {
  display: flex;
  width: 100%;
}

.only-cart-button #orders-nav {
  width: 100%;
}

.only-cart-button #view-orders-button {
  display: none;
}

.only-open-orders-button #orders-nav {
  display: none;
}

.only-open-orders-button #view-orders-button {
  width: 100%;
}

/* Hide login button by default */
#login-button {
  display: none;
  background: #606060;
}

.only-cart-button #login-button,
.only-open-orders-button #login-button {
  display: none;
}

/* 1. Only Login Button */
.only-login-button #orders-nav,
.only-login-button #view-orders-button {
  display: none;
}

.only-login-button #login-button {
  display: flex;
  width: 100%;
}

/* 2. Cart and Login Buttons */
.cart-and-login-buttons #view-orders-button {
  display: none;
}

.cart-and-login-buttons #orders-nav {
  display: flex;
  width: 50%;
}

.cart-and-login-buttons #login-button {
  display: flex;
  width: 50%;
}

.open-orders__title,
.orders__title {
  font-size: 0.92rem;
  font-weight: normal;
  color: #d1d1d1;
  margin-bottom: -0.8rem;
  padding: 0 0.5rem;
}

.orders__title {
  margin-bottom: 0.6rem;
}

.open-order {
  display: flex;
  padding: 0.7rem 0.7rem;
  background: #3e3e3e;
  border-radius: 0.9rem;
  gap: 0.8rem;
  cursor: pointer;
  flex-direction: column;
  font-size: 0.8rem;
  border: 2px solid #ffffff21;
  border-bottom: 4px solid #ffffff30;
  box-shadow: 3px 3px 18px -8px #000;
}

.open-order__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.open-order__top__right {
  font-size: 1.3rem;
  color: var(--primary-color);
  font-weight: bold;
}

.open-order__top__left {
  font-weight: bold;
  color: #59c1ff;
  display: flex;
  align-items: center;
}

.open-order__top__left::before {
  content: "";
  display: inline-block;
  width: 11px;
  height: 11px;
  background: #59c1ff;
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
  margin-left: 0.3rem;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(0.8);
  }
}

.open-order__status-container {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #ffffff1d;
  padding-top: 0.7rem;
}

.open-order__status-container__left {
  display: flex;
  gap: 0.2rem;
  color: #8d8d8d;
  font-size: 0.7rem;
}

.open-order__status-container__left svg {
  fill: #8d8d8d;
  width: 12px;
  height: 12px;
}

.open-order__price-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #ffffff1d;
  padding-top: 0.7rem;
}

.open-order__price-container__right {
  /* font-weight: bold; */
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.open-order__price-container__price {
  display: flex;
  gap: 0.1rem;
}

.open-order__price-container__price-value {
  letter-spacing: 1px;
}

.open-order__price-container__price svg {
  width: 16px;
  height: 16px;
  margin-top: -1px;
}

.open-order-not-payed .open-order__price-container__price-title {
  font-weight: bold;
  color: #ff3737;
  text-shadow: 1px 1px #290000;
}

.open-order__price-container__left {
  background: #ed6400;
  padding: 0.3rem 0.6rem;
  border-radius: 0.5rem;
  text-shadow: 1px 1px #00000036;
}

.open-order__order-type {
  max-width: 150px;
  line-height: 1.2;
}

.status-text-pending {
  color: #ff8b00;
}

.status-text-pending::before {
  background: #ff8b00;
}

.status-text-preparing::before {
  background: #00c2ff;
}

.status-text-preparing {
  color: #00c2ff;
}

.status-text-preparing::before {
  background: #00c2ff;
}

.status-text-delivered {
  color: #26c17d;
}

.status-text-delivered::before {
  background: #26c17d;
}

.status-text-cancelled {
  color: #ff2328;
}

.no-orders-container {
  text-align: center;
  padding: 2rem;
  color: #989898;
  justify-content: center;
}


.restaurant-website-link {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.6rem 1rem;
  background: #3e3e3e;
  border-radius: 3rem;
  color: #e0e0e0;
  margin-top: 1rem;
  font-size: 0.85rem;
}

/* #pay-order{
  display: none;
} */

.confirm-waiter-request-bill-on-table-modal {
  position: fixed;
  top: 0;
  right: 0;
  background: #00000061;
  left: 0;
  bottom: 0;
  backdrop-filter: blur(4px);
}

.confirm-waiter-request-bill-on-table-modal__inner {
  position: relative;
  background: #4c4c4c;
  top: 30%;
  width: 80%;
  max-width: 400px;
  right: 50%;
  transform: translate(50%, 0);
  padding: 2rem 1.3rem 1.2rem;
  border-radius: 1rem;
  border: 2px solid #626262;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.confirm-waiter-request-bill-on-table-modal__inner img {
  width: 40%;
  filter: invert(0.9);
}

.confirm-waiter-request-bill-on-table-modal__buttons {
  display: flex;
  width: 100%;
  gap: 0.6rem;
}

.confirm-waiter-request-bill-on-table-modal__confirm-button {
  background: var(--primary-color);
  color: #FFF;
  width: 65%;
}

.confirm-waiter-request-bill-on-table-modal__cancel-button {
  width: 35%;
}

.order-survey-section {
  margin: 1rem 0 0.5rem;
}

.order-survey-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff8f0 0%, #fff 100%);
  border: 1px solid #ffd9b3;
  box-shadow: 0 6px 18px rgba(230, 126, 34, 0.12);
}

.order-survey-card--waiting {
  background: linear-gradient(135deg, #f0f8ff 0%, #fff 100%);
  border-color: #b8dff5;
  box-shadow: 0 6px 18px rgba(53, 138, 167, 0.1);
}

.order-survey-card--done {
  background: linear-gradient(135deg, #f0fff5 0%, #fff 100%);
  border-color: #a8e6c0;
  box-shadow: 0 6px 18px rgba(39, 174, 96, 0.1);
}

.order-survey-card__icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
  width: 2.2rem;
  text-align: center;
}

.order-survey-card__body h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: #333;
}

.order-survey-card__body p {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: #666;
  line-height: 1.55;
}

.order-survey-link {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  padding: 0.65rem 1.2rem;
  font-size: 0.92rem;
}

/* ── باشگاه مشتریان — حساب من ── */
.club-membership-section {
  margin: 1rem 0 1.2rem;
}

.club-membership-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.club-credit-banner {
  position: relative;
  overflow: hidden;
  border-radius: 1.1rem;
  padding: 1.1rem 1rem;
  background: linear-gradient(135deg, #d67500 0%, #e15300 45%, #d95300 100%);
  border: 2px solid #e68700;
}

.club-credit-banner__glow {
  display: none;
  position: absolute;
  top: -40%;
  left: -20%;
  width: 70%;
  height: 140%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0%, transparent 70%);
  pointer-events: none;
}

.club-credit-banner__content {
  position: relative;
  z-index: 1;
}

.club-credit-banner__label {
  font-size: 0.78rem;
  color: #fff3e0;
  margin-bottom: 0.35rem;
}

.club-credit-banner__value {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.club-usable-credit-value {
  font-family: "kalameh";
  font-size: 1.75rem;
  font-weight: bold;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.club-credit-banner__unit {
  font-size: 0.85rem;
  color: #ffe8cc;
}

.club-credit-banner__pending {
  margin-top: 0.55rem;
  font-size: 0.72rem;
  color: #fff8ef;
  background: rgba(0, 0, 0, 0.15);
  padding: 0.35rem 0.55rem;
  border-radius: 0.5rem;
  display: inline-block;
}

.club-tier-panel {
  background: linear-gradient(160deg, #454545 0%, #353535 100%);
  border: 2px solid #5a5a5a;
  border-radius: 1.1rem;
  padding: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.club-tier-panel__header {
  display: flex;
  align-items: center;
}

.club-tier-current {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

.club-tier-current__image-wrap {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 50%;
  /* background: radial-gradient(circle at 30% 20%, #6a6a6a, #2f2f2f); */
  display: flex;
  align-items: center;
  justify-content: center;
  /* box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); */
}

.club-tier-current__image-wrap img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.club-tier-current__label {
  display: block;
  font-size: 0.72rem;
  color: #b0b0b0;
  margin-bottom: 0.15rem;
}

.club-tier-name {
  display: inline-block;
  font-size: 1rem;
  font-weight: bold;
  padding: 0.15rem 0.55rem;
  border-radius: 2rem;
  margin-bottom: 0.25rem;
}

.club-tier-badge[data-tier="bronze"] {
  background: #6b4a2e55;
  color: #e8b48a;
  border: 1px solid #cd7f32;
}

.club-tier-badge[data-tier="silver"] {
  background: #8a8a8a33;
  color: #e8e8e8;
  border: 1px solid #c0c0c0;
}

.club-tier-badge[data-tier="gold"] {
  background: #b8860b33;
  color: #ffe566;
  border: 1px solid #ffd700;
}

.club-tier-badge[data-tier="ruby"] {
  background: #8b1a1a33;
  color: #ff8a8a;
  border: 1px solid #e0115f;
}

.club-tier-badge[data-tier="emerald"] {
  background: #1a6b3a33;
  color: #7dffb0;
  border: 1px solid #50c878;
}

.club-tier-badge[data-tier="diamond"] {
  background: #1a4a8b33;
  color: #8ad4ff;
  border: 1px solid #b9f2ff;
}

.club-tier-badge[data-tier="royal"] {
  background: #4a1a8b33;
  color: #d4a5ff;
  border: 1px solid #9b59b6;
}

.club-tier-points {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.club-tier-points__value {
  font-family: "kalameh";
  font-size: 1.15rem;
  color: #ffae42;
  font-weight: bold;
}

.club-tier-points__label {
  font-size: 0.75rem;
  color: #a8a8a8;
}

.club-progress-wrap {
  margin-top: 1rem;
}

.club-progress-journey {
  display: flex;
  align-items: center;
  gap: 0;
  direction: ltr;
  padding: 0.35rem 0 0.15rem;
}

.club-progress-bar {
  flex: 1;
  min-width: 0;
  position: relative;
  padding-top: 0.35rem;
}

.club-progress-goal {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12rem;
  background: none;
  border: none;
  padding: 0 0 0 0.35rem;
  cursor: pointer;
  font-family: "peyda";
  position: relative;
  z-index: 2;
  transition: transform 0.25s ease;
}

.club-progress-goal:hover,
.club-progress-goal:focus {
  transform: scale(1.05);
  outline: none;
}

.club-progress-goal__badge {
  font-size: 0.6rem;
  color: #ffae42;
  white-space: nowrap;
}

.club-progress-goal__image-wrap {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #5a5a5a, #2a2a2a);
  border: 3px solid #ff9900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 3px rgba(255, 153, 0, 0.15),
    0 6px 20px rgba(255, 153, 0, 0.35);
  position: relative;
  animation: clubGoalPulse 2.5s ease-in-out infinite;
}

.club-progress-goal__image-wrap::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 174, 66, 0.35);
  animation: clubGoalSpin 12s linear infinite;
}

.club-progress-goal__image-wrap img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.club-progress-goal__name {
  font-size: 0.78rem;
  font-weight: bold;
  color: #ffe566;
}

.club-progress-goal__hint {
  font-size: 0.58rem;
  color: #9a9a9a;
}

@keyframes clubGoalPulse {

  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.15), 0 6px 20px rgba(255, 153, 0, 0.35);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(255, 153, 0, 0.22), 0 8px 26px rgba(255, 174, 66, 0.5);
  }
}

@keyframes clubGoalSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.club-progress-text {
  font-size: 0.82rem;
  color: #d4d4d4;
  text-align: center;
  margin: 0 0 0.65rem;
  line-height: 1.5;
}

.club-progress-text strong {
  color: #ffae42;
}

.club-progress-bar__track {
  position: relative;
  height: 14px;
  background: #2a2a2a;
  border-radius: 1rem 0.2rem 0.2rem 1rem;
  overflow: hidden;
  border: 1px solid #4a4a4a;
  border-right: none;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25);
  border-radius: 1rem;
}

.club-progress-bar__track::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 8px solid #ff9900;
  opacity: 0.7;
  z-index: 2;
  pointer-events: none;
}

.club-progress-bar__fill {
  height: 100%;
  width: 0;
  border-radius: 1rem;
  background: linear-gradient(90deg, #ff8b00, #ffd700, #ff8b00);
  background-size: 200% 100%;
  animation: clubProgressShine 2.5s ease-in-out infinite;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px rgba(255, 174, 66, 0.6);
}

.club-progress-bar__shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: clubBarSweep 2s ease-in-out infinite;
}

@keyframes clubProgressShine {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes clubBarSweep {
  0% {
    left: -60%;
  }

  100% {
    left: 140%;
  }
}

.club-progress-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.45rem;
  font-size: 0.72rem;
  color: #888;
  font-family: "kalameh";
  direction: ltr;
}

.club-progress-labels__start,
.club-progress-labels__end {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.club-progress-labels__end {
  align-items: flex-end;
  text-align: right;
}

.club-progress-labels__caption {
  font-size: 0.58rem;
  color: #666;
  font-family: "peyda";
}

.club-max-tier-message {
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.85rem;
  color: #ffe566;
  background: linear-gradient(135deg, #4a3a00, #2a2200);
  border: 1px solid #ffd70055;
  border-radius: 0.8rem;
  padding: 0.65rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.club-benefits-tooltip {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.club-benefits-tooltip__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}

.club-benefits-tooltip__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 340px;
  background: linear-gradient(160deg, #3d3d3d, #2d2d2d);
  border: 2px solid #ff9900;
  border-radius: 1.2rem;
  padding: 1.1rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  animation: clubTooltipPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes clubTooltipPop {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(10px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.club-benefits-tooltip__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.club-benefits-tooltip__eyebrow {
  display: block;
  font-size: 0.7rem;
  color: #ffae42;
  margin-bottom: 0.15rem;
}

.club-benefits-tooltip__header h4 {
  margin: 0;
  font-size: 1.05rem;
  color: #f5f5f5;
  font-weight: bold;
}

.club-benefits-tooltip__close {
  background: none;
  border: none;
  color: #aaa;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.2rem;
}

.club-benefits-tooltip__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.club-benefits-tooltip__list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.82rem;
  color: #ccc;
  line-height: 1.45;
}

.club-benefits-tooltip__list li strong {
  display: block;
  color: #ffe566;
  font-size: 0.9rem;
  margin-bottom: 0.1rem;
}

.club-benefit-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.club-benefits-tooltip__cta {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: #ffae42;
  background: rgba(255, 153, 0, 0.12);
  border-radius: 0.6rem;
  padding: 0.55rem;
}

.club-membership-empty {
  text-align: center;
  padding: 1.2rem 0.8rem;
  background: linear-gradient(160deg, #3a3a3a, #2e2e2e);
  border: 2px dashed #5a5a5a;
  border-radius: 1rem;
}

.club-membership-empty__icon {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}

.club-membership-empty__title {
  font-size: 0.95rem;
  color: #e8e8e8;
  font-weight: bold;
  margin: 0 0 0.4rem;
}

.club-membership-empty__desc {
  font-size: 0.78rem;
  color: #a0a0a0;
  margin: 0;
  line-height: 1.55;
}

.copyright-container {
  padding: 0 1rem 72px;
  display: flex;
  justify-content: center;
}

.copyright-container a {
  display: flex;
  gap: .5rem;
  align-items: center;
}

.copyright-menuiran {
  display: flex;
  gap: 0.3rem;
  color: #eeeeee;
  font-weight: bold;
}

.copyright-menuiran img {
  width: 23px;
  height: 23px;
  background: #FFF;
  border-radius: 5px;
  margin-top: -4px;
}

.copyright-powered-by {
  font-size: 0.8rem;
  color: #ffffff87;
}

/* ---- Sales channel restriction ---- */
.item.sales-channel-hidden,
.item.sales-channel-pending,
.category-container.sales-channel-hidden,
.recommended-carousel__card.sales-channel-hidden,
.recommended-carousel__card.sales-channel-pending,
.recommended-section.sales-channel-hidden {
  display: none !important;
}

body.sales-channel-modal-open {
  overflow: hidden;
}

.sales-channel-modal-wrapper {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: stretch;
  justify-content: center;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255, 108, 0, 0.22), transparent 45%),
    radial-gradient(ellipse at 80% 90%, rgba(255, 108, 0, 0.12), transparent 40%),
    rgba(12, 12, 12, 0.88);
  backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.sales-channel-modal-wrapper.is-open {
  display: flex;
  opacity: 1;
}

.sales-channel-modal-wrapper.is-closing {
  display: flex;
  opacity: 0;
  pointer-events: none;
}

.sales-channel-modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  min-height: 100%;
  margin: 0 auto;
  padding: 2.4rem 1.4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

.sales-channel-modal__glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 108, 0, 0.35), transparent 70%);
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(8px);
  pointer-events: none;
}

.sales-channel-modal__header {
  position: relative;
  text-align: center;
  margin-bottom: 1.8rem;
  animation: salesChannelFadeUp 0.45s ease both;
}

.sales-channel-modal__eyebrow {
  display: inline-block;
  margin: 0 0 0.7rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 108, 0, 0.18);
  border: 1px solid rgba(255, 108, 0, 0.35);
  color: #ffb07a;
  font-size: 0.78rem;
  font-family: "peyda", sans-serif;
}

.sales-channel-modal__title {
  margin: 0 0 0.7rem;
  font-size: 1.45rem;
  line-height: 1.45;
  font-weight: 800;
  font-family: "kalameh", "peyda", sans-serif;
}

.sales-channel-modal__desc {
  margin: 0 auto;
  max-width: 20rem;
  color: #d4d4d4;
  font-size: 0.92rem;
  line-height: 1.7;
  font-family: "peyda", sans-serif;
}

.sales-channel-modal__options {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  animation: salesChannelFadeUp 0.55s ease 0.08s both;
}

.sales-channel-option {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  width: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.15rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  color: #fff;
  cursor: pointer;
  text-align: right;
  font-family: "peyda", sans-serif;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.sales-channel-option:hover,
.sales-channel-option:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 108, 0, 0.65);
  background: linear-gradient(145deg, rgba(255, 108, 0, 0.18), rgba(255, 255, 255, 0.05));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  outline: none;
}

.sales-channel-option.is-active {
  border-color: #ff6c00;
  background: linear-gradient(145deg, rgba(255, 108, 0, 0.28), rgba(255, 255, 255, 0.06));
}

.sales-channel-option__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 108, 0, 0.16);
  color: #ff8f3d;
  
}

.sales-channel-option__icon svg {
  width: 28px;
  height: 28px;
  display: block;
  flex-shrink: 0;
}

.sales-channel-option__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.sales-channel-option__name {
  font-size: 1.05rem;
  font-weight: 700;
}

.sales-channel-option__hint {
  font-size: 0.8rem;
  color: #c8c8c8;
}

.sales-channel-option__action {
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 108, 0, 0.18);
  color: #ffb07a;
  font-size: 0.75rem;
  font-weight: 700;
}

.sales-channel-option__action svg {
  transform: scaleX(-1);
}

.sales-channel-option.is-disabled .sales-channel-option__action {
  display: none;
}

.sales-channel-option__locked-note {
  display: none;
  margin-top: 0.15rem;
  font-size: 0.74rem;
  line-height: 1.45;
  color: #ffb4a2;
  font-weight: 600;
}

.sales-channel-option.is-disabled {
  cursor: not-allowed;
  opacity: 0.55;
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  box-shadow: none;
  transform: none;
}

.sales-channel-option.is-disabled:hover,
.sales-channel-option.is-disabled:focus-visible {
  transform: none;
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  box-shadow: none;
}

.sales-channel-option.is-disabled .sales-channel-option__icon {
  background: rgba(255, 255, 255, 0.06);
  color: #9a9a9a;
}

.sales-channel-option.is-disabled .sales-channel-option__hint {
  display: none;
}

.sales-channel-option.is-disabled .sales-channel-option__locked-note {
  display: block;
}

.sales-channel-modal__cancel {
  margin: 1.4rem auto 0;
  padding: 0.55rem 1.4rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #bdbdbd;
  font-family: "peyda", sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
}

.sales-channel-modal__cancel:hover {
  color: #fff;
}

.change-sales-channel-button {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem !important;
  width: 38% !important;
  min-width: 0;
  background: #3a3a3a !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  line-height: 1.2;
}

.change-sales-channel-button:not(.hide) {
  display: flex;
}

.change-sales-channel-button__label {
  font-size: 0.68rem;
  opacity: 0.8;
}

.change-sales-channel-button__value {
  font-size: 0.82rem;
  font-weight: 700;
}

.has-sales-channel-button.only-cart-button #orders-nav,
.has-sales-channel-button.cart-and-login-buttons #orders-nav {
  width: auto;
  flex: 1;
}

.has-sales-channel-button.only-cart-button #change-sales-channel-button,
.has-sales-channel-button.cart-and-login-buttons #change-sales-channel-button,
.has-sales-channel-button.only-my-account-button #change-sales-channel-button,
.has-sales-channel-button.only-open-orders-button #change-sales-channel-button,
.has-sales-channel-button.only-login-button #change-sales-channel-button,
.has-sales-channel-button.cart-and-orders-buttons #change-sales-channel-button {
  display: flex;
}

.has-sales-channel-button.only-my-account-button #my-account-button,
.has-sales-channel-button.only-open-orders-button #view-orders-button,
.has-sales-channel-button.only-login-button #login-button {
  flex: 1;
  width: auto;
}

.cart-and-orders-buttons #orders-nav,
.cart-and-orders-buttons #view-orders-button {
  display: flex;
  width: 50%;
}

.cart-and-orders-buttons #login-button,
.cart-and-orders-buttons #my-account-button {
  display: none;
}

.has-sales-channel-button.cart-and-orders-buttons #orders-nav,
.has-sales-channel-button.cart-and-orders-buttons #view-orders-button,
.has-sales-channel-button.cart-and-orders-buttons #change-sales-channel-button {
  width: auto;
  flex: 1;
  min-width: 0;
}

/* Stack 3 bottom actions (channel + secondary on top, cart below) */
.bottom-actions.bottom-actions--three {
  padding: 0 0.65rem 0.35rem;
}

.bottom-actions.bottom-actions--three .bottom-actions__buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "channel secondary"
    "cart cart";
  height: auto;
  gap: 0.35rem;
  align-items: stretch;
}

.bottom-actions.bottom-actions--three .bottom-actions__buttons > button {
  min-height: 0;
  height: 38px;
  padding: 0.25rem 0.4rem;
  font-size: 0.78rem;
  border-radius: 0.55rem;
  gap: 0.2rem;
}

.bottom-actions.bottom-actions--three #change-sales-channel-button {
  grid-area: channel;
  width: 100% !important;
  flex-direction: row;
  gap: 0.25rem !important;
  line-height: 1.1;
  height: 34px;
}

.bottom-actions.bottom-actions--three #change-sales-channel-button .change-sales-channel-button__label {
  font-size: 0.62rem;
  opacity: 0.75;
}

.bottom-actions.bottom-actions--three #change-sales-channel-button .change-sales-channel-button__value {
  font-size: 0.72rem;
}

.bottom-actions.bottom-actions--three #view-orders-button,
.bottom-actions.bottom-actions--three #login-button,
.bottom-actions.bottom-actions--three #my-account-button {
  grid-area: secondary;
  width: 100% !important;
  align-items: center;
  height: 34px;
}

.bottom-actions.bottom-actions--three.only-login-button #my-account-button,
.bottom-actions.bottom-actions--three.cart-and-login-buttons #my-account-button,
.bottom-actions.bottom-actions--three.only-cart-button #my-account-button,
.bottom-actions.bottom-actions--three.only-open-orders-button #my-account-button,
.bottom-actions.bottom-actions--three.cart-and-orders-buttons #my-account-button {
  display: none !important;
}

.bottom-actions.bottom-actions--three.only-my-account-button #login-button,
.bottom-actions.bottom-actions--three.only-cart-button #login-button,
.bottom-actions.bottom-actions--three.only-open-orders-button #login-button,
.bottom-actions.bottom-actions--three.cart-and-orders-buttons #login-button {
  display: none !important;
}

.bottom-actions.bottom-actions--three #orders-nav {
  grid-area: cart;
  width: 100% !important;
  flex: none;
  align-items: center;
  height: 34px;
}

.bottom-actions.bottom-actions--three .cart-items-count,
.bottom-actions.bottom-actions--three .open-orders-count {
  font-size: 0.72rem;
}

.bottom-actions.bottom-actions--three .waiter-modal-float {
  bottom: 92px;
}

@keyframes salesChannelFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}