.product-specs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-top: 15px;
  font-family: inherit;
  overflow: hidden; /* برای اینکه گوشه‌ها درست گرد بشن */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.product-specs-table th,
.product-specs-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
  text-align: right;
  transition: background 0.3s ease, color 0.3s ease;
}

.product-specs-table thead th {
  background: #f7f7f7;
  font-weight: 600;
  text-align: center;
  font-size: 15px;
  color: #222;
}

.product-specs-table th {
  width: 30%;
  font-weight: 500;
  color: #333;
}

.product-specs-table td {
  color: #444;
  direction: rtl;
  unicode-bidi: plaintext;
}

.product-specs-table tr:last-child th,
.product-specs-table tr:last-child td {
  border-bottom: none;
}

/* هاور روی کل ردیف */
.product-specs-table tr:hover {
  background: #f3f6ff;
}

.product-specs-table tr:hover th,
.product-specs-table tr:hover td {
  background: inherit;
  color: #222;
}

/* استایل برای نمایش صحیح اعداد و حروف در نتایج AJAX */
.ajax_search_list {
  direction: rtl;
}

.ajax_search_list .post_with_thumb a {
  unicode-bidi: plaintext;
}

/* برای متن‌های لاتین در صفحات اصلی */
.latin-text {
  direction: ltr !important;
  unicode-bidi: isolate;
  display: inline-block;
  font-weight: 500;
  margin: 0 2px;
  letter-spacing: 0.3px;
  font-family: "Segoe UI", Tahoma, sans-serif;
}
