body {
  font-family: "Vazir", sans-serif;
  background-color: #f8f9fa;
  padding-bottom: 70px; /* فاصله برای جلوگیری از افتادن زیر نوار پایینی */
  padding-top: 10px; /* فاصله برای جلوگیری از افتادن زیر نوار پایینی */

}
.footer-nav {
  background-color: #fff;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 10px 0;
  z-index: 1000;
}

.footer-nav a {
  color: #333;
  text-decoration: none;
  display: block;
  text-align: center;
}

.footer-nav i {
  font-size: 1.5rem;
}

.footer-nav .active {
  color: #28a745;
}

.profile-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
  width: 100%;
  max-width: 800px;
  position: relative;
}

.profile-header {
  text-align: center;
  margin-bottom: 20px;
}

.profile-header h2 {
  font-size: 1.8rem;
  margin: 0;
}

.profile-header span {
  font-size: 1rem;
  color: #6c757d;
}

.profile-header-icons {
  position: absolute;
  top: 10px;
  right: 10px; /* تغییر مکان چرخ دنده به سمت راست */
  display: flex;
  gap: 15px;
}

.profile-header-icons-bell-left {
  position: absolute;
  top: 10px;
  left: 10px; /* تغییر مکان چرخ دنده به سمت راست */
  display: flex;
  gap: 15px;
}

.profile-header-icons i {
  font-size: 1.5rem;
  color: #6c757d;
  cursor: pointer;
}
.profile-header-icons-bell-left i {
  font-size: 1.5rem;
  color: #6c757d;
  cursor: pointer;
}

.profile-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.profile-card ul li {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  border-bottom: 1px solid #ddd;
}

.profile-card ul li a {
  display: flex;
  align-items: center;
  text-decoration: none;
  width: 100%;
  color: #333;
}

.profile-card ul li a:hover {
  background-color: #f8f9fa;
}

.profile-card ul li i {
  font-size: 1.5rem; /* تنظیم اندازه آیکون‌ها */
  color: #6c757d; /* پیش‌فرض رنگ خاکستری */
  margin-left: 10px; /* فاصله بین آیکون و متن */
}

.profile-card ul li span {
  flex: 1; /* متن فضای باقی‌مانده را بگیرد */
  font-size: 1rem; /* اندازه فونت متن */
}

@media (max-width: 768px) {
  .profile-card ul li {
    padding: 8px 10px; /* بهینه‌سازی فاصله‌ها برای موبایل */
  }
  .profile-card ul li i {
    font-size: 1.4rem; /* آیکون کمی کوچکتر برای موبایل */
  }
  .profile-card ul li span {
    font-size: 0.9rem; /* متن کمی کوچکتر برای موبایل */
  }
}

.wallet-info {
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #495057;
  display: flex;
  justify-content: space-between;
}

.wallet-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 15px;
}

.wallet-item-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px; /* افزایش فاصله از سایر بخش‌ها */
}

.wallet-item i {
  font-size: 2rem;
  margin-bottom: 5px;
  color: #6c757d;
}

.wallet-item a {
  font-size: 1rem;
  color: #007bff;
  text-decoration: none;
}

.wallet-item a:hover {
  text-decoration: underline;
}

/* تغییرات برای لینک‌ها */
.profile-card li {
  display: flex;
  justify-content: flex-start;
  gap: 15px;
}

.profile-card a {
  width: 100%; /* پهنای کامل برای لینک‌ها */
}

.section-title {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #495057;
}

.orders-container {
  display: flex;
  overflow-x: auto; /* فعال‌سازی اسکرول افقی */
  gap: 20px; /* فاصله بین آیتم‌ها */
  padding: 10px 0;
  scrollbar-width: none; /* حذف اسکرول‌بار در فایرفاکس */
}

.orders-container::-webkit-scrollbar {
  display: none; /* حذف اسکرول‌بار در مرورگرهای وب‌کیت */
}

.order-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 100px; /* عرض آیتم */
  background-color: #fff;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
}

.order-item:hover {
  transform: scale(1.05); /* افکت بزرگنمایی روی هاور */
  background-color: #f8f9fa;
}

.order-item i {
  font-size: 2rem;
  color: #6c757d;
  margin-bottom: 5px;
}

.order-item span {
  font-size: 1rem;
  color: #495057;
}

.footer-nav i.bi-house-door-fill {
  color: #007bff; /* آبی برای خانه */
}

.footer-nav i.bi-cart-fill {
  color: #fd7e14; /* نارنجی برای سبد خرید */
}

.footer-nav i.bi-grid-fill {
  color: #ffc107; /* زرد برای دسته‌بندی */
}

.footer-nav i.bi-person-circle {
  color: #007bff; /* آبی برای پروفایل */
}

.profile-header-icons i.bi-gear {
  color: #6c757d; /* خاکستری برای تنظیمات */
}

.profile-header-icons-bell-left i.bi-bell {
  color: #dc3545; /* قرمز برای اعلان‌ها */
}

.wallet-item i.bi-star {
  color: #ffc107; /* زرد برای امتیاز */
}

.wallet-item i.bi-wallet2 {
  color: #28a745; /* سبز برای کیف پول */
}

.orders-container .order-item i.bi-box-seam {
  color: #17a2b8; /* آبی روشن برای سفارش جاری */
}

.orders-container .order-item i.bi-credit-card {
  color: #fd7e14; /* نارنجی برای انتظار پرداخت */
}

.orders-container .order-item i.bi-truck {
  color: #28a745; /* سبز برای تحویل شده */
}

.profile-card ul li a i {
  color: #6c757d; /* پیش‌فرض خاکستری */
}

