@font-face {
  font-family: "vazirmatn";
  src: url("../fonts/vazirmatn.ttf");
}
.view.welcome .header {
  background: linear-gradient(135deg, rgb(11, 11, 11) 0%, rgba(28, 28, 28, 0.8) 100%);
  color: #dbdbdb;
  width: 100%;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.view.welcome .header .logo {
  width: 180px;
  height: 180px;
  margin-top: 15px;
}
.view.welcome .header .about-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
}
.view.welcome .header .about-btn .icon {
  margin-top: 6px;
}
.view.welcome .header .about-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
  border-color: white;
}
.view.welcome .header .about-btn:active {
  transform: scale(0.9);
}
.view.welcome .header .title {
  font-size: 30px;
  font-weight: bold;
  margin-top: -20px;
}
.view.welcome .header .subtitle {
  font-size: 18px;
  margin-top: 12px;
}
.view.welcome .header .footer {
  font-size: 18px;
  margin-top: -20px;
}
.view.welcome .categories {
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  padding: 8px 0 8px 8px;
}
.view.welcome .categories::-webkit-scrollbar {
  display: none;
}
.view.welcome .categories .category {
  width: 31%;
  aspect-ratio: 1/1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: linear-gradient(135deg, rgb(11, 11, 11) 0%, rgba(28, 28, 28, 0.8) 100%);
  margin: 4px;
  border-radius: 18px;
  color: #dbdbdb;
  cursor: pointer;
  transition: all 0.3s ease;
}
.view.welcome .categories .category .icon {
  width: 50%;
  height: auto;
  margin-top: 16px;
}
.view.welcome .categories .category .title {
  font-size: 18px;
  font-weight: normal;
  margin-top: 16px;
  text-align: center;
}
.view.welcome .categories .category:hover {
  background: linear-gradient(135deg, rgb(255, 255, 255) 0%, rgb(200, 200, 200) 100%);
  color: #1c1c1c;
}
.view.welcome .categories .category:hover .icon {
  filter: invert(1);
}
.view.welcome .categories .category:active {
  transform: scale(0.95);
}

.active-orders-container {
  position: sticky;
  top: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background: transparent;
  z-index: 99;
  transition: all 0.3s ease;
}
.active-orders-container.hidden {
  display: none;
}
.active-orders-container:empty {
  display: none;
}

