.elementor-24617 .elementor-element.elementor-element-cfe1055{--display:flex;}@media(max-width:575px){.elementor-24617 .elementor-element.elementor-element-3feeba8 > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}}/* Start custom CSS *//* جدول و عناصر پایه */
table, th, td {
  border: 1px solid #ffffff;
  border-collapse: collapse;
}

body {
  background-color: #072119;
  margin: 0;
  font-family: tahoma;
}

label {
  color: #ffffff;
  font-family: tahoma !important;
}

.filters {
  direction: rtl;
}

/* استایل منوی انتخاب استان */
select {
  background-color: #0c3325;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  min-width: 180px;
  max-width: 220px;
  cursor: pointer;
  outline: none;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: background-color 0.2s, box-shadow 0.2s;
  font-family: tahoma !important;
}

select option {
  background-color: #0c3325;
  color: #fff;
  font-family: tahoma !important;
}

select:hover,
select:focus {
  background-color: #14533d;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

/* استایل toggle اپل‌مانند */
.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 10px;
  color: white;
  cursor: pointer;
  font-family: tahoma;
  direction: rtl;
}

.switch input {
  display: none;
}

.slider {
  position: relative;
  display: inline-block;
  width: 51px;
  height: 31px;
  background-color: rgba(120, 120, 128, 0.32);
  border-radius: 31px;
  transition: all 0.3s ease;
}

.slider:before {
  position: absolute;
  content: "";
  height: 27px;
  width: 27px;
  right: 2px;
  bottom: 2px;
  background-color: white;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.switch input:checked + .slider {
  background-color: #34C759;
}

.switch input:checked + .slider:before {
  transform: translateX(-20px);
}

.switch input:focus + .slider {
  box-shadow: 0 0 1px #34C759;
}

.slider:hover {
  background-color: rgba(120, 120, 128, 0.42);
}

.switch input:checked + .slider:hover {
  background-color: #30B753;
}

/* استایل جدول */
table {
  width: 100%;
  border-collapse: collapse;
  color: #fff;
  font-family: tahoma;
  direction: rtl;
}

table th, table td {
  border: none;
  padding: 12px;
  text-align: right;
}

table th {
  background-color: #0c3325;
  font-weight: bold;
}

table tr:nth-child(even) {
  background-color: #0c3325;
}

/* مخفی کردن ستون‌های محصول */
.product-col {
  display: none !important;
}

/* کانتینر تاگل‌ها */
.product-toggles {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  justify-content: flex-start;
  margin: 10px auto;
  direction: rtl;
  max-width: 1200px;
  align-items: center;
}

/* 📱 موبایل */
@media (max-width: 768px) {

  /* مرکز کردن کل فیلترها در موبایل */
  .sticky-filter {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 20px;
    padding: 10px 0;
    position: relative !important;
  }

  /* تاگل‌ها زیر هم و وسط */
  .product-toggles {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 8px;
    padding: 0 10px;
    margin-top: 10px;
  }

  /* دراپ‌داون استان وسط صفحه */
  .filters {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin-top: 10px;
    margin-bottom: 15px;
    padding: 0 10px;
  }

  /* بهینه‌سازی select در موبایل */
  select {
    max-width: 100% !important;
    min-width: unset !important;
    width: 90% !important;
  }

  .switch {
    margin: 6px 0 !important;
  }
}

/* 💻 دسکتاپ */
@media (min-width: 768px) {
  .sticky-filter {
    position: sticky;
    top: 90px;
    padding: 20px;
    width: 200px;
    border-radius: 8px;
    background-color: #072119;
  }

  .sticky-table-header {
    position: sticky;
    top: 190px;
    padding: 20px;
    width: 200px;
    border-radius: 8px;
    background-color: #0c3325;
  }
}

/* کلاس‌های کمکی */
.d-flex {
  display: flex;
}
.justify-content-center {
  justify-content: center !important;            
}
.flex-row {
  flex-direction: row !important;
}
.align-items-center {
  align-items: center !important;
}
.align-self-center {
  align-self: center !important;
}
.align-content-center {
  align-content: center !important;
}



@media (max-width: 768px) {
  /* مخفی کردن تیترهای col1 تا col5 */
  th#col1, td:nth-child(4),
  th#col2, td:nth-child(5),
  th#col3, td:nth-child(6),
  th#col4, td:nth-child(7),
  th#col5, td:nth-child(8) {
    display: none !important;
  }

  /* جلوگیری از اسکرول افقی */
  table {
    width: 100% !important;
    table-layout: fixed !important;
    overflow-x: hidden !important;
  }

  body {
    overflow-x: hidden !important;
  }
}/* End custom CSS */