/* Start custom CSS for html, class: .elementor-element-a6921d4 */.jt-mobile-cats {
  --jt-blue: #2e5fb8;
  --jt-blue-dark: #1f438a;
  --jt-blue-soft: #edf3ff;
  --jt-border: #dbe6fb;
  --jt-text: #12284f;
  --jt-muted: #6b7a93;
  --jt-bg: #f4f7fd;
  --jt-white: #fff;

  font-family: inherit;
  background: linear-gradient(180deg, #f7faff 0%, #edf3ff 100%);
  border: 1px solid #d8e5ff;
  border-radius: 20px;
  padding: 10px;
}

.jt-mobile-cats * {
  box-sizing: border-box;
}

/* تب های اصلی */
.jt-main-tabs {
  position: sticky;
  top: 8px;
  z-index: 40;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #e7edfb;
  border-radius: 14px;
  backdrop-filter: blur(6px);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.jt-main-tabs::-webkit-scrollbar {
  display: none;
}

.jt-tab {
  min-height: 44px;
  border: 1px solid var(--jt-border);
  background: var(--jt-blue-soft);
  color: var(--jt-blue-dark);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  flex: 0 0 auto;
  scroll-snap-align: start;
  transition:
    transform 0.18s ease,
    box-shadow 0.28s ease,
    background 0.28s ease,
    color 0.28s ease,
    border-color 0.28s ease;
}

.jt-tab:active {
  transform: scale(0.98);
}

.jt-tab.is-active {
  background: linear-gradient(135deg, var(--jt-blue-dark), var(--jt-blue));
  border-color: var(--jt-blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(46, 95, 184, 0.25);
}

/* پنل ها */
.jt-tab-panel {
  display: none;
}

.jt-tab-panel.is-active {
  display: block;
  animation: jtPanelIn 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes jtPanelIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.jt-panel-head {
  padding: 4px 4px 10px;
}

.jt-panel-head h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--jt-text);
}

.jt-panel-head p {
  margin: 4px 0 0;
  color: var(--jt-muted);
  font-size: 12px;
  line-height: 1.8;
}

/* ابزار بالای پنل */
.jt-panel-tools {
  display: grid;
  gap: 8px;
  margin: 0 4px 12px;
}

.jt-quick-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.jt-quick-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid #d2e1ff;
  background: linear-gradient(180deg, #ffffff, #f3f8ff);
  color: #244985;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 10px;
  transition:
    transform 0.18s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.jt-quick-link:active,
.jt-quick-link:hover {
  transform: translateY(-1px);
  background: #edf4ff;
  border-color: #bfd5ff;
  box-shadow: 0 4px 12px rgba(46, 95, 184, 0.14);
}

.jt-search {
  position: relative;
}

.jt-search-input {
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid #d8e4fb;
  background: #fff;
  color: var(--jt-text);
  font: inherit;
  font-size: 13px;
  padding: 0 12px 0 44px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.jt-search-input::placeholder {
  color: #8896ad;
}

.jt-search-input:focus {
  outline: none;
  border-color: #9ab9f8;
  box-shadow: 0 0 0 3px rgba(46, 95, 184, 0.15);
}

.jt-search-clear {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: 1px solid #d4def3;
  background: #fff;
  border-radius: 9px;
  color: #345a9d;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.jt-search-clear.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.jt-search-clear:active {
  transform: translateY(-50%) scale(0.97);
}

.jt-search-empty {
  margin: 0 2px;
  color: #7a869d;
  font-size: 12px;
  line-height: 1.7;
}

/* آکاردئون */
.jt-accordion-item {
  background: var(--jt-white);
  border: 1px solid #e4ecfb;
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(18, 38, 77, 0.05);
  transition: box-shadow 0.28s ease, transform 0.22s ease, border-color 0.28s ease;
}

.jt-accordion-item:hover {
  box-shadow: 0 8px 22px rgba(18, 38, 77, 0.08);
}

.jt-accordion-btn {
  width: 100%;
  min-height: 48px;
  border: 0;
  background: #fff;
  cursor: pointer;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: right;
  transition: background 0.25s ease;
}

.jt-accordion-item.is-open .jt-accordion-btn {
  background: linear-gradient(to bottom, #ffffff, #f9fbff);
}

.jt-acc-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
  min-width: 0;
}

.jt-acc-title {
  color: var(--jt-text);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.5;
}

.jt-acc-sub {
  color: var(--jt-muted);
  font-size: 11px;
  margin-top: 2px;
  line-height: 1.6;
}

.jt-acc-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.jt-count {
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--jt-blue-soft);
  color: var(--jt-blue-dark);
  border: 1px solid var(--jt-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

.jt-acc-icon {
  color: var(--jt-blue-dark);
  font-size: 18px;
  line-height: 1;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), color 0.25s ease;
}

.jt-accordion-item.is-open .jt-acc-icon {
  transform: rotate(180deg);
}

/* محتوای آکاردئون */
.jt-accordion-content {
  display: block !important;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 10px;
  background: linear-gradient(to bottom, #fff, #fbfdff);
  transition:
    max-height 0.42s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.25s ease,
    padding 0.28s ease;
  will-change: max-height, opacity;
}

.jt-accordion-item.is-open .jt-accordion-content {
  opacity: 1;
  padding: 0 10px 10px;
}

/* لینک های زیر دسته */
.jt-sub-link {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-decoration: none;
  padding: 11px 10px;
  margin-top: 8px;
  border-radius: 12px;
  border: 1px solid var(--jt-border);
  background: #f8fbff;
  opacity: 0;
  transform: translateY(4px);
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease,
    opacity 0.22s ease,
    box-shadow 0.22s ease;
}

.jt-accordion-item.is-open .jt-sub-link {
  opacity: 1;
  transform: translateY(0);
}

.jt-sub-link:hover,
.jt-sub-link:active {
  background: #eef4ff;
  border-color: #cdddfb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(46, 95, 184, 0.08);
}

.jt-sub-name {
  color: #17355f;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.jt-sub-arrow {
  color: var(--jt-blue);
  font-size: 16px;
  flex-shrink: 0;
}

/* باکس خالی */
.jt-empty-box {
  background: #fff;
  border: 1px dashed #ccdaf4;
  border-radius: 14px;
  padding: 14px;
  color: #64748f;
  font-size: 12px;
  line-height: 1.9;
}

/* CTA - ابزارهای ضروری تعمیر */
.jt-accordion-item.is-featured {
  border-color: #cfe0ff;
  box-shadow: 0 10px 26px rgba(46, 95, 184, 0.14);
}

.jt-accordion-item.is-featured .jt-accordion-btn {
  background: linear-gradient(135deg, #1f438a 0%, #2e5fb8 100%);
  color: #fff;
}

.jt-accordion-item.is-featured .jt-acc-title,
.jt-accordion-item.is-featured .jt-acc-sub {
  color: #fff;
}

.jt-accordion-item.is-featured .jt-count {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.jt-accordion-item.is-featured .jt-acc-icon {
  color: #fff;
}

.jt-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  color: #1f438a;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.jt-accordion-item.is-featured .jt-accordion-content {
  background: #fff;
}

/* نمایش/عدم نمایش در جستجو */
.is-hidden-by-search {
  display: none !important;
}

/* موبایل خیلی کوچک */
@media (max-width: 360px) {
  .jt-tab {
    font-size: 11px;
    padding: 9px 11px;
  }

  .jt-acc-title {
    font-size: 13px;
  }

  .jt-sub-name {
    font-size: 12px;
  }

  .jt-quick-link {
    font-size: 11px;
  }
}

/* موبایل بزرگ */
@media (min-width: 480px) {
  .jt-tab {
    font-size: 13px;
    padding: 10px 16px;
  }

  .jt-quick-links {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .jt-quick-link {
    font-size: 12px;
  }

  .jt-panel-head h2 {
    font-size: 18px;
  }

  .jt-search-input {
    font-size: 14px;
  }
}

/* تبلت و بالا */
@media (min-width: 768px) {
  .jt-mobile-cats {
    border-radius: 22px;
    padding: 14px;
  }

  .jt-main-tabs {
    top: 12px;
    margin-bottom: 14px;
  }

  .jt-accordion-btn {
    padding: 14px;
  }

  .jt-acc-title {
    font-size: 15px;
  }

  .jt-sub-name {
    font-size: 14px;
  }
}

/* احترام به reduced motion */
@media (prefers-reduced-motion: reduce) {
  .jt-tab,
  .jt-quick-link,
  .jt-search-input,
  .jt-search-clear,
  .jt-accordion-item,
  .jt-accordion-btn,
  .jt-acc-icon,
  .jt-accordion-content,
  .jt-sub-link,
  .jt-tab-panel.is-active {
    transition: none !important;
    animation: none !important;
  }
}/* End custom CSS */