.elementor-1120 .elementor-element.elementor-element-1e63d14{--display:flex;--background-transition:0.3s;}/* Start custom CSS for text-editor, class: .elementor-element-7ed5a73 *//* کادر اصلی جدول */
.araz-table-wrapper {
  direction: rtl !important;
  font-family: inherit;
  width: 100% !important;
  max-width: 100% !important;
  margin: 20px auto !important;
  background-color: #ffffff !important;
  border: 3px solid #99080c !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  box-shadow: 0 12px 32px rgba(153, 8, 12, 0.14), 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

.araz-table-container {
  width: 100% !important;
  overflow-x: hidden !important;
}

/* ساختار پایه جدول */
table.araz-price-table {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  text-align: center !important;
  margin: 0 !important;
  border: none !important;
}

/* ردیف اول هدر (قرمز) */
table.araz-price-table thead tr:first-child {
  background-color: #99080c !important;
  color: #ffffff !important;
}

table.araz-price-table thead tr:first-child th {
  background-color: #99080c !important;
  color: #ffffff !important;
  padding: 16px 8px !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  border-top: none !important;
  border-right: none !important;
  border-left: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25) !important;
  vertical-align: middle !important;
  text-align: center !important;
}

/* عرض ستون‌های ردیف اول هدر */
table.araz-price-table thead tr:first-child th:nth-child(1) {
  width: 13% !important;
  padding: 18px 8px !important;
  font-size: 19px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45) !important;
}
table.araz-price-table thead tr:first-child th:nth-child(2),
table.araz-price-table thead tr:first-child th:nth-child(3) {
  width: 34.8% !important;
}
table.araz-price-table thead tr:first-child th:nth-child(4) {
  width: 17.4% !important;
  border-left: none !important;
}

/* ردیف دوم هدر (مشکی ذغالی) */
table.araz-price-table thead tr:nth-child(2) {
  background-color: #1c1c1c !important;
  color: #ffffff !important;
}

table.araz-price-table thead tr:nth-child(2) th {
  background-color: #1c1c1c !important;
  color: #ffffff !important;
  padding: 14px 6px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
  border-top: none !important;
  border-right: none !important;
  border-left: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-bottom: 2px solid #99080c !important;
  vertical-align: middle !important;
  text-align: center !important;
  width: 17.4% !important;
}

table.araz-price-table thead tr:nth-child(2) th:last-child {
  border-left: none !important;
}

/* استایل عمومی سلول‌های بدنه جدول */
table.araz-price-table tbody tr {
  transition: all 0.2s ease-in-out;
}

table.araz-price-table tbody th {
  color: #ffffff !important;
  padding: 18px 6px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  border-top: none !important;
  border-right: none !important;
  border-left: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35) !important;
  vertical-align: middle !important;
  text-align: center !important;
}

table.araz-price-table tbody td {
  color: #111111 !important;
  padding: 18px 6px !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  border-top: none !important;
  border-right: none !important;
  vertical-align: middle !important;
  text-align: center !important;
}

/* رنگ‌بندی یکی در میان ردیف‌ها (ردیف‌های فرد) */
table.araz-price-table tbody tr:nth-child(odd) {
  background-color: #f7f9fb !important;
}
table.araz-price-table tbody tr:nth-child(odd) th {
  background-color: #99080c !important;
}
table.araz-price-table tbody tr:nth-child(odd) td {
  background-color: #f7f9fb !important;
  border-left: 1px solid #d5dce2 !important;
  border-bottom: 1px solid #e1e6eb !important;
}

/* رنگ‌بندی یکی در میان ردیف‌ها (ردیف‌های زوج) */
table.araz-price-table tbody tr:nth-child(even) {
  background-color: #e6ebf0 !important;
}
table.araz-price-table tbody tr:nth-child(even) th {
  background-color: #7d0609 !important;
}
table.araz-price-table tbody tr:nth-child(even) td {
  background-color: #e6ebf0 !important;
  border-left: 1px solid #cfd6de !important;
  border-bottom: 1px solid #d8dfe6 !important;
}

/* حذف خطوط اضافه در آخرین ستون و آخرین ردیف */
table.araz-price-table tbody td:last-child {
  border-left: none !important;
}
table.araz-price-table tbody tr:last-child th,
table.araz-price-table tbody tr:last-child td {
  border-bottom: none !important;
}

