/* منوی دسته‌بندی موبایل - مدرن و شیک */

.header-responsive .side-navigation .category-list.mobile-category-menu {
  list-style: none;
  margin: 0;
  padding: 0 12px 20px;
}

.header-responsive .side-navigation .category-list.mobile-category-menu > li {
  margin-bottom: 8px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #eee;
}

.header-responsive .side-navigation .category-list.mobile-category-menu > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.header-responsive .side-navigation .category-list.mobile-category-menu > li.has-children > a:after {
  content: "\f078";
  font-family: "Font Awesome 5 Pro";
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  transition: transform 0.3s ease;
}

.header-responsive .side-navigation .category-list.mobile-category-menu > li.has-children > a.active:after {
  transform: rotate(180deg);
}

.header-responsive .side-navigation .category-list.mobile-category-menu > li > a:hover,
.header-responsive .side-navigation .category-list.mobile-category-menu > li > a.active {
  background: #f8fafc;
  color: #007bff;
}

/* زیرمنو سطح اول */
.header-responsive .side-navigation .category-list.mobile-category-menu > li > ul {
  display: none;
  margin: 0;
  padding: 0 0 12px;
  list-style: none;
  background: #f8fafc;
  border-top: 1px solid #f0f0f0;
  transition: height 0.25s ease;
}

.header-responsive .side-navigation .category-list.mobile-category-menu > li > ul > li {
  border-bottom: 1px solid #eee;
}

.header-responsive .side-navigation .category-list.mobile-category-menu > li > ul > li:last-child {
  border-bottom: none;
}

.header-responsive .side-navigation .category-list.mobile-category-menu > li > ul > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 14px 24px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.header-responsive .side-navigation .category-list.mobile-category-menu > li > ul > li.has-children > a:after {
  content: "\f078";
  font-family: "Font Awesome 5 Pro";
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af;
  transition: transform 0.3s ease;
}

.header-responsive .side-navigation .category-list.mobile-category-menu > li > ul > li.has-children > a.active:after {
  transform: rotate(180deg);
}

.header-responsive .side-navigation .category-list.mobile-category-menu > li > ul > li > a:hover,
.header-responsive .side-navigation .category-list.mobile-category-menu > li > ul > li > a.active {
  background: #fff;
  color: #007bff;
}

/* زیرمنو سطح دوم */
.header-responsive .side-navigation .category-list.mobile-category-menu > li > ul > li > ul {
  display: none;
  margin: 0;
  padding: 0 0 8px;
  list-style: none;
  background: #fff;
  border-top: 1px solid #f0f0f0;
  transition: height 0.25s ease;
}

.header-responsive .side-navigation .category-list.mobile-category-menu > li > ul > li > ul > li {
  border-bottom: 1px solid #f5f5f5;
}

.header-responsive .side-navigation .category-list.mobile-category-menu > li > ul > li > ul > li:last-child {
  border-bottom: none;
}

.header-responsive .side-navigation .category-list.mobile-category-menu > li > ul > li > ul > li > a {
  display: block;
  padding: 12px 18px 12px 36px;
  font-size: 13px;
  font-weight: 400;
  color: #6b7280;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.header-responsive .side-navigation .category-list.mobile-category-menu > li > ul > li > ul > li > a:hover {
  background: #f8fafc;
  color: #007bff;
}

/* تیتر دسته‌بندی (اختیاری) */
.header-responsive .side-navigation .category-list.mobile-category-menu::before {
  content: "دسته‌بندی محصولات";
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 4px 12px;
}