.active-order-bar {
  width: 100%;
  background: linear-gradient(135deg, #171d2a 0%, #111d45 100%);
  border: none;
  border-radius: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  box-shadow: none;
  transition: all 0.2s ease;
  direction: rtl;
  font-family: "vazirmatn";
  color: white;
  animation: slideDown 0.4s ease;
}
.active-order-bar:last-child {
  border-bottom: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.active-order-bar:hover {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
}
.active-order-bar:active {
  background: #1e3a8a;
}
.active-order-bar .order-info {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: flex-start;
  flex: 1;
}
.active-order-bar .order-info .order-id {
  font-size: 14px;
  font-weight: 700;
  color: white;
  direction: rtl;
}
.active-order-bar .order-info .order-id .order-number {
  font-weight: 700;
  color: #fbbf24;
}
.active-order-bar .order-info .order-status {
  font-size: 12px;
  font-weight: 500;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: 6px;
}
.active-order-bar .delivery-code {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.active-order-bar .delivery-code .code-label {
  font-size: 10px;
  font-weight: 500;
  color: #dbeafe;
  white-space: nowrap;
}
.active-order-bar .delivery-code .code-value {
  font-size: 18px;
  font-weight: 700;
  color: #fbbf24;
  font-family: "vazirmatn";
  letter-spacing: 1px;
  line-height: 1.2;
  transform: translate(0, 3px);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.view.menu .content {
  padding-bottom: 100px;
}

.view.menu .header {
  background: linear-gradient(135deg, rgb(11, 11, 11) 0%, rgba(28, 28, 28, 0.8) 100%);
  color: #dbdbdb;
  width: 100%;
  height: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.view.menu .header .logo {
  width: 90px;
  height: 90px;
  margin-top: 12px;
}
.view.menu .header .title {
  font-size: 18px;
  font-weight: normal;
  margin-top: -2px;
}
.view.menu .header .user-icon-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
}
.view.menu .header .user-icon-btn img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}
.view.menu .header .user-icon-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}
.view.menu .header .user-icon-btn:active {
  transform: scale(0.95);
}
.view.menu .header .categories {
  width: 100%;
  box-sizing: border-box;
  padding: 0 4px;
  height: 84px;
  display: flex;
  justify-content: baseline;
  align-items: baseline;
  direction: rtl;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.view.menu .header .categories::-webkit-scrollbar {
  display: none;
}
.view.menu .header .categories .category {
  width: 120px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex: 0 0 auto;
  background: linear-gradient(135deg, rgb(255, 255, 255) 0%, rgb(200, 200, 200) 100%);
  margin-left: 4px;
  border-radius: 18px;
  color: #1c1c1c;
  cursor: pointer;
  transition: all 0.3s ease;
}
.view.menu .header .categories .category .icon {
  width: 50px;
  height: auto;
  margin-top: 12px;
  filter: invert(1);
}
.view.menu .header .categories .category .title {
  font-size: 14px;
  font-weight: normal;
}
.view.menu .header .categories .category:hover {
  background: linear-gradient(135deg, rgb(11, 11, 11) 0%, rgba(28, 28, 28, 0.8) 100%);
  color: rgb(221, 221, 221);
  transform: scale(0.95);
}
.view.menu .header .categories .category:hover .icon {
  filter: invert(0);
}
.view.menu .header .categories .category:active {
  transform: scale(0.95);
}
.view.menu .content {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.view.menu .content.cart-btn-space {
  padding-bottom: 80px;
}
.view.menu .content .category {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
}
.view.menu .content .category .title {
  font-size: 22px;
  font-weight: normal;
  text-align: right;
  margin-top: 8px;
  margin-bottom: 0;
  margin-right: 18px;
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  direction: rtl;
}
.view.menu .content .category .title .line {
  flex-grow: 1;
  height: 10px;
  background-color: #1c1c1c;
  margin-right: 18px;
  margin-left: 14px;
}
.view.menu .content .category .item {
  width: calc(100% - 20px - 4px);
  height: 130px;
  margin: 10px;
  border-radius: 18px;
  background-color: white;
  color: #1c1c1c;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.view.menu .content .category .item.item--unavailable .image {
  filter: grayscale(100%);
}
.view.menu .content .category .item.item--unavailable .detail .price {
  color: rgba(28, 28, 28, 0.45);
}
.view.menu .content .category .item .image {
  width: 150px;
  height: 120px;
  margin-top: 3px;
  margin-left: 3px;
  float: left;
  border-radius: 14px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
.view.menu .content .category .item .detail {
  width: calc(100% - 160px);
  height: 100%;
  float: right;
  display: flex;
  flex-direction: column;
  justify-content: baseline;
  align-items: end;
}
.view.menu .content .category .item .detail .title {
  font-size: 20px;
  font-weight: bold;
  margin: 8px 14px 0 0;
  direction: rtl;
  text-align: right;
  line-height: 1;
}
.view.menu .content .category .item .detail .description {
  font-size: 16px;
  font-weight: normal;
  margin: 6px 14px 0 0;
  line-height: 1;
  direction: rtl;
  text-align: right;
}
.view.menu .content .category .item .detail .order-area {
  width: calc(100% - 18px);
  height: 34px;
  margin-bottom: 4px;
  margin-right: 14px;
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  direction: rtl;
}
.view.menu .content .category .item .detail .order-area .order-button {
  width: 140px;
  height: 100%;
  border-radius: 18px;
  background-color: #3478ff;
  color: white;
  margin-right: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  border: none;
  font-size: 16px;
  font-family: "vazirmatn";
}
.view.menu .content .category .item .detail .order-area .price {
  font-size: 16px;
  font-weight: normal;
  flex-grow: 1;
  max-width: 95%;
  margin-top: 6px;
  text-align: right;
}

.preparation-time-info {
  width: calc(100% - 32px);
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(99, 102, 241, 0.08) 100%);
  border-bottom: 1px solid rgba(59, 130, 246, 0.15);
  display: flex;
  flex-direction: column;
  gap: 12px;
  direction: rtl;
  position: relative;
  overflow: visible;
  transition: all 0.3s ease;
  flex-shrink: 0;
  min-height: 49px;
}
.preparation-time-info .prep-time-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.preparation-time-info .prep-time-header .prep-time-content {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}
.preparation-time-info .prep-time-header .prep-time-content .prep-time-icon {
  font-size: 22px;
  color: #3b82f6;
  flex-shrink: 0;
}
.preparation-time-info .prep-time-header .prep-time-content .prep-time-info-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.preparation-time-info .prep-time-header .prep-time-content .prep-time-info-text .prep-time-label {
  font-size: 13px;
  color: #6366f1;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.preparation-time-info .prep-time-header .prep-time-content .prep-time-info-text .prep-time-value {
  font-size: 18px;
  font-weight: 700;
  color: #1e3a8a;
}
.preparation-time-info .prep-time-header .edit-time-btn {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  color: #1e40af;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: "vazirmatn";
  white-space: nowrap;
}
.preparation-time-info .prep-time-header .edit-time-btn:hover {
  background: rgba(59, 130, 246, 0.25);
  transform: scale(1.05);
}
.preparation-time-info .prep-time-header .edit-time-btn:active {
  transform: scale(0.98);
}
.preparation-time-info .time-picker-container {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(59, 130, 246, 0.2);
}
.preparation-time-info .time-picker-container.active {
  display: flex;
  animation: slideDown 0.3s ease;
}
.preparation-time-info .time-picker-container .time-inputs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  direction: ltr;
}
.preparation-time-info .time-picker-container .time-inputs .time-input {
  width: 60px;
  height: 45px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  font-family: "vazirmatn";
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 10px;
  background: white;
  color: #1e3a8a;
  outline: none;
  transition: all 0.2s ease;
}
.preparation-time-info .time-picker-container .time-inputs .time-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.preparation-time-info .time-picker-container .time-inputs .time-input.error {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
}
.preparation-time-info .time-picker-container .time-inputs .time-separator {
  font-size: 24px;
  font-weight: 700;
  color: #3b82f6;
}
.preparation-time-info .time-picker-container .time-actions {
  display: flex;
  gap: 8px;
  direction: rtl;
}
.preparation-time-info .time-picker-container .time-actions .confirm-time-btn,
.preparation-time-info .time-picker-container .time-actions .cancel-time-btn {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: "vazirmatn";
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}
.preparation-time-info .time-picker-container .time-actions .confirm-time-btn {
  background: #3b82f6;
  color: white;
}
.preparation-time-info .time-picker-container .time-actions .confirm-time-btn:hover {
  background: #2563eb;
}
.preparation-time-info .time-picker-container .time-actions .confirm-time-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.preparation-time-info .time-picker-container .time-actions .cancel-time-btn {
  background: rgba(0, 0, 0, 0.05);
  color: #374151;
}
.preparation-time-info .time-picker-container .time-actions .cancel-time-btn:hover {
  background: rgba(0, 0, 0, 0.1);
}
.preparation-time-info .time-picker-container .time-error {
  display: none;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  padding: 10px 12px;
  color: #dc2626;
  font-size: 13px;
  text-align: right;
  animation: shake 0.4s ease;
}
.preparation-time-info .time-picker-container .time-error.visible {
  display: block;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}
.order-description-container {
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(246, 243, 59, 0.08) 0%, rgba(244, 201, 32, 0.08) 100%);
  border-bottom: 1px solid rgba(246, 202, 59, 0.15);
  transition: all 0.3s ease;
  flex-shrink: 0;
  min-height: 34px;
}
.order-description-container .description-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.order-description-container .add-description-btn {
  width: 128px;
  background: rgba(246, 202, 59, 0.15);
  border: 1px solid rgba(85, 57, 0, 0.25);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  color: #af6900;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: "vazirmatn";
  white-space: nowrap;
}
.order-description-container .add-description-btn:hover {
  background: rgba(246, 209, 59, 0.25);
  transform: scale(1.05);
}
.order-description-container .add-description-btn:active {
  transform: scale(0.98);
}
.order-description-container .description-preview {
  color: rgba(48, 48, 48, 0.7);
  font-size: 0.9rem;
  direction: rtl;
}
.order-description-container .description-input-area {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.order-description-container .description-input-area.hidden {
  display: none;
}
.order-description-container .order-description-input {
  width: calc(100% - 16px);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px;
  color: rgb(93, 71, 0);
  font-family: inherit;
  resize: vertical;
  min-height: 60px;
  direction: rtl;
}
.order-description-container .order-description-input::-moz-placeholder {
  color: rgb(104, 104, 104);
}
.order-description-container .order-description-input::placeholder {
  color: rgb(104, 104, 104);
}
.order-description-container .order-description-input:focus {
  outline: none;
  border-color: #ffc107;
}

/* Cart View */
.view.cart .header {
  background: linear-gradient(135deg, rgb(11, 11, 11) 0%, rgba(28, 28, 28, 0.8) 100%);
  color: #dbdbdb;
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  position: relative;
}
.view.cart .header .back-button {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.view.cart .header .back-button:hover {
  background: rgba(255, 255, 255, 0.25);
}
.view.cart .header .clear-cart-button {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #ef4444;
  cursor: pointer;
  font-family: "vazirmatn";
  transition: all 0.2s ease;
}
.view.cart .header .clear-cart-button:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.5);
}
.view.cart .header .title {
  font-size: 22px;
  font-weight: 600;
  margin: 0;
}
.view.cart .cart-scrollable-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
  width: 100%;
}
.view.cart .cart-scrollable-content .cart-items {
  width: calc(100% - 20px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
}
.view.cart .cart-footer {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  background: rgb(221, 221, 221);
  border-top: 1px solid #e5e7eb;
  max-height: 60vh;
  overflow-y: auto;
  overflow-x: hidden;
}
.view.cart .empty-cart {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  color: #6b7280;
  font-size: 18px;
}
.view.cart .empty-cart.hidden {
  display: none;
}
.view.cart .cart-summary {
  width: calc(100% - 32px);
  padding: 12px 16px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
}
.view.cart .summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  direction: rtl;
}
.view.cart .summary-row .label {
  font-size: 18px;
  font-weight: 600;
  color: #374151;
}
.view.cart .summary-row .value {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
}
.view.cart .checkout-button {
  width: calc(100% - 20px);
  height: 50px;
  margin: 10px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  font-size: 18px;
  font-weight: 700;
  font-family: "vazirmatn";
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}
.view.cart .checkout-button:hover {
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}
.view.cart .checkout-button:active {
  transform: translateY(0) scale(0.98);
}
.view.cart .confirm-description-button {
  width: calc(100% - 20px);
  height: 50px;
  margin: 10px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  font-size: 18px;
  font-weight: 700;
  font-family: "vazirmatn";
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}
.view.cart .confirm-description-button:hover {
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
  transform: translateY(-2px);
  animation: none;
}
.view.cart .confirm-description-button:active {
  transform: translateY(0) scale(0.98);
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  }
  50% {
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
  }
}
/* Cart Item Styles */
.cart-item {
  background: white;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  direction: rtl;
}
.cart-item .remove-btn {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(239, 68, 68, 0.1);
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  color: #ef4444;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}
.cart-item .remove-btn:hover {
  background: rgba(239, 68, 68, 0.2);
}
.cart-item .item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 6px;
}
.cart-item .item-name {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  color: #1f2937;
}
.cart-item .item-sides-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.cart-item .item-pricing {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 6px;
}
.cart-item .quantity-control {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f3f4f6;
  border-radius: 8px;
  padding: 4px 8px;
}
.cart-item .qty-btn {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  width: 28px;
  height: 28px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  color: #374151;
}
.cart-item .qty-btn:hover {
  background: #f9fafb;
}
.cart-item .quantity {
  font-size: 16px;
  font-weight: 600;
  min-width: 24px;
  text-align: center;
}
.cart-item .item-subtotal {
  font-size: 16px;
  font-weight: 700;
  color: #059669;
}