.profile-card ul li a:hover i {
  color: #007bff; /* آبی روی هاور */
}

/* اسلایدر */
.slider {
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
}

.slider img {
  width: 100%;
  border-radius: 10px;
}

/* index */
.title-section {
  text-align: center;
  padding: 10px 0;
  background-color: #ffffff;
  color: #333333;
  font-size: 1.2rem;
  font-weight: 500;
  border-bottom: 1px solid #ddd;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.content {
  flex: 1; /* برای تنظیم محتوای اصلی در حالت انعطاف‌پذیر */
  margin-top: 60px; /* فاصله از نوار عنوان */
  padding: 15px;
  padding-bottom: 70px; /* فضای اضافی برای نوار پایین */
}

.slider {
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
}

.slider img {
  width: 100%;
  border-radius: 10px;
}

.tiles-container {
  display: flex;
  height: 150px;
  margin-top: 15px;
  border-radius: 10px;
  overflow: hidden;
}

.tile {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tile.services {
  background-color: #e7f8ec;
  color: #28a745;
}

.tile.services:hover {
  background-color: #d1f7d7;
  color: #218838;
}

.tile.products {
  background-color: #e7f1fb;
  color: #007bff;
}

.tile.products:hover {
  background-color: #d0e7fa;
  color: #0062cc;
}



/* cart */

.cart-item {
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item span {
  font-weight: bold;
}

.total-price {
  font-size: 1.25rem;
  font-weight: bold;
}

.quantity-controls button {
  border: none;
  background: none;
  font-size: 1.2rem;
  padding: 0 5px;
}

.quantity-controls button:hover {
  color: #28a745;
  cursor: pointer;
}

/* ramandplus */
.subscription-card {
  border-radius: 15px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  position: relative;
}
.subscription-card:hover {
  transform: translateY(-10px);
}

.discount-badge {
  position: absolute;
  top: -10px;
  left: -10px;
  background-color: #dc3545;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-subscribe {
  background-color: #28a745;
  color: #fff;
  font-weight: bold;
}

.btn-subscribe:hover {
  background-color: #218838;
  color: #fff;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.feature-list li i {
  margin-left: 10px;
  color: #28a745;
}

.support-section {
  background-color: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* club-details */

/* Header */
.header {
  text-align: center;
  background-color: #ffffff;
  padding: 10px 0;
  border-bottom: 1px solid #eaeaea;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.header h1 {
  font-size: 1.5rem;
  margin: 0;
  color: #333;
}

.header .back-btn {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #555;
  text-decoration: none;
}

/* Content */
.content {
  margin-top: 70px;
  padding: 15px;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.card i {
  font-size: 2rem;
  color: #000000;
  margin-bottom: 10px;
}

.card span {
  font-size: 1rem;
  color: #555;
  margin-bottom: 5px;
}

.card strong {
  font-size: 1.2rem;
  color: #333;
  font-weight: bold;
}

/* plus-history */
.container {
  max-width: 800px;
  margin-top: 50px;
  flex: 1;
}
.subscription-item {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  padding: 20px;
  margin: 15px 0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.subscription-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}
.subscription-title {
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  font-size: 1.1rem;
}
.status-circle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-left: 10px;
}
.active-status {
  background-color: #28a745;
}
.expired-status {
  background-color: #dc3545;
}
.remaining-time {
  margin-top: 10px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  color: #6c757d;
}
.remaining-time.active {
  color: #28a745;
}
.remaining-time.expired {
  color: #dc3545;
}
.progress-bar-container {
  width: 100%;
  height: 8px;
  background-color: #f0f0f0;
  border-radius: 5px;
  margin-top: 15px;
}
.progress-bar {
  height: 100%;
  border-radius: 5px;
  transition: width 1s ease, background-color 0.5s ease;
}
.details {
  display: none;
  margin-top: 10px;
  padding: 10px;
  background-color: #f9f9f9;
  border-radius: 5px;
}
.active-text {
  font-size: 0.9rem;
  color: #28a745;
}

/* categories */

.category-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}
.category-card i {
  font-size: 3rem;
  color: #007bff;
}
.category-card .category-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-top: 10px;
}

/* address */

.address-item {
  border: 1px solid #ddd;
  padding: 15px;
  margin: 10px 0;
  border-radius: 5px;
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.address-item h5 {
  margin-bottom: 10px;
}
.address-item p {
  margin: 5px 0;
}


/* products */
.service-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.service-price {
  color: #28a745;
  font-weight: bold;
}


.service-card img {
  height: 200px;
  object-fit: cover;
}
.quantity-input {
  width: 50px;
  text-align: center;
}

/* orders */
.order-item {
  border: 1px solid #ddd;
  padding: 15px;
  margin: 15px 0;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.order-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.order-item h5 {
  margin-bottom: 10px;
  font-weight: bold;
}

.order-item p {
  margin: 5px 0;
  font-size: 0.9rem;
}

.order-item .status {
  font-weight: bold;
  color: #28a745;
}

.order-item .status.processing {
  color: #ffc107;
}



/* user-profile */
.card {
  border-radius: 10px;
  border: 1px solid #ddd;
  margin-bottom: 15px;
  padding: 15px;
  background-color: #fff;
  transition: box-shadow 0.2s ease;
}
.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.profile-header {
  margin-bottom: 20px;
  text-align: center;
}

.profile-header h1 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.status-text {
  display: inline-block;
  background-color: #28a745;
  color: #fff;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 0.9rem;
  margin-left: 5px;
}

.status-text-pending {
  background-color: #ffc107;
}


.account-info {
  display: none;
}


