#product-sidebar .product-menu {
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  font-family: Tahoma;
  font-size: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  max-width: 100%;
  margin-bottom: 15px;
}

#product-sidebar .product-menu-title {
  background: linear-gradient(to right, #d93600, #e85c1b);
  color: white;
  font-weight: bold;
  padding: 10px 7px;
  font-size: 15px;
  height: 21px;
  display: flex;
  align-items: center;
  gap: 10px;
}

#product-sidebar .nhomsp {
  font-size: 14px;
  background: #f4f4f4;
  padding: 10px;
  border-bottom: 1px solid #e0e0e0;
}

#product-sidebar .nhomsp a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
}

#product-sidebar .nhomsp a:hover {
  color: #d93600;
}

#product-sidebar .loaisp {
  border-bottom: 1px solid #f0f0f0;
}

#product-sidebar .loaisp a {
  display: flex;
  align-items: center;
  padding: 8px 15px;
  color: #000;
  text-decoration: none;
  background: white;
  transition: background 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}

#product-sidebar .loaisp a:hover {
  background: linear-gradient(to bottom, #fff4d2 0%, #ffd457 50%);
  box-shadow: inset 1.5px 5px 1.5px #fff6ce;
  color: #3300CC;
}

#product-sidebar .count {
  color: #999;
  font-size: 12px;
}

#product-sidebar .tenloai {
  flex: 1;
  text-align: left;
  word-break: break-word;
}

#product-sidebar .icon-dot {
  color: #dc7110;
  margin-left: -3px;
  font-size: 13px;
  margin-right: 6px;
  line-height: 1;
}

/* ✅ Toggle Button */
#product-sidebar .product-menu-toggle {
  display: none;
  background: #34495e;
  color: white;
  border: 1px solid #ddd;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  padding: 12px 15px;
  font-family: Tahoma;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  width: 100%;
  text-align: left;
  cursor: pointer;
  margin-bottom: 0px;
}

/* ✅ Responsive */
@media (max-width: 768px) {
  /* Ẩn nút Danh mục */
  #product-sidebar .product-menu-toggle {
    display: none;
  }

  /* Ẩn danh mục mặc định */
  #product-sidebar .product-menu {
    display: none;
    border-radius: 0;
    box-shadow: none;
  }

  /* Khi bật .active thì mới hiển thị */
  #product-sidebar .product-menu.active {
    display: block;
  }

  #product-sidebar .nhomsp {
    padding: 12px;
  }

  #product-sidebar .loaisp a {
    padding: 10px 20px;
  }

  #product-sidebar .tenloai {
    font-size: 15px;
  }

  /* ✅ Ẩn tiêu đề menu trên mobile */
  #product-sidebar .product-menu-title {
    display: none;
  }
}