/* Cart Side Item Chips */
.cart-side-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 4px 10px;
  font-size: 12px;
  color: #374151;
  direction: rtl;
}
.cart-side-item .cart-side-name {
  font-weight: 500;
}
.cart-side-item .cart-side-remove {
  background: rgba(239, 68, 68, 0.1);
  border: none;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  color: #ef4444;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  padding: 0;
}
.cart-side-item .cart-side-remove:hover {
  background: rgba(239, 68, 68, 0.2);
}

/* Floating Cart Button */
.floating-cart-btn {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: linear-gradient(135deg, #3478ff 0%, #1b67ff 100%);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 14px 28px;
  font-size: 17px;
  font-weight: 700;
  font-family: "vazirmatn";
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(52, 120, 255, 0.5);
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.2s ease;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
}
.floating-cart-btn.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.floating-cart-btn:hover {
  box-shadow: 0 6px 20px rgba(52, 120, 255, 0.7);
  transform: translateX(-50%) translateY(-2px);
}
.floating-cart-btn:active {
  transform: translateX(-50%) translateY(0) scale(0.97);
}

.profile-completion {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: absolute;
  z-index: 100;
}

.profile-card {
  width: 100%;
  height: 100%;
  background: white;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.profile-card__header {
  background: linear-gradient(135deg, rgb(11, 11, 11) 0%, rgba(28, 28, 28, 0.8) 100%);
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  color: #dbdbdb;
}
.profile-card__logo {
  width: 100px;
  height: 100px;
  -o-object-fit: contain;
     object-fit: contain;
  margin-bottom: 1rem;
}
.profile-card__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}
.profile-card ::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}
.profile-card ::-webkit-scrollbar-thumb {
  background: rgba(28, 28, 28, 0.3137254902);
}
.profile-card__header {
  background: linear-gradient(135deg, rgb(11, 11, 11) 0%, rgba(28, 28, 28, 0.8) 100%);
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  color: #dbdbdb;
}
.profile-card__logo {
  width: 100px;
  height: 100px;
  -o-object-fit: contain;
     object-fit: contain;
  margin-bottom: 1rem;
}
.profile-card__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}
.profile-card__subtitle {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  opacity: 0.9;
}
.profile-card__form {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.profile-card__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: right;
  direction: rtl;
}
.profile-card__label {
  font-size: 0.95rem;
  font-weight: 600;
}
.profile-card__input {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 0.95rem;
  font-family: "vazirmatn";
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.profile-card__input:focus {
  outline: none;
  border-color: #3478ff;
  box-shadow: 0 0 0 4px rgba(52, 120, 255, 0.1);
}
.profile-card__gender-options {
  display: flex;
  gap: 1rem;
}
.profile-card__actions {
  margin-top: 0.5rem;
}
.profile-card__submit {
  width: 100%;
  padding: 0.9rem 1.5rem;
  border-radius: 12px;
  border: none;
  background: #3478ff;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  font-family: "vazirmatn";
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}
.profile-card__submit:hover {
  background: #1b67ff;
}
.profile-card__submit:active {
  transform: scale(0.98);
}
.profile-card__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.profile-card__status {
  min-height: 1.25rem;
  font-size: 0.9rem;
  text-align: center;
  margin-top: 0.5rem;
}
.profile-card__status[data-variant=success] {
  color: #2a9d8f;
}
.profile-card__status[data-variant=error] {
  color: #e63946;
}
.profile-card__status[data-variant=pending] {
  color: #f4a261;
}

.gender-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem;
  border: 2px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.gender-option input[type=radio] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.gender-option:has(input:checked) {
  border-color: #3478ff;
  background: rgba(52, 120, 255, 0.05);
}
.gender-option span {
  font-size: 0.95rem;
  font-weight: 500;
}

.view.verify-view {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(147, 51, 234, 0.05) 100%);
}