/* سلول‌های دارای خط تیره (-) */
table.araz-price-table tbody td.empty-cell {
  color: #555555 !important;
  font-size: 20px !important;
}

/* افکت هاور موس روی ردیف‌ها */
table.araz-price-table tbody tr:hover td {
  background-color: #ffeef0 !important;
  color: #99080c !important;
}

/* فوتر جدول */
.araz-table-footer {
  background-color: #1c1c1c !important;
  color: #ffffff !important;
  padding: 12px 20px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 13px !important;
  border-top: 2px solid #99080c !important;
}

.araz-table-footer a {
  color: #ff4d52 !important;
  text-decoration: none !important;
  font-weight: 800 !important;
  direction: ltr !important;
  display: inline-block !important;
}

/* =========================================
   تنظیمات اختصاصی موبایل (ظاهر مینیاتوری و مرتب)
   ========================================= */
@media only screen and (max-width: 768px) {
  .araz-table-wrapper {
    border-width: 2px !important;
    border-radius: 10px !important;
    margin: 10px auto !important;
  }

  /* ردیف اول هدر (قرمز) در موبایل */
  table.araz-price-table thead tr:first-child th,
  table.araz-price-table thead tr:first-child th:nth-child(1) {
    padding: 7px 1px !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
  }

  /* ردیف دوم هدر (مشکی) در موبایل */
  table.araz-price-table thead tr:nth-child(2) th {
    padding: 6px 1px !important;
    font-size: 9.5px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
  }

  /* ستون اول (ارتفاع) در موبایل */
  table.araz-price-table tbody th {
    padding: 7px 1px !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  /* سلول‌های قیمت در موبایل */
  table.araz-price-table tbody td,
  table.araz-price-table tbody td.empty-cell {
    padding: 7px 1px !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    letter-spacing: -0.3px !important;
  }

  /* فوتر جدول در موبایل */
  .araz-table-footer {
    flex-direction: column !important;
    gap: 5px !important;
    text-align: center !important;
    padding: 8px 6px !important;
    font-size: 10.5px !important;
  }
}

/* =================================================================
   تکمیل ریسپانسیو هوشمند برای تمامی عرض‌ها و گوشی‌ها (جلوگیری از تو در تو شدن)
   ================================================================= */

/* ۱. تبلت‌ها و صفحه‌نمایش‌های میانی (۷۶۹ تا ۹۹۲ پیکسل) */
@media only screen and (max-width: 992px) and (min-width: 769px) {
  table.araz-price-table th,
  table.araz-price-table td {
    box-sizing: border-box !important;
    overflow: hidden !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }

  table.araz-price-table thead tr:first-child th,
  table.araz-price-table thead tr:first-child th:nth-child(1) {
    padding: 12px 4px !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
  }

  table.araz-price-table thead tr:nth-child(2) th {
    padding: 10px 4px !important;
    font-size: 12.5px !important;
    line-height: 1.4 !important;
  }

  table.araz-price-table tbody th,
  table.araz-price-table tbody td,
  table.araz-price-table tbody td.empty-cell {
    padding: 12px 3px !important;
    font-size: 13.5px !important;
  }
}

/* ۲. قفل ضد تداخل (Anti-Overlap) برای تمام موبایل‌ها و تبلت‌های کوچک زیر ۷۶۸ پیکسل */
@media only screen and (max-width: 768px) {
  table.araz-price-table th,
  table.araz-price-table td {
    box-sizing: border-box !important;
    overflow: hidden !important;
    text-overflow: clip !important;
  }

  /* اجازه شکست خط استاندارد در هدرها تا کلمات طولانی وارد ستون کناری نشوند */
  table.araz-price-table thead th {
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  /* حفظ یکپارچگی اعداد در یک خط و شکستن عبارات چندکلمه‌ای بدون تداخل */
  table.araz-price-table tbody th,
  table.araz-price-table tbody td {
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
  }
}

/* ۳. فبلت‌ها و گوشی‌های بزرگ در حالت افقی/عمودی (زیر ۵۷۶ پیکسل) */
@media only screen and (max-width: 576px) {
  table.araz-price-table thead tr:first-child th,
  table.araz-price-table thead tr:first-child th:nth-child(1) {
    padding: 6px 1px !important;
    font-size: clamp(8.5px, 2.3vw, 10px) !important;
    line-height: 1.2 !important;
  }

  table.araz-price-table thead tr:nth-child(2) th {
    padding: 5px 1px !important;
    font-size: clamp(8px, 2.1vw, 9.5px) !important;
    line-height: 1.2 !important;
  }

  table.araz-price-table tbody th {
    padding: 6px 1px !important;
    font-size: clamp(8.2px, 2.2vw, 10px) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.2px !important;
  }

  table.araz-price-table tbody td,
  table.araz-price-table tbody td.empty-cell {
    padding: 6px 1px !important;
    font-size: clamp(8.2px, 2.25vw, 10px) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.35px !important;
  }
}

/* ۴. گوشی‌های موبایل استاندارد و بزرگ (زیر ۴۸۰ پیکسل - مانند سری Ultra و Pro Max) */
@media only screen and (max-width: 480px) {
  .araz-table-wrapper {
    border-radius: 8px !important;
  }

  table.araz-price-table thead tr:first-child th,
  table.araz-price-table thead tr:first-child th:nth-child(1) {
    padding: 5px 0.5px !important;
    font-size: clamp(8px, 2.25vw, 9.5px) !important;
  }

  table.araz-price-table thead tr:nth-child(2) th {
    padding: 4.5px 0.5px !important;
    font-size: clamp(7.5px, 2.05vw, 9px) !important;
  }

  table.araz-price-table tbody th {
    padding: 5.5px 0.5px !important;
    font-size: clamp(7.8px, 2.15vw, 9.2px) !important;
    letter-spacing: -0.3px !important;
  }

  table.araz-price-table tbody td,
  table.araz-price-table tbody td.empty-cell {
    padding: 5.5px 0.5px !important;
    font-size: clamp(7.8px, 2.2vw, 9.2px) !important;
    letter-spacing: -0.4px !important;
  }

  .araz-table-footer {
    padding: 7px 5px !important;
    font-size: 9.5px !important;
    gap: 4px !important;
  }
}

/* ۵. گوشی‌های موبایل با عرض متوسط (زیر ۴۰۰ پیکسل - اکثر گوشی‌های سامسونگ، شیائومی و آیفون) */
@media only screen and (max-width: 400px) {
  table.araz-price-table thead tr:first-child th,
  table.araz-price-table thead tr:first-child th:nth-child(1) {
    padding: 4.5px 0.5px !important;
    font-size: clamp(7.2px, 2.2vw, 8.5px) !important;
    line-height: 1.15 !important;
  }

  table.araz-price-table thead tr:nth-child(2) th {
    padding: 4px 0.5px !important;
    font-size: clamp(6.8px, 2vw, 8px) !important;
    line-height: 1.15 !important;
  }

  table.araz-price-table tbody th {
    padding: 5px 0.5px !important;
    font-size: clamp(7px, 2.1vw, 8.2px) !important;
    letter-spacing: -0.35px !important;
  }

  table.araz-price-table tbody td,
  table.araz-price-table tbody td.empty-cell {
    padding: 5px 0.5px !important;
    font-size: clamp(7px, 2.15vw, 8.5px) !important;
    letter-spacing: -0.45px !important;
  }

  .araz-table-footer {
    font-size: 9px !important;
  }
}

/* ۶. گوشی‌های کوچک و ظریف (زیر ۳۵۰ پیکسل - مانند iPhone SE/Mini و گوشی‌های تاشو) */
@media only screen and (max-width: 350px) {
  .araz-table-wrapper {
    border-width: 1.5px !important;
    border-radius: 6px !important;
  }

  table.araz-price-table thead tr:first-child th,
  table.araz-price-table thead tr:first-child th:nth-child(1) {
    padding: 3.5px 0px !important;
    font-size: 6.8px !important;
    line-height: 1.1 !important;
  }

  table.araz-price-table thead tr:nth-child(2) th {
    padding: 3px 0px !important;
    font-size: 6.5px !important;
    line-height: 1.1 !important;
  }

  table.araz-price-table tbody th,
  table.araz-price-table tbody td,
  table.araz-price-table tbody td.empty-cell {
    padding: 4px 0px !important;
    font-size: 6.8px !important;
    letter-spacing: -0.5px !important;
    line-height: 1.1 !important;
  }

  .araz-table-footer {
    padding: 5px 3px !important;
    font-size: 8px !important;
  }
}/* End custom CSS */