 /* Desktop Styles (unchanged) */
  .sidebar-nav {
    position: sticky;
    top: 50px;
    max-height: calc(100vh - 150px);
    overflow-y: hidden;
    padding: 15px 0px 50px 15px;
    width: 25%;
    margin-top: 12px;
  }
  .subcategory {
    padding: 0px;
  }
  .subcategory li{
    list-style: none;
  }
  .subcategory:last-child {
    padding-bottom: 100px;
  }
  /* Mobile Toggle Button */
  .mobile-nav-toggle {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;
    background: #2c3e50;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    cursor: pointer;
  }
  ul.category-list {
    padding: 0;
    max-height: 85vh;
    overflow: auto;
    list-style: none;
  }
  li.category {
    font-weight: 500;
    margin-top: 10px;
  }
  li.category a, .subcategory li a {
    padding: 5px 10px;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    font-size: 13px;
    color: #888;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #e8eef6;
    /* border-radius: 8px; */
    max-height: 36px;
    max-width: 300px;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-height: 20px;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-transform: capitalize;
  }
  li.category a:hover, .subcategory li a:hover {
    transition: all 0.2s ease-in-out;
    background-color: #f8f8f8;
    border-bottom: 1px solid #e2e8f0;
    cursor: pointer;
    color: #222;    
  }

  /* Search Bar */
    .sidebar-search {
      margin-bottom: 20px;
      position: relative;
    }

    .sidebar-search input {
      width: 100%;
      padding: 10px 15px;
      border: 1px solid #ddd;
      border-radius: 4px;
      box-sizing: border-box;
    }

    .sidebar-search::after {
      content: '🔍';
      position: absolute;
      right: 10px;
      top: 5px;
    }
    /* Accordion Styles */
    .sidebar-nav .category {
      padding: 12px 0;
      /* border-bottom: 1px solid #eee; */
      cursor: pointer;
      position: relative;
    }

    .sidebar-nav .category::after {
      content: '+';
      position: absolute;
      right: 0;
      transition: transform 0.3s;
    }

    .sidebar-nav .category.active::after {
      content: '-';
    }

    .sidebar-nav .subcategory {
      max-height: 0;
      overflow: auto;
      transition: max-height 0.3s ease;
      padding-left: 15px;
    }

    .sidebar-nav .category.active + .subcategory {
      max-height: 1000px;
    }
    .category.single-item-category::after, .category.single-item-category.active::after {
      content: none;
    }
    .category.single-item-category, .category.single-item-category.active {
      padding: 0;
      margin: 0;
    }
    .category.single-item-category a, .category.single-item-category.active a{
      padding: 10px;
      font-size: inherit;
      color: #333;
    }
  /* Mobile Sidebar Styles */
  @media (max-width: 768px) {
    .sidebar-nav {
      position: fixed;
      top: 0;
      left: -320px;
      width: 280px;
      height: 100vh;
      background: white;
      z-index: 1000;
      padding: 20px;
      box-shadow: 2px 0 10px rgba(0,0,0,0.1);
      transition: transform 0.3s ease;
      margin: 0;
      max-height: calc(100vh - 0px);
    }

    .sidebar-nav.active {
      transform: translateX(320px);
    }

    .mobile-nav-toggle {
      display: block;
    } 
  }