.verify-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  width: 100%;
  max-width: 400px;
  text-align: center;
  animation: fadeIn 0.5s ease;
}
.verify-state.hidden {
  display: none;
}

.verify-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(59, 130, 246, 0.2);
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 24px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.verify-icon {
  margin-bottom: 24px;
  animation: scaleIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.verify-icon.success-icon .checkmark {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: drawCheck 0.8s ease-in-out 0.3s forwards;
}
.verify-icon.error-icon .error-cross {
  stroke-dasharray: 85;
  stroke-dashoffset: 85;
  animation: drawError 0.6s ease-in-out 0.3s forwards;
}

@keyframes scaleIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes drawCheck {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes drawError {
  to {
    stroke-dashoffset: 0;
  }
}
.verify-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #1c1c1c;
  direction: rtl;
}
.verify-title.success-title {
  color: #10b981;
}
.verify-title.error-title {
  color: #ef4444;
}

.verify-subtitle {
  font-size: 16px;
  color: #6b7280;
  margin: 0 0 24px;
  direction: rtl;
  white-space: pre-line;
}
.verify-subtitle.error-subtitle {
  color: #ef4444;
}

.verify-details {
  width: 100%;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  direction: rtl;
}
.detail-row:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.detail-row.hidden {
  display: none;
}

.detail-label {
  font-size: 14px;
  font-weight: 600;
  color: #4b5563;
}

.detail-value {
  font-size: 16px;
  font-weight: 700;
  color: #1c1c1c;
  font-family: "vazirmatn";
}

.redirect-message {
  font-size: 14px;
  color: #9ca3af;
  margin-top: 16px;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.verify-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: 8px;
}

.verify-btn {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  font-family: "vazirmatn";
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  outline: none;
}
.verify-btn.primary-btn {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}
.verify-btn.primary-btn:hover {
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}
.verify-btn.primary-btn:active {
  transform: translateY(0) scale(0.98);
}
.verify-btn.secondary-btn {
  background: white;
  color: #4b5563;
  border: 2px solid #e5e7eb;
}
.verify-btn.secondary-btn:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}
.verify-btn.secondary-btn:active {
  transform: scale(0.98);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.view.orders-list {
  background-color: rgb(221, 221, 221);
}
.view.orders-list .header {
  width: calc(100% - 40px);
  padding: 24px 20px;
  background: linear-gradient(135deg, #3478ff 0%, #0156ff 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.view.orders-list .header .back-button {
  position: absolute;
  left: 9px;
  top: 9px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 12px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}
.view.orders-list .header .back-button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateX(3px);
}
.view.orders-list .header .back-button:active {
  transform: translateX(3px) scale(0.95);
}
.view.orders-list .header .title {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin: 0;
  padding-left: 44px;
  flex: 1;
  text-align: center;
}
.view.orders-list .header .spacer {
  width: 44px;
}
.view.orders-list .content {
  flex: 1;
  width: calc(100% - 40px);
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  overflow-x: hidden;
}
.view.orders-list .content .no-orders {
  text-align: center;
  padding: 60px 20px;
  color: #999999;
  font-size: 16px;
}

.order-item {
  width: 90%;
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.order-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.order-item:active {
  transform: translateY(0);
}
.order-item--active {
  border-color: #ff6b35;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(255, 107, 53, 0.02) 100%);
  box-shadow: 0 2px 12px rgba(255, 107, 53, 0.15);
}
.order-item--active .order-status {
  color: #ff6b35;
  font-weight: 700;
}
.order-item .order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.order-item .order-header .order-number {
  font-size: 18px;
  font-weight: 700;
  color: #1c1c1c;
}
.order-item .order-header .order-status {
  font-size: 14px;
  font-weight: 600;
  color: #666666;
  padding: 6px 12px;
  background: rgba(52, 120, 255, 0.1);
  border-radius: 8px;
}
.order-item .order-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.order-item .order-info .order-date {
  font-size: 14px;
  color: #999999;
}
.order-item .order-info .order-total {
  font-size: 16px;
  font-weight: 700;
  color: #3478ff;
}

.view.order-details {
  background-color: rgb(221, 221, 221);
}
.view.order-details .header {
  width: calc(100% - 40px);
  padding: 24px 20px;
  background: linear-gradient(135deg, #3478ff 0%, #0156ff 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.view.order-details .header .header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.view.order-details .header .header-top .back-button {
  position: absolute;
  left: 9px;
  top: 9px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 12px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}
.view.order-details .header .header-top .back-button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateX(3px);
}
.view.order-details .header .header-top .back-button:active {
  transform: translateX(3px) scale(0.95);
}
.view.order-details .header .header-top .order-number {
  font-size: 20px;
  font-weight: 700;
  color: white;
  flex: 1;
  text-align: center;
  margin-top: 0;
  margin-left: 44px;
}
.view.order-details .header .header-top .spacer {
  width: 44px;
}
.view.order-details .header .header-info {
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}
.view.order-details .header .header-info .order-status {
  font-size: 14px;
  font-weight: 600;
  color: white;
}
.view.order-details .header .header-info .order-date {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}
.view.order-details .content {
  flex: 1;
  width: calc(100% - 40px);
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.view.order-details .content .info-section {
  width: 90%;
  background: white;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.view.order-details .content .info-section.hidden {
  display: none;
}
.view.order-details .content .info-section .section-title {
  font-size: 14px;
  font-weight: 700;
  color: #999999;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.view.order-details .content .info-section .section-value {
  font-size: 16px;
  color: #1c1c1c;
  font-weight: 600;
}
.view.order-details .content .info-section .section-value.delivery-code {
  font-size: 24px;
  color: #ff6b35;
  font-weight: 700;
  text-align: center;
  padding: 12px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 107, 53, 0.05) 100%);
  border-radius: 12px;
  letter-spacing: 2px;
  margin-top: 8px;
}
.view.order-details .content .info-section .section-value.status-value {
  color: #3478ff;
  font-size: 18px;
  font-weight: 700;
}
.view.order-details .content .items-section {
  width: 90%;
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.view.order-details .content .items-section .section-header {
  font-size: 16px;
  font-weight: 700;
  color: #1c1c1c;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}
.view.order-details .content .items-section .order-items-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.view.order-details .content .summary-section {
  width: 90%;
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.view.order-details .content .summary-section .section-header {
  font-size: 16px;
  font-weight: 700;
  color: #1c1c1c;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}
.view.order-details .content .summary-section .summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 15px;
}
.view.order-details .content .summary-section .summary-row:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.view.order-details .content .summary-section .summary-row .label {
  color: #666666;
  font-weight: 500;
}
.view.order-details .content .summary-section .summary-row .value {
  color: #1c1c1c;
  font-weight: 600;
}
.view.order-details .content .summary-section .summary-row.total {
  padding-top: 16px;
  margin-top: 8px;
  border-top: 2px solid rgba(0, 0, 0, 0.1);
  font-size: 18px;
}
.view.order-details .content .summary-section .summary-row.total .label {
  color: #1c1c1c;
  font-weight: 700;
}
.view.order-details .content .summary-section .summary-row.total .value {
  color: #3478ff;
  font-weight: 700;
  font-size: 20px;
}

.order-detail-item {
  background: linear-gradient(135deg, rgba(52, 120, 255, 0.02) 0%, rgba(52, 120, 255, 0.01) 100%);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.order-detail-item .item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}
.order-detail-item .item-header .item-info {
  flex: 1;
}
.order-detail-item .item-header .item-info .order-item-name {
  font-size: 16px;
  font-weight: 700;
  color: #1c1c1c;
  margin-bottom: 4px;
}
.order-detail-item .item-header .item-info .order-item-quantity {
  font-size: 14px;
  color: #999999;
  font-weight: 600;
}
.order-detail-item .item-header .order-item-unit-price {
  font-size: 14px;
  color: #666666;
  font-weight: 500;
}
.order-detail-item .order-item-sides {
  font-size: 13px;
  color: #666666;
  margin: 8px 0;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
}
.order-detail-item .item-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.order-detail-item .item-total .label {
  font-size: 14px;
  color: #666666;
  font-weight: 600;
}
.order-detail-item .item-total .order-item-subtotal {
  font-size: 16px;
  color: #3478ff;
  font-weight: 700;
}

.view.about {
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: rgb(221, 221, 221);
}
.view.about .header {
  background: linear-gradient(135deg, rgb(11, 11, 11) 0%, rgba(28, 28, 28, 0.8) 100%);
  color: #dbdbdb;
  width: 100%;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex-shrink: 0;
  position: relative;
}
.view.about .header .back-button {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 24px;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
}
.view.about .header .back-button:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
  border-color: white;
}
.view.about .header .back-button:active {
  transform: scale(0.9);
}
.view.about .header .logo {
  width: 80px;
  height: 80px;
  margin-top: 12px;
}
.view.about .header .title {
  font-size: 20px;
  font-weight: normal;
  margin-top: 8px;
}
.view.about .content {
  width: 100%;
  padding: 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
  direction: rtl;
  overflow-y: auto;
}
.view.about .content .info-card {
  background: white;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.view.about .content .info-card .info-item {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.3s ease;
  padding: 8px;
  border-radius: 12px;
}
.view.about .content .info-card .info-item:hover {
  transform: translateX(-5px);
  background: rgba(52, 120, 255, 0.03);
}
.view.about .content .info-card .info-item:last-child {
  margin-bottom: 0;
}
.view.about .content .info-card .info-item .label {
  font-weight: bold;
  color: #666666;
  font-size: 14px;
}
.view.about .content .info-card .info-item .value {
  color: #1c1c1c;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  text-decoration: none;
  word-break: break-word;
}
.view.about .content .info-card .info-item a.value {
  color: #3478ff;
  transition: color 0.3s ease;
}
.view.about .content .info-card .info-item a.value:hover {
  color: #0156ff;
}
.view.about .footer {
  width: 100%;
  padding: 30px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
  flex-shrink: 0;
  animation: fadeIn 1s ease 0.5s both;
}
.view.about .footer .enamad-link {
  display: block;
  padding: 10px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}
.view.about .footer .enamad-link:hover {
  transform: translateY(-5px);
}
.view.about .footer .enamad-logo {
  width: 75px;
  height: auto;
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.view {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: baseline;
  align-items: center;
  flex-direction: column;
  transition: opacity 1s ease;
  opacity: 1;
  position: absolute;
}
.view.faded {
  opacity: 0;
}

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

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
  background: rgba(28, 28, 28, 0.3137254902);
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.modal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal.hidden {
  display: none;
}
.modal.modal--visible {
  opacity: 1;
  pointer-events: auto;
}
.modal .modal-content {
  position: relative;
  background-color: white;
  border-radius: 18px;
  max-width: 90%;
  max-height: 85vh;
  width: 100%;
  margin: 0 16px;
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  direction: rtl;
  gap: 12px;
  overflow-x: hidden;
  overflow-y: auto;
  transform: translateY(16px) scale(0.97);
  opacity: 0.96;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.modal .modal-content .modal.modal--visible .modal-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.modal .modal-content .close-button {
  position: sticky;
  top: 16px;
  right: 16px;
  inset-inline-end: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background-color: rgba(28, 28, 28, 0.08);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  color: #1c1c1c;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
  z-index: 100;
}
.modal .modal-content .close-button:hover, .modal .modal-content .close-button:focus-visible {
  background-color: rgba(28, 28, 28, 0.16);
  transform: scale(1.05);
}
.modal .modal-content .close-button:active {
  transform: scale(0.98);
}
.modal .modal-content .modal-image {
  max-width: 100%;
  height: auto;
  max-height: 480px;
  -o-object-fit: cover;
     object-fit: cover;
  margin-top: -46px;
  border-radius: 14px;
  border: 2px solid rgba(0, 0, 0, 0.08);
}
.modal .modal-content .modal-title {
  font-size: 22px;
  margin: 12px 10px 0;
  text-align: right;
}
.modal .modal-content .modal-description {
  font-size: 16px;
  text-align: right;
  margin: 0 10px 0;
}
.modal .modal-content .modal-prep-time {
  margin: 0 10px 0;
  font-size: 16px;
  color: rgba(28, 28, 28, 0.8);
  border: 1px solid rgba(28, 28, 28, 0.1);
  border-radius: 10px;
  padding: 2px 6px;
}
.modal .modal-content .modal-price {
  font-size: 20px;
  font-weight: bold;
  margin: 0 10px 0;
}
.modal .modal-content .modal-add-to-cart {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: none;
  background-color: #3478ff;
  color: white;
  font-size: 16px;
  font-family: "vazirmatn";
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.1s ease;
}
.modal .modal-content .modal-add-to-cart:hover {
  background-color: #1b67ff;
}
.modal .modal-content .modal-add-to-cart:active {
  transform: scale(0.98);
}
.modal .modal-content .modal-cart-status {
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}
.modal .modal-content .modal-cart-status__title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 10px 0;
  color: #374151;
}
.modal .modal-content .modal-cart-item {
  background: white;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.modal .modal-content .modal-cart-item:last-child {
  margin-bottom: 0;
}
.modal .modal-content .modal-cart-item__qty {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}
.modal .modal-content .modal-cart-item__qty-btn {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  color: #374151;
}
.modal .modal-content .modal-cart-item__qty-btn:hover {
  background: #e5e7eb;
}
.modal .modal-content .modal-cart-item__qty-btn:active {
  transform: scale(0.95);
}
.modal .modal-content .modal-cart-item__qty-value {
  font-size: 17px;
  font-weight: 600;
  min-width: 30px;
  text-align: center;
  color: #1f2937;
}
.modal .modal-content .modal-cart-item__sides {
  font-size: 13px;
  color: #6b7280;
  text-align: center;
  direction: rtl;
}
.modal .modal-content .modal-cart-item__sides-label {
  font-weight: 600;
  color: #4b5563;
}
.modal .modal-content .modal-cart-item__sides-list {
  font-weight: 400;
}

.bottom-modal {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 12px 0 0;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.bottom-modal.hidden {
  display: none;
}
.bottom-modal.bottom-modal--visible {
  opacity: 1;
  pointer-events: auto;
}
.bottom-modal .close-button {
  position: absolute;
  top: 16px;
  right: 16px;
  inset-inline-end: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background-color: rgba(28, 28, 28, 0.08);
  color: #1c1c1c;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.bottom-modal .close-button:hover, .bottom-modal .close-button:focus-visible {
  background-color: rgba(28, 28, 28, 0.16);
  transform: scale(1.05);
}
.bottom-modal .close-button:active {
  transform: scale(0.98);
}
.bottom-modal .content {
  width: 100%;
  max-width: 460px;
  background-color: white;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25);
  padding: 60px 10px 30px 10px;
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  direction: rtl;
  opacity: 0.96;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.bottom-modal .content .bottom-modal.bottom-modal--visible .content {
  opacity: 1;
}
.bottom-modal .content .login-text {
  margin: 0 10px 4px;
  font-size: 15px;
  text-align: right;
}
.bottom-modal .content .login-btn {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: none;
  background-color: #3478ff;
  color: white;
  font-size: 16px;
  font-family: "vazirmatn";
  cursor: pointer;
  direction: rtl;
  gap: 12px;
  overflow-x: hidden;
  overflow-y: auto;
  opacity: 0.96;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.bottom-modal .content .login-btn .modal.modal--visible .modal-content {
  opacity: 1;
}
.bottom-modal .content .login-btn .close-button {
  position: absolute;
  top: 16px;
  right: 16px;
  inset-inline-end: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background-color: rgba(28, 28, 28, 0.08);
  color: #1c1c1c;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.bottom-modal .content .login-btn .close-button:hover, .bottom-modal .content .login-btn .close-button:focus-visible {
  background-color: rgba(28, 28, 28, 0.16);
  transform: scale(1.05);
}
.bottom-modal .content .login-btn .close-button:active {
  transform: scale(0.98);
}

/* Side Selection Modal Specific Styles */
.bottom-modal .side-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #1f2937;
}
.bottom-modal .side-modal-subtitle {
  color: #6b7280;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}
.bottom-modal .side-items-list {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}
.bottom-modal .side-item {
  display: flex;
  align-items: center;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  transition: background-color 0.2s;
}
.bottom-modal .side-item:last-child {
  border-bottom: none;
}
.bottom-modal .side-item:hover {
  background-color: #f9fafb;
}
.bottom-modal .side-checkbox {
  margin-left: 0.875rem;
  cursor: pointer;
  width: 18px;
  height: 18px;
}
.bottom-modal .side-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
}
.bottom-modal .side-name {
  font-weight: 500;
  color: #374151;
}
.bottom-modal .side-price {
  color: #059669;
  font-weight: 600;
  font-size: 0.875rem;
}

/* User Profile Modal Specific Styles */
.bottom-modal .user-profile-modal-content {
  padding: 24px 20px;
  gap: 20px;
}
.bottom-modal .user-profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #e5e7eb;
}
.bottom-modal .user-profile-header .user-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
  padding: 12px;
  filter: invert(0.3);
}
.bottom-modal .user-profile-header .user-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
  direction: rtl;
}
.bottom-modal .user-profile-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 8px;
}
.bottom-modal .user-option-btn {
  width: 100%;
  height: 52px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 12px;
  padding: 0 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  color: #1f2937;
  font-family: "vazirmatn";
  cursor: pointer;
  transition: all 0.2s ease;
  direction: rtl;
}
.bottom-modal .user-option-btn .arrow {
  font-size: 18px;
  transition: transform 0.2s ease;
}
.bottom-modal .user-option-btn:hover {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.25);
  transform: translateX(-2px);
}
.bottom-modal .user-option-btn:hover .arrow {
  transform: translateX(-3px);
}
.bottom-modal .user-option-btn:active {
  transform: scale(0.98);
}
.bottom-modal .user-option-btn.logout-btn {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.15);
  color: #dc2626;
}
.bottom-modal .user-option-btn.logout-btn:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.25);
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
  background: radial-gradient(120% 120% at 80% 0%, rgba(28, 28, 28, 0.35) 0%, rgba(28, 28, 28, 0) 55%), rgb(221, 221, 221);
  font-family: "vazirmatn";
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.main {
  width: 460px;
  height: 88vh;
  min-height: 740px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: rgb(221, 221, 221);
  overflow: hidden;
  overflow-y: auto;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
  position: relative;
  border: 1px solid white;
}
.main:has(.profile-completion:not(.hidden)) {
  overflow: hidden;
}

.no-scrollbar {
  overflow-y: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.toman {
  display: inline-block;
  height: 1.4em;
  width: 1.4em;
  transform: translateY(5px);
  background-image: url("../images/toman black.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.comma {
  transform: translateY(5px);
}

.flex-fill {
  flex-grow: 1;
  height: 100%;
  width: 100%;
}

@media (max-width: 580px) {
  .main {
    width: 100%;
    height: 100vh;
    border-radius: 0;
    box-shadow: none;
    border: none;
  }
}
.hidden {
  display: none !important;
}/*# sourceMappingURL=style.css.map */