/* تعریف فونت لوکال - وزن معمولی */
@font-face {
  font-family: 'IRANSans';
  src: url('https://stylei.ir/wp-content/uploads/IRANSansWeb.woff2') format('woff2'),
       url('https://stylei.ir/wp-content/uploads/IRANSansWeb.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* تعریف فونت لوکال - وزن پررنگ */
@font-face {
  font-family: 'IRANSans';
  src: url('https://stylei.ir/wp-content/uploads/IRANSansWeb_Bold.woff2') format('woff2'),
       url('https://stylei.ir/wp-content/uploads/IRANSansWeb_Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}

.section-3-wrapper .section-three {
  padding: 30px 5px;
  font-family: 'IRANSans', sans-serif;
  text-align: center;
}

/* استایل هدر (خطوط و عنوان) */
.section-3-wrapper .section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.section-3-wrapper .line {
  flex: 1;
  height: 1px;
  background: #D1D1D1;
}

.section-3-wrapper .line.left {
  margin-right: 10px;
}

.section-3-wrapper .line.right {
  margin-left: 10px;
}

.section-3-wrapper .section-title {
  font-size: 18px;
  font-weight: bold;
  color: #000;
  margin: 0;
}

/* استایل مستطیل آمار */
.section-3-wrapper .stats-rectangle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 9px;
  background: #FFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* استایل هر آیتم (تعداد سفارشات، نظرات، متخصصان) */
.section-3-wrapper .stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

/* استایل کانتینر متن‌ها (برای قرار گرفتن در یک خط) */
.section-3-wrapper .stat-text-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px; /* فاصله بین متن‌ها */
}

/* استایل متن‌های "تعداد سفارشات"، "(1000 نظر)"، و "متخصص تأیید شده" */
.section-3-wrapper .stat-text {
  font-size: 11px;
  font-weight: 500;
  color: #121212;
  line-height: 22px;
  margin: 0;
}

/* استایل‌های جداگانه برای هر متن (برای تغییرات خاص) */
.section-3-wrapper .stat-text-orders {
  /* می‌تونی اینجا استایل خاص "تعداد سفارشات" رو تغییر بدی */
}

.section-3-wrapper .stat-text-reviews {
  /* می‌تونی اینجا استایل خاص "(1000 نظر)" رو تغییر بدی */
}

.section-3-wrapper .stat-text-specialists {
  /* می‌تونی اینجا استایل خاص "متخصص تأیید شده" رو تغییر بدی */
}

/* استایل اعداد */
.section-3-wrapper .stat-number {
  font-family: 'IRANSans', sans-serif;
  font-weight: bold;
  color: #333;
}

/* استایل جداگانه برای عدد "تعداد سفارشات" */
.section-3-wrapper .stat-number-orders {
  font-size: 19px;
}

/* استایل جداگانه برای عدد "متخصص تأیید شده" */
.section-3-wrapper .stat-number-specialists {
  font-size: 19px;
}

/* استایل جداگانه برای عدد "4.5" (امتیاز) */
.section-3-wrapper .stat-number-rating {
  font-size: 20px;
}

/* استایل جداگانه برای عدد داخل "(1000 نظر)" */
.section-3-wrapper .stat-number-reviews {
  font-family: 'IRANSans', sans-serif;
}

/* استایل ستاره‌ها */
.section-3-wrapper .stars {
  display: flex;
  gap: 2px;
}

.section-3-wrapper .star {
  font-size: 16px;
  color: #E0E0E0; /* حالت پیش‌فرض (خاکستری) */
}
.section-3-wrapper .star.filled {
  color: #FFC107; /* ستارهٔ طلایی */
}
.section-3-wrapper .star.half {
  color: #FFC107;
  position: relative;
}
.section-3-wrapper .star.half::after {
  content: '★';
  position: absolute;
  left: 0;
  width: 50%;
  overflow: hidden;
  color: #E0E0E0; /* نیم‌فریم خاکستری */
}

/* استایل خطوط جداکننده */
.section-3-wrapper .divider {
  width: 1px;
  height: 40px;
  background: #E0E0E0;
}

/* تبلت */
@media (min-width: 768px) {
  .section-3-wrapper .section-three {
    padding: 50px 5px;
  }

  .section-3-wrapper .section-title {
    font-size: 32px;
  }

  .section-3-wrapper .stats-rectangle {
    padding: 20px;
  }

  .section-3-wrapper .stat-number-orders {
    font-size: 28px;
  }

  .section-3-wrapper .stat-number-specialists {
    font-size: 28px;
  }

  .section-3-wrapper .stat-number-rating {
    font-size: 28px;
  }

  .section-3-wrapper .stat-text {
    font-size: 12px;
    font-weight: 300;
    line-height: 22px;
  }

  .section-3-wrapper .star {
    font-size: 18px;
  }

  .section-3-wrapper .divider {
    height: 50px;
  }
}

/* دسکتاپ */
@media (min-width: 1024px) {
  .section-3-wrapper .section-three {
    padding: 60px 5px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .section-3-wrapper .section-title {
    font-size: 36px;
  }

  .section-3-wrapper .stats-rectangle {
    padding: 25px;
  }

  .section-3-wrapper .stat-number-orders {
    font-size: 32px;
  }

  .section-3-wrapper .stat-number-specialists {
    font-size: 32px;
  }

  .section-3-wrapper .stat-number-rating {
    font-size: 32px;
  }

  .section-3-wrapper .stat-text {
    font-size: 12px;
    font-weight: 300;
    line-height: 22px;
  }

  .section-3-wrapper .star {
    font-size: 20px;
  }

  .section-3-wrapper .divider {
    height: 60px;
  }
}